1 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3 * shell.el (shell-completion-vars): Fix last change (bug#11348).
5 2012-05-09 Chong Yidong <cyd@gnu.org>
7 * ansi-color.el (ansi-color-process-output): Check for validity of
8 comint-last-output-start before using it. This avoids a bad
9 interaction with gdb-mi's input/output buffer.
11 2012-05-09 Glenn Morris <rgm@gnu.org>
13 * files.el (dir-locals-read-from-file):
14 Mention dir-locals in any error message.
16 2012-05-09 Chong Yidong <cyd@gnu.org>
18 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
21 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
22 variables into description.
24 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
26 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
27 shell-delimiter-argument-list (bug#11348).
28 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
30 2012-05-09 Chong Yidong <cyd@gnu.org>
32 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
35 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
37 * textmodes/rst.el: Silence byte-compiler warnings.
38 (rst-re-alist, rst-reset-section-caches): Move around.
39 (rst-re): Use `characterp', not `char-valid-p'.
40 (font-lock-beg, font-lock-end): Declare.
42 * progmodes/idlw-shell.el (specs): Remove reference to deleted
43 variable `idlwave-shell-activate-alt-keybindings' and simplify.
45 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
47 2012-05-08 Glenn Morris <rgm@gnu.org>
49 * files.el (auto-mode-alist): Treat ".make" like ".mk".
51 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
53 * vc/log-edit.el: Add GNU coding standards highlighting.
54 (log-edit-font-lock-gnu-style)
55 (log-edit-font-lock-gnu-keywords): New vars.
56 (log-edit-font-lock-keywords): New fun.
57 (log-edit-mode): Don't fold case in font-lock.
58 (log-edit-font-lock-keywords): Do not assume case-folding.
60 * imenu.el: Misc cleanup. Make docstrings out of comments.
62 (imenu--index-alist, imenu--last-menubar-index-alist)
63 (imenu-menubar-modified-tick): Use defvar-local.
64 (imenu--split-menu): Remove unused var.
65 (imenu--cleanup-seen): Declare as global.
66 (imenu--cleanup): Use dolist.
68 * subr.el (defvar-local): Add debug spec and doc-string position.
70 2012-05-08 Glenn Morris <rgm@gnu.org>
72 * lisp/language/burmese.el, language/cham.el, language/czech.el:
73 * language/english.el, language/georgian.el, language/greek.el:
74 * language/japanese.el, language/khmer.el, language/korean.el:
75 * language/lao.el, language/misc-lang.el, language/romanian.el:
76 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
77 * language/thai.el, language/utf-8-lang.el:
78 Remove no-byte-compile setting.
80 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
82 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
84 * progmodes/make-mode.el (makefile-browse):
85 Remove unnecessary interactive. (Bug#11324)
87 2012-05-07 Glenn Morris <rgm@gnu.org>
89 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
91 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
93 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
95 * loadup.el: Preload newcomment.el.
96 * newcomment.el: Move autoload-only code to toplevel.
98 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
99 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
100 Handle new :right-align column property.
101 (tabulated-list-print-col): Idem, plus use `display' text-property to
102 try and preserve alignment for variable pitch fonts.
104 2012-05-07 Chong Yidong <cyd@gnu.org>
106 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
107 (tabulated-list-use-header-line): New var.
108 (tabulated-list-init-header): Use it.
109 (tabulated-list-print-fake-header): New function.
110 (tabulated-list-print): Use it.
111 (tabulated-list-sort-button-map): Add non-header-line commands.
112 (tabulated-list-init-header): Add column name property to basic
114 (tabulated-list-col-sort): Handle non-header-line button case.
115 (tabulated-list--sort-by-column-name): Fix a corner case.
117 * buff-menu.el (list-buffers--refresh):
118 Handle Buffer-menu-use-header-line.
120 2012-05-06 Chong Yidong <cyd@gnu.org>
122 * buff-menu.el: Convert to Tabulated List mode.
123 (Buffer-menu-buffer+size-width): Make obsolete.
124 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
125 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
126 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
127 documentation into docstring of buffer-menu.
128 (Buffer-menu-toggle-files-only): Add an informative message.
129 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
130 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
131 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
132 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
133 (Buffer-menu-execute, Buffer-menu-select)
134 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
135 (Buffer-menu-bury): Use Tabulated List machinery.
136 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
137 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
139 (list-buffers--refresh): New function.
140 (list-buffers-noselect): Use it.
141 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
142 (Buffer-menu--pretty-file-name): New helper functions.
144 * loadup.el: Preload tabulated-list.
146 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
147 tabulated-list-sort-column.
148 (tabulated-list-init-header): Add the initial aligning space even
149 if tabulated-list-padding is zero.
151 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
153 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
154 whose cdr is not a cons cell correctly (bug#11038).
156 2012-05-06 Chong Yidong <cyd@gnu.org>
158 * emacs-lisp/tabulated-list.el (tabulated-list-format):
159 Accept additional plist in column descriptors.
160 (tabulated-list-init-header): Obey it.
161 (tabulated-list-get-entry): New function.
162 (tabulated-list-put-tag): Use it. Use string-width instead of
164 (tabulated-list--column-number): New function.
165 (tabulated-list-print): Use it.
166 (tabulated-list-print-col): New function.
167 Set `tabulated-list-column-name' property on each column's text.
168 (tabulated-list-print-entry): Use it.
169 (tabulated-list-delete-entry, tabulated-list-set-col):
171 (tabulated-list-sort-column): New command (Bug#11337).
173 * buff-menu.el (list-buffers): Move C-x C-b binding from
174 buff-menu.el to bindings.el.
176 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
177 :advertised-binding feature.
179 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
181 * progmodes/compile.el (compilation-internal-error-properties):
182 Calculate start position correctly when end-col is set but
183 end-line is not (Bug#11382).
185 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
187 * man.el (Man-unindent): Use text-property-default-nonsticky to
188 prevent untabify from inheriting face properties (Bug#11408).
190 2012-05-05 Glenn Morris <rgm@gnu.org>
192 * calendar/cal-html.el: Optionally include holidays in the output.
193 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
194 (cal-html-holidays): New option.
195 (cal-html-css-default): Add holiday entry.
196 (holiday-in-range): Autoload it.
197 (cal-html-htmlify-entry): Add optional class argument.
198 (cal-html-htmlify-list): Add optional holidays argument.
199 (cal-html-insert-agenda-days): Include holidays in the output.
200 (cal-html-one-month): Maybe include holidays.
202 * calendar/holidays.el (holiday-in-range):
203 Move here from cal-tex-list-holidays.
204 * calendar/cal-tex.el (cal-tex-list-holidays):
205 Make it an obsolete alias for holiday-in-range. Update all callers.
207 2012-05-05 Chong Yidong <cyd@gnu.org>
209 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
212 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
214 * files.el (file-auto-mode-skip): New var.
215 (set-auto-mode-1): Use it.
217 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
219 * repeat.el: Use lexical-binding.
220 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
221 (repeat-undo-count): Remove.
223 * progmodes/octave-mod.el (octave-abbrev-start):
224 * progmodes/f90.el (f90-abbrev-start):
225 * face-remap.el (text-scale-adjust):
226 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
228 * emacs-lisp/pcase.el (pcase--let*): New function.
229 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
231 (pcase--split-pred): Be more clever about ruling out overlap between
232 a predicate and some constant pattern.
233 (pcase--q1): Use `null' instead of (eq foo nil).
235 * subr.el (setq-local, defvar-local): New macros.
236 (kbd): Redefine as an alias.
237 (with-selected-window): Leave unrelated frames alone.
238 (set-temporary-overlay-map): New function.
240 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
242 * subr.el (user-error): New function.
243 * window.el (switch-to-buffer):
244 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
245 (smerge-match-conflict):
246 * simple.el (previous-matching-history-element)
247 (next-matching-history-element, goto-history-element, undo-more)
249 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
250 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
251 (next-file, tags-loop-scan, list-tags, complete-tag):
252 * progmodes/compile.el (compilation-loop):
253 * mouse.el (mouse-minibuffer-check):
254 * man.el (Man-bgproc-sentinel, Man-goto-page):
255 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
256 (Info-history-forward, Info-follow-reference, Info-menu)
257 (Info-extract-menu-item, Info-extract-menu-counting)
258 (Info-forward-node, Info-backward-node, Info-next-menu-item)
259 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
260 (Info-next-reference, Info-prev-reference, Info-index)
261 (Info-index-next, Info-follow-nearest-node)
262 (Info-copy-current-node-name):
263 * imenu.el (imenu--make-index-alist)
264 (imenu-default-create-index-function, imenu-add-to-menubar):
265 * files.el (basic-save-buffer, recover-file):
266 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
267 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
268 (checkdoc-message-text, checkdoc-defun):
269 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
270 * cus-edit.el (customize-changed-options, customize-rogue)
271 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
272 (custom-variable-mark-to-reset-standard)
273 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
275 * completion.el (check-completion-length):
276 * comint.el (comint-search-arg)
277 (comint-previous-matching-input-string-position)
278 (comint-previous-matching-input)
279 (comint-replace-by-expanded-history-before-point, comint-send-input)
280 (comint-copy-old-input, comint-backward-matching-input)
281 (comint-goto-process-mark, comint-set-process-mark):
282 * calendar/calendar.el (calendar-cursor-to-date): Use it.
283 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
285 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
287 * dabbrev.el (dabbrev--ignore-case-p): New function.
288 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
291 * files.el (automount-dir-prefix): Mark as obsolete.
293 2012-05-04 Glenn Morris <rgm@gnu.org>
295 * patcomp.el, play/bruce.el: Move to obsolete/.
297 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
300 * arc-mode.el (archive-unixdate):
301 * autoinsert.el (auto-insert-alist):
302 * calc/calc-forms.el (math-this-year):
303 * emacs-lisp/copyright.el (copyright-current-year)
304 (copyright-update-year, copyright):
305 * tar-mode.el (tar-clip-time-string):
306 * time.el (display-time-update):
307 Don't assume years have 4 digits.
309 2012-05-04 Chong Yidong <cyd@gnu.org>
311 * dos-w32.el (file-name-buffer-file-type-alist)
312 (direct-print-region-use-command-dot-com):
313 * ffap.el (ffap-menu-regexp):
314 * find-file.el (ff-special-constructs):
315 * follow.el (follow-debug):
316 * forms.el (forms--debug):
317 * iswitchb.el (iswitchb-all-frames):
318 * ido.el (ido-all-frames):
319 * emacs-lisp/timer.el (timer-max-repeats):
320 * mail/feedmail.el (feedmail-mail-send-hook)
321 (feedmail-mail-send-hook-queued):
322 * mail/footnote.el (footnote-signature-separator):
323 * mail/mailabbrev.el (mail-alias-separator-string)
324 (mail-abbrev-mode-regexp):
325 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
326 * progmodes/idlwave.el (idlwave-libinfo-file)
327 (idlwave-default-completion-case-is-down)
328 (idlwave-library-routines): Convert defvars to defcustoms.
330 * mail/rmail.el (rmail-decode-mime-charset):
331 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
332 (idlwave-shell-fix-inserted-breaks)
333 (idlwave-shell-activate-alt-keybindings)
334 (idlwave-shell-use-breakpoint-glyph):
335 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
337 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
339 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
341 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
343 * progmodes/verilog-mode.el (font-lock-keywords):
344 Fix mis-highligting auto. Reported by Craig Barner.
345 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
346 defines from global name space. Reported by Dan Dever.
347 (verilog-auto-reset, verilog-auto-reset-widths)
348 (verilog-auto-tieoff): Support using unbased numbers for
349 AUTORESET and AUTOTIEOFF.
350 (verilog-submit-bug-report): Update variable list.
351 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
352 parenthesis from not matching. Reported by Michael Rytting.
353 (verilog-auto-template-lint): Fix hash error when linting modules
354 with no used templates.
355 (verilog-warn, verilog-warn-error)
356 (verilog-warn-fatal): When non-interactive report multiple
357 warnings before exiting. Suggested by Brad Dobbie.
358 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
359 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
360 to report unused template errors. Reported by Brad Dobbie.
361 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
362 nets, bug438. Reported by Vns Blore.
363 (verilog-auto-inout-module, verilog-auto-reg)
364 (verilog-read-decls, verilog-read-sub-decls-sig)
365 (verilog-signals-edit-wire-reg, verilog-signals-with):
366 Fix passing of Verilog data types in ANSI input/output ports
367 such as "output logic" into the AUTOs. Special case "wire" and
368 "reg" for backwards compatibility presuming Verilog 2001.
369 (verilog-auto-ascii-enum): Add "auto enum" as alias.
370 (verilog-preprocess): Fix replication of preprocess output.
371 Reported by Brad Dobbie.
372 (verilog-auto-inst-interfaced-ports):
373 Create verilog-auto-inst-interfaced-ports, bug429.
374 Reported by Julian Gorfajn.
375 (verilog-after-save-font-hook)
376 (verilog-before-save-font-hook): New variable.
377 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
378 (verilog-save-font-mods): Wrap disabling fontification, reported
380 (verilog-do-indent, verilog-pretty-declarations-auto)
381 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
382 Reported by Pierre-David Pfister.
383 (verilog-set-auto-endcomments): Fix endtask auto comments outside
384 of class declarations, bug292. Reported by Kevin Heilman.
385 (verilog-read-decls): Fix 'parameter type' not appearing in
386 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
387 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
388 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
389 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
390 Reported by David Kravitz.
392 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
394 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
395 assignment with tests in ifs and for loops.
396 (verilog-extended-complete-re, verilog-complete-reg): Change so
397 that DPI inport functions don't look like fuction declarations.
398 (verilog-pretty-expr): Don't line up assignment
399 operations to the test and increment in if and for loops
400 (verilog-extended-complete-re, verilog-complete-reg): Change so
401 that DPI inport functions don't look like fuction declarations
403 2012-05-03 Kenichi Handa <handa@m17n.org>
405 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
406 decoding, and show a warning message without signalling an error
409 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
411 * emacs-lisp/bytecomp.el
412 (byte-compile-file-form-custom-declare-variable): Compile all elements,
413 since cconv.el might have introduced :fun-body, internal-make-closure,
414 and friends for bytecomp to handle (bug#11391).
415 * custom.el (defcustom): Avoid ((λ ..) ..).
417 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
419 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
421 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
423 * notifications.el (dbus-debug):
424 * term/linux.el (gpm-mouse-enable):
425 * term/screen.el (xterm-register-default-colors): Declare.
427 2012-05-02 Chong Yidong <cyd@gnu.org>
429 * cus-start.el (gc-cons-percentage, exec-suffixes)
430 (dos-display-scancodes, dos-hyper-key, dos-super-key)
431 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
432 (make-cursor-line-fully-visible, void-text-area-pointer)
433 (font-list-limit): Add customization data.
435 * allout.el (allout-exposure-change-functions)
436 (allout-structure-added-functions)
437 (allout-structure-deleted-functions)
438 (allout-structure-shifted-functions): Rename abnormal hooks from
439 *-hook, and convert to defcustoms.
440 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
441 Convert to defcustoms.
442 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
444 * allout-widgets.el: Hook callers changed.
446 2012-05-02 Eli Zaretskii <eliz@gnu.org>
448 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
449 the yanked message in preference to the default value of
450 buffer-file-coding-system.
452 2012-05-02 Martin Rudalics <rudalics@gmx.at>
454 * window.el (display-buffer--action-function-custom-type):
457 2012-05-02 Alan Mackenzie <acm@muc.de>
459 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
461 2012-05-01 Glenn Morris <rgm@gnu.org>
463 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
465 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
467 * cus-edit.el (custom-variable-documentation): Simplify with format.
469 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
470 Stefan Monnier <monnier@iro.umontreal.ca>
472 * simple.el (suggest-key-bindings, execute-extended-command):
473 Move from keyboard.c.
475 2012-05-01 Chong Yidong <cyd@gnu.org>
477 * follow.el: Eliminate advice.
478 (set-process-filter, process-filter, sit-for): Advice deleted.
479 (follow-mode-off-hook): Obsolete hook removed.
480 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
482 (follow-auto): Use a :set function.
483 (follow-mode): Rewritten. Don't advise process filters.
484 (follow-switch-to-current-buffer-all, follow-scroll-up)
485 (follow-scroll-down): Assume follow-mode is bound.
486 (follow-comint-scroll-to-bottom)
487 (follow-align-compilation-windows): New functions.
488 (follow--window-sorter): New function.
489 (follow-all-followers): Use it to explicitly sort windows by their
490 positions; don't make assumptions about next-window order.
491 (follow-windows-start-end, follow-delete-other-windows-and-split)
492 (follow-calc-win-start): Doc fix.
493 (follow-windows-aligned-p, follow-select-if-visible): Don't call
494 vertical-motion unnecessarily.
495 (follow-adjust-window): New function.
496 (follow-post-command-hook): Use it.
497 (follow-call-set-process-filter, follow-call-process-filter)
498 (follow-intercept-process-output, follow-tidy-process-filter-alist)
499 (follow-stop-intercept-process-output, follow-generic-filter):
501 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
502 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
503 New functions, replacing advice on scroll-bar-* commands.
504 (follow-mwheel-scroll): New function (Bug#4112).
506 * comint.el (comint-adjust-point): New function.
507 (comint-postoutput-scroll-to-bottom): Use it.
508 Call follow-comint-scroll-to-bottom for Follow mode buffers.
510 2012-05-01 Glenn Morris <rgm@gnu.org>
512 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
513 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
514 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
515 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
516 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
517 Remove no-byte-compile setting.
519 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
521 * minibuffer.el (completion-table-with-quoting): Fix compatibility
522 all-completions code to not return a number in the last cdr.
524 2012-04-30 Leo Liu <sdl.web@gmail.com>
526 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
529 2012-04-29 Chong Yidong <cyd@gnu.org>
531 * follow.el (follow-calc-win-end): Rewrite to handle partial
532 screen lines correctly (Bug#8390).
533 (follow-avoid-tail-recenter): Minor cleanup.
535 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
537 Avoid the obsolete `assoc' package.
538 * speedbar.el (speedbar-refresh): Avoid adelete.
539 (speedbar-file-lists): Simplify and avoid aput.
540 * man.el (Man--sections, Man--refpages): New vars, replacing
541 Man-sections-alist and Man-refpages-alist.
542 (Man-build-section-alist, Man-build-references-alist):
543 Use them; avoid aput.
544 (Man--last-section, Man--last-refpage): New vars.
545 (Man-follow-manual-reference): Use them.
546 Use the `default' arg of completing-read.
547 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
549 2012-04-27 Chong Yidong <cyd@gnu.org>
551 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
553 * startup.el (x-apply-session-resources): New function.
555 * term/ns-win.el (ns-initialize-window-system):
556 * term/w32-win.el (w32-initialize-window-system):
557 * term/x-win.el (x-initialize-window-system): Use it to properly
558 set menu-bar-mode and other vars from X resources, even if the
559 initial frame is not a window-system frame (Bug#2299).
561 * subr.el (read-key): Avoid running filter function when setting
562 up temporary tool bar entries (Bug#9922).
564 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
566 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
569 2012-04-27 Chong Yidong <cyd@gnu.org>
571 * select.el (xselect--encode-string): New function, split from
572 xselect-convert-to-string.
573 (xselect-convert-to-string): Use it.
574 (xselect-convert-to-filename, xselect-convert-to-os)
575 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
576 returned strings are properly encoded (Bug#11315).
578 2012-04-27 Chong Yidong <cyd@gnu.org>
580 * simple.el (delete-active-region): Move to killing custom group.
582 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
584 * progmodes/which-func.el (which-func-current): Quote %
585 characters for mode-line processing.
587 2012-04-27 Chong Yidong <cyd@gnu.org>
589 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
590 reaching eob (Bug#11286).
592 2012-04-27 Eli Zaretskii <eliz@gnu.org>
594 * progmodes/gdb-mi.el (gdb-control-level): New variable.
595 (gdb): Make it buffer-local and init to zero.
596 (gdb-control-commands-regexp): New variable.
597 (gdb-send): Don't wrap in "-interpreter-exec console" if
598 gdb-control-level is positive. Increment gdb-control-level
599 whenever the command matches gdb-control-commands-regexp, and
600 decrement it each time the command is "end". (Bug#11279)
602 2012-04-27 Martin Rudalics <rudalics@gmx.at>
604 * window.el (adjust-window-trailing-edge, enlarge-window)
605 (shrink-window, window-resize):
606 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
609 2012-04-27 Chong Yidong <cyd@gnu.org>
611 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
612 fix "missing prefix" warning. All callers changed.
614 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
616 * emacs-lisp/assoc.el: Move to obsolete/.
618 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
620 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
622 * term/ns-win.el (ns-define-service):
623 * progmodes/pascal.el (pascal-goto-defun):
624 * progmodes/js.el (js--read-tab):
625 * progmodes/etags.el (tags-lazy-completion-table):
626 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
627 * emacs-lisp/ewoc.el (ewoc--wrap):
628 * emacs-lisp/assoc.el (aput, adelete, amake):
629 * doc-view.el (doc-view-convert-current-doc):
630 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
632 2012-04-26 Chong Yidong <cyd@gnu.org>
634 * image.el (image-type-from-buffer): Only return supported image
637 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
638 value, for symmetry with diff-end-of-hunk.
639 (diff-split-hunk, diff-find-source-location)
640 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
641 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
642 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
643 compute the relevant hunk or file properly (Bug#6005).
644 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
646 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
655 * vc/vc.el: Replace lexical-let by lexical-binding.
656 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
657 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
658 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
660 2012-04-26 Chong Yidong <cyd@gnu.org>
662 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
663 (diff-mode-shared-map): Bind it to / and [remap undo].
665 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
666 (ediff-window-setup-function): Use it as the default, to set up
667 windows based on whether the current frame is graphical (Bug#2138).
668 (ediff-choose-window-setup-function-automatically): Make obsolete.
670 * vc/ediff-init.el: Always define ediff-pixel-width/height.
672 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
674 * ffap.el: Remove old code for obsolete package.
675 (ffap-complete-as-file-p): Remove.
677 Use completion-table-with-quoting for comint and pcomplete.
678 * comint.el (comint--unquote&requote-argument)
679 (comint--unquote-argument, comint--requote-argument): New functions.
680 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
681 (comint-quote-filename): Use regexp-opt-charset.
682 (comint--common-suffix, comint--common-quoted-suffix)
683 (comint--table-subvert): Remove.
684 (comint-unquote-function, comint-requote-function): New vars.
685 (comint--complete-file-name-data): Use them with
686 completion-table-with-quoting.
687 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
688 * pcomplete.el (pcomplete-arg-quote-list)
689 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
690 (pcomplete-unquote-argument-function): Default to non-nil.
691 (pcomplete-unquote-argument): Simplify.
692 (pcomplete--common-quoted-suffix): Remove.
693 (pcomplete-requote-argument-function): New var.
694 (pcomplete--common-suffix): New function.
695 (pcomplete-completions-at-point): Use completion-table-with-quoting
696 and completion-table-subvert.
698 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
699 (minibuffer--double-dollars): Preserve properties.
700 (completion--sifn-requote): New function.
701 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
703 * minibuffer.el: Add support for completion of quoted/escaped data.
704 (completion-table-with-quoting, completion-table-subvert): New funs.
705 (completion--twq-try, completion--twq-all): New functions.
706 (completion--nth-completion): New function.
707 (completion-try-completion, completion-all-completions): Use it.
709 2012-04-25 Leo Liu <sdl.web@gmail.com>
711 * progmodes/python.el (python-pdbtrack-get-source-buffer):
712 Use compilation-message if available to find real filename.
714 2012-04-25 Chong Yidong <cyd@gnu.org>
716 * vc/diff-mode.el (diff-setup-whitespace): New function.
719 * vc/diff.el (diff-sentinel):
720 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
721 Whitespace mode variables based on diff style (Bug#8612).
723 2012-04-25 Leo Liu <sdl.web@gmail.com>
725 * progmodes/python.el (python-send-region): Add suffix .py to the
728 * files.el (auto-mode-alist): Use javascript-mode instead.
730 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
732 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
734 * soap-client.el (soap-resolve-references-for-sequence-type)
735 (soap-resolve-references-for-array-type): Hack to prevent self
736 references, see Bug#9.
737 (soap-parse-envelope): Report the contents of the 'detail' node
738 when receiving a fault reply.
739 (soap-parse-envelope): Report the contents of the entire 'detail' node.
741 * soap-inspect.el (soap-sample-value-for-simple-type)
742 (soap-inspect-simple-type): New function.
744 * soap-client.el (soap-simple-type): New struct.
745 (soap-default-xsd-types, soap-default-soapenc-types)
746 (soap-decode-basic-type, soap-encode-basic-type):
747 support unsignedInt and double basic types.
748 (soap-resolve-references-for-simple-type)
749 (soap-parse-simple-type, soap-encode-simple-type): New function.
750 (soap-parse-schema): Parse xsd:simpleType declarations.
752 * soap-client.el (soap-default-xsd-types)
753 (soap-default-soapenc-types): Add integer, byte and anyURI types.
754 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
755 the local name of "soapenc:Array".
756 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
757 decoding integer, byte and anyURI xsd types.
759 2012-04-25 Chong Yidong <cyd@gnu.org>
761 * cus-edit.el (custom-buffer-create-internal): Update header text.
763 2012-04-25 Eli Zaretskii <eliz@gnu.org>
765 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
766 settings on 'system-type', not on 'window-system'. On MS-Windows,
767 set interactive-mode on in GDB.
769 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
771 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
772 (ruby-syntax-propertize-regexp): Remove.
773 (ruby-syntax-propertize-function): Split regexp into chunks.
774 Match following code directly.
776 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
778 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
779 (ruby-syntax-propertize-regexp): New function.
780 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
781 by a special keyword.
783 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
784 (ruby-syntax-general-delimiters-goto-beg)
785 (ruby-syntax-propertize-general-delimiters): New functions.
786 (ruby-syntax-propertize-function): Use them to handle GDL.
787 (ruby-font-lock-keywords): Move old handling of GDL...
788 (ruby-font-lock-syntactic-keywords): .. to here.
789 (ruby-calculate-indent): Adjust indentation for GDL.
791 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
793 * notifications.el (top): Remove unneeded declarations.
794 (notifications-specification-version): Change to "1.2".
795 (notifications-interface, notifications-notify-method)
796 (notifications-close-notification-method): Fix docstring.
797 (notifications-get-capabilities-method): New defconst.
798 (notifications-notify): Add :action-items, :resident and
799 :transient hints. Change "image_data" to "image-data" and
800 "image_path" to "image-path".
801 (notifications-get-capabilities): New defun.
803 2012-04-24 Leo Liu <sdl.web@gmail.com>
805 * progmodes/python.el: Move hideshow setup to the end.
807 2012-04-24 Martin Rudalics <rudalics@gmx.at>
809 * window.el (handle-select-window): Clear echo area since this is
810 no more done by read_char (Bug#11304).
812 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
814 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
815 and `/ M' to filter-derived-mode.
816 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
817 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
818 (ibuffer-mark-by-mode): Use default rather than initial-input.
819 (ibuffer-filter-by-derived-mode): Autoload and require-match.
821 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
823 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
824 (ibuffer-filter-by-derived-mode): New filter.
825 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
827 2012-04-23 Andreas Politz <politza@fh-trier.de>
829 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
831 2012-04-23 Chong Yidong <cyd@gnu.org>
833 * cus-edit.el (customize-apropos, customize-apropos-options):
834 Disable matching of non-option variables (Bug#11176).
835 (customize-option, customize-option-other-window)
836 (customize-changed-options): Doc fix.
837 (customize-apropos-options, customize-apropos-faces)
838 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
840 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
841 Fix word list splitting (Bug#11132).
842 (apropos-symbol, apropos-keybinding, apropos-label)
843 (apropos-property, apropos-function-button)
844 (apropos-variable-button, apropos-misc-button): New faces.
845 (apropos-symbol-face, apropos-keybinding-face)
846 (apropos-label-face, apropos-property-face, apropos-match-face):
847 Variables removed (Bug#8396).
848 (apropos-library-button, apropos-format-plist, apropos-print)
849 (apropos-print-doc, apropos-describe-plist): Callers changed.
851 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
853 * net/xesam.el (xesam-mode-map): Use let-bound map in
854 initialization. (Bug#11292)
856 2012-04-23 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
858 Preserve ispell session localwords when switching back to
861 * ispell.el (ispell-buffer-session-localwords): New buffer-local
862 variable to hold buffer session localwords.
863 (ispell-kill-ispell): add option 'clear to delete session
865 (ispell-command-loop, ispell-change-dictionary)
866 (ispell-buffer-local-words): Preserve session localwords when
869 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
870 Preserve session localwords when needed.
872 2012-04-23 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
874 * ispell.el (ispell-insert-word) Remove unneeded function using
875 obsolete `translation-table-for-input'.
876 (ispell-word, ispell-process-line, ispell-complete-word):
877 Use plain `insert' instead of removed `ispell-insert-word'.
879 2012-04-22 Chong Yidong <cyd@gnu.org>
881 * cus-edit.el (custom-variable-menu)
882 (custom-variable-reset-saved, custom-face-menu)
883 (custom-face-reset-saved): If there is no saved value, make the
884 "reset-saved" operation bring back the default (Bug#9509).
885 (custom-face-state): Properly detect themed faces.
887 * faces.el (face-spec-set): Stop supporting deprecated form of
890 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
892 Move functions from C to Lisp. Make non-blocking method calls
893 the default. Implement further D-Bus standard interfaces.
895 * net/dbus.el (dbus-message-internal): Declare function.
896 Remove unneeded function declarations.
897 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
898 (dbus-message-type-method-return, dbus-message-type-error)
899 (dbus-message-type-signal): Declare variables. Remove local
901 (dbus-interface-dbus, dbus-interface-peer)
902 (dbus-interface-introspectable, dbus-interface-properties)
903 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
905 (dbus-interface-objectmanager): New defconst.
906 (dbus-call-method, dbus-call-method-asynchronously)
907 (dbus-send-signal, dbus-method-return-internal)
908 (dbus-method-error-internal, dbus-register-service)
909 (dbus-register-signal, dbus-register-method): New defuns, moved
911 (dbus-call-method-handler, dbus-setenv)
912 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
914 (dbus-call-method-non-blocking): Make it an obsolete function.
915 (dbus-unregister-object, dbus-unregister-service)
916 (dbus-handle-event, dbus-register-property)
917 (dbus-property-handler): Obey the new structure of
918 `bus-registered-objects'.
919 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
920 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
921 Use `dbus-call-method'.
923 2012-04-22 Chong Yidong <cyd@gnu.org>
925 * cus-edit.el (custom-commands, custom-reset-menu)
926 (Custom-reset-standard): Tweak labels.
927 (custom-reset-button-menu): Change default to t.
928 (custom-buffer-create-internal): For the custom-reset-button-menu
929 case, put the revert button first.
930 (custom-group-subtitle): New face.
931 (custom-group-value-create): Align docstring to a specific column.
933 * wid-edit.el (widget-documentation-link-add): Don't handle
934 indentation in this function.
935 (widget-documentation-string-indent-to): New function.
936 (widget-documentation-string-value-create): Use it.
938 * autorevert.el (auto-revert):
939 * epg-config.el (epg):
940 * ibuffer.el (ibuffer):
943 * eshell/eshell.el (eshell):
944 * net/ange-ftp.el (ange-ftp):
945 * progmodes/ebnf2ps.el (postscript):
946 * progmodes/flymake.el (flymake):
947 * progmodes/prolog.el (prolog):
948 * progmodes/verilog-mode.el (verilog-mode):
949 * progmodes/which-func.el (which-func):
950 * term/xterm.el (xterm):
951 * textmodes/picture.el (picture):
952 * textmodes/tildify.el (tildify):
953 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
954 customization buffers.
956 2012-04-22 Alan Mackenzie <acm@muc.de>
958 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
959 Adding a ) can hide the resulting (..) from searches. Fix it.
960 Bound the backward search to the position of the existing (.
962 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
964 * progmodes/verilog-mode.el (verilog-mode): Check whether
965 which-func-modes is t before adding verilog-mode.
966 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
968 2012-04-21 Leo Liu <sdl.web@gmail.com>
970 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
972 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
974 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
975 filling of the last column of a table (Bug#5635).
976 (woman-find-next-control-line): New arg, specifying an additional
977 regexp component for the control line.
978 (woman2-roff-buffer): Use it.
979 (woman-break-table): New function.
982 2012-04-21 Chong Yidong <cyd@gnu.org>
984 * woman.el (woman-set-buffer-display-table, woman-decode-region)
985 (woman-horizontal-escapes, woman-negative-vertical-space)
986 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
987 (WoMan-warn-ignored): Use ?\s instead of ?\ .
989 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
991 * minibuffer.el (completion-file-name-table): Complete user names.
993 2012-04-20 Leo Liu <sdl.web@gmail.com>
995 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
998 2012-04-20 Chong Yidong <cyd@gnu.org>
1000 * server.el (server-execute): Respect initial-buffer-choice if it
1001 is a string and there are no files to open (Bug#2825).
1002 (server-create-window-system-frame, server-create-tty-frame):
1003 Don't switch buffers here.
1004 (server-process-filter): Only try to open a window system frame if
1005 compiled with graphical support (Bug#8314).
1007 2012-04-20 Dan Nicolaescu <dann@gnu.org>
1009 * battery.el (battery-echo-area-format): Display remaining time
1010 for sysfs backend too (Bug#11269).
1011 (battery-linux-sysfs): Fix conditional for the charge.
1013 2012-04-20 Chong Yidong <cyd@gnu.org>
1015 * progmodes/gdb-mi.el (gdb): Revert previous change.
1016 (gdb-inferior-io--init-proc): New function.
1017 (gdb-init-1): Use it.
1018 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
1019 responsible for allocating a new pty and hooking it to gdb when
1020 the old pty gets an EIO due to process exit.
1021 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
1022 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
1023 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
1025 2012-04-20 Eli Zaretskii <eliz@gnu.org>
1027 * window.el (window-min-size, window-sizable, window-min-delta)
1028 (window-max-delta, window--resizable, window-resizable)
1029 (window-total-size, window-full-height-p, window-full-width-p)
1030 (window-in-direction, window--resize-mini-window, window-resize)
1031 (window--resize-child-windows-normal)
1032 (window--resize-child-windows, window--resize-siblings)
1033 (window--resize-this-window, adjust-window-trailing-edge)
1034 (enlarge-window, shrink-window): Doc fixes.
1036 2012-04-20 Chong Yidong <cyd@gnu.org>
1038 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
1039 New function to call delete-process on the gdb-inferior buffer's pty.
1040 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
1041 pty process (Bug#11273).
1042 (gdb-update): New arg to suppress talking to the gdb process.
1043 (gdb-done-or-error): Use it.
1044 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1045 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1046 sentinel not being called.
1048 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1050 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1052 2012-04-20 Glenn Morris <rgm@gnu.org>
1054 * net/network-stream.el (open-network-stream): Doc fix.
1056 2012-04-20 Chong Yidong <cyd@gnu.org>
1058 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1060 2012-04-20 Alan Mackenzie <acm@muc.de>
1062 Ensure searching for keywords is case sensitive.
1064 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1065 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1066 (c-defun-name, c-mark-function, c-cpp-define-name)
1067 (c-comment-indent, c-scan-conditionals, c-indent-defun)
1068 (c-context-line-break): Bind case-fold-search to nil.
1070 * progmodes/cc-mode.el (c-font-lock-fontify-region):
1071 Bind case-fold-search to nil.
1073 2012-04-20 Chong Yidong <cyd@gnu.org>
1075 * mail/sendmail.el (mail-bury): Call return action with the right
1076 Rmail buffer (Bug#11242).
1078 * server.el (server-process-filter): Handle corner case where both
1079 tty and nowait options are present (Bug#11102).
1081 2012-04-20 Eli Zaretskii <eliz@gnu.org>
1083 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
1084 (top level): Put into the executable the ident-style '$Id:' tag on
1087 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1089 * electric.el (electric-indent-post-self-insert-function): Check that
1090 electric-indent-mode is enabled in current buffer.
1092 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
1094 * imenu.el (imenu-progress-message): Restore; it is "used" in
1095 erc/erc-imenu.el and net/snmp-mode.el.
1097 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
1099 * avoid.el (mouse-avoidance-mode): Mark unused arg.
1100 (mouse-avoidance-nudge-mouse): Remove unused binding.
1102 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1104 * descr-text.el (describe-char):
1105 * progmodes/python.el (python-describe-symbol):
1106 Don't call `toggle-read-only', set `buffer-read-only'.
1108 * imenu.el (imenu-default-goto-function): Mark unused args.
1109 (imenu-progress-message): Remove obsolete macro; all callers changed.
1111 * subr.el (keymap-canonicalize): Remove unused binding.
1112 (read-passwd): Mark unused arg.
1114 * tutorial.el (tutorial--display-changes): Remove unused binding.
1115 (tutorial--save-tutorial-to): Remove unused variable.
1117 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1118 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1119 (package-generate-autoloads, package-menu--generate)
1120 (package-menu--find-upgrades): Remove unused bindings.
1122 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1123 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1124 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1125 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1126 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1127 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1128 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1129 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1130 (cua-delete-char-rectangle): Mark unused args.
1131 (cua-align-rectangle): Remove unused binding.
1133 * mail/rmail.el (compilation--message->loc)
1134 (epa--find-coding-system-for-mime-charset): Declare.
1136 * net/dbus.el (dbus-register-service): Declare.
1137 (dbus-name-owner-changed-handler): Remove unused binding.
1139 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1140 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1141 (nxml-scan-backward-within): Mark unused arg.
1142 (nxml-dynamic-markup-word): Remove unused binding.
1144 * mouse.el (mouse-menu-major-mode-map):
1145 * emacs-lisp/authors.el (authors-scan-change-log)
1146 (authors-add-to-author-list):
1147 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1148 * emacs-lisp/smie.el (smie-auto-fill):
1149 * mail/sendmail.el (mail-bury):
1150 * mail/unrmail.el (unrmail):
1151 * net/tls.el (open-tls-stream):
1152 * textmodes/picture.el (picture-mouse-set-point):
1153 Remove unused bindings.
1155 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
1157 * net/tramp.el (tramp-action-password): Let-bind
1158 `enable-recursive-minibuffers' to t.
1160 2012-04-18 Sam Steingold <sds@gnu.org>
1162 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1163 instead of 'string to accommodate values like [f11].
1164 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1165 * progmodes/gdb-mi.el: Likewise.
1167 2012-04-18 Leo Liu <sdl.web@gmail.com>
1169 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1171 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1174 2012-04-18 Chong Yidong <cyd@gnu.org>
1176 * simple.el (line-move): Use forward-line if in batch mode
1179 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1181 * files.el (after-find-file): Do not try to add a final newline if
1182 the buffer is read-only (Bug#11156).
1184 2012-04-17 Richard Stallman <rms@gnu.org>
1186 * mail/rmail.el (rmail-start-mail):
1187 Pass (rmail-mail-return...) for the return-action.
1188 Pass (rmail-yank-current-message...) for the yank-action.
1189 (rmail-yank-current-message): New function.
1190 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1191 (rmail-reply): Likewise.
1192 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1194 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
1195 buffer, not the last. Reject temp buffers. Use the rmail-mode
1198 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
1200 * server.el (server-ensure-safe-dir): Simplify.
1202 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1204 * emacs-lisp/smie.el: Provide smarter auto-filling.
1205 (smie-auto-fill): New function.
1206 (smie-setup): Use it.
1208 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1210 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
1212 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1213 (comment-indent): Use it.
1215 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
1217 * ses.el: The overall change is to add cell renaming, that is
1218 setting fancy names for cell symbols other than name matching
1219 "\\`[A-Z]+[0-9]+\\'" regexp .
1220 (ses-localvars): Add ses--renamed-cell-symb-list.
1221 (ses-create-cell-variable): New defun.
1222 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
1223 (ses-relocate-formula): Relocate formulas only for cells the
1224 symbols of which are not renamed, i.e. symbols whose names do not
1225 match regexp "\\`[A-Z]+[0-9]+\\'".
1226 (ses-relocate-all): Relocate values only for cells the symbols of
1227 which are not renamed.
1228 (ses-load): Create cells variables as the (ses-cell ...) are read,
1229 in order to check row col consistency with cell symbol name only
1230 for cells that are not renamed.
1231 (ses-replace-name-in-formula): New defun.
1232 (ses-rename-cell): New defun.
1234 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1236 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1237 New option (bug#11118).
1238 (perl-calculate-indent): Respect it.
1240 2012-04-17 Glenn Morris <rgm@gnu.org>
1242 * dired-aux.el (dired-mark-read-string): Doc fix.
1244 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1246 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1247 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1249 2012-04-17 Glenn Morris <rgm@gnu.org>
1251 * mouse.el (mouse-drag-track):
1252 * speedbar.el (speedbar-frame-mode):
1253 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1255 2012-04-16 Leo Liu <sdl.web@gmail.com>
1257 * progmodes/python.el: Trivial cleanup.
1259 2012-04-16 Glenn Morris <rgm@gnu.org>
1261 * vc/vc.el (vc-string-prefix-p):
1262 * vc/pcvs-util.el (cvs-string-prefix-p):
1263 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1264 * mpc.el (mpc-string-prefix-p):
1265 Make all of these into obsolete aliases for string-prefix-p.
1267 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1269 * textmodes/two-column.el: Move custom options to the start.
1270 (frame-width): Remove compat definition.
1271 (2C-associate-buffer, 2C-dissociate):
1272 Use with-current-buffer rather than save-excursion.
1273 (2C-dissociate): Force a mode-line update.
1274 (2C-autoscroll): Use ignore-errors.
1276 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1279 * emacs-lisp/cl-extra.el (*random-state*):
1280 Remove unnecessary declaration.
1282 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1284 * play/cookie1.el (cookie-snarf):
1285 Give an explicit error if input file cannot be read.
1287 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1289 * progmodes/perl-mode.el (c-macro-expand):
1290 Remove unnecessary autoload (it is in loaddefs.el).
1292 * textmodes/picture.el (picture-desired-column)
1293 (picture-update-desired-column): Convert comments to doc-strings.
1294 (picture-substitute): Remove function.
1295 (picture-mode-map): Initialize in the defvar.
1297 * woman.el: Remove eval-after-load for tar-mode.
1298 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1299 (woman-tar-extract-file): Autoload it.
1301 * frame.el (automatic-hscrolling): Make this alias obsolete.
1303 2012-04-12 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
1305 * ispell.el (ispell-set-spellchecker-params): Post-process
1306 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
1307 (ispell-dictionary-base-alist): Revert to original XEmacs
1308 friendly version for default. [:alpha:] will be added in
1309 `ispell-set-spellchecker-params' if needed
1311 2012-04-16 Chong Yidong <cyd@gnu.org>
1313 * image.el (imagemagick--extension-regexp): New variable.
1314 (imagemagick-register-types): Use it.
1315 (imagemagick-types-inhibit): Add :set function. Allow new value
1316 of t to inhibit all types.
1318 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1319 so we can preload it.
1321 * loadup.el (fboundp): Preload regexp-opt, needed by
1322 imagemagick-register-types.
1324 2012-04-15 Chong Yidong <cyd@gnu.org>
1326 * frame.el (scrolling): Remove nearly unused customization group.
1328 * scroll-all.el (scroll-all-mode): Move to windows group.
1330 2012-04-15 Chong Yidong <cyd@gnu.org>
1332 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1334 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1336 Avoid the use of ((lambda ...) ...) in lexical-binding code.
1337 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
1339 2012-04-15 Glenn Morris <rgm@gnu.org>
1341 * simple.el (process-file-side-effects): Doc fix.
1343 2012-04-15 Glenn Morris <rgm@gnu.org>
1345 * international/mule-cmds.el (set-language-environment): Doc fix.
1347 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
1349 * server.el (server-auth-key, server-generate-key): Doc fixes.
1350 (server-get-auth-key): Doc fix. Use `string-match-p'.
1351 (server-start): Reflow docstring.
1353 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1355 * server.el (server-generate-key): `called-interactively-p'
1356 requires a parameter.
1358 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
1360 * server.el (server-auth-key): New variable.
1361 (server-generate-key, server-get-auth-key): New function.
1362 (server-start): Use the new variable and functions to allow
1363 setting a permanent server key (bug#9423).
1365 2012-04-14 Leo Liu <sdl.web@gmail.com>
1367 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1369 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1372 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1373 Emacs uses American spelling.
1375 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
1377 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1378 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1379 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1380 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1382 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1384 * progmodes/which-func.el (which-func-modes): Change default.
1386 2012-04-14 Kim F. Storm <storm@cua.dk>
1388 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1389 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1391 2012-04-14 Chong Yidong <cyd@gnu.org>
1393 * custom.el (custom-theme-set-variables): Doc fix.
1395 2012-04-14 Glenn Morris <rgm@gnu.org>
1397 * international/mule.el (set-auto-coding-for-load): Doc fix.
1399 2012-04-14 Alan Mackenzie <acm@muc.de>
1401 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1402 imenu work again for Objective C Mode. Correct the *-index values,
1403 these having been disturbed by a previous change in 2011-08.
1405 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1406 Correct two search limits.
1408 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1410 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1412 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
1414 * international/characters.el: Fix sorting.
1416 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1418 * international/characters.el: Add more missing Latin case pairs.
1420 2012-04-14 Glenn Morris <rgm@gnu.org>
1422 * files.el (dir-locals-set-class-variables): Doc fix.
1424 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1426 * international/characters.el: Add set-case-syntax-pair call for
1427 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1428 counterpart. (Bug#11209)
1430 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1432 2012-04-14 Glenn Morris <rgm@gnu.org>
1434 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1436 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1438 * textmodes/ispell.el (ispell-dictionary-base-alist):
1439 Add data for Hebrew.
1441 2012-04-14 Chong Yidong <cyd@gnu.org>
1443 * net/rcirc.el (rcirc-cmd-quit):
1444 Revert 2012-03-18 change (Bug#11192).
1446 2012-04-14 Glenn Morris <rgm@gnu.org>
1448 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1450 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1452 * minibuffer.el (completion-in-region-mode-map):
1453 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
1455 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1457 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1459 2012-04-13 Masatake YAMATO <yamato@redhat.com>
1461 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1462 to allow `C-M-f' and `C-M-b' to move to the nearest path
1463 separator (bug#9511).
1465 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1467 * avoid.el: Require cl when compiling. And also move the
1468 `provide' to the end.
1470 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1472 * avoid.el (mouse-avoidance-banish-position): New variable.
1473 (mouse-avoidance-banish-destination): Use it (bug#10165).
1475 2012-04-13 Leo Liu <sdl.web@gmail.com>
1477 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1479 2012-04-13 Ken Brown <kbrown@cornell.edu>
1481 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
1482 this is no longer needed now that cygstart understands file:// URLs.
1483 (browse-url-filename-alist): For the same reason, don't modify
1484 file:// URLs on Cygwin.
1486 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1488 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1489 the region on shift if the binding is already shifted (bug#11221).
1491 2012-04-12 Glenn Morris <rgm@gnu.org>
1493 * mail/mailpost.el: Move to obsolete/.
1495 2012-04-12 Drew Adams <drew.adams@oracle.com>
1497 * imenu.el (imenu--generic-function): Ignore invisible definitions
1500 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1502 * hexl.el (hexl-bits): New variable.
1503 (hexl-options): Mention the variable in the doc string.
1504 (hexl-rulerise, hexl-line-displen): New functions.
1505 (hexl-mode): Mention the new variable.
1506 (hexl-mode, hexl-current-address, hexl-current-address):
1508 (hexl-ascii-start-column): New function.
1509 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1510 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1512 2012-04-12 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
1514 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1515 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1516 the encoding, as expected by hunspell.
1518 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1520 * battery.el (battery--linux-sysfs-regexp): New const.
1521 (battery-status-function): Use it. Remove yeeloong special case.
1522 (battery-yeeloong-sysfs): Remove.
1523 (battery-echo-area-format): Remove yeeloong special case.
1525 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1527 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1528 Reported by Noah Friedman.
1530 * subr.el (read-passwd): Use read-string.
1532 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1534 * vcursor.el (vcursor-move): Increase the priority of the overlay
1537 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1539 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1540 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1542 2012-04-11 William Stevenson <yhvh2000@gmail.com>
1544 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1545 define-minor-mode (bug#10760).
1547 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
1549 * progmodes/grep.el (rgrep): Tweak the find command line so
1550 that directories matching `grep-find-ignored-files' won't be
1553 2012-04-11 Chong Yidong <cyd@gnu.org>
1555 * startup.el (command-line): Remove support for long-obsolete
1556 variable font-lock-face-attributes.
1558 2012-04-11 Glenn Morris <rgm@gnu.org>
1560 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1562 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1564 * window.el (window--state-get-1): Obey window-point-insertion-type.
1566 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1568 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1569 to previous function when point is on the first character of a
1570 function. Take care of that in `narrow-to-defun' (bug#6157).
1572 2012-04-11 Glenn Morris <rgm@gnu.org>
1574 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1575 not just file-errors.
1577 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1578 (vc-bzr-sha1): Use internal sha1.
1580 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1582 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1584 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1586 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1587 that start in the middle of the line (bug#10496).
1589 2012-04-10 Dan Nicolaescu <dann@gnu.org>
1591 * battery.el (battery-linux-proc-acpi): Only one battery is
1592 discharged at a time, but that seems to confuse battery.el when
1593 computing `rate-type' for the battery not being discharged
1596 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1598 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1600 * international/quail.el: Use dolist and simplify.
1601 (quail-define-package, quail-update-keyboard-layout)
1602 (quail-define-rules): Use dolist.
1603 (quail-insert-kbd-layout, quail-get-translation): CSE.
1605 * tmm.el: Use dolist, remove left over hook.
1606 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1608 (calendar-load-hook): Don't mess with it.
1610 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1611 Use derived-mode-p. Run the diff asynchronously.
1613 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1615 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1617 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
1619 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1620 (list-dynamic-libraries--loaded): New function.
1621 (list-dynamic-libraries--refresh): Use it.
1623 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
1625 * progmodes/python.el (python-fill-paragraph):
1626 Make python-fill-region in a multiline string work when font-lock is
1627 disabled (bug#7018).
1629 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
1631 * language/european.el (cp775): Add oem/legacy (en)coding on
1632 DOS/MS Windows for the Baltic languages. There are still plenty
1633 of texts written in this encoding/codepage (bug#6519).
1635 2012-04-10 Glenn Morris <rgm@gnu.org>
1637 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1638 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1640 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1642 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
1643 next-line "n" and previous-line "p" in order to make recentf more
1644 consistent with ibuffer, dired or org-mode (bug#9387).
1646 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1648 * image.el (put-image): Return the overlay created instead of the
1649 optional input string (bug#7834). Note that this may break code
1650 that is (for some reason or other) depending on `put-image'
1651 returning the string.
1653 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1655 * simple.el (zap-to-char): Allow zapping using input methods
1658 * textmodes/fill.el (fill-region): Leave point and mark where they
1659 were before filling (bug#5399).
1661 2012-04-09 Glenn Morris <rgm@gnu.org>
1663 * version.el (emacs-bzr-get-version):
1664 Handle lightweight checkouts of local branches.
1666 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1668 * international/characters.el: Recover lost case pairs. (Bug#11209)
1670 2012-04-09 Chong Yidong <cyd@gnu.org>
1672 * custom.el (custom-variable-p): Return nil for non-symbol
1673 arguments instead of signaling an error.
1674 (user-variable-p): Obsolete alias for custom-variable-p.
1676 * apropos.el (apropos-variable):
1677 * files-x.el (read-file-local-variable):
1678 * simple.el (set-variable):
1679 * woman.el (woman-mini-help):
1680 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1682 2012-04-09 Glenn Morris <rgm@gnu.org>
1684 * startup.el (normal-top-level): Don't look for leim-list.el
1685 in places where it will not be found. (Bug#910)
1687 * international/mule-cmds.el (set-default-coding-systems):
1688 * files.el (normal-mode):
1689 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1690 This function was removed with ucs-tables.el in 2008.
1692 2012-04-08 Eli Zaretskii <eliz@gnu.org>
1694 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1695 ispell-encoding8-command to "-i", without a trailing space.
1696 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1697 separate command-line arguments, to specify the encoding, since
1698 that's how hunspell expects it.
1700 2012-04-08 Glenn Morris <rgm@gnu.org>
1702 * loadup.el: Load bindings before cus-start.
1703 This reduces somewhat the number of "rogue" settings in emacs -Q.
1705 2012-04-07 Glenn Morris <rgm@gnu.org>
1707 * version.el (emacs-bzr-get-version): New function.
1708 (emacs-bzr-version): New variable.
1709 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1710 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1712 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1714 * international/uni-bidi.el, international/uni-category.el:
1715 * international/uni-combining.el, international/uni-decimal.el:
1716 * international/uni-decomposition.el, international/uni-digit.el:
1717 * international/uni-lowercase.el, international/uni-mirrored.el:
1718 * international/uni-name.el, international/uni-numeric.el:
1719 * international/uni-titlecase.el, international/uni-uppercase.el:
1720 Update for Unicode 6.1.
1722 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1724 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1726 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1728 * window.el (shrink-window): Mention the `window-min-height'
1729 variable in the doc string.
1731 2012-04-05 Bastien Guerry <bzg@altern.org>
1733 * color.el (color-lighten-name): Fix typo.
1735 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1737 * server.el (server--on-display-p): New function.
1738 (server--on-display-p): Use it.
1740 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1742 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1745 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1747 * comint.el (comint--common-quoted-suffix): Check string boundary
1748 before comparing (bug#11158).
1749 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1751 2012-04-04 Chong Yidong <cyd@gnu.org>
1753 * minibuffer.el (completion-extra-properties): Doc fix.
1755 * subr.el (delayed-warnings-hook): Doc fix.
1757 2012-04-04 Daiki Ueno <ueno@unixuser.org>
1759 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1760 selection (Bug#11159).
1761 (epa-insert-keys): Inform that the default public key will be
1762 exported if no key is selected.
1764 2012-04-04 Richard Stallman <rms@gnu.org>
1766 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1768 2012-04-03 Chong Yidong <cyd@gnu.org>
1770 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1771 mail-insert-file, not its obsolete alias mail-attach-file.
1773 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
1775 * notifications.el (notifications-notify): Fix docstring.
1777 2012-04-02 Glenn Morris <rgm@gnu.org>
1779 * emacs-lisp/authors.el (authors-aliases): Another addition.
1781 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
1783 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1784 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1785 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1787 2012-04-01 Chong Yidong <cyd@gnu.org>
1789 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1790 Handle root directory properly.
1791 (copy-directory): Caller changed.
1793 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1794 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1796 2012-03-31 Glenn Morris <rgm@gnu.org>
1798 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1800 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1802 * calendar/calendar.el (calendar-window-list)
1803 (calendar-hide-window): Restore. (Bug#11140)
1804 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1806 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1808 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1810 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1811 Check if file is a symlink (Bug#10489).
1813 * files.el (copy-directory): Likewise.
1815 2012-03-30 Chong Yidong <cyd@gnu.org>
1817 * image.el (imagemagick-types-inhibit)
1818 (imagemagick-register-types): Doc fix.
1820 2012-03-30 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
1822 * ispell.el (ispell-get-extended-character-mode):
1823 Disable extended-char-mode for hunspell. hunspell does not support it
1824 and treats ~word as ordinary words in pipe mode.
1826 2012-03-30 Glenn Morris <rgm@gnu.org>
1828 * tutorial.el (help-with-tutorial): Ensure local variables don't
1829 happen to make the buffer read-only. (Bug#11127)
1831 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1833 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1834 (perl-calculate-indent): Return `noindent' in strings.
1836 2012-03-28 Sam Steingold <sds@gnu.org>
1838 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1839 instead of the broken adhockery which does not prevent calendar
1840 buffers from being displayed at random after exit.
1841 (calendar-window-list, calendar-hide-window): Remove the broken
1844 2012-03-28 Glenn Morris <rgm@gnu.org>
1846 * replace.el (query-replace-map): Doc fix.
1848 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1850 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1851 contents. (Bug#11109)
1853 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1855 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1857 (avl-tree--check, avl-tree--check-node): New funs.
1859 2012-03-27 Martin Rudalics <rudalics@gmx.at>
1861 * window.el (switch-to-visible-buffer): New option.
1862 (switch-to-prev-buffer, switch-to-next-buffer):
1863 Observe switch-to-visible-buffer. Make sure that checking for a window
1864 showing a buffer already is done on the same frame.
1866 2012-03-27 Glenn Morris <rgm@gnu.org>
1868 * startup.el (mail-host-address): Doc fix.
1870 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1872 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1875 2012-03-26 Ami Fischman <ami@fischman.org>
1877 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1879 2012-03-26 Glenn Morris <rgm@gnu.org>
1881 * files.el (save-buffers-kill-emacs): Doc fix.
1883 * startup.el (normal-top-level, command-line, command-line-1):
1884 Give them doc strings.
1886 2012-03-25 Eli Zaretskii <eliz@gnu.org>
1888 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
1889 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
1891 2012-03-25 Chong Yidong <cyd@gnu.org>
1893 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1894 theme if it was previously enabled before (Bug#11031).
1896 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1897 spec with custom-face-get-current-spec if its :shown-value is not
1898 determined yet (Bug#9337).
1899 (customize-create-theme, custom-theme-revert): Doc fixes.
1901 * button.el (button-at): Minor addition to docstring.
1903 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
1905 * vc/vc.el (vc-merge): Fix a prompt.
1907 2012-03-24 Chong Yidong <cyd@gnu.org>
1909 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1912 * button.el (button-at): Minor addition to docstring.
1914 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1916 * newcomment.el (comment-choose-indent): No space after BOL.
1918 2012-03-22 Sam Steingold <sds@gnu.org>
1920 * window.el (switch-to-prev-buffer): Revert last patch because the
1921 bug turned out to be an advertised feature (Elisp manual 28.14).
1923 2012-03-22 Glenn Morris <rgm@gnu.org>
1925 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1926 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1928 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1930 * net/network-stream.el (network-stream-open-starttls): Make error
1931 message under Windows be less misleading.
1933 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1935 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1936 understands (bug#9942).
1938 2012-03-22 Chong Yidong <cyd@gnu.org>
1940 * simple.el (end-of-visible-line): Handle return value of
1941 next-single-property-change properly (Bug#9371).
1943 2012-03-22 Kenichi Handa <handa@m17n.org>
1945 * international/quail.el (quail-insert-kbd-layout): Fix previous
1946 change. To avoid unwanted bidi reordering, use
1947 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1949 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1951 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1952 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1953 (ruby-beginning-of-indent): Be more careful with the difference
1954 between word-boundary and symbol boundary.
1955 (ruby-mode-syntax-table): Make : a symbol constituent.
1957 2012-03-21 Andreas Politz <politza@fh-trier.de>
1959 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1961 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1963 * progmodes/etags.el (tags-completion-at-point-function):
1966 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1968 2012-03-21 Sam Steingold <sds@gnu.org>
1970 * progmodes/etags.el (tags-completion-at-point-function):
1971 Avoid the error when point is inside the pattern.
1973 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1975 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1978 2012-03-21 Drew Adams <drew.adams@oracle.com>
1980 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1982 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1984 * ido.el (ido-set-current-directory, ido-read-internal)
1985 (ido-choose-completion-string, ido-completion-help): Handle nil
1986 value of ido-completion-buffer (Bug#11008).
1988 2012-03-21 Sam Steingold <sds@gnu.org>
1990 * window.el (switch-to-prev-buffer): Do not switch to a visible
1991 window previous buffer, just like with the frame previous buffers.
1993 2012-03-21 Chong Yidong <cyd@gnu.org>
1995 * faces.el (make-face, make-empty-face, copy-face):
1996 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1999 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2001 * wid-edit.el (widget-complete-field): Remove (bug#11051).
2002 (widget-complete): Remove broken use of it.
2004 2012-03-20 Chong Yidong <cyd@gnu.org>
2006 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2007 Use string-width and truncate-string-width to handle arbitrary
2010 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
2012 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2013 to draw rectangles, not squares. (Regression introduced by revno
2014 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2016 2012-03-18 Chong Yidong <cyd@gnu.org>
2018 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
2019 it is not yet defined (for temacs).
2021 2012-03-18 Leo Liu <sdl.web@gmail.com>
2023 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
2025 2012-03-17 Eli Zaretskii <eliz@gnu.org>
2027 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
2028 (ispell-choices-win-default-height, ispell-silently-savep)
2029 (ispell-dictionary-alist, ispell-encoding8-command)
2030 (ispell-check-version, ispell-aspell-find-dictionary)
2031 (ispell-valid-dictionary-list, ispell-words-keyword)
2032 (ispell-get-word, ispell-internal-change-dictionary)
2033 (ispell-region, ispell-skip-region-list)
2034 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2035 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2036 (ispell-message-text-end, ispell-message)
2037 (ispell-buffer-local-parsing): Doc fix.
2039 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
2041 * htmlfontify.el: Add support for code block fontification for ODT
2043 (hfy-optimisations): Define new option
2045 (hfy-fontify-buffer): Honor above setting.
2046 (hfy-begin-span, hfy-end-span): New routines factored out form
2047 `hfy-fontify-buffer'.
2048 (hfy-begin-span-handler, hfy-end-span-handler): New variables
2049 that permit insertion of custom tags.
2050 (hfy-fontify-buffer): Use above handlers.
2051 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2052 (hfy-face-to-css): Re-defined to be a variable.
2053 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
2054 over multiple runs. This is made possible by having the caller let
2055 bind a special variable `hfy-user-sheet-assoc'.
2056 (htmlfontify-string): New defun.
2057 (hfy-compile-face-map): Make sure that the last char in the
2058 buffer is correctly fontified.
2059 (hfy-face-resolve-face): Whitespace only change.
2061 2012-03-17 Eli Zaretskii <eliz@gnu.org>
2063 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2066 2012-03-16 Leo Liu <sdl.web@gmail.com>
2068 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2070 2012-03-16 Alan Mackenzie <acm@muc.de>
2072 Further optimise the handling of large macros.
2074 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2075 limit to a call of `c-literal-limits'.
2076 (c-determine-+ve-limit): New function.
2077 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2078 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2079 In CASE 5B, restrict a search limit to 500.
2080 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2082 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2083 Restrict macro bounds to +-500 from after-change's BEG END.
2085 2012-03-16 Leo Liu <sdl.web@gmail.com>
2087 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2089 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2091 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
2092 `special-mode' setting of `buffer-read-only'. (Bug#11010)
2094 2012-03-16 Glenn Morris <rgm@gnu.org>
2096 * view.el (view-buffer, view-buffer-other-window)
2097 (view-buffer-other-frame): Doc fixes re special mode-class.
2099 * subr.el (eval-after-load): If named feature is provided not from
2100 a file, run after-load forms. (Bug#10946)
2102 * calendar/calendar.el (calendar-insert-at-column):
2103 Handle non-unit-width characters a bit better. (Bug#10978)
2105 2012-03-15 Chong Yidong <cyd@gnu.org>
2107 * emacs-lisp/ring.el (ring-extend): New function.
2108 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2110 * comint.el (comint-read-input-ring)
2111 (comint-add-to-input-history): Grow comint-input-ring lazily.
2113 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2115 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2116 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2118 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2119 (imenu-add-to-menubar): Don't add a redundant index.
2120 (imenu-update-menubar): Handle a dynamically composed keymap.
2122 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2124 * mail/sendmail.el (mail-encode-header):
2125 Bind rfc2047-encode-encoded-words to nil.
2127 2012-03-13 Glenn Morris <rgm@gnu.org>
2129 * calendar/calendar.el (calendar-string-spread):
2130 Handle non-unit-width characters a bit better. (Bug#10978)
2132 2012-03-13 Leo Liu <sdl.web@gmail.com>
2134 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2135 directory and file as argument (Bug#10822).
2137 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2139 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2140 For dynamically generated code, follow $PC.
2141 (gdb-disassembly-handler-custom): Handle no function name case.
2143 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2145 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2146 * emulation/ws-mode.el (ws-query-replace):
2147 * sort.el (sort-regexp-fields):
2148 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2150 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2152 * dabbrev.el: Fix cycle completion order (bug#10963).
2153 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2154 (dabbrev-completion): Don't use an obarray; provide
2155 a cycle-sort-function.
2157 2012-03-12 Leo Liu <sdl.web@gmail.com>
2159 * simple.el (kill-new): Use equal-including-properties for comparison.
2160 (kill-do-not-save-duplicates): Doc fix.
2162 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2164 * dabbrev.el: Fix cycle completion (bug#10963).
2165 Use lexical binding and wrap to 80 columns.
2166 (dabbrev-completion): Delay computing the list of completions.
2168 2012-03-12 Kenichi Handa <handa@m17n.org>
2170 * international/quail.el (quail-insert-kbd-layout): Surround each
2171 row by LRO and PDF instead of inserting many LRMs. Pad the left
2172 and right of each non-spacing marks. Insert invisible space
2173 between lower and upper characters to prevent composition.
2175 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2177 * minibuffer.el (minibuffer-complete): Don't get confused when the
2178 function is run twice via different commands (bug#10958).
2179 (complete-with-action): Fix docstring.
2181 2012-03-12 Chong Yidong <cyd@gnu.org>
2183 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2184 (nxml-completion-at-point-function): New function.
2185 (nxml-mode): Use it.
2186 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2188 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2189 Load generated autoloads file before byte compiling (Bug#10970).
2190 (package--make-autoloads-and-compile): New helper fun.
2192 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2194 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2196 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
2198 * autorevert.el (auto-revert-handler): Ensure, that
2199 file-readable-p is applied only for local files or in
2200 auto-revert-tail-mode.
2202 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2204 * server.el (server-eval-at): Handle non-tcp connections.
2205 Decode result string.
2207 * server.el (server-msg-size): New constant.
2208 (server-reply-print): New function.
2209 (server-eval-and-print): Use it.
2210 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2213 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2215 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2218 2012-03-11 Chong Yidong <cyd@gnu.org>
2220 * simple.el (goto-line): Doc fix (Bug#9938).
2222 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2224 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2225 when finished (Bug#10963).
2227 2012-03-11 Martin Rudalics <rudalics@gmx.at>
2229 * window.el (split-window-below): Fix bug in case where
2230 split-window-keep-point is nil (Bug#10971).
2232 2012-03-11 Juri Linkov <juri@jurta.org>
2234 * replace.el (replace-highlight): Set isearch-word to nil
2235 unconditionally. (Bug#10887)
2237 2012-03-10 Eli Zaretskii <eliz@gnu.org>
2239 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2240 mairix-replace-illegal-chars; all callers changed. Don't remove
2241 ^, ~, and = characters: they are meaningful in mairix search specs.
2242 (mairix-widget-create-query): Add usage information about mairix
2243 search forms: negating words, searching for substrings, etc.
2245 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2247 * international/fontset.el (font-encoding-alist): Add an entry for
2250 2012-03-10 Richard Stallman <rms@gnu.org>
2252 * mail/sendmail.el (mail-encode-header):
2253 Set rfc2047-encode-encoded-words.
2255 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2257 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2258 view buffer means not swapped.
2259 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2260 (rmail-write-region-annotate): Error if real text has disappeared.
2262 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2264 2012-03-10 Chong Yidong <cyd@gnu.org>
2266 * emulation/cua-rect.el (cua--init-rectangles):
2267 * emulation/cua-base.el (cua--init-keymaps):
2268 Add delete-forward-char to remappings (Bug#9666).
2270 2012-03-10 Martin Rudalics <rudalics@gmx.at>
2272 * speedbar.el (speedbar-unhighlight-one-tag-line):
2273 Avoid unhighlighting due to frame switching (Bug#10275).
2275 2012-03-10 Chong Yidong <cyd@gnu.org>
2277 * minibuffer.el (completion-in-region, completion-help-at-point):
2278 Give the completion field overlay a high priority (Bug#6830).
2280 * dired.el (dired-goto-file): Recognize absolute file name
2281 listings (Bug#7126).
2282 (dired-goto-file-1): New helper function.
2283 (dired-toggle-read-only): Inhibit warnings.
2285 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
2287 * net/dbus.el (dbus-property-handler): Return empty array if
2288 there are no properties.
2290 2012-03-09 Leo Liu <sdl.web@gmail.com>
2292 * savehist.el (savehist-printable): Stricter check for string
2295 2012-03-09 Eli Zaretskii <eliz@gnu.org>
2297 * mail/smtpmail.el (smtpmail-send-it):
2298 Bind coding-system-for-write to *-unix, so that FCC files are kept in
2301 2012-03-09 Glenn Morris <rgm@gnu.org>
2303 * files.el (dir-locals-find-file):
2304 Don't check result is regular, readable.
2305 (dir-locals-read-from-file): Demote errors.
2307 2012-03-08 Eli Zaretskii <eliz@gnu.org>
2309 * international/quail.el (quail-insert-kbd-layout):
2310 Insert invisible LRM characters before each character in a keyboard
2311 layout cell, to prevent their reordering by bidi display engine.
2312 For details, see the discussion in
2313 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2315 2012-03-08 Alan Mackenzie <acm@muc.de>
2317 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2318 the starting position; make it extend the marked region when
2319 invoked repeatedly - all under appropriate circumstances.
2320 Fixes bugs #5525, #10906.
2322 2012-03-08 Glenn Morris <rgm@gnu.org>
2324 * files.el (locate-dominating-file, dir-locals-find-file):
2325 Undo 2012-03-06 change.
2327 2012-03-07 Eli Zaretskii <eliz@gnu.org>
2329 * international/quail.el (quail-help):
2330 Force bidi-paragraph-direction be left-to-right. See discussion in
2331 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2334 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
2336 Avoid superfluous registering of signals. (Bug#10807)
2338 * notifications.el (notifications-on-action-object)
2339 (notifications-on-close-object): New defvars.
2340 (notifications-on-action-signal, notifications-on-closed-signal):
2341 Unregister the signal if not needed any longer.
2342 (notifications-notify): Register `notifications-action-signal' or
2343 `notifications-closed-signal', if :on-action or :on-close has been
2346 2012-03-07 Chong Yidong <cyd@gnu.org>
2348 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2351 2012-03-06 Glenn Morris <rgm@gnu.org>
2353 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2354 (x-disown-selection-internal, x-get-selection-internal):
2355 Doc fix (add arglist signatures). (Bug#10783)
2357 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2359 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2360 Handle breakpoints with no "type".
2362 2012-03-06 Glenn Morris <rgm@gnu.org>
2364 * files.el (locate-dominating-file): Add optional predicate argument.
2365 (dir-locals-find-file): Make use of above change.
2367 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2369 * info.el (Info-insert-dir): Also try "dir.gz".
2371 2012-03-06 Glenn Morris <rgm@gnu.org>
2373 * files.el (dir-locals-find-file):
2374 Ignore non-readable or non-regular files. (Bug#10928)
2376 * files.el (locate-dominating-file): Doc fix.
2378 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2380 * calendar/calendar.el (calendar-set-mode-line):
2381 `getenv' returns a string. (Bug#10951)
2383 2012-03-05 Leo Liu <sdl.web@gmail.com>
2385 * simple.el (backward-delete-char-untabify): Constrain point to
2388 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2390 2012-03-05 Chong Yidong <cyd@gnu.org>
2392 * simple.el (count-words): If called from Lisp, return the word
2393 count, for symmetry with `count-lines'. Arglist changed.
2394 (count-words--message): Args changed. Consolidate counting code
2395 from count-words and count-words-region.
2396 (count-words-region): Caller changed.
2397 (count-lines-region): Make it an obsolete alias.
2399 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2401 * saveplace.el (save-place-to-alist)
2402 (save-place-ignore-files-regexp): Allow value nil to disable this
2405 2012-03-04 Chong Yidong <cyd@gnu.org>
2407 * faces.el (face-spec-reset-face): For the default face, reset the
2408 attributes to default values (Bug#10748).
2410 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2412 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2413 previous patch: Check `message-send-mail-function', and not the
2414 default function (bug#10897).
2416 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
2418 * notifications.el (notifications-on-action-signal)
2419 (notifications-on-closed-signal): Check for unique service name of
2420 incoming event. Fix error in removing entry.
2421 (top): Register for signals with wildcard service name.
2422 (notifications-notify): Use daemon unique service name for map entries.
2424 2012-03-04 Chong Yidong <cyd@gnu.org>
2426 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
2428 2012-03-04 Glenn Morris <rgm@gnu.org>
2430 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2431 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2432 (expand-abbrev, define-abbrev-table): Doc fixes.
2434 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2436 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2437 `message-default-send-mail-function' and not `send-mail-function'
2438 when doing the prompting for `sendmail-query-once' before sending
2439 in Message buffers (bug#10897).
2441 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2442 This is inconsistent with all the other stream functions, which leave
2443 the setting up to the higher levels (if so wanted) (bug#10931).
2445 2012-03-02 Alan Mackenzie <acm@muc.de>
2447 Depessimize the handling of very large macros.
2449 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2450 (c-macro-cache-syntactic): New variables to implement a one
2451 element macro cache.
2452 (c-invalidate-macro-cache): New function.
2453 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2454 Adapt to use the new cache.
2455 (c-state-safe-place): Use better the cache of safe positions.
2456 (c-state-semi-nonlit-pos-cache)
2457 (c-state-semi-nonlit-pos-cache-limit):
2458 New variables for...
2459 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2460 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
2461 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2462 Use c-state-semi-safe-place.
2464 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2465 Add c-invalidate-macro-cache to the C, C++, Obj entries.
2467 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
2469 * jka-compr.el (jka-compr-call-process):
2470 Apply `file-accessible-directory-p' only when the default directory is
2473 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
2475 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2476 access of FILE2, if FILE1 does not exist.
2478 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2479 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2481 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2482 Add "PAGER=" to `process-environment'.
2484 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2486 * progmodes/sql.el: Bug fix
2487 (sql-get-login-ext): Save login values in globals.
2488 (sql-get-login): Use new version of `sql-get-login-ext'.
2489 (sql-interactive-mode): Set global `sql-connection' to nil.
2490 (sql-connect): Set global values for connection.
2491 (sql-product-interactive): Save global values as buffer local.
2493 2012-02-29 Leo Liu <sdl.web@gmail.com>
2495 * abbrev.el (define-abbrevs): Reset sys to nil.
2497 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2499 * files.el (file-equal-p): Rename from `files-equal-p'.
2500 Return nil when one or both files don't exist.
2501 (file-subdir-of-p): Now only top directory must exists,
2502 return nil if it doesn't.
2503 (copy-directory): No need to test with `file-subdir-of-p' after
2505 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2508 2012-02-28 Glenn Morris <rgm@gnu.org>
2510 * shell.el (shell-mode):
2511 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2512 * play/landmark.el (landmark-font-lock-face-O):
2513 * play/handwrite.el (handwrite):
2514 * play/gomoku.el (gomoku-O):
2515 * net/browse-url.el (browse-url-browser-display):
2516 * international/mule.el (define-charset):
2517 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2518 * filesets.el (filesets-find-file-delay):
2519 * eshell/em-xtra.el (eshell-xtra):
2520 * eshell/em-unix.el (eshell-grep):
2521 * emulation/viper.el (viper-mode):
2522 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2523 * emacs-lisp/easymenu.el (easy-menu-define):
2524 * calendar/timeclock.el (timeclock-use-display-time):
2526 * bookmark.el (bookmark-save-flag):
2527 Doc fix (standardize possessive apostrophe usage).
2529 2012-02-27 Chong Yidong <cyd@gnu.org>
2531 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2532 Fix key-binding lookup for ESC key (Bug#9146).
2534 * font-lock.el (font-lock-specified-p): Rename from
2535 font-lock-spec-present. Callers changed.
2537 2012-02-27 Daniel Hackney <dan@haxney.org>
2539 * emacs-lisp/package.el (package-compute-transaction):
2540 Handle holding a package version to t in package-load-list.
2542 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
2544 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2545 (tramp-get-inode, tramp-get-device): Use cached values.
2547 2012-02-26 Alan Mackenzie <acm@muc.de>
2549 Check there is a font-lock specification before doing initial
2552 * font-core.el (font-lock-mode): Move the conditional from
2553 :after-hook to font-lock-initial-fontify.
2554 (font-lock-default-function): Move the check for a specification
2555 to font-lock-spec-present.
2557 * font-lock.el (font-lock-initial-fontify): Call ...
2558 (font-lock-spec-present): New function.
2560 2012-02-26 Jim Blandy <jimb@red-bean.com>
2562 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2563 (gdb-send): Apply it to the operand of the '-interpreter-exec
2564 console' command, so that we can pass arguments with (say) quotes
2565 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2567 2012-02-26 Chong Yidong <cyd@gnu.org>
2569 * help-fns.el (describe-function-1): Clarify description of
2570 remapping (Bug#10844).
2572 * files.el (files-equal-p): Doc fix.
2573 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2574 and quit the loop once a mismatch is found.
2576 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
2578 * bs.el (bs--show-with-configuration): Don't throw an error
2579 if the window cannot be split; otherwise, subsequent calls to
2580 bs-show fail, restoring a stale window config. (Bug#10882)
2582 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2584 * term/ns-win.el (global-map): Bind ns-drag-file to
2585 ns-find-file (Bug#5855, Bug#10050).
2587 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2589 * calendar/parse-time.el (parse-time-string): Allow extractor to
2592 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
2594 * net/tramp.el (tramp-file-name-for-operation):
2595 Add `files-equal-p' and `file-subdir-of-p'.
2597 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2598 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2599 Add COPY-CONTENTS argument.
2601 2012-02-25 Chong Yidong <cyd@gnu.org>
2603 Add custom groups for VC backends, for consistency with vc-bzr.
2605 * vc/vc-arch.el (vc-arch):
2606 * vc/vc-cvs.el (vc-cvs):
2607 * vc/vc-git.el (vc-git):
2608 * vc/vc-hg.el (vc-hg):
2609 * vc/vc-mtn.el (vc-mtn):
2610 * vc/vc-rcs.el (vc-rcs):
2611 * vc/vc-sccs.el (vc-sccs):
2612 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2613 All relevant defcustoms reassigned.
2615 2012-02-25 Chong Yidong <cyd@gnu.org>
2617 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2619 * term/x-win.el (x-initialize-window-system): Reduce default for
2620 x-selection-timeout to 5 seconds (Bug#8869).
2622 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2624 * files.el (files-equal-p, file-subdir-of-p): New functions.
2625 (copy-directory): Error when trying to copy a directory on itself.
2626 Add missing copy-contents arg to tramp handler.
2627 * dired-aux.el (dired-copy-file-recursive): Same.
2628 (dired-create-files): Modify destination when source is equal to
2629 dest when copying files.
2630 Return also when dest is a subdir of source. (Bug#10489)
2632 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
2634 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2637 2012-02-23 Alan Mackenzie <acm@muc.de>
2639 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2640 parameter "after-hook:" to allow the expansion to run code after
2641 the execution of the mode hooks.
2643 * font-lock.el (font-lock-initial-fontify): New function extracted
2644 from font-lock-mode-internal.
2646 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2649 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2651 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2652 (completion--cache-all-sorted-completions): New function.
2653 (completion-all-sorted-completions): Use it.
2654 (completion--do-completion, minibuffer-force-complete):
2655 Use it to re-instate the flush hook.
2657 * icomplete.el (icomplete-completions): Replace last fix with a better
2660 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2662 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2663 when it might call us back infinitely (bug#10797).
2665 2012-02-23 Glenn Morris <rgm@gnu.org>
2667 * minibuffer.el (completion-category-overrides): Doc fix.
2669 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2671 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2672 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2674 2012-02-23 Glenn Morris <rgm@gnu.org>
2676 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
2677 (authors-obsolete-files-regexps, authors-ignored-files)
2678 (authors-ambiguous-files, authors-renamed-files-alist):
2681 2012-02-23 Juri Linkov <juri@jurta.org>
2683 * isearch.el (isearch-occur): Sync interactive spec with occur's
2684 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2686 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2688 2012-02-22 Juri Linkov <juri@jurta.org>
2690 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2691 (ucs-insert): Doc fix. Check for hex digits in the string.
2692 Don't display `nil' in the error message. (Bug#10857)
2694 2012-02-22 Alan Mackenzie <acm@muc.de>
2696 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
2698 2012-02-22 Glenn Morris <rgm@gnu.org>
2700 * ffap.el (ffap-c-path):
2701 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2703 2012-02-22 Chong Yidong <cyd@gnu.org>
2705 * custom.el (load-theme): Doc fix.
2707 2012-02-22 Glenn Morris <rgm@gnu.org>
2709 * dired-x.el (dired-guess-shell-alist-default):
2710 Remove escape sequences from nroff output. (Bug#172)
2712 2012-02-21 Glenn Morris <rgm@gnu.org>
2714 * vc/emerge.el (emerge-defvar-local):
2715 Set `permanent-local' property rather than unused `preserved'.
2717 * textmodes/picture.el (picture-delete-char): New alias.
2718 (picture-mode-map): Use it. (Bug#10860)
2719 (picture-mode): Doc fix.
2721 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
2723 * newcomment.el (uncomment-region-default): Remove unused binding.
2725 2012-02-21 Glenn Morris <rgm@gnu.org>
2727 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2728 (picture-self-insert, picture-tab-chars): Doc fix.
2729 (picture-mode-map): Fix C-a, C-e.
2731 2012-02-20 Glenn Morris <rgm@gnu.org>
2733 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2735 2012-02-20 Leo Liu <sdl.web@gmail.com>
2737 * icomplete.el (icomplete-completions): Check FROM arg before
2738 passing to substring (Bug#10850).
2740 2012-02-19 Chong Yidong <cyd@gnu.org>
2742 * comint.el: Require ansi-color.
2743 (comint-output-filter-functions): Add ansi-color-process-output.
2745 * ansi-color.el: Don't set comint-output-filter-functions; it is
2746 now in the initial value defined in comint.el.
2747 (ansi-color-apply-face-function): New variable.
2748 (ansi-color-apply-on-region): Use it.
2749 (ansi-color-apply-overlay-face): New function.
2751 * shell.el (shell): No need to require ansi-color.
2752 (shell-mode): Use ansi-color-apply-face-function to highlight
2753 color escapes using font-lock-face property (Bug#10835).
2755 2012-02-19 Chong Yidong <cyd@gnu.org>
2757 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2758 mode-line formats (Bug#10839).
2760 2012-02-18 Glenn Morris <rgm@gnu.org>
2762 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2764 * mail/undigest.el (unforward-rmail-message): Doc fix.
2766 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2768 2012-02-18 Eli Zaretskii <eliz@gnu.org>
2770 * international/characters.el (script-list): Sync with the latest
2771 Unicode Character Database.
2773 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2775 * international/titdic-cnv.el: Remove duplicate coding tag.
2776 * language/cham.el: Likewise.
2777 * language/tai-viet.el: Likewise.
2779 2012-02-18 Glenn Morris <rgm@gnu.org>
2781 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2782 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2783 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2784 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2785 * calendar/holidays.el (holiday-bahai-holidays)
2786 (calendar-holidays, list-holidays):
2787 Use utf-8 Bahá'à in doc-strings, menus, etc.
2789 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2791 * saveplace.el (save-place-ignore-files-regexp): New variable
2792 allowing for excluding files from saving their location of point.
2793 The default value matches the temporary commit message editing
2794 files from Git, SVN, Bazaar, and Mercurial.
2795 (save-place-to-alist): Use it.
2797 2012-02-17 Lawrence Mitchell <wence@gmx.li>
2798 Stefan Monnier <monnier@iro.umontreal.ca>
2800 * newcomment.el (uncomment-region-default): Don't leave extra space
2801 when an arg is provided (bug#8150).
2803 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2805 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
2807 2012-02-17 Glenn Morris <rgm@gnu.org>
2809 * net/socks.el: Require network-stream. (Bug#10599)
2811 2012-02-17 Kenichi Handa <handa@m17n.org>
2813 * international/charprop.el:
2814 * international/uni-name.el:
2815 * international/uni-old-name.el:
2816 * international/uni-comment.el: Regenerate.
2818 2012-02-16 Glenn Morris <rgm@gnu.org>
2820 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2821 Interactively in calendar buffer, give an error if not on a date.
2823 2012-02-15 Glenn Morris <rgm@gnu.org>
2825 * shell.el (shell-delimiter-argument-list):
2826 Revert 2011-02-17 change. (Bug#8027)
2828 2012-02-15 Chong Yidong <cyd@gnu.org>
2830 * minibuffer.el (completion-at-point-functions): Doc fix.
2832 * custom.el (defcustom): Doc fix; note use of defvar.
2834 2012-02-15 Glenn Morris <rgm@gnu.org>
2836 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2839 2012-02-14 Glenn Morris <rgm@gnu.org>
2841 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2843 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2845 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2846 way the ports list is computed.
2847 (smtpmail-query-smtp-server): Prompt the user for a port number if
2848 we can't connect to any of the standard ports (bug#10810).
2850 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2852 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2854 2012-02-13 Glenn Morris <rgm@gnu.org>
2856 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2858 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2860 * net/gnutls.el (gnutls-trustfiles): New variable.
2861 (gnutls-negotiate): Use it.
2863 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2865 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2866 does its stuff if Gnus is running.
2868 2012-02-13 Alan Mackenzie <acm@muc.de>
2870 Fix a loop in c-set-fl-decl-start.
2872 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
2873 c-backward-syntactic-ws actually moves backwards.
2875 2012-02-13 Leo Liu <sdl.web@gmail.com>
2877 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2878 beginning so that all \C-o chars are removed.
2880 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2882 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
2884 2012-02-12 Alan Mackenzie <acm@muc.de>
2886 Fix infinite loop with long macros.
2887 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
2889 2012-02-12 Chong Yidong <cyd@gnu.org>
2891 * window.el (display-buffer): Doc fix (Bug#10785).
2893 2012-02-12 Glenn Morris <rgm@gnu.org>
2895 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2896 (x-disown-selection-internal, x-get-selection-internal):
2897 Sync docs with the xselect.c versions.
2899 * allout-widgets.el: Add missing license notice.
2901 2012-02-11 Glenn Morris <rgm@gnu.org>
2903 * select.el (x-get-selection-internal, x-own-selection-internal)
2904 (x-disown-selection-internal):
2905 * x-dnd.el (x-get-selection-internal): Update declarations.
2907 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2909 * window.el (window-sides-slots):
2910 * tool-bar.el (tool-bar-position):
2911 * term/xterm.el (xterm-extra-capabilities):
2912 * ses.el (ses-self-reference-early-detection):
2913 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2914 (verilog-auto-wire-type)
2915 (verilog-auto-delete-trailing-whitespace)
2916 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2917 (verilog-auto-tieoff-declaration):
2918 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2919 (sql-oracle-statement-starters, sql-oracle-scan-on):
2920 * progmodes/prolog.el (prolog-align-comments-flag)
2921 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2922 (prolog-left-indent-regexp, prolog-paren-indent-p)
2923 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2924 (prolog-types, prolog-mode-specificators)
2925 (prolog-determinism-specificators, prolog-directives)
2926 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2927 (prolog-electric-dot-flag)
2928 (prolog-electric-dot-full-predicate-template)
2929 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2930 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2931 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2932 (prolog-program-switches, prolog-prompt-regexp)
2933 (prolog-debug-on-string, prolog-debug-off-string)
2934 (prolog-trace-on-string, prolog-trace-off-string)
2935 (prolog-zip-on-string, prolog-zip-off-string)
2936 (prolog-use-standard-consult-compile-method-flag)
2937 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2938 (prolog-imenu-max-lines, prolog-info-predicate-index)
2939 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2940 (prolog-char-quote-workaround):
2941 * progmodes/cc-vars.el (c-defun-tactic):
2942 * net/tramp.el (tramp-encoding-command-interactive)
2943 (tramp-local-end-of-line):
2944 * net/soap-client.el (soap-client):
2945 * net/netrc.el (netrc-file):
2946 * net/gnutls.el (gnutls):
2947 * minibuffer.el (completion-category-overrides)
2948 (completion-cycle-threshold)
2949 (completion-pcm-complete-word-inserts-delimiters):
2950 * man.el (Man-name-local-regexp):
2951 * mail/feedmail.el (feedmail-display-full-frame):
2952 * international/characters.el (glyphless-char-display-control):
2953 * eshell/em-ls.el (eshell-ls-date-format):
2954 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2955 (lisp-lambda-list-keyword-parameter-indentation)
2956 (lisp-lambda-list-keyword-parameter-alignment):
2957 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2958 * dired-x.el (dired-omit-verbose):
2959 * cus-theme.el (custom-theme-allow-multiple-selections):
2960 * calc/calc.el (calc-highlight-selections-with-faces)
2961 (calc-lu-field-reference, calc-lu-power-reference)
2962 (calc-note-threshold):
2963 * battery.el (battery-mode-line-limit):
2964 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2965 (archive-7z-update):
2966 * allout.el (allout-prefixed-keybindings)
2967 (allout-unprefixed-keybindings)
2968 (allout-inhibit-auto-fill-on-headline)
2969 (allout-flattened-numbering-abbreviation):
2970 * allout-widgets.el (allout-widgets-auto-activation)
2971 (allout-widgets-icons-dark-subdir)
2972 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2973 (allout-widgets-theme-dark-background)
2974 (allout-widgets-theme-light-background)
2975 (allout-widgets-item-image-properties-emacs)
2976 (allout-widgets-item-image-properties-xemacs)
2977 (allout-widgets-run-unit-tests-on-load)
2978 (allout-widgets-time-decoration-activity)
2979 (allout-widgets-hook-error-post-time)
2980 (allout-widgets-track-decoration):
2981 Add missing :version tags to new defcustoms and defgroups.
2983 * progmodes/sql.el (sql-ansi-statement-starters)
2984 (sql-oracle-statement-starters): Add custom type.
2986 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2987 (prolog-system-version): Give it a type.
2989 2012-02-11 Eli Zaretskii <eliz@gnu.org>
2991 * term/pc-win.el (x-select-text, x-selection-owner-p)
2992 (x-own-selection-internal, x-disown-selection-internal)
2993 (x-get-selection-internal): Sync doc strings and argument lists
2994 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2996 2012-02-11 Leo Liu <sdl.web@gmail.com>
2998 * progmodes/python.el (python-end-of-statement): Fix infinite
3001 2012-02-10 Glenn Morris <rgm@gnu.org>
3003 * international/mule-cmds.el (unify-8859-on-encoding-mode)
3004 (unify-8859-on-decoding-mode): Properly mark as obsolete.
3006 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3008 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3009 about SMTP before checking the From header.
3011 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
3012 into own function for reuse by emacsbug.el.
3014 2012-02-10 Leo Liu <sdl.web@gmail.com>
3016 * subr.el (condition-case-unless-debug): Rename from
3017 condition-case-no-debug. All callers changed.
3018 (with-demoted-errors): Fix caller.
3020 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
3021 * nxml/rng-valid.el (rng-do-some-validation):
3022 * emacs-lisp/package.el (package-refresh-contents)
3023 (package-menu-execute):
3024 * desktop.el (desktop-create-buffer):
3025 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
3027 2012-02-10 Glenn Morris <rgm@gnu.org>
3029 * textmodes/bibtex.el:
3030 Add missing :version tags for new/changed defcustoms.
3032 * files.el (remote-file-name-inhibit-cache): Doc fixes.
3034 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
3036 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
3037 (smtpmail-via-smtp): Use it, or fall back on the From address.
3038 (smtpmail-send-it): Ditto.
3040 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
3042 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3043 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
3044 (byte-compile-tmp-var): New const.
3045 (byte-compile-defvar): Use it to minimize .elc size.
3046 Just use `defvar' rather than simulate it (bug#10761).
3048 2012-02-09 Glenn Morris <rgm@gnu.org>
3050 * files.el (rename-uniquely): Doc fix. (Bug#3806)
3052 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3055 * progmodes/compile.el (compilation-error-screen-columns)
3056 (compilation-first-column, compilation-filter-start): Doc fixes.
3058 * vc/log-view.el (log-view-toggle-entry-display):
3059 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3061 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3062 (report-emacs-bug-can-use-xdg-email):
3063 (report-emacs-bug-insert-to-mailer): Doc fixes.
3064 (report-emacs-bug): Message fix.
3066 * net/browse-url.el (browse-url-can-use-xdg-open)
3067 (browse-url-xdg-open): Doc fixes.
3069 * electric.el (electric-indent-mode, electric-pair-mode)
3070 (electric-layout-rules, electric-layout-mode): Doc fixes.
3071 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3073 2012-02-08 Martin Rudalics <rudalics@gmx.at>
3075 * server.el (server-unselect-display): Don't inadvertently kill
3076 the current buffer. (Bug#10729)
3078 2012-02-08 Glenn Morris <rgm@gnu.org>
3080 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3081 (sql-list-table): Doc fixes.
3083 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3084 Comment out (does nothing).
3086 * completion.el (dynamic-completion-mode):
3087 * dirtrack.el (dirtrack-debug-mode):
3088 * electric.el (electric-layout-mode):
3089 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3090 * face-remap.el (text-scale-mode, buffer-face-mode):
3091 * iimage.el (iimage-mode):
3092 * image-mode.el (image-transform-mode):
3093 * minibuffer.el (completion-in-region-mode):
3094 * scroll-lock.el (scroll-lock-mode):
3095 * simple.el (next-error-follow-minor-mode):
3096 * tar-mode.el (tar-subfile-mode):
3097 * tooltip.el (tooltip-mode):
3098 * vcursor.el (vcursor-use-vcursor-map):
3099 * wid-browse.el (widget-minor-mode):
3100 * emulation/tpu-edt.el (tpu-edt-mode):
3101 * emulation/tpu-extras.el (tpu-cursor-free-mode):
3102 * international/iso-ascii.el (iso-ascii-mode):
3103 * language/thai-util.el (thai-word-mode):
3104 * mail/supercite.el (sc-minor-mode):
3105 * net/goto-addr.el (goto-address-mode):
3106 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3107 * progmodes/cwarn.el (cwarn-mode):
3108 * progmodes/flymake.el (flymake-mode):
3109 * progmodes/glasses.el (glasses-mode):
3110 * progmodes/hideshow.el (hs-minor-mode):
3111 * progmodes/pascal.el (pascal-outline-mode):
3112 * textmodes/enriched.el (enriched-mode):
3113 * vc/smerge-mode.el (smerge-mode):
3114 Doc fixes (minor mode argument).
3116 2012-02-07 Eli Zaretskii <eliz@gnu.org>
3118 * ls-lisp.el (ls-lisp-sanitize): New function.
3119 (ls-lisp-insert-directory): Use it to fix or remove any elements
3120 in file-alist with missing attributes. (Bug#4673)
3122 2012-02-07 Alan Mackenzie <acm@muc.de>
3124 Fix spurious recognition of c-in-knr-argdecl.
3126 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3127 putative K&R region.
3129 2012-02-07 Alan Mackenzie <acm@muc.de>
3131 * progmodes/cc-engine.el (c-forward-objc-directive):
3132 Prevent looping in "#pragma mark @implementation".
3134 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
3136 * notifications.el (notifications-on-closed-signal): Make `reason'
3137 optional. (Bug#10744)
3139 2012-02-07 Glenn Morris <rgm@gnu.org>
3141 * emacs-lisp/easy-mmode.el (define-minor-mode):
3142 Doc fixes for the macro and the mode it defines.
3144 * image.el (imagemagick-types-inhibit): Doc fix.
3146 * cus-start.el (imagemagick-render-type): Add it.
3148 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3150 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3151 Set the default at load time, too, so that `font-lock-fontify-buffer'
3152 can be called without setting up the entire mode first. This fixes
3153 a bug in `mm-inline-text' with C MIME parts.
3155 2012-02-06 Chong Yidong <cyd@gnu.org>
3157 * simple.el (list-processes--refresh): Delete exited processes
3160 * comint.el (comint-next-prompt): next-single-char-property-change
3161 and prev-single-char-property-change never return nil (Bug#8657).
3163 * custom.el (defcustom): Doc fix (Bug#9711).
3165 2012-02-05 Chong Yidong <cyd@gnu.org>
3167 * cus-edit.el (custom-variable-reset-backup): Quote the value
3168 before storing it in the customized-value property (Bug#6712).
3169 (custom-display): Add a customization type tag.
3170 (custom-buffer-create-internal): Improve tooltip message.
3172 * wid-edit.el (widget-field-value-get): New optional arg to
3173 suppress trailing whitespace truncation.
3174 (character): Use it (Bug#2689).
3176 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3178 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3179 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3181 2012-02-05 Chong Yidong <cyd@gnu.org>
3183 * cus-edit.el (custom-variable-value-create): For mismatched
3184 types, show the current value (Bug#7600).
3186 * custom.el (defcustom): Doc fix.
3188 2012-02-05 Glenn Morris <rgm@gnu.org>
3190 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3192 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
3194 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3195 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3196 (pp-last-sexp): Use `looking-at-p'.
3198 2012-02-04 Glenn Morris <rgm@gnu.org>
3200 * files.el (revert-buffer):
3201 Doc fix (mention revert-buffer-in-progress-p).
3203 * emacs-lisp/ert-x.el (ert-simulate-command):
3204 Check deferred-action-list (which is obsolete) is bound.
3206 * subr.el (with-wrapper-hook): Doc fixes.
3208 * simple.el (filter-buffer-substring-functions)
3209 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3211 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3213 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3214 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3216 2012-02-04 Leo Liu <sdl.web@gmail.com>
3218 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3220 2012-02-04 Glenn Morris <rgm@gnu.org>
3222 * image.el (image-extension-data): Add obsolete alias.
3224 * isearch.el (isearch-update): Doc fix.
3226 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3228 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3230 2012-02-03 Glenn Morris <rgm@gnu.org>
3232 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3233 (image-animate-timeout): Doc fix.
3235 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3237 2012-02-02 Glenn Morris <rgm@gnu.org>
3239 * server.el (server-auth-dir): Doc fix.
3240 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3242 * subr.el (run-mode-hooks): Doc fix.
3244 2012-02-02 Juri Linkov <juri@jurta.org>
3246 * image-mode.el (image-toggle-display-image): Remove tautological
3247 `major-mode' from the `derived-mode-p' test.
3249 2012-02-02 Kenichi Handa <handa@m17n.org>
3251 * composite.el (compose-region): Cancel previous change.
3253 2012-02-02 Kenichi Handa <handa@m17n.org>
3255 * composite.el (compose-region, compose-string): Signal error for
3256 a null string component (Bug#6988).
3258 2012-02-01 Chong Yidong <cyd@gnu.org>
3260 * view.el (view-buffer-other-window, view-buffer-other-frame):
3261 Handle special modes like view-buffer (Bug#10650).
3262 (view-buffer): Simplify.
3264 * frame.el (set-frame-font): Tweak meaning of third argument.
3266 * dynamic-setting.el (font-setting-change-default-font):
3267 Use set-frame-font (Bug#9982).
3269 2012-02-01 Glenn Morris <rgm@gnu.org>
3271 * progmodes/compile.el (compilation-internal-error-properties):
3272 Respect compilation-first-column in the "*compilation*" buffer.
3274 * emacs-lisp/easy-mmode.el (define-minor-mode):
3275 Relax :variable's test for a named function.
3277 2012-01-31 Alan Mackenzie <acm@muc.de>
3279 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3282 2012-01-31 Chong Yidong <cyd@gnu.org>
3284 * frame.el (set-frame-font): New arg ALL-FRAMES.
3286 * menu-bar.el (menu-set-font): Use set-frame-font.
3288 * faces.el (face-spec-reset-face): Don't apply unspecified
3289 attribute values to the default face.
3291 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
3293 * progmodes/cwarn.el (cwarn): Remove dead link.
3294 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3295 Remove * from defcustom docstrings.
3296 (turn-on-cwarn-mode): Make obsolete.
3297 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3298 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3300 2012-01-31 Glenn Morris <rgm@gnu.org>
3302 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3303 Fix :variable handling of mode a symbol not equal to modefun.
3304 Allow named functions to be used as the cdr of :variable.
3306 2012-01-30 Glenn Morris <rgm@gnu.org>
3308 * emacs-lisp/authors.el (authors-fixed-entries):
3309 Remove reference to deleted file rnewspost.el.
3311 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
3313 * window.el (window-with-parameter): Remove unused variable `windows'.
3314 (window--side-check): Remove unused variable `code'.
3315 (window--resize-siblings): Remove unused variable `first'.
3316 (adjust-window-trailing-edge): Remove unused variable `failed'.
3317 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3318 Use `let', not `let*'.
3319 (balance-windows-2): Remove unused variable `found'.
3320 (window--state-put-2): Remove unused variable `splits'.
3321 (window-state-put): Remove unused variable `selected'.
3322 (same-window-p): Use `string-match-p'.
3323 (display-buffer-assq-regexp): Remove unused variable `value'.
3324 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3325 Mark argument ALIST as ignored.
3326 (pop-to-buffer): Remove unused variable `old-window'.
3328 2012-01-29 Eli Zaretskii <eliz@gnu.org>
3330 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3331 and .lzma compressed files.
3333 2012-01-29 Chong Yidong <cyd@gnu.org>
3335 * frame.el (window-system-default-frame-alist): Doc fix.
3337 * dynamic-setting.el (font-setting-change-default-font): Don't
3338 change the default face if SET-FONT argument is non-nil (Bug#9982).
3340 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3342 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3344 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
3346 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3347 breakpoints in files outside current directory (Bug#6098).
3349 2012-01-29 Chong Yidong <cyd@gnu.org>
3351 * progmodes/python.el: Require ansi-color at top-level.
3353 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3354 Define and use in Emacs Lisp mode (Bug#9360).
3355 (lisp-mode-abbrev-table): Add doc.
3356 (lisp-mode-variables): Don't set local-abbrev-table.
3357 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3359 2012-01-28 Roland Winkler <winkler@gnu.org>
3361 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3363 2012-01-28 Roland Winkler <winkler@gnu.org>
3365 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3366 (bibtex-set-dialect): Use it. Either set global values of
3367 dialect-dependent variables or bind these variables buffer-locally
3369 (bibtex-mode): Call bibtex-set-dialect via
3370 hack-local-variables-hook.
3371 (bibtex-dialect): Update docstring.
3372 Add safe-local-variable predicate.
3373 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3375 (bibtex-mode-map): Define menu for each dialect.
3376 (bibtex-entry): Fix docstring.
3378 2012-01-28 Chong Yidong <cyd@gnu.org>
3380 * eshell/esh-arg.el (eshell-quote-argument): New function.
3382 * eshell/esh-ext.el (eshell-invoke-batch-file):
3383 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3384 first arg to eshell-parse-command (Bug#10523).
3386 2012-01-28 Drew Adams <drew.adams@oracle.com>
3388 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3389 `default-directory' is non-nil.
3391 2012-01-28 Eli Zaretskii <eliz@gnu.org>
3393 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3394 line that displays system-configuration-options. (Bug#9924)
3396 2012-01-28 Drew Adams <drew.adams@oracle.com>
3398 * descr-text.el (describe-char): Show information about POS, in
3399 addition to information about the character at POS. Improve and
3400 update the doc string. Change "code point" to "code point in
3401 charset", to avoid confusion with the character's Unicode code
3402 point shown above that. (Bug#10129)
3404 2012-01-28 Eli Zaretskii <eliz@gnu.org>
3406 * descr-text.el (describe-char): Show the raw character, not only
3407 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3408 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3411 2012-01-28 Phil Hagelberg <phil@hagelb.org>
3413 * emacs-lisp/package.el (package-install):
3414 Run package-refresh-contents if there is no archive yet (Bug#9798).
3416 2012-01-28 Chong Yidong <cyd@gnu.org>
3418 * emacs-lisp/package.el (package-maybe-load-descriptor):
3419 New function, split from package-maybe-load-descriptor.
3420 (package-maybe-load-descriptor): Use it.
3421 (package-download-transaction): Fully load required packages
3422 inside the loop, so that `require' calls work (Bug#10593).
3423 (package-install): No need to call package-initialize now.
3425 2012-01-28 Chong Yidong <cyd@gnu.org>
3427 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3429 * tooltip.el (tooltip-mode): Doc fix.
3430 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3432 * frame.el (set-cursor-color): Doc fix (Bug#352).
3434 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3435 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3437 * cus-edit.el (custom-buffer-create-internal): Fix search button
3439 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
3441 2012-01-27 Eduard Wiebe <usenet@pusto.de>
3443 * dired.el (dired-mark-files-regexp):
3444 Include any subdirectory components. (Bug#10445)
3446 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3448 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3449 Handle [host]:port syntax. (Bug#10533)
3451 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
3453 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3455 2012-01-26 Glenn Morris <rgm@gnu.org>
3457 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3458 * term.el (term-raw-escape-map): Use Control-X-prefix.
3459 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3461 2012-01-25 Martin Rudalics <rudalics@gmx.at>
3463 * window.el (window-state-get, window--state-get-1): Don't deal
3464 with fixed-sizeness of windows. Simplify code.
3466 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3468 * window.el (window--state-get-1, window--state-put-2):
3469 Don't save and restore the mark.
3471 2012-01-25 Chong Yidong <cyd@gnu.org>
3473 * custom.el (custom-variable-p): Doc fix.
3475 2012-01-25 Glenn Morris <rgm@gnu.org>
3477 * dired.el (dired-goto-file): Handle some of the more common
3478 characters that `ls -b' escapes. (Bug#10596)
3480 * progmodes/compile.el (compilation-next-error-function):
3481 Respect compilation-first-column in the "*compilation*" buffer.
3482 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3484 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3486 2012-01-24 Glenn Morris <rgm@gnu.org>
3488 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3490 2012-01-24 Julien Danjou <julien@danjou.info>
3492 * color.el (color-rgb-to-hsl): Fix value computing.
3493 (color-hue-to-rgb): New function.
3494 (color-hsl-to-rgb): New function.
3495 (color-clamp, color-saturate-hsl, color-saturate-name)
3496 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3497 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3499 2012-01-24 Glenn Morris <rgm@gnu.org>
3501 * vc/vc-rcs.el (vc-rcs-create-tag):
3502 * vc/vc-sccs.el (vc-sccs-create-tag):
3503 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3505 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3507 * eshell/esh-util.el (eshell-read-hosts-file):
3508 Skip comment lines. (Bug#10549)
3510 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3512 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
3514 * subr.el (display-delayed-warnings): Doc fix.
3515 (collapse-delayed-warnings): New function to collapse identical
3517 (delayed-warnings-hook): Add it.
3519 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
3521 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3523 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3524 properties, when "login-as" is set.
3526 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3527 (tramp-default-user-alist): Don't add "pscp".
3528 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3529 property "login-as", if set. (Bug#10530)
3531 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
3533 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3534 "plink1" and "psftp". (Bug#10530)
3536 2012-01-21 Kenichi Handa <handa@m17n.org>
3538 * international/mule-cmds.el (prefer-coding-system): Show a
3539 warning message if the default value of file-name-coding-system
3542 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3544 * windmove.el (windmove-reference-loc):
3545 Fix windmove-reference-loc miscalculation.
3547 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3549 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3552 2012-01-21 Glenn Morris <rgm@gnu.org>
3554 * international/mule.el (auto-coding-alist): Add .tbz.
3556 * files.el (local-enable-local-variables): Doc fix.
3557 (inhibit-local-variables-regexps): Rename from
3558 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3559 Doc fix. Add some extensions from auto-coding-alist.
3560 (inhibit-local-variables-suffixes):
3561 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3562 (inhibit-local-variables-p):
3563 New function, extracted from set-auto-mode-1.
3564 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3565 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3566 (hack-local-variables): Doc fix. Make the mode-only case
3567 respect enable-local-variables and friends.
3568 Respect inhibit-local-variables-regexps for file-locals, but
3569 not for directory-locals.
3570 (set-visited-file-name):
3571 Take account of inhibit-local-variables-regexps.
3572 Whether it applies may change as the file name is changed.
3573 * jka-cmpr-hook.el (jka-compr-install):
3574 * jka-compr.el (jka-compr-uninstall):
3575 Update for inhibit-first-line-modes-suffixes name change.
3577 2012-01-20 Martin Rudalics <rudalics@gmx.at>
3579 * help-macro.el (make-help-screen): Temporarily restore original
3580 binding for minor-mode-map-alist (Bug#10454).
3582 2012-01-19 Julien Danjou <julien@danjou.info>
3584 * color.el (color-name-to-rgb): Use the white color to find the max
3585 color component value and return correctly computed values.
3586 (color-name-to-rgb): Add missing float conversion for max value.
3588 2012-01-19 Martin Rudalics <rudalics@gmx.at>
3590 * window.el (window--state-get-1, window-state-get): Do not use
3591 special state value for window-persistent-parameters.
3592 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
3593 (window--state-put-2): Reset all window parameters to nil before
3594 assigning values of persistent parameters.
3596 2012-01-18 Alan Mackenzie <acm@muc.de>
3598 Eliminate sluggishness and hangs in fontification of "semicolon
3601 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3602 Change value 10000 -> 3000.
3603 (c-state-safe-place): Reformulate so it doesn't stack up an
3604 infinite number of wrong entries in c-state-nonlit-pos-cache.
3605 (c-determine-limit-get-base, c-determine-limit): New functions to
3606 determine backward search limits disregarding literals.
3607 (c-find-decl-spots): Amend commenting.
3608 (c-cheap-inside-bracelist-p): New function which detects "={".
3610 * progmodes/cc-fonts.el
3611 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3613 (c-font-lock-declarations): Fix an occurrence of point being
3614 undefined. Check additionally for point being in a bracelist or
3615 near a macro invocation without a semicolon so as to avoid a
3616 fruitless time consuming search for a declarator. Give a more
3617 precise search limit for declarators using the new
3620 2012-01-18 Glenn Morris <rgm@gnu.org>
3622 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3623 (set-auto-mode): Doc fixes.
3625 2012-01-17 Glenn Morris <rgm@gnu.org>
3627 * isearch.el (search-nonincremental-instead): Fix doc typo.
3629 * dired.el (dired-insert-directory): Handle newlines in directory name.
3630 (dired-build-subdir-alist): Unescape newlines in directory name.
3632 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
3634 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3635 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3636 (tramp-action-terminal): Use it. (Bug#10530)
3638 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3640 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3642 2012-01-16 Martin Rudalics <rudalics@gmx.at>
3644 * window.el (window-state-ignored-parameters): Remove variable.
3645 (window--state-get-1): Rename argument MARKERS to IGNORE.
3646 Handle persistent window parameters. Make copy of clone-of
3647 parameter only if requested. (Bug#10348)
3648 (window--state-put-2): Install a window parameter only if it has
3649 a non-nil value or an existing parameter shall be overwritten.
3651 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
3653 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3655 2012-01-14 Eli Zaretskii <eliz@gnu.org>
3657 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3658 don't pass the (nil) value of `upnode' to string-match.
3660 2012-01-14 Chong Yidong <cyd@gnu.org>
3662 * startup.el (command-line): Fix X resource class for cursorColor.
3663 Fix values recognized by the cursorBlink resource.
3665 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3667 * epg.el (epg--make-temp-file): Avoid permission race condition
3668 when running on old Emacs versions (bug#10403).
3670 2012-01-14 Glenn Morris <rgm@gnu.org>
3672 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3674 2012-01-13 Alan Mackenzie <acm@muc.de>
3676 Fix filling for when filladapt mode is enabled.
3678 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3679 c-mask-paragraph, pass in `fill-paragraph' rather than
3680 `fill-region-as-paragraph'. (This is a reversion of a previous
3682 * progmodes/cc-mode.el (c-basic-common-init):
3683 Make fill-paragraph-handle-comment buffer local and set it to nil.
3685 2012-01-13 Glenn Morris <rgm@gnu.org>
3687 * dired.el (dired-switches-escape-p): New function.
3688 (dired-insert-directory): Use dired-switches-escape-p.
3689 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3691 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3693 2012-01-12 Glenn Morris <rgm@gnu.org>
3695 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3696 changes in adaptive-fill-regexp. (Bug#10276)
3698 2012-01-11 Alan Mackenzie <acm@muc.de>
3700 Fix Emacs bug #10463 - put `widen's around the critical spots.
3702 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
3703 widen around each invocation of c-state-pp-to-literal. Remove an
3704 unused let variable.
3706 2012-01-11 Glenn Morris <rgm@gnu.org>
3708 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
3711 2012-01-10 Chong Yidong <cyd@gnu.org>
3713 * net/network-stream.el (network-stream-open-starttls):
3714 Avoid emitting a confusing error message when the server gives a bad
3715 response to the capability command.
3717 2012-01-10 Glenn Morris <rgm@gnu.org>
3719 * mail/unrmail.el (unrmail): Tweak previous change.
3721 2012-01-09 Chong Yidong <cyd@gnu.org>
3723 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3725 2012-01-08 Alan Mackenzie <acm@muc.de>
3727 Optimise font locking in long enum definitions.
3729 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3730 arm to a cond form to handle enums.
3731 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3732 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3734 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
3736 * files.el (move-file-to-trash): Preserve default file modes on error.
3739 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3741 * faces.el (set-face-attribute): Clarify the meaning of the nil
3744 * subr.el (with-selected-frame): Mention that the selected frame
3745 is restored (bug#9980).
3747 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3750 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
3751 (password-read): Don't autoload unused function.
3753 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
3755 * progmodes/which-func.el (which-func-mode): Turn into a
3756 non-interactive function and mark as obsolete (bug#10428).
3758 2012-01-06 Chong Yidong <cyd@gnu.org>
3760 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3761 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3762 functions, along with 1 and -1.
3764 2012-01-06 Eli Zaretskii <eliz@gnu.org>
3766 * time.el (display-time-load-average)
3767 (display-time-default-load-average): Doc fixes. See the thread
3769 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3772 2012-01-06 Glenn Morris <rgm@gnu.org>
3774 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3775 has no messages. (Bug#10377)
3777 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3778 than Info-edit. (Bug#10385)
3780 * time.el (display-time-load-average, display-time-next-load-average):
3783 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3784 local setting of buffer-read-only to the input buffer. (Bug#10419)
3786 * calendar/calendar.el (calendar-mode):
3787 Locally set scroll-margin to 0. (Bug#10379)
3789 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
3791 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3793 2012-01-05 Glenn Morris <rgm@gnu.org>
3795 * eshell/em-unix.el (diff-no-select): Autoload it.
3796 (eshell/diff): Use diff-no-select. (Bug#10420)
3798 2012-01-05 Chong Yidong <cyd@gnu.org>
3800 * shell.el (shell-dynamic-complete-functions): Revert last change.
3801 (shell-command-completion-function): New function.
3802 (shell-completion-vars): Use it to implement
3803 shell-completion-execonly (Bug#10417).
3805 * custom.el (enable-theme): Don't set custom-safe-themes.
3807 * cus-theme.el (custom-theme-merge-theme):
3808 Ignore custom-enabled-themes and custom-safe-themes.
3810 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3812 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3813 first prompt in `sql-interacive-mode'.
3814 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
3816 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
3817 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3818 context of original buffer. Invoke `sql-login-hook'.
3820 2012-01-04 Eli Zaretskii <eliz@gnu.org>
3822 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3823 letters in cite-prefix.
3825 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3827 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3829 2012-01-03 Chong Yidong <cyd@gnu.org>
3831 * shell.el (shell-dynamic-complete-functions):
3832 Put pcomplete-completions-at-point, so as to try
3833 comint-filename-completion first (Bug#10417).
3835 2012-01-02 Richard Stallman <rms@gnu.org>
3837 * battery.el (battery-status-function):
3838 Detect when to use battery-yeeloong-sysfs.
3839 (battery-echo-area-format): Add string for Yeeloong.
3840 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3841 (battery-yeeloong-sysfs): New function.
3843 2012-01-02 Chong Yidong <cyd@gnu.org>
3845 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3846 (dirtrack): Merge code for handling relative filenames in prompt
3847 from shell-dir-cookie-watcher.
3848 (dirtrack-debug-message): New arg to avoid excess format calls.
3850 * shell.el (shell-dir-cookie-re): Variable deleted.
3851 (shell-dir-cookie-watcher): Function deleted.
3852 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3855 2012-01-01 Eli Zaretskii <eliz@gnu.org>
3857 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3858 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
3861 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3863 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3865 2011-12-31 Eli Zaretskii <eliz@gnu.org>
3867 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3868 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3870 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
3872 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3873 also for alternative shells.
3874 (tramp-open-connection-setup-interactive-shell): Check, whether
3875 the shell is a busybox.
3876 (tramp-send-command): Don't suppress multiple prompts for
3877 busyboxes, it hurts.
3879 2011-12-28 Chong Yidong <cyd@gnu.org>
3881 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3882 (gdb-get-source-file): Move mode line update to
3883 gdb-get-source-file (Bug#10087).
3885 2011-12-25 Chong Yidong <cyd@gnu.org>
3887 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3888 gud-gdb-marker-filter without taking it as an argument.
3889 (gud-gdb-run-command-fetch-lines): Caller changed.
3890 (gud-gdb-completion-function): New variable.
3891 (gud-gdb-completion-at-point): Use it.
3892 (gud-gdb-completions-1): Split from gud-gdb-completions.
3894 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3895 function as separate arguments.
3896 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3897 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3898 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3899 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3900 (gdb-stopped, def-gdb-auto-update-trigger)
3901 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
3902 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3904 (gud-gdbmi-completions): New function.
3905 (gdb): Use it for generating the completion table.
3907 2011-12-24 Alan Mackenzie <acm@muc.de>
3909 Introduce a mechanism to widen the region used in context font
3910 locking. Use this to protect declarations from losing their contexts.
3912 * progmodes/cc-langs.el (c-before-font-lock-functions):
3913 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
3914 (c-before-context-fontification-functions): New defvar, a list of
3915 functions to be run just before context (etc.) font locking.
3917 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
3918 New, functionality extracted from
3919 c-neutralize-syntax-in-and-mark-CPP.
3920 (c-in-after-change-fontification): New variable.
3921 (c-after-change): Set c-in-after-change-fontification.
3922 (c-set-fl-decl-start): Rejig its interface, so it can be called
3923 from both after-change and context fontifying.
3924 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3926 (c-standard-font-lock-fontify-region-function): New variable.
3927 (c-font-lock-fontify-region): New function.
3929 2011-12-24 Juri Linkov <juri@jurta.org>
3931 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3934 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
3936 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3937 existence of source file. (Bug#10325)
3939 2011-12-23 Alan Mackenzie <acm@muc.de>
3941 Fix unstable fontification inside templates.
3943 * progmodes/cc-langs.el (c-before-font-lock-functions):
3944 Newly created from the singular version. The (c c++ objc) entry now
3945 additionally has c-set-fl-decl-start. The other languages (apart
3946 from AWK) have that as a single entry.
3948 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3949 The functionality for "local" declarations has been extracted to
3950 c-set-fl-decl-start.
3952 * progmodes/cc-mode.el (c-common-init, c-after-change):
3953 Changes due to pluralisation of c-before-font-lock-functions.
3954 (c-set-fl-decl-start): New function, extracted from
3955 c-font-lock-enclosing-decls and enhanced.
3957 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
3959 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3961 2011-12-22 Juri Linkov <juri@jurta.org>
3963 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3965 2011-12-22 Chong Yidong <cyd@gnu.org>
3967 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3969 2011-12-21 Drew Adams <drew.adams@oracle.com>
3971 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3973 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3975 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3977 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3979 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3980 highlighting and support. Fix up comments for capitalization.
3981 (cfengine-mode-debug): New var.
3982 (cfengine3-mode): Change the modeline indicator to "CFE3".
3983 (cfengine3-font-lock-keywords): Improve defun highlighting.
3984 (cfengine2-actions): Rename from `cfengine-actions'.
3985 (cfengine2-font-lock-keywords): Rename from
3986 `cfengine-font-lock-keywords'.
3987 (cfengine2-imenu-expression): Rename from
3988 `cfengine-imenu-expression'.
3989 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3990 (cfengine2-beginning-of-defun): Rename from
3991 `cfengine-beginning-of-defun'.
3992 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3993 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3994 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3995 modeline indicator to "CFE2".
3996 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3997 (cfengine-mode-abbrevs): Mark obsolete.
3999 2011-12-21 Chong Yidong <cyd@gnu.org>
4001 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4004 2011-12-20 Martin Rudalics <rudalics@gmx.at>
4006 * window.el (window-normalize-buffer-to-display): Remove.
4007 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4009 2011-12-19 Chong Yidong <cyd@gnu.org>
4011 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4012 Don't signal an error in a predicate function; return non-nil.
4013 (vc-dir-mark-file): Move the error here.
4014 (vc-dir-mark-unmark): If acting on the region, keep going if one
4015 of the entries cannot be marked/unmarked.
4016 (vc-dir-mark-all-files): If current entry is a directory, mark
4017 only child files, as documented.
4019 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
4021 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
4022 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
4025 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
4027 * term/ns-win.el (ns-get-selection-internal)
4028 (ns-store-selection-internal): Declare.
4029 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
4030 Declare as obsolete.
4031 (ns-get-pasteboard, ns-paste-secondary):
4032 Use ns-get-selection-internal.
4033 (ns-set-pasteboard, ns-copy-including-secondary):
4034 Use ns-store-selection-internal.
4036 2011-12-17 Chong Yidong <cyd@gnu.org>
4038 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
4039 (vc-deduce-fileset): Doc fix.
4041 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
4043 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4045 2011-12-13 Sam Steingold <sds@gnu.org>
4047 * man.el (Man-getpage-in-background): When running under a
4048 window-system, ignore $MANWIDTH and $COLUMNS.
4050 2011-12-15 Kenichi Handa <handa@m17n.org>
4052 * language/ethio-util.el: Change coding tag to utf-8-emacs.
4053 (setup-ethiopic-environment-internal): Comment out key-binding for
4054 ethio-toggle-punctuation.
4056 2011-12-13 Alan Mackenzie <acm@muc.de>
4058 Add the switch statement to AWK Mode.
4060 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
4061 "default" to the keywords regexp.
4063 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
4064 expression as the rest.
4065 (c-nonlabel-token-key): Allow string literals for AWK.
4066 Refactor for the other modes.
4068 Large brace-block initialisation makes CC Mode slow: Fix.
4069 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
4070 routines. Limit backward searching in c-font-lock-enclosing.decl.
4072 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4073 pp-state and literal type in addition to the limits.
4074 (c-state-safe-place): New defun, extracted from c-state-literal-at.
4075 (c-state-literal-at): Use the above new defun.
4076 (c-slow-in-literal, c-fast-in-literal): Remove.
4077 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
4079 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4080 being in a literal. Add a limit for backward searching.
4082 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4085 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4087 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4089 2011-12-13 Martin Rudalics <rudalics@gmx.at>
4091 * window.el (delete-other-windows): Use correct frame in call to
4092 window-with-parameter.
4094 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
4096 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4097 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4098 (makefile-gmake-statements, makefile-makepp-statements):
4099 Use it and add new makepp keywords.
4100 (makefile-makepp-font-lock-keywords): Add new patterns.
4101 (makefile-match-function-end): Match new [...] and [[...]].
4103 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
4105 * ses.el (ses-call-printer-return, ses-cell-property-get)
4106 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4107 (ses-create-cell-variable, ses-reset-header-string)
4108 (ses-cell-set-formula, ses-repair-cell-reference-all)
4109 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4110 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4111 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4112 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4113 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4114 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4115 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4116 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4117 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4118 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4119 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4120 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4122 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4124 * ses.el: The overall change is to add cell renaming, that is
4125 setting fancy names for cell symbols other than name matching
4126 "\\`[A-Z]+[0-9]+\\'" regexp .
4127 (ses-create-cell-variable): New defun.
4128 (ses-relocate-formula): Relocate formulas only for cells the
4129 symbols of which are not renamed, i.e. symbols whose names do not
4130 match regexp "\\`[A-Z]+[0-9]+\\'".
4131 (ses-relocate-all): Relocate values only for cells the symbols of
4132 which are not renamed.
4133 (ses-load): Create cells variables as the (ses-cell ...) are read,
4134 in order to check row col consistency with cell symbol name only
4135 for cells that are not renamed.
4136 (ses-replace-name-in-formula): New defun.
4137 (ses-rename-cell): New defun.
4139 2011-12-11 Chong Yidong <cyd@gnu.org>
4141 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4142 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4144 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4146 * window.el (other-window): Fix docstring.
4148 2011-12-10 Eli Zaretskii <eliz@gnu.org>
4150 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
4151 `from' or `to' address before taking its substring.
4152 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
4153 encoded name is chopped in the middle of the encoded string, and
4154 thus displayed encoded.
4156 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
4158 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4160 2011-12-10 Eli Zaretskii <eliz@gnu.org>
4162 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4163 to use texinfo-update-node and commands that call it if the
4164 Texinfo file uses @node lines without next/prev/up pointers.
4165 Correct outdated description about texinfo-master-menu.
4166 (texinfo-all-menus-update, texinfo-master-menu)
4167 (texinfo-update-node, texinfo-every-node-update)
4168 (texinfo-multiple-files-update): Doc fix. Warn against updating
4169 all the @node lines.
4170 (texinfo-master-menu): Only call texinfo-update-node if the prefix
4171 argument is numeric. Explain better in the doc string what the
4172 function really does.
4173 (texinfo-insert-master-menu-list): Improve the error message
4174 displayed if there's no menu in the Top node.
4175 (Bug#2975) See also this thread:
4176 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4178 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4180 * speedbar.el (speedbar-supported-extension-expressions):
4181 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4183 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
4185 * printing.el (pr-mode-alist):
4186 * simple.el (filter-buffer-substring-functions)
4187 (completion-list-insert-choice-function):
4188 * window.el (window-with-parameter, window-atom-root)
4189 (window-sides-slots, window-size-fixed, window-min-delta)
4190 (window-max-delta, window--resize-mini-window)
4191 (window--resize-child-windows-normal, window-tree)
4192 (delete-other-windows, quit-window, split-window)
4193 (display-buffer-record-window, special-display-buffer-names)
4194 (special-display-regexps, special-display-popup-frame)
4195 (same-window-p, split-window-sensibly)
4196 (display-buffer-overriding-action, display-buffer-alist)
4197 (display-buffer-base-action, display-buffer, switch-to-buffer)
4198 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4199 (fit-window-to-buffer, recenter-positions)
4200 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4201 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4202 and remove unneeded backslashes in docstrings.
4204 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4206 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4208 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4209 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4211 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4212 when reading the makefile (bug#10116).
4214 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4216 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4219 2011-12-06 Glenn Morris <rgm@gnu.org>
4221 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4223 2011-12-06 Chong Yidong <cyd@gnu.org>
4225 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4227 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
4229 * textmodes/table.el (table-shorten-cell): Fix typo.
4231 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4233 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4235 2011-12-05 Eli Zaretskii <eliz@gnu.org>
4237 * descr-text.el (describe-char): Fix display of strong
4238 right-to-left characters and directional embeddings and overrides.
4240 * simple.el (what-cursor-position): Fix display of codepoints of
4241 strong right-to-left characters.
4243 2011-12-05 Chong Yidong <cyd@gnu.org>
4245 * faces.el (read-color): Doc fix.
4247 2011-12-05 Glenn Morris <rgm@gnu.org>
4249 * align.el (align--set-marker): Add doc-string.
4250 Don't try to move something that is not a marker. (Bug#10216)
4252 2011-12-04 Glenn Morris <rgm@gnu.org>
4254 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4255 overly zealous deletion of trailing whitespace.
4257 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
4259 * server.el (server-delete-client): On Windows, do not try to delete
4261 (server-process-filter): On Windows, treat requests for a tty frame as
4262 if they were for a GUI frame if the running server is in GUI mode.
4264 2011-12-03 Glenn Morris <rgm@gnu.org>
4266 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4268 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4270 * electric.el: Streamline electric-indent's hook.
4271 (electric-indent-chars): Revert to simple list.
4272 (electric-indent-functions): New var.
4273 (electric-indent-post-self-insert-function): Use it.
4275 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4276 there's no inferior buffer (bug#10196).
4277 (prolog-consult-compile): Don't use toggle-read-only.
4279 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
4281 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4282 interrupt. (Bug#10187)
4284 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4286 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4289 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4292 2011-12-02 Juri Linkov <juri@jurta.org>
4294 * info.el (Info-search): Display "end of manual" when Isearch
4295 reaches the end of single-file Info manual. (Bug#9918)
4297 2011-12-02 Eli Zaretskii <eliz@gnu.org>
4299 * isearch.el (isearch-message-prefix): Run the input method part
4300 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4302 2011-12-02 Juri Linkov <juri@jurta.org>
4304 * isearch.el (isearch-occur): Use `word-search-regexp' for
4306 (isearch-search-and-update): Add condition for `isearch-word' and
4307 call `word-search-regexp'. (Bug#10145)
4309 2011-12-01 Glenn Morris <rgm@gnu.org>
4311 * eshell/em-hist.el (eshell-hist-initialize):
4312 Handle eshell-history-size nil and HISTSIZE set or unset.
4313 (eshell-history-file-name, eshell-history-size): Fix custom type.
4315 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4317 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4319 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
4321 * progmodes/verilog-mode.el (verilog-pretty-expr):
4322 Rework verilog-pretty-expr to handle new assignment operators in system
4323 verilog, such as += *= and the like.
4324 (verilog-assignment-operator-re): Regular expression to find the
4325 assigment operator in a verilog assignment.
4326 (verilog-assignment-operation-re): Regular expression to find an
4327 assignment statement for pretty-expr.
4328 (verilog-in-attribute-p): Query returns true if point is in an
4329 attribute context; used to skip these for expression line up from
4331 (verilog-in-parameter-p): Query returns true if point is in an
4332 parameter definition context; used to skip these for expression
4333 line up from pretty-expr.
4334 (verilog-in-parenthesis-p): Query returns true if point is in a
4335 parenthetical expression, specifically ( ) but not [ ] or { };
4336 used by pretty-expr.
4337 (verilog-just-one-space): If there is no space, don't add one.
4338 (verilog-get-lineup-indent-2): Specifically skip just attribute
4339 contexts for expression lineup, rather than skipping all
4340 parenthetical expressions.
4341 (verilog-calculate-indent): Fix comment, and fix indent.
4342 (verilog-do-indent): Indent declarations in lists (suggested by
4344 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4346 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4349 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
4351 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4352 parameters with embedded comments. Reported by Ray Stevens.
4353 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4354 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4355 Reported by Tim Holt.
4356 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4357 instantiated by upper module causing wrong expansion until AUTOed a
4358 second time. Reported by K C Buckenmaier.
4359 (verilog-diff-auto): Fix showing .* as a difference when
4360 `verilog-auto-star-save' off. Reported by Dan Dever.
4361 (verilog-auto-reset, verilog-read-always-signals)
4362 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4363 temporary signals in reset list if
4364 verilog-auto-reset-blocking-in-non is nil, and match assignment
4365 style to each signal's assignment type, bug381.
4366 Reported by Thomas Esposito.
4367 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4368 (verilog-uvm-statement-re): Support UVM indentation and
4369 highlighting, with old OVM keywords only.
4370 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
4371 Support AUTOTIEOFF creating non-wire data types.
4372 Suggested by Jonathan Greenlaw.
4373 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4374 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4375 (verilog-inject-sense, verilog-read-inst-pins)
4376 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4377 Fix mismatching parenthesis inside commented out code when deleting
4378 AUTOINST, bug383. Reported by Jonathan Greenlaw.
4379 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4380 non-numeric vector width. Reported by Alex Reed.
4381 (verilog-auto-ascii-enum): Add "onehot" option to work around not
4382 detecting signals with parameter widths. Reported by Alex Reed.
4383 (verilog-auto-delete-trailing-whitespace):
4384 With `verilog-auto-delete-trailing-whitespace' remove trailing
4385 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4386 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4387 Fix verilog-scan-cache corruption when running user AUTO expansion
4388 hooks that call indentation routines.
4389 (verilog-simplify-range-expression): Fix typo ignoring lower case
4391 (verilog-delete-auto): Fix delete-autos to also remove user created
4392 automatics, as long as they start with AUTO.
4393 (verilog-batch-diff-auto, verilog-diff-auto)
4394 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4395 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4396 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4397 (verilog-in-paren-quick, verilog-re-search-backward-quick)
4398 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4399 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
4400 is disabled and its cache will get corrupt, causing AUTOS not to
4401 expand. Instead use only -quick functions.
4402 (verilog-scan-region): Fix scanning over escaped quotes.
4403 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4404 (verilog-re-search-backward-quick)
4405 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4406 related functions now ignore strings, to fix misparsing of strings
4407 with magic comments embedded in them.
4408 (verilog-read-auto-template):
4409 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4410 Reported by Brad Dobbie.
4411 (verilog-read-auto-template):
4412 Fix 'verilog-auto-inst-template-numbers' with comments.
4413 Reported by Brad Dobbie.
4414 (verilog-auto-inst, verilog-auto-inst-param)
4415 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4416 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4417 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
4418 debugging templates without merge conflicts, bug357.
4419 Reported by Brad Dobbie.
4420 (verilog-read-auto-template):
4421 Fix verilog-auto-inst-template-numbers with multiple templates.
4422 Reported by Brad Dobbie.
4423 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4424 abbrevs so user won't be asked to save.
4425 (verilog-read-auto-lisp-present): Fix to start at beginning of
4426 buffer in case called outside of verilog-auto.
4427 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4428 to "X-2". Reported by Matthew Myers.
4429 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4430 all inputs from module templates. Reported by Leith Johnson.
4431 (verilog-module-inside-filename-p): Fix locating programs as with
4433 (verilog-auto-inst-port): Fix vl-width expressions when using
4434 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4435 (verilog-decls-get-regs, verilog-decls-get-signals,
4436 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4437 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4438 verilog-read-decls): Combine reg and wire structures into one var
4439 structure to represent SystemVerilog concepts.
4440 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4441 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
4442 (verilog-auto-wire-type, verilog-insert-definition):
4443 Add verilog-auto-wire-type and AUTOLOGIC to support using
4444 SystemVerilog "logic" keyword instead of "wire"/"reg".
4445 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4446 to declares outputs that also have assignments (presumably in an
4447 ifdef or generate if so there's not a driver conflict).
4448 Reported by Matthew Myers.
4449 (verilog-auto-declare-nettype, verilog-insert-definition):
4450 Add verilog-auto-declare-nettype to fix declarations using
4451 `default_nettype none. Reported by Julian Gorfajn.
4452 (verilog-read-always-signals-recurse, verilog-read-decls)
4453 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4454 malformed end statement, bug325. Reported by Joshua Wise and
4456 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4457 (verilog-inst-comment-re): Fix not deleting Interfaced comment
4458 when expanding .* in interfaces, bug320.
4459 Reported by Pierre-David Pfister.
4460 (verilog-read-module-name): Fix import statements between module
4461 name and open parenthesis, bug317.
4462 Reported by Pierre-David Pfister.
4463 (verilog-simplify-range-expression): Fix simplification of
4464 multiplications inside AUTOWIRE connections, bug303.
4465 (verilog-auto-inst-port): Support parameter expansion in
4466 multidimensional arrays.
4467 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4468 after "assert property". Reported by Julian Gorfajn.
4469 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4470 with multiplication, bug303.
4471 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4472 Reported by Jan Frode Lonnum.
4474 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
4476 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4477 (hfy-shell-file-name, hfy-shell):
4478 * international/fontset.el (x-decompose-font-name): Fix typos.
4480 2011-11-29 Ken Brown <kbrown@cornell.edu>
4482 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4483 (gdb-version): Remove defvar.
4484 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4485 (gdb-gud-context-command, gdb-non-stop-handler)
4486 (gdb-current-context-command, gdb-stopped): Use it.
4487 (gdb-init-1): Enable pretty printing here.
4488 (gdb-non-stop-handler): Don't enable pretty-printing here.
4489 Check to see if the target supports non-stop mode; if not, turn off
4490 non-stop mode. Use the following.
4491 (gdb-check-target-async): New defun.
4492 (gud-watch, gdb-stopped): Fix whitespace.
4493 (gdb-get-source-file): Don't try to display the source file if
4494 `gdb-main-file' is nil.
4496 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4498 * align.el: Try to generate fewer markers (bug#10047).
4499 (align--set-marker): New macro.
4500 (align-region): Use it.
4502 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4504 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4506 2011-11-29 Chong Yidong <cyd@gnu.org>
4508 * indent.el (indent-for-tab-command, indent-according-to-mode):
4510 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4512 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
4514 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4515 aware of remote file names. (Bug#10124)
4517 2011-11-29 Chong Yidong <cyd@gnu.org>
4519 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4521 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4523 * files.el (find-file): Don't use force-same-window (bug#10144).
4524 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4525 use pop-to-buffer if the selected window can't be used.
4526 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4528 2011-11-28 Eli Zaretskii <eliz@gnu.org>
4530 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4533 2011-11-28 Chong Yidong <cyd@gnu.org>
4535 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4537 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
4539 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4540 gdb-get-source-file-list on gdb-create-source-file-list.
4542 2011-11-26 Eli Zaretskii <eliz@gnu.org>
4544 * whitespace.el (whitespace-newline): Use a different foreground
4545 color for 16-color light-background displays.
4547 2011-11-24 Chong Yidong <cyd@gnu.org>
4549 * window.el (display-buffer--special-action): Doc fix.
4551 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
4553 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4554 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4555 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4556 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4557 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4558 (avl-tree-stack-first):
4559 * emacs-lisp/cconv.el (cconv--analyse-use):
4560 * net/gnutls.el (gnutls-negotiate): Fix typos.
4562 2011-11-24 Glenn Morris <rgm@gnu.org>
4564 * lpr.el (lpr-windows-system, lpr-lp-system):
4565 * mail/binhex.el (binhex-begin-line):
4566 * progmodes/grep.el (grep-history, grep-find-history):
4567 * textmodes/flyspell.el:
4568 * vc/pcvs-defs.el (cvs-global-menu):
4569 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4570 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4571 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4573 * net/tls.el: Fix case of "GnuTLS".
4575 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4577 * version.el (emacs-build-system): Give it a doc-string.
4579 2011-11-24 Juri Linkov <juri@jurta.org>
4581 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4583 2011-11-24 Glenn Morris <rgm@gnu.org>
4585 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4586 if called on a non-mime message just toggle the headers. (Bug#8006)
4588 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
4590 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4591 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4592 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4593 (allout-rebullet-heading, allout-open-sibtopic)
4594 (allout-toggle-current-subtree-encryption)
4595 (allout-toggle-subtree-encryption, allout-encrypt-string)
4596 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4597 (allout-distinctive-bullets-string, allout-auto-activation):
4598 * window.el (window-normalize-buffer-to-display):
4599 * progmodes/verilog-mode.el (verilog-batch-indent):
4600 * textmodes/bibtex.el (bibtex-field-braces-opt)
4601 (bibtex-field-strings-opt):
4602 * vc/cvs-status.el (cvs-tree-merge):
4605 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
4607 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4608 `non-essential' to t, in order to avoid remote connections.
4610 2011-11-23 Eli Zaretskii <eliz@gnu.org>
4612 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4613 On MS-DOS and MS-Windows, compare with loaddefs.el
4616 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4618 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4620 2011-11-23 Glenn Morris <rgm@gnu.org>
4622 * paths.el (rmail-file-name): Reformat the doc-string so that it
4625 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4626 (rmail-auto-file): Ignore case in the "special" field names,
4627 as mail-fetch-field does for all others.
4629 * mail/rmail.el (rmail-forward):
4630 * mail/rmailkwd.el (rmail-set-label):
4631 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4632 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4634 * mail/rmail.el (rmail-current-message): Doc fix.
4636 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4638 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4640 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4642 2011-11-22 Glenn Morris <rgm@gnu.org>
4644 * mail/rmailmm.el (test-rmail-mime-handler)
4645 (test-rmail-mime-bulk-handler)
4646 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4648 2011-11-21 Juri Linkov <juri@jurta.org>
4650 * calc/calc.el (calc-read-key-sequence):
4651 Let-bind `input-method-function' to nil. (Bug#10018)
4653 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4655 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4656 Tell the caller that the next line needs recomputation, even
4657 though it doesn't start a sexp (bug#10094).
4659 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4661 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4663 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4665 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4666 Use force-same-window.
4668 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4670 * descr-text.el (describe-char-unicode-data):
4671 * json.el (json-string-escape):
4672 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4673 (Footnote-unicode, Footnote-style-p):
4674 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4676 2011-11-20 Chong Yidong <cyd@gnu.org>
4678 * window.el (replace-buffer-in-windows): Restore interactive spec.
4680 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4682 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4684 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4685 (byte-compile-global-not-obsolete-vars): New var.
4686 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4688 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4690 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4692 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4693 * progmodes/pascal.el (electric-pascal-equal):
4694 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4695 * xml.el (xml-substitute-special): Fix typos.
4697 2011-11-20 Glenn Morris <rgm@gnu.org>
4699 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4700 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4702 (rmail-decode-mime-charset): Mark as obsolete.
4704 * mail/rmailsum.el (rmail-message-regexp-p-1):
4705 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4706 Before using mime functions, check they are set. (Bug#10077)
4708 2011-11-19 Juri Linkov <juri@jurta.org>
4710 * info.el (Info-finder-find-node): Use `package--builtins' instead
4711 of `package-alist'. Use node names formed by the pattern "Keyword "
4712 and the keyword name.
4714 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4716 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
4718 2011-11-19 Juri Linkov <juri@jurta.org>
4720 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4721 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4722 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4723 `old-history', `old-history-forward'. Add let-binding
4724 `window-selected'. Remove calls to `kill-buffer',
4725 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4726 before calling `Info-find-node', so `Info-find-node-2' will reread
4727 the Info file. Restore window positions only when `window-selected'
4730 2011-11-19 Juri Linkov <juri@jurta.org>
4732 * isearch.el (isearch-lazy-highlight-new-loop):
4733 Remove condition `(not isearch-error)'. (Bug#9918)
4735 * misearch.el (multi-isearch-search-fun): Add condition
4736 `(not bound)' to ignore lazy-highlighting search.
4737 Add the search-failed message "end of multi" when the end of
4738 multi-sequence is reached. Uncapitalize the search-failed
4739 message "Repeat for next buffer".
4741 * info.el (Info-search): Add the search-failed message
4742 "end of the manual" when the end of the manual is reached
4745 2011-11-19 Juri Linkov <juri@jurta.org>
4747 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4748 Use non-destructive `remove' instead of `delete' because
4749 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4750 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4752 2011-11-19 Juri Linkov <juri@jurta.org>
4754 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4755 to nil instead of binding `search-ring' and `regexp-search-ring'.
4758 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4760 * simple.el (line-move): Force movement by logical lines for any
4761 hscrolled window, not only when auto-hscroll-mode is on.
4762 (line-move-visual): Update doc string to that effect. (Bug#10076)
4764 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4766 * language/european.el (macintosh): Define as alias for mac-roman.
4768 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4770 * mail/rmailmm.el (rmail-mime-display-header)
4771 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4772 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4773 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4774 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4775 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4777 (rmail-mime-entity-segment): To get past the tagline, move forward
4778 2 more lines, to account for the 2 empty lines that precede and
4779 follow the line with the buttons.
4780 (rmail-mime-update-tagline): Move one more line, to get past the
4781 empty line that follows the buttons in the tagline. (Bug#9520)
4783 2011-11-19 Martin Rudalics <rudalics@gmx.at>
4785 * window.el (window-max-delta-1, window-min-delta-1)
4786 (window-min-size-1, window-state-get-1, window-state-put-1)
4787 (window-state-put-2): Use "window--" prefix.
4789 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4791 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4792 (smie-warning-count): New var.
4793 (smie-set-prec2tab): Use it.
4794 (smie-bnf->prec2): Improve warnings. Add docstring.
4795 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4796 (smie-bnf--set-class): New function.
4797 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4800 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4801 (compilation-error-properties, compilation-move-to-column):
4802 Handle compilation-first-column while in the target buffer.
4804 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4805 Don't hardcode point-min==1.
4807 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4808 (eshell-rewrite-for-command): Remove workaround.
4809 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4810 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4811 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4813 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4815 2011-11-17 Glenn Morris <rgm@gnu.org>
4817 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4818 Ignore buffer-local generated-autoload-file if it is the same
4819 as the global value. (Bug#10049)
4821 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
4823 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4824 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4825 (reftex-toc-previous-heading, reftex-toc-max-level)
4826 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4827 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4828 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4829 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4830 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4831 (reftex-toc-rename-label, reftex-toc-visit-location)
4832 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4833 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4834 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4835 leaving "*toc*" only for references to the buffer.
4837 2011-11-17 Martin Rudalics <rudalics@gmx.at>
4839 * window.el (window-resize, delete-window, split-window):
4840 Replace window-splits by window-combination-resize.
4841 * cus-start.el (window-splits): Replace by window-combination-resize.
4843 2011-11-17 Glenn Morris <rgm@gnu.org>
4845 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4846 Make bash entry derive from sh entry, not shell entry.
4848 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
4850 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4851 properties of linked files. (Bug#9879)
4853 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4856 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4858 * menu-bar.el (menu-bar-file-menu):
4859 * printing.el (pr-ps-utility):
4860 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4861 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4862 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4863 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4864 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4865 (icalendar--convert-cyclic-to-ical)
4866 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4867 (icalendar--convert-ical-to-diary)
4868 (icalendar--convert-recurring-to-diary)
4869 (icalendar--convert-non-recurring-all-day-to-diary)
4870 (icalendar-import-format-sample):
4871 * progmodes/idlw-shell.el (idlwave-shell-mode):
4872 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4873 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4874 (vhdl-ps-print-init): Fix typos.
4876 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4878 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4879 FSF and collapse date sequence, obscure author/maintainer email address
4880 better, remove extra version line, track relocation of author's webpage.
4882 * progmodes/python.el (python-pdbtrack-input-prompt)
4883 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4884 regular python pdb prompts. Adjustments shamelessly taken exactly as
4885 suggested in EmacsWiki page (tiny change):
4886 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
4888 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4890 * expand.el (expand-pos, expand-index, expand-point):
4891 Remove redundant info from docstring.
4892 (expand-add-abbrevs): Doc fix.
4893 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4894 (expand-sample-perl-mode-expand-list): Fix typos.
4896 * net/dbus.el (dbus-event-member-name):
4897 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4898 * term/pc-win.el (msdos-create-frame-with-faces):
4899 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4901 2011-11-16 Martin Rudalics <rudalics@gmx.at>
4903 * window.el (split-window, window-state-get-1)
4904 (window-state-put-1, window-state-put-2): Rename occurrences of
4905 window-nest to window-combination-limit.
4906 * cus-start.el (window-nest): Rename to window-combination-limit.
4908 2011-11-16 Chong Yidong <cyd@gnu.org>
4910 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4913 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4915 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4916 `completing-read' will remove *Completions* and will preserve
4917 current-buffer for us.
4918 (tmm-add-prompt): Users of *Completions* will always (re)set its
4920 (tmm-old-comp-map): Remove.
4922 2011-11-16 Glenn Morris <rgm@gnu.org>
4924 * mail/rmailedit.el: Require rmailmm when compiling.
4925 (rmail-old-mime-state): New declaration.
4926 (rmail-edit-current-message): If editing a mime message,
4927 edit the "raw" message from the mbox buffer.
4928 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4930 2011-11-15 Glenn Morris <rgm@gnu.org>
4932 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4933 which wasn't being used. Add optional arg to force given state.
4934 (rmail-mime): Add optional arg to force given state.
4936 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4938 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4939 * frame.el (display-mm-dimensions-alist):
4940 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4941 (outline-move-subtree-down):
4942 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4943 (newsticker--treeview-do-get-node):
4944 * net/quickurl.el (quickurl-list-buffer-name):
4945 * progmodes/dcl-mode.el (dcl-mode):
4946 * progmodes/gdb-mi.el (gdb-mapcar*):
4947 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4949 2011-11-15 Glenn Morris <rgm@gnu.org>
4951 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4952 in a boolean sense, so just make it a boolean, and fix the doc.
4953 (rmail-show-mime-function, rmail-mime-feature)
4954 (rmail-require-mime-maybe): Doc fixes.
4955 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4957 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4959 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4961 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4962 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4963 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4964 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4966 2011-11-15 Glenn Morris <rgm@gnu.org>
4968 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4969 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4970 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4971 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4972 (rmail-mime, rmail-show-mime): Doc fixes.
4974 * term/ns-win.el (mode-line-frame-identification):
4975 Leave it alone. (Bug#10051)
4977 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4979 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4980 Handle empty buffers. (Bug#9978)
4982 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
4984 * international/mule.el (define-charset):
4985 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4986 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4987 * progmodes/verilog-mode.el (verilog-backward-token):
4988 * textmodes/ispell.el (lookup-words):
4989 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4991 2011-11-14 Glenn Morris <rgm@gnu.org>
4993 * progmodes/executable.el
4994 (executable-make-buffer-file-executable-if-script-p):
4995 Handle file-modes returning nil.
4997 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4998 message - not necessary, and causes problems. (Bug#9831)
5000 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5002 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5004 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5005 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
5006 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5008 2011-11-12 Martin Rudalics <rudalics@gmx.at>
5010 * window.el (window-resize, delete-window): Use window-splits
5011 variable instead of function.
5012 (window-state-get-1, window-state-put-2, window-state-put):
5013 Don't deal with windows' splits status.
5015 2011-11-12 Glenn Morris <rgm@gnu.org>
5017 * apropos.el (apropos-do-all, apropos-library, apropos-value)
5018 (apropos-documentation): Doc fixes.
5020 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
5022 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
5023 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5025 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5027 * electric.el (electric-indent-post-self-insert-function): Make it
5028 possible for a char to only indent in some circumstances.
5029 (electric-indent-mode): Simplify.
5031 2011-11-11 Martin Rudalics <rudalics@gmx.at>
5033 * window.el (windows-with-parameter): Remove unused function.
5034 (windows-at-side): Rename to window-at-side-list.
5035 (window-check, window-atom-check, window-atom-check-1)
5036 (window-side-check, window-size-ignore, window-size-fixed-1)
5037 (window-in-direction-2): Prefix with "window--".
5038 (window-tree-1): Rename to window--subtree, fix doc-string.
5040 2011-11-11 Glenn Morris <rgm@gnu.org>
5042 * subr.el (eval-after-load): If FILE is already loaded,
5043 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
5045 2011-11-10 Glenn Morris <rgm@gnu.org>
5047 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5048 Call svn via vc-svn-command rather than vc-do-command.
5049 (vc-svn-command): Add --non-interactive. (Bug#9993)
5050 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5052 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5053 Add toggle-read-only. (Bug#7292)
5054 * files.el (toggle-read-only): Mention that it should only
5055 be used interactively. (Bug#10006)
5057 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5059 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5060 Adjust regexp for OCaml warnings.
5062 * electric.el (electric-pair-post-self-insert-function): Let user
5063 turn it off buffer-locally (bug#9932).
5065 * progmodes/python.el (python-beginning-of-statement):
5068 * progmodes/compile.el: Better handle TABs (bug#9749).
5069 (compilation-internal-error-properties)
5070 (compilation-next-error-function): Obey the target buffer's
5071 compilation-error-screen-columns.
5073 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
5075 * progmodes/meta-mode.el: Remove obsolete comments.
5076 (meta-right-comment-regexp, meta-ignore-comment-regexp):
5077 Fix typos in docstrings.
5079 2011-11-09 Martin Rudalics <rudalics@gmx.at>
5081 * window.el (window-size-fixed-p): Rewrite doc-string.
5082 (window-resizable-p): Rename to window--resizable-p. Update callers.
5083 (window--resizable): New function. Make all callers of
5084 window-resizable call window--resizable instead.
5085 (window-resizable): Rewrite in terms of window--resizable.
5087 2011-11-08 Glenn Morris <rgm@gnu.org>
5089 * progmodes/delphi.el (delphi-mode-syntax-table):
5090 Let define-derived-mode define a proper syntax table. (Bug#9994)
5092 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5094 * window.el: Stay away from defsubst.
5095 (window-list-no-nils): Remove.
5096 (window-state-get-1, window-state-get): Use backquote instead.
5098 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5100 * emacs-lisp/find-func.el (find-function-read):
5101 Fix incorrect use of default argument in `completing-read'.
5103 2011-11-08 Martin Rudalics <rudalics@gmx.at>
5105 * window.el (display-buffer-function, special-display-function):
5106 Mention display-buffer-record-window but do not mention
5107 help-setup parameter in doc-strings.
5108 (window-min-delta): Fix doc-string typo.
5110 2011-11-08 Chong Yidong <cyd@gnu.org>
5112 * window.el (window-total-height, window-total-width): Doc fix.
5113 (window-body-size): Move from C.
5114 (window-body-height, window-body-width): Move to C.
5116 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5118 * window.el: Make special-display like display-buffer-alist (bug#9532).
5119 (display-buffer--special-action): New function, morphed
5120 from display-buffer--special.
5121 (display-buffer): Use it to handle special-display-buffers at higher
5122 priority (just after display-buffer-alist).
5123 (display-buffer-fallback-action, display-buffer--other-frame-action)
5124 (pop-to-buffer-same-window): Remove display-buffer--special.
5126 2011-11-07 Glenn Morris <rgm@gnu.org>
5128 * calendar/cal-menu.el (cal-menu-set-date-title):
5129 Do nothing if not in a calendar. (Bug#9976)
5131 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5133 * files.el (find-file): Always use selected-window.
5135 2011-11-07 Martin Rudalics <rudalics@gmx.at>
5137 * window.el (window-combinations): Make WINDOW argument
5138 mandatory. Rewrite doc-string.
5139 (walk-window-subtree, window-atom-check, window-min-delta)
5140 (window-max-delta, window--resize-this-window)
5141 (window--resize-root-window-vertically, window-tree)
5142 (balance-windows, window-state-put): Rewrite doc-strings as to
5143 not mention the term "subwindow".
5144 (window--resize-subwindows-skip-p): Rename to
5145 window--resize-child-windows-skip-p.
5146 (window--resize-subwindows-normal): Rename to
5147 window--resize-child-windows-normal.
5148 (window--resize-subwindows): Rename to
5149 window--resize-child-windows.
5150 (window-or-subwindow-p): Rename to window--in-subtree-p.
5152 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5154 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5155 Ensure that mbox format messages end in two newlines (Bug#9974).
5157 2011-11-06 Chong Yidong <cyd@gnu.org>
5159 * window.el (window-combination-p): Function deleted; its
5160 side-effect is not used in any existing code.
5161 (window-combinations, window-combined-p): Call window-*-child
5164 2011-11-05 Chong Yidong <cyd@gnu.org>
5166 * window.el (window-valid-p): Rename from window-any-p.
5167 (window-size-ignore, window-state-get): Callers changed.
5168 (window-normalize-window): Rename from window-normalize-any-window.
5169 New arg LIVE-ONLY, replacing window-normalize-live-window.
5170 (window-normalize-live-window): Delete.
5171 (window-combination-p, window-combined-p, window-combinations)
5172 (walk-window-subtree, window-atom-root, window-min-size)
5173 (window-sizable, window-sizable-p, window-size-fixed-p)
5174 (window-min-delta, window-max-delta, window-resizable)
5175 (window-resizable-p, window-full-height-p, window-full-width-p)
5176 (window-current-scroll-bars, window-point-1, set-window-point-1)
5177 (window-at-side-p, window-in-direction, window-resize)
5178 (adjust-window-trailing-edge, maximize-window, minimize-window)
5179 (window-deletable-p, delete-window, delete-other-windows)
5180 (record-window-buffer, unrecord-window-buffer)
5181 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5182 (quit-window, split-window, window-state-put)
5183 (set-window-text-height, fit-window-to-buffer)
5184 (shrink-window-if-larger-than-buffer): Callers changed.
5186 2011-11-04 Eli Zaretskii <eliz@gnu.org>
5188 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5189 rfc2047-decode-string.
5190 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5193 * window.el (window-body-height, window-body-width): Mention in
5194 the doc string that the return values are in frame's canonical
5197 2011-11-03 Alan Mackenzie <acm@muc.de>
5199 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5200 change in cc-engine.el.
5202 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5204 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5206 2011-11-02 Martin Rudalics <rudalics@gmx.at>
5208 * window.el (quit-window): Call unrecord-window-buffer after
5209 showing another buffer in the window. (Bug#9937)
5210 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
5212 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
5214 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5215 Accept status with more than 9 shelves. (Bug#9935)
5216 Reported by Colin D Bennett <colin@gibibit.com>.
5218 2011-11-01 Martin Rudalics <rudalics@gmx.at>
5220 * help.el (with-help-window): Don't reference
5221 temp-buffer-show-specifiers in doc-string.
5223 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5225 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5228 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5230 * whitespace.el: New version 13.2.2.
5231 (whitespace-newline-mode): Disable properly. Reported by Sarah
5234 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
5236 * net/newst-treeview.el: Remove "Time-stamp".
5237 (newsticker--group-manage-orphan-feeds): Do not call
5238 newsticker--treeview-tree-update.
5239 (newsticker-treeview-update, newsticker-treeview):
5240 Call newsticker--treeview-tree-update if necessary.
5242 2011-10-30 Martin Rudalics <rudalics@gmx.at>
5244 * window.el (window-iso-combination-p, window-iso-combined-p)
5245 (window-iso-combinations): Remove "iso-" infix.
5246 Suggested by Chong Yidong.
5247 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5248 (window-max-delta-1, window-resize, window--resize-siblings)
5249 (window--resize-this-window, adjust-window-trailing-edge)
5250 (split-window, balance-windows-1)
5251 (shrink-window-if-larger-than-buffer):
5252 * calendar/calendar.el (calendar-generate-window):
5253 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
5255 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5257 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5258 in place (bug#9907).
5259 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5260 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5261 (eshell-structure-basic-command, eshell-rewrite-while-command)
5262 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5263 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5264 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5265 (eshell-do-pipelines-synchronously, eshell-eval-command):
5266 Use backquotes and prefer setq to set.
5267 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5268 (eshell-macrop): Use functionp.
5269 (eshell-do-eval): Handle multiple expressions in `while' body.
5271 2011-10-30 Chong Yidong <cyd@gnu.org>
5273 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5274 instead of set-mark (Bug#9810).
5276 2011-10-30 Chong Yidong <cyd@gnu.org>
5278 * window.el (split-window-below, split-window-right): Rename from
5279 split-window-above-each-other and split-window-side-by-side
5280 respectively. All callers changed.
5281 (split-window-sensibly, split-window-sensibly): Use them.
5282 (split-window-keep-point): Doc fix.
5284 * isearch.el: Add isearch-scroll property to split-window-below
5285 and split-window-right.
5287 * follow.el (follow-mode):
5288 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5289 * progmodes/ada-xref.el (ada-gdb-application):
5290 * emulation/vip.el (vip-buffer-in-two-windows):
5291 * image-dired.el (image-dired-dired-with-window-configuration):
5292 * dired-x.el (dired-do-find-marked-files):
5293 * dired.el (dired-pop-to-buffer):
5294 * bs.el (bs--show-with-configuration):
5295 * vc/emerge.el (emerge-setup-windows):
5296 * textmodes/two-column.el (2C-two-columns):
5297 * textmodes/reftex-toc.el (reftex-toc):
5298 * progmodes/gdb-mi.el (gdb-setup-windows):
5299 * progmodes/fortran.el (fortran-window-create):
5300 * net/newst-treeview.el (newsticker--treeview-window-init):
5301 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5302 * emulation/tpu-edt.el (tpu-gold-map):
5303 * emulation/crisp.el (crisp-mode-map):
5304 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5306 2011-10-29 Chong Yidong <cyd@gnu.org>
5308 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5310 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5312 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5313 forged Ispell output (Bug#7904).
5315 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5317 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5319 * doc-view.el: Avoid ugly errors about not finding nil.
5320 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5321 (doc-view-dvipdf-program, doc-view-unoconv-program)
5322 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5323 Avoid nil or absolute file name as default value.
5324 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5326 2011-10-28 Alan Mackenzie <acm@muc.de>
5328 * progmodes/cc-defs.el (c-version): -> 5.32.2.
5330 2011-10-28 Alan Mackenzie <acm@muc.de>
5332 Amend the handling of c-beginning/end-of-defun in nested declaration
5335 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5336 cc-langs.el. Change it to a defcustom.
5338 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5341 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5342 Prevent "class foo : bar" being spuriously recognized as a label.
5344 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
5345 Add parameter `inclusive' (to include enclosing braces in the region).
5346 (c-widen-to-enclosing-decl-scope): New function.
5347 (c-while-widening-to-decl-block): New macro.
5348 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5349 outward for defun boundaries, and correspondingly change symbol
5350 `respect-enclosure' to `go-outward'.
5351 (c-declaration-limits): Change algorithm to report only the "innermost"
5354 2011-10-28 Deniz Dogan <deniz@dogan.se>
5356 * net/rcirc.el (rcirc-mode): Use hard newlines.
5358 2011-10-28 Alan Mackenzie <acm@muc.de>
5360 Amend to indent and fontify macros "which include their own semicolon"
5361 correctly, using the "virtual semicolon" mechanism.
5363 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
5365 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5366 Recode to scan one line at a time rather than having \n and \r
5367 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
5368 (c-forward-label): Amend for virtual semicolons.
5369 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
5371 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5372 of the new C macros.
5374 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
5375 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5376 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
5377 (c-opt-cpp-macro-define): Make into a full language variable.
5378 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5379 AWK Mode (including \n, \r) removed, no longer needed.
5381 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5382 Invoke c-make-macro-with-semi-re.
5384 * progmodes/cc-vars.el (c-macro-with-semi-re):
5385 (c-macro-names-with-semicolon): New variables.
5386 (c-make-macro-with-semi-re): New function.
5388 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5390 * vc/log-edit.el: Fill empty field rather than adding new one.
5391 (log-edit-add-field): New function.
5392 (log-edit-insert-changelog): Use it.
5394 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5396 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5398 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5400 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5401 (gdb--check-interpreter): New function.
5404 2011-10-27 Glenn Morris <rgm@gnu.org>
5406 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5407 (least-positive-float, least-negative-float)
5408 (least-positive-normalized-float, least-negative-normalized-float)
5409 (float-epsilon, float-negative-epsilon):
5410 Remove unnecessary declarations.
5412 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5413 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5414 (least-positive-float, least-negative-float)
5415 (least-positive-normalized-float, least-negative-normalized-float)
5416 (float-epsilon, float-negative-epsilon): Add doc-strings,
5417 based on those in cl.texi.
5419 * files.el (set-visited-file-name): If the major-mode changed,
5420 reload the local variables. (Bug#9796)
5422 2011-10-27 Chong Yidong <cyd@gnu.org>
5424 * subr.el (change-major-mode-after-body-hook): New hook.
5425 (run-mode-hooks): Run it.
5427 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5428 Use change-major-mode-before-body-hook.
5430 * simple.el (fundamental-mode):
5431 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5432 change introducing fundamental-mode-hook.
5434 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
5436 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5438 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
5440 * ido.el (ido-file-name-all-completions-1): Do not require
5441 tramp.el explicitly. (Bug#7583)
5443 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5445 * progmodes/octave-mod.el:
5446 * progmodes/octave-inf.el: Update maintainer.
5448 2011-10-26 Chong Yidong <cyd@gnu.org>
5450 * subr.el (with-wrapper-hook): Rewrite doc.
5452 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
5454 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
5455 filenames "/method:foo:". (Bug#9793)
5457 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5459 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5462 2011-10-24 Glenn Morris <rgm@gnu.org>
5464 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5466 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
5468 * notifications.el: Add the requirement of a running D-Bus session
5469 bus to the Commentary.
5471 2011-10-24 Juri Linkov <juri@jurta.org>
5473 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5474 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5477 2011-10-24 Juri Linkov <juri@jurta.org>
5479 * info.el (Info-following-node-name-re): Add newline to the list
5480 of allowed characters for leading space. (Bug#9824)
5482 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5484 * progmodes/octave-inf.el (inferior-octave-mode-map):
5485 Fix C-c C-h binding.
5486 * progmodes/octave-mod.el (octave-help): Remove.
5488 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
5490 Sync with Tramp 2.2.3.
5492 * net/tramp-cache.el (top): Pacify byte-compiler using
5493 `init-file-user' and `site-run-file'.
5495 * net/trampver.el: Update release number.
5497 2011-10-23 Chong Yidong <cyd@gnu.org>
5499 * files.el (toggle-read-only): Remove obsolete comment about
5502 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5503 for toggle-read-only. Note that this hasn't called vc-next-action
5504 since 2008-05-02, though it wasn't documented at the time.
5506 * vc/ediff-init.el (ediff-toggle-read-only-function):
5507 Use toggle-read-only.
5509 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5511 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5514 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5515 correct faulty logical expression.
5516 (c-parse-state-state, c-record-parse-state-state):
5517 (c-replay-parse-state-state): New defvar/defuns.
5518 (c-debug-parse-state): Use new functions.
5520 2011-10-22 Martin Rudalics <rudalics@gmx.at>
5522 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
5523 last fix. Use window-in-direction correctly.
5525 2011-10-21 Chong Yidong <cyd@gnu.org>
5527 * progmodes/idlwave.el (idlwave-mode):
5528 * progmodes/vera-mode.el (vera-mode): No need to set
5529 require-final-newline; that's done in prog-mode.
5530 Suggested by Stefan Monnier.
5532 2011-10-21 Martin Rudalics <rudalics@gmx.at>
5534 * mouse.el (mouse-drag-window-above)
5535 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5536 (mouse-drag-mode-line-1, mouse-drag-header-line)
5537 (mouse-drag-vertical-line-rightward-window): Remove.
5538 (mouse-drag-line): New function.
5539 (mouse-drag-mode-line, mouse-drag-header-line)
5540 (mouse-drag-vertical-line): Call mouse-drag-line.
5541 * window.el (window-at-side-p, windows-at-side): New functions.
5543 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
5545 * tar-mode.el (tar-grind-file-mode):
5546 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5548 2011-10-21 Chong Yidong <cyd@gnu.org>
5550 * progmodes/idlwave.el (idlwave-mode):
5551 * progmodes/vera-mode.el (vera-mode):
5552 Use mode-require-final-newline.
5554 2011-10-20 Glenn Morris <rgm@gnu.org>
5556 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
5558 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5560 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5562 2011-10-20 Chong Yidong <cyd@gnu.org>
5564 * emulation/cua-base.el (cua-mode):
5565 * mail/footnote.el (footnote-mode):
5566 * mail/mailabbrev.el (mail-abbrevs-mode):
5567 * net/xesam.el (xesam-minor-mode):
5568 * progmodes/bug-reference.el (bug-reference-mode):
5569 * progmodes/cap-words.el (capitalized-words-mode):
5570 * progmodes/compile.el (compilation-minor-mode)
5571 (compilation-shell-minor-mode):
5572 * progmodes/gud.el (gud-tooltip-mode):
5573 * progmodes/hideif.el (hide-ifdef-mode):
5574 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5575 * progmodes/subword.el (subword-mode):
5576 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5577 * progmodes/which-func.el (which-function-mode):
5578 * term/tvi970.el (tvi970-set-keypad-mode):
5579 * term/vt100.el (vt100-wide-mode):
5580 * textmodes/flyspell.el (flyspell-mode):
5581 * textmodes/ispell.el (ispell-minor-mode):
5582 * textmodes/nroff-mode.el (nroff-electric-mode):
5583 * textmodes/paragraphs.el (use-hard-newlines):
5584 * textmodes/refill.el (refill-mode):
5585 * textmodes/reftex.el (reftex-mode):
5586 * textmodes/rst.el (rst-minor-mode):
5587 * textmodes/sgml-mode.el (html-autoview-mode)
5588 (sgml-electric-tag-pair-mode):
5589 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5590 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5591 * emulation/crisp.el (crisp-mode):
5592 * emacs-lisp/eldoc.el (eldoc-mode):
5593 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5594 minor mode behavior.
5596 2011-10-19 Juri Linkov <juri@jurta.org>
5598 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5599 the list of hard-coded chars with escape-glyph face.
5601 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5603 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5605 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
5607 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5610 2011-10-19 Glenn Morris <rgm@gnu.org>
5612 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5613 Ignore ignored files. (Bug#9726)
5615 2011-10-19 Chong Yidong <cyd@gnu.org>
5617 Doc fix for minor modes, stating that an omitted argument enables
5618 the mode unconditionally when called from Lisp.
5620 * abbrev.el (abbrev-mode):
5621 * allout.el (allout-mode):
5622 * autoinsert.el (auto-insert-mode):
5623 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5624 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5625 (global-auto-revert-mode):
5626 * battery.el (display-battery-mode):
5627 * composite.el (global-auto-composition-mode)
5628 (auto-composition-mode):
5629 * delsel.el (delete-selection-mode):
5630 * desktop.el (desktop-save-mode):
5631 * dired-x.el (dired-omit-mode):
5632 * dirtrack.el (dirtrack-mode):
5633 * doc-view.el (doc-view-minor-mode):
5634 * double.el (double-mode):
5635 * electric.el (electric-indent-mode, electric-pair-mode):
5636 * emacs-lock.el (emacs-lock-mode):
5637 * epa-hook.el (auto-encryption-mode):
5638 * follow.el (follow-mode):
5639 * font-core.el (font-lock-mode):
5640 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5641 * help.el (temp-buffer-resize-mode):
5642 * hilit-chg.el (highlight-changes-mode)
5643 (highlight-changes-visible-mode):
5644 * hi-lock.el (hi-lock-mode):
5645 * hl-line.el (hl-line-mode, global-hl-line-mode):
5646 * icomplete.el (icomplete-mode):
5647 * ido.el (ido-everywhere):
5648 * image-file.el (auto-image-file-mode):
5649 * image-mode.el (image-minor-mode):
5650 * iswitchb.el (iswitchb-mode):
5651 * jka-cmpr-hook.el (auto-compression-mode):
5652 * linum.el (linum-mode):
5653 * longlines.el (longlines-mode):
5654 * master.el (master-mode):
5655 * mb-depth.el (minibuffer-depth-indicate-mode):
5656 * menu-bar.el (menu-bar-mode):
5657 * minibuf-eldef.el (minibuffer-electric-default-mode):
5658 * mouse-sel.el (mouse-sel-mode):
5659 * msb.el (msb-mode):
5660 * mwheel.el (mouse-wheel-mode):
5661 * outline.el (outline-minor-mode):
5662 * paren.el (show-paren-mode):
5663 * recentf.el (recentf-mode):
5664 * reveal.el (reveal-mode, global-reveal-mode):
5665 * rfn-eshadow.el (file-name-shadow-mode):
5666 * ruler-mode.el (ruler-mode):
5667 * savehist.el (savehist-mode):
5668 * scroll-all.el (scroll-all-mode):
5669 * scroll-bar.el (scroll-bar-mode):
5670 * server.el (server-mode):
5671 * shell.el (shell-dirtrack-mode):
5672 * simple.el (auto-fill-mode, transient-mark-mode)
5673 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5674 (line-number-mode, column-number-mode, size-indication-mode)
5675 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5676 * strokes.el (strokes-mode):
5677 * time.el (display-time-mode):
5678 * t-mouse.el (gpm-mouse-mode):
5679 * tool-bar.el (tool-bar-mode):
5680 * tooltip.el (tooltip-mode):
5681 * type-break.el (type-break-mode-line-message-mode)
5682 (type-break-query-mode):
5683 * view.el (view-mode):
5684 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5685 (global-whitespace-mode, global-whitespace-newline-mode):
5686 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5688 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5689 Fix autogenerated docstring.
5691 2011-10-19 Juri Linkov <juri@jurta.org>
5693 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5694 by checking environment variables "DESKTOP_SESSION" and
5695 "XDG_CURRENT_DESKTOP". (Bug#9779)
5697 2011-10-19 Juri Linkov <juri@jurta.org>
5699 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5700 (browse-url-chromium-program, browse-url-chromium-arguments):
5702 (browse-url-default-browser): Check for `browse-url-chromium' and
5703 call `browse-url-chromium-program'.
5704 (browse-url-chromium): New command. (Bug#9779)
5706 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
5708 * facemenu.el (list-colors-duplicates): On Windows, detect more
5709 duplicates by assuming that only colors matching "^System" are
5710 special "system colors". (Bug#9722)
5712 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5714 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5715 to distinguish the author from the committer.
5717 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
5719 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5721 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5723 * international/mule.el (sgml-html-meta-auto-coding-function):
5724 Add support for detecting encoding in HTML5 specified only as
5725 <meta charset="UTF-8">. Implementation just makes http-equiv and
5726 content-type parts from HTML4 encoding string optional. (Bug#9716)
5728 2011-10-18 Glenn Morris <rgm@gnu.org>
5730 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5732 2011-10-18 Chong Yidong <cyd@gnu.org>
5734 * faces.el (cursor): Doc fix.
5736 2011-10-17 Chong Yidong <cyd@gnu.org>
5738 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5740 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
5742 * dirtrack.el (dirtrack): Support shell buffers with path
5743 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5745 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5747 * json.el: Bump version to 1.3 and note change in History.
5748 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5750 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5752 * comint.el (comint-insert-input, comint-send-input)
5753 (comint-get-old-input-default, comint-backward-matching-input)
5754 (comint-next-prompt): Use nil instead of `input' for field property of
5755 past user input (bug#114).
5757 * minibuffer.el (completion--replace): Inherit surrounding properties
5759 (minibuffer-complete-and-exit): Use it.
5761 * comint.el (comint--table-subvert): Quote the all-completions output
5764 2011-10-17 Martin Rudalics <rudalics@gmx.at>
5766 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
5768 * menu-bar.el (menu-bar-file-menu): Add entry for making new
5769 window on right of selected. (Bug#9350) Reword other window
5770 entries and separate them from frame entries.
5772 2011-10-15 Glenn Morris <rgm@gnu.org>
5774 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5777 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
5779 * net/network-stream.el (network-stream-open-starttls):
5780 Improve detection of failure due to lack of TLS support.
5782 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5783 putting the input text in front and in bold.
5785 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5787 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5789 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5792 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5793 unread-command-events rather than pushing yet-another event.
5795 2011-10-14 Eli Zaretskii <eliz@gnu.org>
5797 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5798 the explanation of the possible choices. Make the options passed
5799 to completing-read shorter.
5801 2011-10-13 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
5803 * textmodes/flyspell.el (flyspell-large-region): Make sure
5804 extended character mode is used if defined (Bug#1339).
5806 2011-10-13 Eli Zaretskii <eliz@gnu.org>
5808 * simple.el (what-cursor-position): Fix the display of the
5809 character info for LRE, LRO, RLE, and RLO characters by appending
5812 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5814 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5815 even in case of error; add debug spec; simplify data flow.
5816 (with-timeout-handler): Remove.
5818 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
5820 Fix Bug#6019, Bug#9315.
5822 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5823 complete `buffer-file-name', the local file name part could look
5824 remotely (for example on VMS).
5826 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5827 `tramp-run-real-handler'.
5828 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5829 already quoted by '"'.
5831 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5832 Let `file-name-handler-alist' be nil, the local file name part
5833 could look remotely (for example on VMS).
5835 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5837 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5839 (flyspell-post-command-hook): ...to here.
5841 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5843 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5845 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5846 using completion. Protect against "slow" callers.
5847 Remove the "message hack".
5849 2011-10-11 Juri Linkov <juri@jurta.org>
5851 * isearch.el (isearch-lazy-highlight-word): New variable.
5852 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5855 2011-10-11 Glenn Morris <rgm@gnu.org>
5857 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5858 like f90-previous-statement does.
5860 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5862 * eshell/eshell.el (eshell-command): History should be saved
5863 only in interactive use, to avoid error.
5865 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5867 * minibuffer.el (completion-file-name-table): Fix last change,
5868 i.e. ignore normal errors but not the other ones.
5870 2011-10-10 Martin Rudalics <rudalics@gmx.at>
5872 * window.el (special-display-buffer-names)
5873 (special-display-regexps): Remove some remnants of earlier
5874 changes from doc-strings.
5875 (quit-windows-on): New function.
5877 * vc/vc.el (vc-revert, vc-rollback):
5878 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5879 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
5880 (Bug#6183) (Bug#7074) (Bug#7447)
5882 2011-10-09 Martin Rudalics <rudalics@gmx.at>
5884 * window.el (frame-auto-hide-function): Add version tag.
5887 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
5889 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5892 2011-10-09 Leo Liu <sdl.web@gmail.com>
5894 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5897 2011-10-08 Glenn Morris <rgm@gnu.org>
5899 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5900 before the first code statement zero indent. (Bug#9690)
5902 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
5904 * simple.el (count-words-region): Always count in the region.
5905 Report the number of lines and characters too.
5906 (count-words): New command, which counts in the buffer if the
5907 region is inactive, as count-words-region used to.
5908 (count-words--message): New function. Handle plurals.
5909 (count-lines-region): Make it an alias for count-words-region.
5911 * bindings.el (esc-map): Replace count-lines-region with
5914 2011-10-08 Martin Rudalics <rudalics@gmx.at>
5916 * window.el (window--delete): Delete dedicated frame
5917 unconditionally when argument KILL is non-nil. (Bug#9699)
5918 (switch-to-buffer): Fix doc-string typo.
5920 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5922 * eshell/eshell.el (eshell-command): Avoid using hooks.
5924 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
5926 * bindings.el ([M-left],[M-right]): Bind to left-word and
5927 right-word respectively.
5929 2011-10-07 Glenn Morris <rgm@gnu.org>
5931 * cus-start.el (debug-on-quit): Fix custom type.
5933 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5935 * subr.el (define-key-after): Clarify that the function is not
5936 useful for non-menu keymaps.
5938 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5940 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5942 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
5943 in current minibuffer (Fix bug with recursive minibuffers).
5945 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
5947 * progmodes/gdb-mi.el (gdb): Doc fix.
5949 2011-10-05 Martin Rudalics <rudalics@gmx.at>
5951 * window.el (frame-auto-hide-function): New option replacing
5952 frame-auto-delete. Suggested by Stefan Monnier.
5953 (window--delete): Call frame-auto-hide-function instead of
5954 investigating frame-auto-delete.
5955 (window-point-1, set-window-point-1): New functions.
5956 (window-in-direction, record-window-buffer, window-state-get-1)
5957 (display-buffer-record-window): Use window-point-1 instead of
5959 (set-window-buffer-start-and-point): Use set-window-point-1.
5961 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5963 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5965 2011-10-05 Glenn Morris <rgm@gnu.org>
5967 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5968 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5970 2011-10-05 Leo Liu <sdl.web@gmail.com>
5972 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5973 works with buffer object.
5975 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5977 * mpc.el (mpc-tool-bar-map): Add labels.
5979 2011-10-04 Glenn Morris <rgm@gnu.org>
5981 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5983 2011-10-04 Martin Rudalics <rudalics@gmx.at>
5985 * window.el (window--delete): New function.
5986 (frame-auto-delete): Resuscitate option.
5987 (bury-buffer, replace-buffer-in-windows)
5988 (quit-window): Rewrite using window--delete.
5989 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5990 Pass display-buffer-mark-dedicated to window--display-buffer-2
5993 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5995 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5996 returns a list (bug#9554). Add remote file name completion.
5997 * comint.el (comint--table-subvert): Curry and get quote&unquote
5998 functions as arguments.
5999 (comint--complete-file-name-data): Adjust call accordingly.
6000 * pcomplete.el (pcomplete--table-subvert): Remove.
6001 (pcomplete-completions-at-point): Use comint--table-subvert instead.
6003 * minibuffer.el (completion-table-case-fold): Use currying.
6004 (completion--styles-type, completion--cycling-threshold-type):
6006 (completion-styles, completion-category-overrides)
6007 (completion-cycle-threshold): Use them.
6008 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6009 completion-table-case-fold.
6011 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
6013 * minibuffer.el (completion-category-overrides): Fix type of styles
6014 and add more user friendly tags (bug#9660).
6016 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6018 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
6019 (mule-input-method-string): New widget.
6020 (default-input-method, language-info-custom-alist): Use it.
6022 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6024 * pcomplete.el: Require comint.
6025 (pcomplete--common-suffix): Remove.
6026 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
6027 (pcomplete--table-subvert): Sync with comint--table-subvert.
6028 (pcomplete--entries): Use comint-completion-file-name-table.
6029 * comint.el (comint-unquote-filename): Simplify.
6030 (comint-completion-file-name-table): New function (bug#9616).
6031 (comint--complete-file-name-data): Use it.
6033 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6034 (pcmpl-gnu-tar-buffer): Remove.
6035 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
6036 around. Make sure pcomplete-suffix-list is only changed temporarily.
6037 Don't look inside the tar's file if it's too large.
6039 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
6041 * cus-edit.el (custom-mode-map):
6042 * epa.el (epa-key-list-mode-map):
6043 * man.el (Man-mode-map):
6044 * startup.el (splash-screen-keymap):
6045 * simple.el (special-mode-map): Use scroll-up-command and
6046 scroll-down-command.
6048 * progmodes/idlw-help.el (idlwave-help-mode-map):
6049 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6050 * net/newst-plainview.el (newsticker-mode-map):
6051 * emulation/ws-mode.el (wordstar-mode-map):
6052 * emulation/vi.el (vi-com-map):
6053 * calc/calc-graph.el (calc-graph-show-dumb):
6054 * term/sun.el (terminal-init-sun):
6055 * term/ns-win.el (global-map):
6056 * progmodes/grep.el (grep-mode-map):
6057 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6058 * mail/rmail.el (rmail-mode-map):
6059 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6061 * custom.el (custom-safe-themes, load-theme): Treat value of t for
6062 custom-safe-themes as special.
6064 2011-10-01 Julien Danjou <julien@danjou.info>
6066 * notifications.el (notifications-notify): Fix docstring.
6068 2011-10-01 Per Starbäck <per@starback.se>
6070 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
6072 2011-09-30 Martin Rudalics <rudalics@gmx.at>
6074 * startup.el (command-line-1): Fix last fix by inserting
6075 initial-scratch-message into *scratch* before displaying it.
6076 (Bug#9605) and (Bug#9636)
6078 2011-09-29 Eli Zaretskii <eliz@gnu.org>
6080 * simple.el (line-move): If auto-hscroll-mode is disabled and the
6081 window is hscrolled, move by logical lines. (Bug#9607)
6082 (line-move-visual): Update the doc string to the above effect.
6084 2011-09-29 Martin Rudalics <rudalics@gmx.at>
6086 * window.el (display-buffer-record-window): When WINDOW is the
6087 selected window use `point' instead of `window-point'. (Bug#9626)
6089 * startup.el (command-line-1): Use insert-before-markers when
6090 inserting initial-scratch-message. (Bug#9605)
6092 * help.el (help-window): Remove variable.
6094 2011-09-29 Glenn Morris <rgm@gnu.org>
6096 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6098 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
6100 * descr-text.el (describe-char-categories): Accept category
6101 descriptions more than one line long.
6103 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6105 * simple.el (delete-trailing-whitespace): Fix last change.
6107 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6108 Don't confuse "y => 3" as the beginning of a `y' operation.
6110 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6111 object has more than 4 slots (bug#9613).
6113 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
6115 * subr.el (with-output-to-temp-buffer):
6116 * net/quickurl.el (quickurl, quickurl-browse-url):
6117 Fix typos in docstrings.
6119 2011-09-27 Eli Zaretskii <eliz@gnu.org>
6121 * minibuffer.el (completion-styles)
6122 (completion-category-overrides): Cross reference each other in doc
6125 2011-09-27 Glenn Morris <rgm@gnu.org>
6127 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6128 to split-string. (Bug#9606)
6130 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6132 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6135 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
6137 * emacs-lisp/package.el (list-packages): Fix echo area message.
6139 2011-09-27 Leo Liu <sdl.web@gmail.com>
6141 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6143 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
6145 * net/dbus.el (dbus-unregister-object): Don't release services for
6146 registered signals. (Bug#9581)
6148 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6150 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6151 function that picks between cfengine 2 and 3 support
6152 automatically. Update docs accordingly.
6154 2011-09-22 Kenichi Handa <handa@m17n.org>
6156 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6158 (indian-itrans-v5-table-for-tamil): New variable.
6159 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6161 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6163 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6164 that's true if the current command involved collapsing of text.
6165 It's reset to false at the beginning of the next command.
6166 (allout-post-command-business): Move the cursor to the beginning
6167 of entry if the cursor is hidden and collapsing activity just
6170 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
6172 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6173 tracking (Bug#9541).
6175 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
6177 * net/newst-reader.el (newsticker-html-renderer)
6178 (newsticker-show-news): Automatically load html rendering package
6179 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6180 because w3m-fill-column is let-bound" and the error "Symbol's value
6181 as variable is void: w3m-fill-column".
6183 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
6185 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6186 Release services only if they are defined. (Bug#9581)
6188 2011-09-23 Richard Stallman <rms@gnu.org>
6190 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6191 distinguish start of paragraph from start of its text.
6193 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6195 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6196 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6197 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6199 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6201 * international/mule-diag.el (mule-diag): Insert a newline after
6202 each fontset description.
6204 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6206 * simple.el (delete-trailing-whitespace):
6207 Document last change; simplify.
6209 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6211 * simple.el (delete-trailing-whitespace): Also delete
6212 extra newlines at the end of the buffer.
6214 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6215 (picture-newline): Use forward-line so as to ignore fields.
6217 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6219 * subr.el (with-wrapper-hook): Fix edebug spec.
6221 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6223 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6226 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
6228 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6229 Fix nasty bug using wrong cached values.
6231 2011-09-23 Alan Mackenzie <acm@muc.de>
6233 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6235 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
6237 * window.el (pop-to-buffer): Ensure right window is selected if we
6238 chose another frame.
6240 2011-09-22 Eli Zaretskii <eliz@gnu.org>
6242 * simple.el (what-cursor-position): Use get-char-property-change
6243 and next-single-char-property-change, to be able to show display
6244 properties that come from overlays as well as text properties.
6246 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
6248 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6250 * cmuscheme.el (run-scheme, switch-to-scheme):
6251 * cus-edit.el (customize-group, custom-buffer-create)
6255 * mail/sendmail.el (mail):
6256 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6258 2011-09-22 Richard Stallman <rms@gnu.org>
6260 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6261 move back only to line beg, don't move back over blank lines.
6263 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
6265 * files.el (copy-directory): Set directory attributes only in case
6266 they could be retrieved from the source directory. (Bug#9565)
6268 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6270 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6271 (hs-find-block-beginning, hs-hide-level-recursive):
6272 Ignore strings as well as comments. (Bug#9502)
6274 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6276 * progmodes/sql.el (sql-comint-postgres):
6277 Convert port number to a string. (Bug#9566)
6279 2011-09-22 Martin Rudalics <rudalics@gmx.at>
6281 * window.el (quit-window): Undedicate window when switching to
6282 previous buffer. Reported by Thierry Volpiatto
6283 <thierry.volpiatto@gmail.com>.
6284 (special-display-popup-frame): When popping up a new frame reset
6285 its previous buffers to nil. Simplify code.
6287 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
6289 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6290 and process filter, as done also in `shell-command'.
6292 2011-09-21 Martin Rudalics <rudalics@gmx.at>
6294 * window.el (set-window-buffer-start-and-point):
6295 Call set-window-start with NOFORCE argument t.
6296 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
6297 (quit-window): Reword doc-string. Handle new format of
6298 quit-restore parameter. Don't delete window if it has a
6299 previous buffer we can show instead of the present one.
6300 (display-buffer-record-window): Rewrite using a new format for
6301 the quit-restore window parameter
6302 (special-display-popup-frame, display-buffer-same-window)
6303 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6304 (display-buffer-pop-up-window, display-buffer-use-some-window):
6305 Adapt symbol passed to display-buffer-record-window.
6306 * help.el (help-window-setup): Handle new format of quit-restore
6309 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6311 * faces.el (face-list): Fix docstring (bug#9564).
6313 * window.el (display-buffer--action-function-custom-type):
6314 Don't include internal functions in the Custom interface.
6316 2011-09-20 Juri Linkov <juri@jurta.org>
6318 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6319 (Info-forward-node, Info-backward-node, Info-next-preorder)
6320 (Info-last-preorder): Use it. (Bug#9528)
6322 2011-09-20 Juri Linkov <juri@jurta.org>
6324 * info.el (Info-last-preorder): Visit last menu item only when
6325 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6327 2011-09-20 Julien Danjou <julien@danjou.info>
6329 * password-cache.el (password-cache-remove): Remove entries even if the
6330 value is nil, so that password with a nil value (negative caching) is
6331 possible to invalidate.
6333 2011-09-20 Lawrence Mitchell <wence@gmx.li>
6335 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6336 all whitespace around breakpoint. (Bug#9553)
6337 (f90-find-breakpoint): Only break at whitespace inside a comment.
6339 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6341 * minibuffer.el (completion-file-name-table): Keep track of errors.
6342 (completion-table-with-predicate): Handle the case where pred1 is nil.
6343 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6345 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6347 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6348 (debugger-return-value): Signal an error if the debugging context does
6349 not await any return value.
6351 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6352 * image-mode.el (image-toggle-display-text)
6353 (image-toggle-display-image): Stay away from evil `intangible'.
6355 2011-09-19 Leo Liu <sdl.web@gmail.com>
6357 * replace.el (occur-revert-arguments): Make it permanent-local.
6358 (occur-mode): Don't call font-lock-defontify.
6360 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
6362 * net/ldap.el (ldap-search-internal): Don't push empty search
6365 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6367 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6369 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
6371 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6372 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6374 2011-09-18 Juri Linkov <juri@jurta.org>
6376 * buff-menu.el (Buffer-menu-mode-map):
6377 * dired.el (dired-mode-map):
6378 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6379 (lisp-interaction-mode-map):
6380 * emacs-lisp/package.el (package-menu-mode-map):
6381 * epa.el (epa-key-list-mode-map):
6382 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6383 (menu-bar-options-menu):
6384 * outline.el (outline-mode-menu-bar-map):
6385 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6386 * vc/vc-dir.el (vc-dir-menu-map):
6387 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6388 Capitalize non-function content words in menu item strings.
6390 * dired.el (dired-mode-map): Add menu item for
6391 `image-dired-dired-toggle-marked-thumbs'.
6393 2011-09-18 Juri Linkov <juri@jurta.org>
6395 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6396 to `isearch-case-fold-search' and restore its original value
6397 after the `isearch-mode' call.
6399 2011-09-18 Juri Linkov <juri@jurta.org>
6401 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6402 because `zgrep' returns 1 for successful matches (bug#9226).
6404 2011-09-18 Juri Linkov <juri@jurta.org>
6406 * info.el (Info-extract-menu-node-name): Check the second match
6407 for empty string (second test-case of bug#9528).
6408 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6409 intermediate nodes to the history (first test-case of bug#9528).
6411 2011-09-18 Juri Linkov <juri@jurta.org>
6413 * info.el (Info-mode-syntax-table): New variable.
6414 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
6416 2011-09-18 Juri Linkov <juri@jurta.org>
6418 * info.el (Info-file-supports-index-cookies):
6419 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6420 outputs one more line for long file names (bug#4142).
6422 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
6424 * newcomment.el (comment-normalize-vars): If prompting for
6425 comment-start, set comment-start-skip too (Bug#8424).
6427 2011-09-18 Johan Bockgård <bojohan@gnu.org>
6429 * icomplete.el: Fix previous fix of Bug#5849.
6430 (icomplete-mode): Don't set completion-show-inline-help.
6431 (icomplete-minibuffer-setup): Set completion-show-inline-help
6432 locally during icompletion.
6434 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
6436 * woman.el (woman2-process-escapes): Don't delete unrecognized
6439 * files.el (inhibit-first-line-modes-regexps): Add image files.
6440 (hack-local-variables-prop-line): Return nil for malformed
6441 prop-lines (Bug#9044).
6443 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
6445 * net/tramp.el (top): Don't require 'shell.
6446 (tramp-methods): Fix docstring.
6447 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
6448 Return complete remote file name. Handle "smb" case.
6449 Use `tramp-tmpdir', if defined for the respective method.
6450 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6452 * net/tramp-compat.el (top): Require 'shell.
6454 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6455 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6456 `tramp-current-host'.
6457 (tramp-get-remote-tmpdir): Remove.
6459 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6460 `tramp-tmpdir' entries.
6461 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6462 (tramp-smb-handle-file-attributes): Ignore errors.
6463 (tramp-smb-wait-for-output): Check also for process end.
6465 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6467 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6468 when sending QUIT (bug#9312).
6470 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
6472 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6473 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6474 occur-mode-display-occurrence.
6475 (occur-edit-mode): Add usage message.
6476 (occur-cease-edit): New command.
6477 (occur-after-change-function): Use text properties to find the
6478 position of the prefix text.
6479 (occur-engine): Set stickiness of prefix text properties.
6481 2011-09-17 Glenn Morris <rgm@gnu.org>
6483 * progmodes/etags.el (complete-tag):
6484 Fix call to completion-in-region. (Bug#9526)
6486 2011-09-17 Juri Linkov <juri@jurta.org>
6488 * textmodes/ispell.el (ispell-word): Add to the error message
6489 the word, ispell program name and current dictionary (bug#9121).
6490 (ispell-tex-arg-end): Capitalize "error" in the error message.
6492 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6494 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6497 2011-09-17 Juri Linkov <juri@jurta.org>
6499 * window.el (window-safe-min-height, window-safe-min-width):
6500 Fix typos (followup to bug#9522).
6502 2011-09-17 Sven Joachim <svenjoac@gmx.de>
6504 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6506 2011-09-16 Eli Zaretskii <eliz@gnu.org>
6508 * simple.el (line-move): If goal-column is set, move by logical
6509 lines, not by display lines. (Bug#971)
6510 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6511 to reflect the above change.
6513 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6515 * image.el (imagemagick-register-types): Use regexp-opt.
6517 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
6519 * window.el (display-buffer-base-action): Rename from
6520 display-buffer-default-action. Make default value empty.
6521 (display-buffer-overriding-action): Convert to defvar.
6522 (display-buffer-fallback-action): New var.
6524 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
6526 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6528 (package--add-to-archive-contents): If there is a duplicate entry
6529 with an older version, remove it.
6530 (package-menu-mark-delete, package-menu-mark-install)
6531 (package-menu-mark-unmark): Make unused args optional.
6532 (package-menu-mark-obsolete-for-deletion):
6533 Use package-menu-get-status instead of a regexp search.
6534 (package-menu-get-status): Use tabulated-list-entry.
6535 (package-menu-mark-upgrades): New command.
6536 (package-menu-mode-map): Bind it to U. Add it to menu bar.
6537 (package-menu-execute): Do installation before deletion.
6538 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6539 instead of checking major-mode.
6540 (package-menu--find-upgrades): New function.
6542 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6544 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6545 passwords in the log buffer.
6546 (smtpmail-process-filter): Update the process marker so that the
6547 "broken by peer" status message is inserted in the right place.
6549 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6551 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6552 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6553 bibtex-completion-at-point-function.
6554 (bibtex-completion-at-point-function): Use them.
6556 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6558 * mpc.el (mpc-constraints-tag-lookup): New function.
6559 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6560 also to browser "album|playlist".
6562 2011-09-14 Juri Linkov <juri@jurta.org>
6564 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6565 (isearch-edit-string): Use length of `isearch-string' when
6566 `isearch-fail-pos' returns nil.
6567 (isearch-message): Remove duplicate code and call
6568 `isearch-fail-pos' with arg `t'.
6570 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
6572 * replace.el (occur-mode-goto-occurrence): Don't force using other
6575 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6577 2011-09-14 Martin Rudalics <rudalics@gmx.at>
6579 * window.el (display-buffer-window): Remove.
6580 (display-buffer-record-window): Use help-setup window parameter
6581 instead of variable display-buffer-window.
6582 (display-buffer-function, special-display-buffer-names)
6583 (special-display-function): Mention help-setup parameter instead
6584 of display-buffer-window in doc-string.
6585 * help.el (help-window-setup): New argument help-window.
6586 Use help-window-setup parameter instead of display-buffer-window.
6587 Reword some messages.
6588 (with-help-window): Pass window used for displaying the buffer
6589 to help-window-setup. Don't set display-buffer-window.
6591 2011-09-13 Glenn Morris <rgm@gnu.org>
6593 * emacs-lisp/debug.el (debugger-make-xrefs):
6594 Preserve point. (Bug#9462)
6596 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6598 * window.el (window-deletable-p): Use next-frame.
6600 2011-09-13 Martin Rudalics <rudalics@gmx.at>
6602 * window.el (window-auto-delete): Remove.
6603 (window-deletable-p): Remove argument FORCE. Don't deal with
6604 dedication and previous buffers.
6605 (switch-to-prev-buffer): Don't delete window.
6606 (delete-windows-on): Delete a window's frame if and only if the
6607 window is dedicated.
6608 (replace-buffer-in-windows): Delete buffer's window or frame if
6609 and only if window is dedicated.
6610 (quit-window): Handle quit-restore as before last change.
6611 (bury-buffer): Delete window only if window-deletable-p returns t.
6613 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6615 * window.el (window-deletable-p): Never delete the last frame on a
6618 2011-09-13 Glenn Morris <rgm@gnu.org>
6620 * help.el (describe-key-briefly): Copy previous standard-output change.
6622 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
6624 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6626 2011-09-13 Glenn Morris <rgm@gnu.org>
6628 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6629 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6631 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
6633 * dired-aux.el (dired-mark-read-string): Don't return default
6634 value on empty input (Bug#9361).
6635 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6636 Omit initial minibuffer contents.
6637 (dired-do-chmod): Signal an error on empty input.
6638 (dired-mark-read-string): Don't return default on empty input.
6640 * files.el (file-modes-symbolic-to-number): Doc fix.
6642 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6644 * international/mule-cmds.el (ucs-completions): Remove.
6645 (read-char-by-name): Use complete-with-action instead; add metadata.
6647 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6649 * window.el (display-buffer--action-function-custom-type)
6650 (display-buffer--action-custom-type): New vars.
6651 (display-buffer-alist, display-buffer-default-action)
6652 (display-buffer-overriding-action): Add defcustom types.
6654 * frame.el (delete-other-frames): Doc fix (Bug#276).
6656 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6658 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6660 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6662 Change modes that used same-window-* vars to use switch-to-buffer.
6664 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6665 Use switch-to-buffer.
6667 * cus-edit.el (customize-group, custom-buffer-create)
6668 (customize-browse, custom-buffer-create-other-window):
6669 Use switch-to-buffer or switch-to-buffer-other-window.
6671 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6672 (Info-prev, Info-up, Info-speedbar-goto-node)
6673 (info-display-manual): Use switch-to-buffer.
6674 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6676 * mail/sendmail.el (mail): Use switch-to-buffer.
6677 (mail-recover): Use switch-to-buffer-other-window.
6679 * cmuscheme.el (run-scheme, switch-to-scheme):
6682 * net/rlogin.el (rlogin):
6683 * net/telnet.el (telnet, rsh):
6684 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6686 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6688 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6690 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6692 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6693 so don't mention it (bug#9301).
6694 (dired-sort-toggle-or-edit): Clarify string further.
6696 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6697 match `x', `w32' and `ns', like the manual says (bug#9029).
6699 * subr.el (eval-after-load): Doc string clarification (bug#9125).
6700 (process-kill-buffer-query-function): Mention the buffer name in
6703 * image-mode.el (image-next-line): The line parameter is mandatory
6706 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6707 which can be useful (bug#9301).
6709 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6711 * subr.el (match-string): Mention that the current buffer should
6712 be the same as the search was done in (bug#9282).
6714 * facemenu.el: Disable the remove-* commands if the mark isn't
6717 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6719 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6721 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6723 * replace.el (occur-mode-goto-occurrence)
6724 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6727 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6730 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6731 special-display and same-window variables.
6732 (mail-other-window): Use switch-to-buffer-other-window.
6733 (mail-other-frame): USe switch-to-buffer-other-frame.
6735 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6736 Use display-buffer-other-frame.
6737 (gdb-display-gdb-buffer): Use pop-to-buffer.
6739 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6741 * progmodes/python.el: Don't set same-window-buffer-names.
6743 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6745 * window.el (display-buffer-alist): Add *Python*.
6747 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6749 * window.el (display-buffer-alist): Add entry for buffers
6750 previously handled same-window-*.
6751 (display-buffer-alist, display-buffer-default-action)
6752 (display-buffer-overriding-action): Mark as risky.
6753 (display-buffer-alist): Document action function changes.
6754 (display-buffer--same-window-action)
6755 (display-buffer--other-frame-action): New variables.
6756 (switch-to-buffer, display-buffer-other-frame): Use them.
6757 (display-buffer): Rename reuse-frame entry to reusable-frames.
6758 (display-buffer-reuse-selected-window): Function deleted.
6759 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6760 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6761 (display-buffer-special): New function.
6762 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6763 display-buffer-reuse-or-pop-window. Split off special-display
6764 part into display-buffer-special.
6765 (display-buffer-use-some-window): Don't perform any special
6766 pop-up-frames handling.
6767 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
6768 (display-buffer--maybe-same-window): Rename from
6769 display-buffer-maybe-same-window.
6771 * info.el: Don't set same-window-regexps.
6772 (info-setup): New function.
6773 (info-other-window, info): Call it.
6775 * cus-edit.el: Don't set same-window-regexps.
6776 (customize-group): New argument.
6777 (customize-group-other-window): Use it.
6778 (customize-face, customize-face-other-window): Likewise.
6779 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6783 * progmodes/gud.el: Don't set same-window-regexps.
6789 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6791 2011-09-10 Juri Linkov <juri@jurta.org>
6793 * isearch.el (isearch-edit-string): Remove obsolete mention of
6794 `C-w' (`isearch-yank-word-or-char') from docstring.
6795 (isearch-query-replace): Fix typo in docstring (bug#9466).
6797 2011-09-10 Juri Linkov <juri@jurta.org>
6799 * paren.el (show-paren-function): Don't show escaped parens.
6800 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6802 2011-09-10 Eli Zaretskii <eliz@gnu.org>
6804 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6805 (mm-default-file-encoding): Remove autoload forms, they are
6806 replaced with autoload cookies in mml.el and mm-encode.el.
6807 (mail-add-attachment): New command.
6808 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6809 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6811 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6813 2011-09-10 Reuben Thomas <rrt@sc3d.org>
6815 * simple.el (count-words-region): Use buffer if there's no region
6818 2011-09-09 Juri Linkov <juri@jurta.org>
6820 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6821 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6822 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6824 2011-09-09 Alan Mackenzie <acm@muc.de>
6826 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6827 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6829 2011-09-09 Eli Zaretskii <eliz@gnu.org>
6831 Fix for Savannah bug#9392.
6832 * simple.el (mail-encode-mml): New defvar.
6834 * mail/rmail.el (mail-encode-mml): Add a defvar.
6835 (rmail-enable-mime-composing): Default to t.
6836 (rmail-forward): Use MIME method of forwarding only if both
6837 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6838 Set mail-encode-mml non-nil if the MIME method was used.
6840 * mail/sendmail.el (mml-to-mime): Add autoload form.
6841 (mail-encode-mml): Add a defvar.
6842 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6844 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6845 message through mml-to-mime, and reset mail-encode-mml to nil.
6847 2011-09-09 Glenn Morris <rgm@gnu.org>
6849 * woman.el (woman-if-body): When processing an .el block,
6850 do not delete the next .el block as well. (Bug#9447)
6851 (woman-special-characters): Add oq, cq, and hy characters.
6853 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6855 * window.el (window-deletable-p): Make sure window is live before
6856 invoking window-prev-buffers.
6858 2011-09-08 Leo Liu <sdl.web@gmail.com>
6860 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6862 2011-09-08 Juri Linkov <juri@jurta.org>
6864 * progmodes/compile.el (compilation-environment): Make it
6865 a defcustom (bug#8340).
6867 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6869 * window.el (frame-auto-delete): Rename to window-auto-delete.
6870 Make it control auto-deletion of windows and/or frames.
6871 (window-deletable-p): New argument FORCE. Rewrite conditions
6872 for deleting window/frame. (Bug#9419)
6873 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6874 Rewrite handling of case when window/frame can be deleted.
6875 (delete-windows-on): Call window-deletable-p with new FORCE
6876 argument t. (Bug#9456)
6878 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
6880 * help-mode.el (help-mode): Restore autoload.
6882 2011-09-07 Juri Linkov <juri@jurta.org>
6884 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6885 `compilation-environment'. Set buffer-local
6886 `compilation-environment' to `thisenv' later after (funcall mode).
6889 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6890 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6891 instead of replacing its value. (Bug#8340)
6893 2011-09-07 Juri Linkov <juri@jurta.org>
6895 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6896 based on text properties put by `grep-filter' instead of matching
6898 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6899 to the value of `grep-error-screen-columns' (bug#9438).
6901 2011-09-07 Juri Linkov <juri@jurta.org>
6903 * simple.el (next-error-highlight, next-error-highlight-no-select):
6906 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6908 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6909 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6911 2011-09-07 Leo Liu <sdl.web@gmail.com>
6913 * net/rcirc.el (rcirc-mode): Conditionally initialize
6916 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6918 * emacs-lisp/find-func.el (find-function-C-source): Only set
6919 find-function-C-source-directory after checking that we found a source
6920 file there (bug#9440).
6922 2011-09-06 Alan Mackenzie <acm@muc.de>
6924 * isearch.el (isearch-other-meta-char): Wherever a key list is
6925 unread, "unread" the prefix arg, too. This fixes bug #8901.
6927 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6929 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6931 2011-09-05 Juri Linkov <juri@jurta.org>
6933 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6935 2011-09-05 Juri Linkov <juri@jurta.org>
6937 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6938 keeping point where processing of grep matches begins, and
6939 continue to delete remaining escape sequences from the same point.
6940 (grep-filter): Make leading zero optional in "0?1;31m" because
6941 git-grep emits "\033[1;31m" escape sequences unlike expected
6942 "\033[01;31m" as GNU Grep does (bug#9408).
6943 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6945 2011-09-05 Juri Linkov <juri@jurta.org>
6947 * subr.el (y-or-n-p): Capitalize "yes".
6949 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
6951 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6952 `tramp-cache-unload-hook' where appropriate.
6953 (tramp-methods): Rename `tramp-remote-sh' to
6954 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6955 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6957 * net/tramp-sh.el (top): Don't require 'shell.
6958 (tramp-methods): Add `tramp-remote-shell' and
6959 `tramp-remote-shell-args' entries.
6960 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6961 (tramp-sh-handle-shell-command): Remove.
6962 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6963 Use `tramp-remote-shell'.
6965 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
6967 * mail/sendmail.el (sendmail-query-once-function): Delete.
6968 (sendmail-query-once): Save directly to send-mail-function.
6969 Update message-send-mail-function too.
6971 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6973 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6975 * progmodes/python.el (python-mode-map): Use correct function to
6976 start python interpreter from menu-bar (as reported by Geert
6978 (inferior-python-mode-map): Fix typo.
6979 (python-shell-map): Remove.
6981 2011-09-03 Deniz Dogan <deniz@dogan.se>
6983 * net/rcirc.el (rcirc-print): Simplify code for
6984 rcirc-scroll-show-maximum-output. There is no need to walk
6985 through all windows to find the right one.
6987 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6989 * help.el (help-return-method): Doc fix.
6991 2011-09-03 Martin Rudalics <rudalics@gmx.at>
6993 * window.el (window-deletable-p): Don't return a non-nil value
6994 when there's a buffer that was shown in the window before.
6996 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6997 Set window's previous buffers to nil.
6999 2011-09-03 Eli Zaretskii <eliz@gnu.org>
7001 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7002 newline before and after the tag line, so it doesn't interfere
7003 with determining the paragraph direction of bidirectional text.
7005 2011-09-03 Leo Liu <sdl.web@gmail.com>
7007 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
7009 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
7011 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
7012 (pop-to-buffer): Change interactive spec. Pass second argument
7013 directly to display-buffer.
7014 (display-buffer): Fix interactive spec. Use functionp to
7015 distinguish between a function and a list of functions.
7017 * abbrev.el (edit-abbrevs):
7018 * arc-mode.el (archive-extract):
7019 * autoinsert.el (auto-insert):
7020 * bookmark.el (bookmark-bmenu-list):
7021 * files.el (find-file):
7022 * view.el (view-buffer):
7023 * progmodes/compile.el (compilation-goto-locus):
7024 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
7026 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
7028 * window.el (display-buffer-alist): Doc fix.
7029 (display-buffer): Add docstring. Don't treat
7030 display-buffer-default specially.
7031 (display-buffer-reuse-selected-window)
7032 (display-buffer-same-window, display-buffer-maybe-same-window)
7033 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7034 (display-buffer-pop-up-window)
7035 (display-buffer-reuse-or-pop-window)
7036 (display-buffer-use-some-window): New functions.
7037 (display-buffer-default-action): Use them.
7038 (display-buffer-default): Delete.
7039 (pop-to-buffer-1): Fix choice of actions.
7041 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7043 * minibuffer.el (completion--insert-strings): Don't get confused by
7044 completion entries that end with an LF char.
7046 2011-09-01 Eli Zaretskii <eliz@gnu.org>
7048 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7050 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
7052 * window.el (display-buffer): Restore interactive spec.
7053 (display-buffer-same-window, display-buffer-other-window):
7055 (pop-to-buffer-1): New function. Use the above.
7056 (pop-to-buffer, pop-to-buffer-same-window): Use it.
7057 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
7059 * view.el (view-buffer-other-window, view-buffer-other-frame):
7060 Just use pop-to-buffer.
7062 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7064 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
7066 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
7068 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
7070 2011-08-31 Richard Stallman <rms@gnu.org>
7072 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7073 of the separation of rmail-view-buffer from rmail-buffer.
7074 If you say no to "replace original", the decrypt is in the
7075 view buffer. If you say yes, the decrypt goes into the
7078 2011-08-31 Martin Rudalics <rudalics@gmx.at>
7080 * window.el (display-buffer-window): Rewrite doc-string.
7081 (display-buffer-record-window): New function.
7082 (display-buffer-macro-specifiers)
7083 (display-buffer-even-window-sizes, display-buffer-set-height)
7084 (display-buffer-set-width, display-buffer-in-window)
7085 (display-buffer-reuse-window, display-buffer-split-specifiers)
7086 (display-buffer-side-specifiers, display-buffer-split-window-1)
7087 (display-buffer-split-window, display-buffer-split-atom-window)
7088 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7089 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7090 (display-buffer-other-window-means-other-frame)
7091 (display-buffer-normalize-special)
7092 (display-buffer-normalize-default)
7093 (display-buffer-normalize-argument)
7094 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7095 (display-buffer-normalize-specifiers, display-buffer-frame)
7096 (display-buffer-same-window, display-buffer-same-frame)
7097 (display-buffer-other-window)
7098 (display-buffer-same-frame-other-window)
7099 (display-buffer-other-frame, pop-to-buffer-same-window)
7100 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7101 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7102 (switch-to-buffer-same-frame)
7103 (switch-to-buffer-other-window-same-frame)
7104 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7105 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7106 (display-buffer-alist-set): Remove.
7107 (display-buffer-function, special-display-buffer-names)
7108 (special-display-regexps, special-display-function):
7109 In doc-string refer to display-buffer-window and quit-restore
7111 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7112 (special-display-frame-alist, special-display-popup-frame)
7113 (same-window-buffer-names, same-window-regexps, same-window-p)
7114 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7115 (split-window-preferred-function, split-height-threshold)
7116 (split-width-threshold, window-splittable-p)
7117 (split-window-sensibly, window--try-to-split-window)
7118 (window--frame-usable-p, even-window-heights)
7119 (window--even-window-heights, window--display-buffer-1)
7120 (window--display-buffer-2, display-buffer-other-frame):
7121 Restore old Emacs 23 code, order and doc-strings where applicable.
7122 (display-buffer-default, display-buffer-assq-regexp): New functions.
7123 (display-buffer-alist): Rewrite doc-string.
7124 (display-buffer-default-action)
7125 (display-buffer-overriding-action): New variables.
7126 (display-buffer, switch-to-buffer): Rewrite.
7127 (pop-to-buffer): Restore Emacs 23 behavior but use
7128 window-normalize-buffer-to-display.
7129 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7130 Restore Emacs 23 behavior but use
7131 window-normalize-buffer-to-switch-to.
7132 (pop-to-buffer-same-window): Rewrite.
7133 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7134 Rewrite using Emacs 23 options.
7136 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
7138 * net/tramp.el (tramp-root-regexp): Remove.
7139 (tramp-completion-file-name-regexp-unified)
7140 (tramp-completion-file-name-regexp-separate)
7141 (tramp-completion-file-name-regexp-url): Don't use leading volume
7142 letter on win32 systems. (Bug#5303, Bug#9311)
7143 (tramp-drop-volume-letter): Simplify definition.
7144 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
7146 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7148 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7151 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7153 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
7155 2011-08-29 Juri Linkov <juri@jurta.org>
7157 * isearch.el (isearch-done): Don't display message "Mark saved"
7158 when arg `edit' is non-nil to prevent its flicker in the echo area.
7160 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
7162 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7163 obsolete packages for deletion.
7165 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7167 * help-mode.el (help-mode-map): Add special-mode-map to parent.
7168 (help-mode): Derive help-mode from special-mode. Don't invoke
7169 view-mode from help-mode.
7170 (help-xref-override-view-map): Remove.
7171 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7172 view-mode is not used anymore.
7174 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
7176 * server.el (server-port): Doc fix.
7178 * cus-theme.el (custom-theme-choose-mode): Inherit from
7179 special-mode (Bug#9124).
7180 (custom-theme-choose-mode-map): Add special-mode to parent.
7182 2011-08-28 Alan Mackenzie <acm@muc.de>
7184 * progmodes/cc-fonts.el
7185 (c-make-font-lock-BO-decl-search-function): New function.
7186 (c-basic-matchers-after - "Fontify the clauses after various
7187 keywords"): Extract the three keyword lists for the 3 erroneous
7188 constructs from the list of four, and use the new function above
7189 in place of an old one.
7191 2011-08-28 Deniz Dogan <deniz@dogan.se>
7193 * net/rcirc.el (rcirc-insert-prev-input)
7194 (rcirc-insert-next-input): Remove unused argument.
7196 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7198 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7200 2011-08-27 Alan Mackenzie <acm@muc.de>
7202 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7203 handle function pointer parameters properly.
7205 2011-08-27 Martin Rudalics <rudalics@gmx.at>
7207 * window.el (display-buffer-reuse-window): Fix case where
7208 selected window was reused with non-nil OTHER-WINDOW argument.
7211 2011-08-27 Deniz Dogan <deniz@dogan.se>
7213 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7214 oftc's NickServ messages.
7216 2011-08-27 Glenn Morris <rgm@gnu.org>
7218 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7220 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
7222 * emacs-lisp/package.el (package-install): Call package-initialize
7223 if called interactively.
7225 2011-08-26 Leo Liu <sdl.web@gmail.com>
7227 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7229 2011-08-25 Juri Linkov <juri@jurta.org>
7231 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7232 `search-whitespace-regexp' (bug#9364).
7234 2011-08-25 Juri Linkov <juri@jurta.org>
7236 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7237 `regexp-search-ring' to their global values to protect from
7238 updating by `read-from-minibuffer' (bug#9185).
7240 2011-08-25 Juri Linkov <juri@jurta.org>
7242 * textmodes/ispell.el (ispell-command-loop): Add newline
7243 at the end of the "Use option `i'..." line.
7245 2011-08-25 Juri Linkov <juri@jurta.org>
7247 * battery.el (display-battery-mode): If `battery-status-function'
7248 or `battery-mode-line-format' is nil, display the message and set
7249 `display-battery-mode' to nil (bug#9363).
7251 2011-08-25 Eli Zaretskii <eliz@gnu.org>
7253 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7254 bidi-string-mark-left-to-right; they are unnecessary now.
7256 2011-08-25 Deniz Dogan <deniz@dogan.se>
7258 * net/quickurl.el: Documentation typo fixes.
7260 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
7262 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7264 2011-08-25 Glenn Morris <rgm@gnu.org>
7266 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7268 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7269 (smtpmail-via-smtp): Handle nil response from smtp.
7271 2011-08-24 Juri Linkov <juri@jurta.org>
7273 * proced.el (proced-marked): Inherit from `error' instead of
7274 `font-lock-warning-face'.
7276 * ibuffer.el (ibuffer-marked-face): Change default face from
7277 `font-lock-warning-face' to `warning'.
7278 (ibuffer-deletion-face): Change default face from
7279 `font-lock-type-face' to `error'.
7281 * battery.el (battery-update): Use the face `error' instead of
7282 `font-lock-warning-face' (bug#6117).
7284 2011-08-24 Juri Linkov <juri@jurta.org>
7286 * faces.el (success): Change face color from "Green3" to
7287 "ForestGreen" on light background (bug#9353).
7289 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
7291 * window.el (quit-window): Rename from quit-restore-window.
7292 Use same arglist as old quit-window.
7293 (frame-auto-delete): Doc fix.
7295 * view.el (view-mode-exit): Use quit-window.
7297 2011-08-24 Juri Linkov <juri@jurta.org>
7299 * isearch.el (isearch-ring-adjust1): Start visiting previous
7300 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7301 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7302 for empty search string (when the last search string is reused
7303 automatically) to adjust the isearch ring to the last element and
7304 prepare the correct index for further M-p commands (bug#9185).
7306 2011-08-24 Kenichi Handa <handa@m17n.org>
7308 * international/ucs-normalize.el: If decomposition property of
7309 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7311 (nfd, nfkd): Likewise.
7313 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7315 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7316 from process filters aren't reliably transmitted to the surrounding
7317 accept-process-output.
7318 (mpc-proc-check): New function.
7319 (mpc-proc-sync): Use it (bug#8293)
7321 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7323 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7324 Add compatibility functions (bug#9313).
7326 2011-08-23 Eli Zaretskii <eliz@gnu.org>
7328 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7330 * international/uni-bidi.el: Regenerate.
7332 2011-08-23 Kenichi Handa <handa@m17n.org>
7334 * international/charprop.el:
7335 * international/uni-bidi.el:
7336 * international/uni-category.el:
7337 * international/uni-combining.el:
7338 * international/uni-comment.el:
7339 * international/uni-decimal.el:
7340 * international/uni-decomposition.el:
7341 * international/uni-digit.el:
7342 * international/uni-lowercase.el:
7343 * international/uni-mirrored.el:
7344 * international/uni-name.el:
7345 * international/uni-numeric.el:
7346 * international/uni-old-name.el:
7347 * international/uni-titlecase.el:
7348 * international/uni-uppercase.el: Regenerate.
7350 2011-08-23 Martin Rudalics <rudalics@gmx.at>
7352 * help.el (help-window-setup): Fix message displayed when other
7353 window is reused. (Bug#9341)
7355 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7357 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7358 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7360 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7362 * shell.el (shell-parse-pcomplete-arguments): New function.
7363 (shell-completion-vars): Use it instead (bug#9160).
7365 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7367 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7368 strings and comments (bug#9333).
7370 * emacs-lisp/debug.el (debug-arglist): New function.
7371 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7372 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7374 2011-08-22 Juri Linkov <juri@jurta.org>
7376 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7377 Revert regexp that highlights output switches to its old
7378 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7380 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7381 to check for empty output (bug#9226).
7383 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
7385 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7386 symbol-constituent as the default, as that stops font-lock from
7387 working properly (Bug#8843).
7389 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7391 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7392 `coding-system-for-*' around the process open call to avoid
7393 auth-source side effects.
7394 (smtpmail-try-auth-methods): Expand the secret password.
7395 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7398 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
7400 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7402 * emacs-lisp/find-func.el (find-function-noselect): New arg
7405 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7406 signal an error for built-in functions (Bug#6664).
7408 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7410 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7411 (smtpmail-try-auth-methods): Use it.
7413 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
7415 * font-lock.el (font-lock-fontify-region)
7416 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7417 (font-lock-default-unfontify-buffer)
7418 (font-lock-default-fontify-region)
7419 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7421 * progmodes/compile.el (compilation-error-properties):
7422 Fix confusion between file struct and message struct (Bug#9319).
7423 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7426 * net/browse-url.el (browse-url-firefox): Don't call
7427 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7429 2011-08-20 Glenn Morris <rgm@gnu.org>
7431 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7433 * tutorial.el (tutorial--default-keys): Update some default bindings.
7435 * files.el (hack-local-variables): Fully ignore case for "mode:".
7437 2011-08-20 Alan Mackenzie <acm@muc.de>
7439 Resolve invalid use of a regexp in regexp-opt.
7441 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7442 detection for a java annotation.
7444 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
7445 detection for a java annotation.
7447 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7449 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7451 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
7453 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7456 2011-08-20 Alan Mackenzie <acm@muc.de>
7458 Fontify CPP expressions correctly when starting in the middle of
7459 such a construct. Mainly for when jit-lock etc. starts a chunk
7462 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
7464 (c-make-font-lock-search-form): New function, extracted from
7465 c-make-font-lock-search-function.
7466 (c-make-font-lock-search-function): Use the above function.
7467 (c-make-font-lock-context-search-function): New function.
7468 (c-cpp-matchers): Enhance the preprocessor expression case with
7470 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7471 which takes an expression.
7473 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7475 2011-08-20 Martin Rudalics <rudalics@gmx.at>
7477 * window.el (display-buffer-reuse-window)
7478 (display-buffer-pop-up-window): Don't reuse or split a side
7481 2011-08-19 Glenn Morris <rgm@gnu.org>
7483 * files.el (hack-local-variables-prop-line, hack-local-variables):
7484 Downcase "Mode:". (Bug#9331)
7486 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
7488 * international/characters.el: Add L and R categories.
7490 * subr.el (bidi-string-mark-left-to-right): Rename from
7491 string-mark-left-to-right. Use category search.
7493 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7495 2011-08-18 Juri Linkov <juri@jurta.org>
7497 * faces.el (error, warning, success): New faces with definitions
7498 copied from old default values of `font-lock-warning-face',
7499 `compilation-warning', `compilation-info' (bug#6117).
7501 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7503 * progmodes/compile.el (compilation-error): Inherit from `error'.
7504 (compilation-warning): Inherit from `warning'.
7505 (compilation-info): Inherit from `success'.
7507 * dired.el (dired-marked): Inherit from `warning'.
7508 (dired-flagged): Inherit from `error'.
7510 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7512 * mail/smtpmail.el (auth-source): Require to avoid problems with
7513 binding variables (bug#9298). Also clean up some unused
7516 * net/network-stream.el (network-stream-open-starttls):
7517 Support using starttls.el without using gnutls-cli.
7519 2011-08-17 Juri Linkov <juri@jurta.org>
7521 * progmodes/grep.el (rgrep): Handle the case when
7522 `grep-find-command' is a cons cell (bug#9278).
7524 2011-08-17 Martin Rudalics <rudalics@gmx.at>
7526 * window.el (display-buffer-pop-up-frame): Run frame creation
7527 function with BUFFER current (as special-display-popup-frame
7528 does). Reported by Drew Adams.
7530 2011-08-17 Daiki Ueno <ueno@unixuser.org>
7532 * epa-mail.el: Simplify GnuPG group expansion using
7534 (epa-mail-group-alist, epa-mail-group-modtime)
7535 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7536 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7537 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7540 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7542 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7544 2011-08-16 Alan Mackenzie <acm@muc.de>
7546 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7547 Correct, to avoid the inside of macros.
7549 2011-08-16 Richard Stallman <rms@gnu.org>
7551 * epa-mail.el: Handle GnuPG group definitions.
7552 (epa-mail-group-alist, epa-mail-group-modtime)
7553 (epa-mail-gnupg-conf-file): New variables.
7554 (epa-mail-parse-groups, epa-mail-sync-groups)
7555 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7556 (epa-mail-expand-recipients): New functions.
7557 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7559 * mail/rmail.el (rmail-epa-decrypt): New command.
7561 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7562 Don't bind buffer-read-only, just inhibit-read-only.
7563 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7564 (epa-decrypt-armor-in-region): Make error message clearer.
7566 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7568 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7569 and "a2b" to "ab" for `prefix'.
7571 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
7573 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7575 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7576 Fourquet (Bug#8804).
7578 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
7580 * startup.el (argi): Declare as global variable (bug#9275).
7582 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
7584 * subr.el (string-mark-left-to-right): Search the entire string
7585 for RTL script, not just the terminating character. Doc fix.
7587 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7589 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7591 (js--regexp-literal, js-syntax-propertize-function): Remove.
7592 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7593 (js-mode-map): Don't rebind electric keys.
7594 (js-insert-and-indent): Remove.
7595 (js-mode): Setup electric-layout and electric-indent instead.
7597 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7599 2011-08-12 Daiki Ueno <ueno@unixuser.org>
7601 * epa.el (epa-progress-callback-function): Fix the logic of
7602 displaying progress.
7603 * epa-file.el (epa-file-insert-file-contents): Make progress
7604 display more user-friendly.
7605 (epa-file-write-region): Ditto.
7607 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
7609 * subr.el (string-mark-left-to-right): New function.
7611 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7612 Use string-mark-left-to-right.
7613 (list-buffers-noselect): Caller changed.
7615 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7616 Use string-mark-left-to-right.
7617 (tabulated-list-print): Recenter after moving point.
7619 2011-08-10 Juri Linkov <juri@jurta.org>
7621 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7622 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7623 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7625 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
7627 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7630 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7632 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7633 character. (Bug#6594)
7635 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
7637 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7638 (image-dired--with-db-file): New macro.
7639 (image-dired-write-tags, image-dired-remove-tag)
7640 (image-dired-create-gallery-lists, image-dired-write-comments)
7641 (image-dired-get-comment, image-dired-mark-tagged-files)
7642 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7643 (image-dired-gallery-generate): Use insert-file-contents.
7645 * time.el (display-time-world-list, display-time-world-display):
7646 * time-stamp.el (time-stamp-string):
7647 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7648 set-time-zone-rule (Bug#7337).
7650 2011-08-08 Daiki Ueno <ueno@unixuser.org>
7652 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7653 (epg-error-to-string, epg-errors-to-string): New function.
7654 (epg-wait-for-completion): Reverse errors list.
7655 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7656 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7657 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7658 (epg-sign-keys, epg-generate-key-from-file)
7659 (epg-generate-key-from-string): Format errors by using
7660 epg-errors-to-string (bug#9255).
7661 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7663 2011-08-07 Juri Linkov <juri@jurta.org>
7665 * faces.el (list-faces-display): Remove extra angle bracket
7666 from `help-mode-map'.
7668 * info.el (Info-history-toc-nodes): Doc fix.
7670 * longlines.el (longlines-mode): Doc fix.
7672 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7674 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7675 of statements and in a few more cases (bug#9183).
7677 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7679 (cl-transform-lambda): Use them (bug#9239).
7681 2011-08-05 Martin Rudalics <rudalics@gmx.at>
7683 * window.el (display-buffer-same-window)
7684 (display-buffer-same-frame, display-buffer-other-window)
7685 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7686 (pop-to-buffer-other-window)
7687 (pop-to-buffer-same-frame-other-window)
7688 (pop-to-buffer-other-frame): Make them defuns.
7689 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7691 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7693 * subr.el (make-composed-keymap): Move from C. Change calling
7694 convention, and improve docstring to bring attention to a subtle point.
7695 * minibuffer.el (completing-read-default): Adjust accordingly.
7697 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
7699 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7700 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7702 * net/trampver.el: Update release number.
7704 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7706 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7709 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7711 * mail/sendmail.el (sendmail-query-once): Restore the current
7712 buffer after querying (bug#9074).
7714 * dired.el (dired-flagged): Use different faces for marked and
7715 flagged files (bug#6117).
7717 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7720 * ido.el (ido-mode): Switch off the message if called
7723 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7724 before 587, since it appears that that's more likely to work for
7727 * cus-edit.el (custom-file): When running under emacs -q, always
7728 refuse to save the customizations, even if the .emacs file doesn't
7731 * info.el: Remove the `Info-beginning-of-buffer' function
7734 * net/network-stream.el (network-stream-open-starttls):
7735 Use `starttls-available-p' to see whether starttls.el can be used.
7737 2011-08-01 Martin Rudalics <rudalics@gmx.at>
7739 * window.el (display-buffer-in-window): Don't set dedicated status
7740 of window here (Bug#9215).
7741 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7742 (display-buffer-pop-up-side-window)
7743 (display-buffer-in-side-window): Set dedicated status of window here.
7745 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7747 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7748 before binding generated-autoload-file.
7750 2011-08-01 Deniz Dogan <deniz@dogan.se>
7752 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7754 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
7756 Sync with Tramp 2.2.2.
7758 * net/trampver.el: Update release number.
7760 2011-07-30 Juri Linkov <juri@jurta.org>
7762 * dired-aux.el (dired-touch-initial): Remove function.
7763 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7764 current time, and `default' to the last modification time of the
7765 current marked file (bug#6887).
7767 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7769 * simple.el (goto-line): Use string-to-number to provide a
7770 numeric argument to read-number (bug#9163).
7772 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
7774 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7775 connection process, it could be nil.
7777 2011-07-27 Leo Liu <sdl.web@gmail.com>
7779 Simplify url handling in rcirc-mode.
7781 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7782 (rcirc-browse-url-at-mouse): Remove.
7783 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7785 2011-07-26 Alan Mackenzie <acm@muc.de>
7787 Fontify bitfield declarations properly.
7789 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7790 (c-symbol-chars): Now exported as a lang variable.
7791 (c-not-primitive-type-keywords): New lang variable.
7793 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7794 QT keyword "more" to prevent "more slots: ...." being spuriously
7795 parsed as a bitfield declaration.
7797 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7798 Refactor and enhance to handle bitfield declarations.
7799 (c-punctuation-in): New function.
7800 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7801 declarations properly.
7803 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
7805 * calendar/icalendar.el (icalendar--all-events): Take care of
7806 multiple vcalendars in a single file.
7807 (icalendar--convert-float-to-ical): Checkdoc fixes.
7809 2011-07-25 Deniz Dogan <deniz@dogan.se>
7811 * image.el (insert-image): Clarifying docstring.
7813 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
7815 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7816 `tramp-send-command-and-check' if there is no error.
7817 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7819 2011-07-22 Alan Mackenzie <acm@muc.de>
7821 Prevent cc-langs.elc being loaded at run time.
7823 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7826 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
7827 "(require 'cc-langs)". Quote a form so it will evaluate at
7828 (cc-mode's) compilation time.
7830 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
7832 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7835 2011-07-21 Martin Rudalics <rudalics@gmx.at>
7837 * window.el (display-buffer-pop-up-window)
7838 (display-buffer-pop-up-side-window)
7839 (display-buffer-in-side-window): Call display-buffer-set-height
7840 and display-buffer-set-width after setting the new window's
7841 buffer so `fit-window-to-buffer' and friends work on the right buffer.
7843 2011-07-20 Sam Steingold <sds@gnu.org>
7845 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7846 (etags-tags-included-tables): Call `convert-standard-filename' on
7847 the file names contained in TAGS so that windows Emacs can handle
7848 TAGS files created by cygwin ctags.
7850 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7852 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7853 which apparently didn't work.
7855 2011-07-19 Roland Winkler <winkler@gnu.org>
7857 * proced.el (proced-send-signal): For *Marked Processes* buffer
7858 put point at beginning of buffer.
7860 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
7862 * proced.el (proced-format): Make header lines align with the text
7865 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7867 * view.el (view-buffer): Allow running in `special' modes if we're
7868 visiting a file (bug#8615).
7870 2011-07-19 Martin Rudalics <rudalics@gmx.at>
7872 * window.el (display-buffer-alist-of-strings-p)
7873 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7875 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7878 2011-07-18 Alan Mackenzie <acm@muc.de>
7880 Fontify declarators properly when, e.g., a jit-lock chunk begins
7881 inside a declaration.
7883 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7885 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7887 (c-complex-decl-matchers): Insert reference to
7888 c-font-lock-enclosing-decls.
7890 * progmodes/cc-engine.el (c-backward-single-comment):
7891 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7892 to nil around calls to (forward-comment -1).
7894 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7896 * image.el (put-image): Doc typo fix.
7898 * progmodes/etags.el (tags-search): Doc typo fix.
7900 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7901 password if we get errors 550 to 554.
7903 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7905 * net/gnutls.el (gnutls-log-level): Remove.
7907 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7908 indentation character (bug#6380).
7910 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7912 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7913 to clarify what the problem is (bug#4291).
7915 * simple.el (current-kill): Clarify what
7916 `interprogram-paste-function' does (bug#7500).
7917 (auto-fill-mode): Document `auto-fill-function' in relation to
7918 `auto-fill-mode' (bug#2470).
7920 2011-07-16 Lawrence Mitchell <wence@gmx.li>
7922 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7923 method if slot is read-only (bug#9035).
7925 2011-07-16 Martin Rudalics <rudalics@gmx.at>
7927 * frame.el (select-frame-set-input-focus): New argument NORECORD.
7928 * window.el (pop-to-buffer): Select window used even if it was
7929 selected before, see discussion of (Bug#8615), (Bug#6954).
7930 Pass argument NORECORD on to select-frame-set-input-focus.
7932 2011-07-15 Glenn Morris <rgm@gnu.org>
7934 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
7937 2011-07-09 Lawrence Mitchell <wence@gmx.li>
7939 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7940 (gnutls-negotiate): Use it.
7942 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7944 * net/gnutls.el (gnutls-negotiate):
7945 Upcase `gnutls-algorithm-priority'.
7947 2011-07-15 Glenn Morris <rgm@gnu.org>
7949 * jka-compr.el (jka-compr-verbose): Move from here...
7950 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7951 Add missing :version tag.
7952 * info.el: No need to require jka-compr when compiling.
7954 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7956 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7957 (gnutls-negotiate): Use it.
7959 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7961 * info.el (Info-beginning-of-buffer): New command.
7962 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7963 announcing `b' as the key (bug#8325).
7964 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
7966 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7968 * international/mule-cmds.el
7969 (describe-specified-language-support): Make the error message
7972 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7974 * isearch.el (isearch-barrier): Add a doc string, since it's
7975 mentioned in a function doc string (bug#8678).
7977 2011-07-15 Martin Rudalics <rudalics@gmx.at>
7979 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7980 buffer argument (Bug#9083) and self-identifying label argument.
7982 2011-07-15 Glenn Morris <rgm@gnu.org>
7984 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7986 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7988 * man.el (Man-fontify-manpage): Fix message when formatting the
7989 man page (bug#7929).
7991 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7993 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7994 argument LRM; if non-nil, append an invisible LRM character to the
7996 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7997 last argument non-nil, when formatting buffer names.
7998 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7999 paragraph direction.
8001 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8003 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8004 the man page name (bug#7929).
8006 * image.el (put-image): Mention the `put-image' overlay property
8009 * scroll-bar.el (set-scroll-bar-mode): Mention that
8010 `scroll-bar-mode' lists the values (bug#7772).
8012 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8015 * rect.el (apply-on-rectangle): Return the point after the last
8017 (string-rectangle): Go to the point after the last operation
8020 * printing.el (pr-toggle-region): Clarify the documentation
8021 slightly (bug#7493).
8023 * time.el (display-time-update):
8024 Allow `display-time-mail-function' to return nil (bug#7158).
8025 Fix suggested by Detlev Zundel.
8027 * vc/diff.el (diff): Clarify the order the file names are read
8030 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
8031 the doc string (bug#7015).
8033 * font-lock.el (font-lock-maximum-decoration): Mention what
8034 numeric levels mean (bug#6935).
8036 * startup.el (initial-buffer-choice): Don't mention the `none'
8037 selection, which is against policy.
8039 2011-07-14 Martin Rudalics <rudalics@gmx.at>
8041 * window.el (display-buffer-normalize-special):
8042 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
8044 2011-07-14 Eli Zaretskii <eliz@gnu.org>
8046 * subr.el (version<, version<=, version=): Mention "-CVS" and
8047 "-12345" alpha version numbers.
8049 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
8051 * bindings.el: Add advertised binding for set-mark-command
8054 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
8056 * bindings.el (mode-line-other-buffer):
8057 * bookmark.el (bookmark-bmenu-2-window):
8058 * bs.el (bs-cycle-next, bs-cycle-previous):
8059 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8062 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8065 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
8067 * follow.el (follow-debug-message, follow-redisplay):
8068 * jka-cmpr-hook.el (with-auto-compression-mode):
8069 Fix typos in docstrings.
8071 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8073 * subr.el (with-silent-modifications): Clarify somewhat what the
8074 macro inhibits (bug#6525).
8076 * simple.el (eval-expression): Note what it does if called
8077 interactively (bug#6495).
8079 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
8081 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8082 Use pop-to-buffer buffer-or-name if it is nil.
8084 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8085 Remove switch-to-buffer.
8087 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8089 * files.el (make-directory): Clarify that an error will be raised
8090 if there's an error (bug#6397).
8092 * startup.el (initial-buffer-choice): Add `none' as a choice
8095 * subr.el (add-hook): Clarify section about buffer-local hooks
8098 * dired.el (dired-flagged): Clarify doc string (bug#6117).
8100 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
8102 * tabify.el (untabify): Preserve the current column so that point
8103 doesn't move (bug#6032).
8105 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8107 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8108 Rewrite to avoid awkward possessive "s" (bug#5986).
8110 2011-07-13 Glenn Morris <rgm@gnu.org>
8112 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8113 (dired-insert-directory): Give a message the first time
8114 if ls is found not to support --dired.
8116 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8118 * simple.el (toggle-truncate-lines): Clarify what is toggled
8119 (bug#5580). Text by Drew Adams.
8121 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
8123 * simple.el (blink-matching-open): Make the error message from the
8124 last change less verbose.
8126 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8128 * font-lock.el (font-lock-comment-face): Use the high contrast
8129 "yellow" color for font-lock-comment-face on low color terminals
8130 using a dark background color (bug#4221).
8132 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8134 * dired.el (dired-insert-set-properties): Make the doc string
8135 reflect what it does now (bug#5325).
8137 * simple.el (blink-matching-open): Say that we were unable to find
8138 the match within the limit, if we're limited (bug#5122).
8140 * international/mule-cmds.el (prefer-coding-system): Add an
8143 * progmodes/etags.el (tags-search): Document `file-list-form'
8146 2011-07-13 Lawrence Mitchell <wence@gmx.li>
8148 * net/browse-url.el (browse-url-default-browser)
8149 (browse-url-browser-function): Make the default browser choice a
8150 bit more logical (bug#4300). Also clean up the doc string.
8152 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
8154 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8155 binary endings (bug#4440).
8157 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8159 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8160 which can be pretty annoying (bug#8971).
8162 * jka-compr.el (jka-compr-verbose): New variable, and use
8163 throughout (bug#8971).
8165 * info.el (Info-find-file): Fall back on the installation
8166 directory if we can't find the info node anywhere else.
8168 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8170 * vc/vc.el (vc-revert-file):
8171 Don't set file time-stamp in the past. (Bug#5181)
8173 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8175 * files.el (after-find-file): Give a better error message when
8176 trying to find a symlink that points to a file that doesn't exist
8179 * progmodes/cc-vars.el: Remove (probably) misleading comment
8182 2011-07-12 Johan Bockgård <bojohan@gnu.org>
8184 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8186 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
8188 * mouse-sel.el: Hack restoring functionality, while keeping
8189 compatibility with 2010-07-03 changes to mouse selection.
8190 (mouse-sel-primary-overlay): New var.
8191 (mouse-sel-selection-alist): Use it.
8192 (mouse-sel-mode): Doc fix; remove points that are default features
8195 2011-07-12 Johan Bockgård <bojohan@gnu.org>
8197 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8198 Fix previous fix (bug#2490).
8200 2011-07-12 Roland Winkler <winkler@gnu.org>
8202 * textmodes/bibtex.el (bibtex-initialize):
8203 Use pop-to-buffer-same-window.
8204 (bibtex-search-entries): Fix interactive call.
8206 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8208 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8209 Fontise bytecomp Error lines more correctly (bug#2490).
8210 Fix suggested by Johan Bockgård.
8212 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8214 * dired-x.el (dired-guess-default): Use `delete-dups'.
8216 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
8218 * dired.el (dired-mark-prompt):
8219 * dired-aux.el (dired-read-shell-command): Doc fix.
8221 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8223 * mail/sendmail.el (sendmail-query-once):
8224 Use `customize-save-variable' unconditionally, now that it works under
8227 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8229 * cus-edit.el (custom-file): Take an optional no-error variable.
8230 (customize-save-variable): Set the variable, and give a warning if
8231 running under "emacs -q".
8233 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
8235 * loadhist.el (unload-feature-special-hooks):
8236 Add `auto-coding-functions', `fill-nobreak-predicate' and
8237 `find-directory-functions' (bug#5327).
8239 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8241 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8243 * cus-edit.el (custom-guess-name-alist): -alist variables should
8244 use the `alist' type (bug#3120). Suggested by Drew Adams.
8246 * printing.el: Add documentation to all the `pr-toggle-' commands.
8248 2011-07-11 Leo Liu <sdl.web@gmail.com>
8250 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8251 backends where it makes sense (bug#2623).
8253 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8255 * dired-x.el (dired-guess-default): Remove duplicate shell command
8257 (dired-guess-default): Fix grammar in doc string (bug#2028).
8258 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
8260 * subr.el (remove-duplicates): New conveniency function.
8262 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8264 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8267 2011-07-10 Martin Rudalics <rudalics@gmx.at>
8269 * window.el (display-buffer-normalize-default): Don't invert
8270 meaning of even-window-heights. Reported by Eli Zaretskii
8273 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8275 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8277 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
8279 * window.el (display-buffer): Fix arguments to
8280 display-buffer-reuse-window in last change.
8282 * faces.el (link): Use a less saturated blue on light backgrounds.
8284 * startup.el (fancy-startup-text, fancy-about-text)
8285 (fancy-startup-tail): Use font-lock faces, for background safety.
8287 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8289 * emulation/viper-cmd.el (viper-change-state-to-vi):
8290 Limit triggering of abbrev expansion (Bug#9038).
8292 2011-07-09 Martin Rudalics <rudalics@gmx.at>
8294 * window.el (display-buffer-default-specifiers): Remove.
8295 (display-buffer-macro-specifiers): Remove default specifiers.
8296 (display-buffer-alist): Default to nil.
8297 (display-buffer-reuse-window): New optional argument other-window.
8298 (display-buffer-pop-up-window): Allow splitting internal
8299 windows. Check whether a live window was created.
8300 (display-buffer-other-window-means-other-frame)
8301 (display-buffer-normalize-arguments): Rename to
8302 display-buffer-normalize-argument and rewrite. Set the
8303 other-window specifier.
8304 (display-buffer-normalize-special): New function.
8305 (display-buffer-normalize-options): Rename to
8306 display-buffer-normalize-default and rewrite.
8307 (display-buffer-normalize-options-inhibit): Remove.
8308 (display-buffer-normalize-specifiers): Rewrite.
8309 (display-buffer): Process other-window specifier and call
8310 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8312 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
8313 (display-buffer-alist-set): Don't handle 'unset default values.
8314 (display-buffer-in-window, display-buffer-alist-set):
8315 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
8316 <tassilo@member.fsf.org>.
8318 2011-07-09 Leo Liu <sdl.web@gmail.com>
8320 * register.el (insert-register): Restore accidental change on
8321 2011-06-26. (Bug#9028)
8323 2011-07-09 Glenn Morris <rgm@gnu.org>
8325 * subr.el (remq): Handle the empty list. (Bug#9024)
8327 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8329 * mail/sendmail.el (send-mail-function): No longer delay custom
8331 * custom.el (custom-initialize-delay): Doc fix.
8333 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8335 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8337 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
8339 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8340 human-friendly prompt.
8342 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8344 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8345 provided by a particular plugin.
8347 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8349 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8350 save customizations (with "emacs -Q"), just set the variable
8351 instead of erroring out.
8353 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8355 2011-07-08 Juri Linkov <juri@jurta.org>
8357 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8358 (archive-zip-update-case): Use 7z if found by `executable-find'.
8359 The order of searching the available programs is the same as in
8360 `archive-zip-extract' (bug#8968).
8362 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8364 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8365 (menu-bar-options-menu): Tweak descriptions.
8367 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8369 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8370 menu items into verb phrases (bug#1421). Also refill to fit under
8373 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8375 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8376 (Info-read-node-name): Doc fix (Bug#1084).
8378 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8379 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8380 (end-of-sexp, beginning-of-sexp)
8381 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8382 (forward-symbol, forward-same-syntax, word-at-point)
8383 (sentence-at-point): Doc fix (Bug#1144).
8385 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8387 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8388 should cover it (bug#1281).
8390 * cus-edit.el (custom-show): Mark as obsolete.
8392 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
8393 negotiation fails, then possibly try again with a non-encrypted
8394 connection (bug#9017).
8396 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8399 2011-07-07 Richard Stallman <rms@gnu.org>
8401 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8402 property, and handle its changed format.
8403 Look for the correct line number.
8404 Use file's line contents (but not past first =) to find
8405 correct line in message.
8407 2011-07-07 Kenichi Handa <handa@m17n.org>
8409 * international/characters.el (build-unicode-category-table):
8411 (unicode-category-table): Set it by unicode-property-table-internal.
8413 * international/mule-cmds.el (char-code-property-alist): Move to
8415 (get-char-code-property): Call unicode-property-table-internal to
8416 load a file. Call get-unicode-property-internal where necessary.
8417 (put-char-code-property): Call unicode-property-table-internal to
8418 load a file. Call put-unicode-property-internal where necessary.
8419 put-unicode-property-internal where necessary.
8420 (char-code-property-description):
8421 Call unicode-property-table-internal to load a file.
8423 * international/charprop.el:
8424 * international/uni-bidi.el:
8425 * international/uni-category.el:
8426 * international/uni-combining.el:
8427 * international/uni-comment.el:
8428 * international/uni-decimal.el:
8429 * international/uni-decomposition.el:
8430 * international/uni-digit.el:
8431 * international/uni-lowercase.el:
8432 * international/uni-mirrored.el:
8433 * international/uni-name.el:
8434 * international/uni-numeric.el:
8435 * international/uni-old-name.el:
8436 * international/uni-titlecase.el:
8437 * international/uni-uppercase.el: Regenerate.
8439 * loadup.el: Load international/charprop.el before
8440 international/characters.
8442 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8444 * window.el (next-buffer, previous-buffer): Signal an error if
8445 called from a minibuffer window.
8447 * bindings.el: Revert 2011-07-04 change.
8449 2011-07-06 Richard Stallman <rms@gnu.org>
8451 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8452 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8453 Treat markers like ints.
8454 (rmail-mime-entity): Doc fix.
8456 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8458 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8459 defcustom again for backwards compatibility.
8461 * simple.el (shell-command-on-region): Fill.
8463 * dired-aux.el (dired-kill-line): Add a doc string.
8465 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8466 to "\\sw\\|\\s_" (bug#358).
8468 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8469 (dired-unmark-backward): Ditto.
8470 (dired-flag-backup-files): Ditto.
8472 * dired-x.el (dired-mark-sexp): Ditto.
8474 2011-07-06 Richard Stallman <rms@gnu.org>
8476 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8477 (rmail-mime-entity): New arg TRUNCATED.
8478 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8480 (rmail-mime-save): Warn if entity is truncated.
8481 (rmail-mime-toggle-hidden): Likewise, for showing.
8482 (rmail-mime-process-multipart): Record when an entity is truncated.
8484 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8485 if ENTITY is a string.
8487 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8489 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
8490 of faces when `M-C-x'-ing their definitions (bug#8378).
8491 Also clean up the code slightly.
8493 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
8494 because that makes the colors go away.
8496 * mail/sendmail.el (send-mail-function): Change the default to
8497 `sendmail-query-once'.
8498 (sendmail-query-once): Add an autoload cookie.
8500 * net/network-stream.el (network-stream-open-starttls): Try using
8501 a plain connection even if the server offered STARTTLS, and we
8502 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8503 capability. This should make smtpmail.el work in slightly more
8506 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
8508 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8510 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8512 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8514 * progmodes/sql.el: Version 3.0
8515 (sql-product-alist): Add product :completion-object,
8516 :completion-column, and :statement attributes.
8517 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
8518 (sql-mode-syntax-table): Mark all punctuation.
8519 (sql-font-lock-keywords-builder): Temporarily remove fallback on
8521 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
8522 (sql-mode-oracle-font-lock-keywords): Improve.
8523 (sql-oracle-show-reserved-words): New function for development.
8524 (sql-product-font-lock): Simplify for source code buffers.
8525 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8527 (sql-highlight-product): Set product specific syntax table.
8528 (sql-mode-map): Add statement movement functions.
8529 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8531 (sql-statement-regexp, sql-beginning-of-statement)
8532 (sql-end-of-statement, sql-signum): New functions.
8533 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
8534 (sql-show-sqli-buffer): Bug fix.
8535 (sql-interactive-mode): Store connection data as buffer local.
8536 (sql-connect): Add NEW-NAME parameter. Redesign interaction
8537 with sql-interactive-mode.
8538 (sql-save-connection): Save buffer local settings.
8539 (sql-connection-menu-filter): Change menu entry name.
8540 (sql-product-interactive): Bug fix.
8541 (sql-preoutput-hold): New variable.
8542 (sql-interactive-remove-continuation-prompt): Bug fixes.
8543 (sql-debug-redirect): New variable.
8544 (sql-str-literal): New function.
8545 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
8547 (sql-oracle-save-settings, sql-oracle-restore-settings)
8548 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8549 (sql-completion-object, sql-completion-column)
8550 (sql-completion-sqlbuf): New variables.
8551 (sql-build-completions-1, sql-build-completions)
8552 (sql-try-completion): New functions.
8553 (sql-read-table-name): Use them.
8554 (sql-contains-names): New buffer local variable.
8555 (sql-list-all, sql-list-table): Use it.
8556 (sql-oracle-completion-types): New variable.
8557 (sql-oracle-completion-object, sql-sqlite-completion-object)
8558 (sql-postgres-completion-object): New functions.
8560 2011-07-06 Glenn Morris <rgm@gnu.org>
8562 * window.el (pop-to-buffer): Doc fix.
8564 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
8566 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8568 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
8570 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8572 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8574 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
8576 * button.el (button): Inherit from link face. Suggested by Dan
8579 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8581 * progmodes/gdb-mi.el: Fit in 80 columns.
8582 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8585 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8586 if imenu is simply not configured (bug#8941).
8588 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8590 * allout.el (allout-post-undo-hook): New allout outline-change
8591 event hook to signal undo activity.
8592 (allout-post-command-business): Run allout-post-undo-hook if an
8594 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8595 * allout-widgets.el (allout-widgets-after-undo-function):
8596 Ensure the integrity of the current item's decoration after it has been
8597 in the vicinity of an undo.
8598 (allout-widgets-mode): Include allout-widgets-after-undo-function
8599 on the new allout-post-undo-hook.
8601 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8603 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8604 Let define-derived-mode define it.
8605 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8606 cycles of abbrev-table inheritance (bug#8998).
8608 2011-07-05 Roland Winkler <winkler@gnu.org>
8610 * textmodes/bibtex.el: Add support for biblatex.
8611 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8612 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8613 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8614 (bibtex-entry-alist, bibtex-field-alist): New variables.
8615 (bibtex-entry-field-alist): Obsolete alias for
8616 bibtex-BibTeX-entry-alist.
8617 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8618 (bibtex-set-dialect): New command.
8619 (bibtex-entry-type, bibtex-entry-head)
8620 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8621 Bind via bibtex-set-dialect.
8622 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8623 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8624 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8625 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8626 Define via bibtex-set-dialect.
8627 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8628 Obey bibtex-no-opt-remove-re.
8629 (bibtex-vec-push, bibtex-vec-incr): New functions.
8630 (bibtex-format-entry, bibtex-field-list)
8631 (bibtex-print-help-message, bibtex-validate)
8632 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8634 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8636 * progmodes/compile.el (compilation-goto-locus):
8637 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8638 * bs.el (bs-cycle-next, bs-cycle-previous):
8639 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8640 * bindings.el (mode-line-other-buffer):
8641 * autoinsert.el (auto-insert):
8642 * arc-mode.el (archive-extract):
8643 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8645 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8647 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8648 Fix check of `emacs-lock-unlockable-modes'.
8649 Coerce true values of `emacs-lock--try-unlocking' to t.
8651 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8653 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8654 * emacs-lock.el: New file.
8656 2011-07-05 Julien Danjou <julien@danjou.info>
8658 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8659 than `boundp' to check if face is set.
8661 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8663 * register.el (registerv-make):
8664 * window.el (window-min-height): Fix typos in docstrings.
8666 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8668 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8671 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8673 * server.el (server-execute): Catch quit and call
8674 `server-return-error' to pass the error back to emacsclient and
8675 close the connection (bug#8942).
8677 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8679 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8680 insecure exception for current topic. Also note that auto-saves
8681 are handled differently.
8683 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
8684 State variables for tracking auto-save inhibition situation.
8686 (allout-write-contents-hook-handler): Rename from
8687 'allout-write-file-hook-handler', and describe how it depends on
8688 write-contents-functions sensitivity to non-nil value to prevent
8691 (allout-auto-save-hook-handler): Remove. auto-save does not check
8692 this in individual buffers, only in the starting buffer, so this
8693 is not the right way for us to inhibit auto-save in a buffer
8694 according to its condition.
8696 (allout-mode): Use new allout-write-contents-hook-handler, and
8697 only with write-contents-functions. Remove auto-save provisions -
8698 they're implemented elsewhere.
8700 (allout-before-change-handler): If undo is in progress, note that
8701 for attention of allout-post-command-business.
8703 (allout-post-command-business): If the command we're following was
8704 an undo, check for change in the status of encrypted items and
8705 adjust auto-save inhibitions accordingly.
8707 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8708 according to whether there are or aren't any plain-text topics
8711 (allout-inhibit-auto-save-info-for-decryption):
8712 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8713 if there are plain-text topics pending encryption.
8715 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8716 buffer-saved-size and some allout state to not inhibit auto-saves
8717 if there are no longer any plain-text topics pending encryption.
8719 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8720 No longer provide for exemption of the current topic.
8722 2011-07-04 Juri Linkov <juri@jurta.org>
8724 Add 7z operations to delete and save changed members (bug#8968).
8725 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8727 (archive-7z-write-file-member): New function.
8728 (archive-7z-summarize): Fix the number of dashes in the
8731 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8733 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8736 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
8738 * bindings.el: Ignore next-buffer and previous-buffer in
8739 minibuffer-local-map.
8741 * font-lock.el (font-lock-builtin-face): Change light background
8742 color to dark slate blue (Bug#6693).
8744 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8746 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8748 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8750 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8751 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8752 Add switch-to-buffer.
8754 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8756 * isearch.el (isearch-search-fun-function): Clarify further the
8757 meaning of the function returned.
8759 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
8761 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8763 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8764 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8766 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8767 `tramp-default-remote-path' does not exist.
8768 (tramp-send-command-and-read): New optional argument NOERROR.
8769 (tramp-open-connection-setup-interactive-shell)
8770 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8771 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8772 (tramp-process-sentinel): Flush also process' connection property.
8773 (tramp-sh-handle-start-file-process): Do not set process
8774 sentinel. It is done now ...
8775 (tramp-maybe-open-connection): ... here. (Bug#8929)
8777 2011-07-04 MON KEY <monkey@sandpframing.com>
8779 * play/animate.el (animate-string): Doc fixes and allow changing
8780 the buffer name (bug#5417).
8782 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8784 * play/animate.el (animation-buffer-name): Rename from *animate*.
8786 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8788 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8789 This is simpler and helps future-proof the code.
8790 (timer-until): Use time-subtract and float-time.
8791 (timer--time-less-p): Use time-less-p.
8793 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8795 * type-break.el (timep): Use the value of `float-time' to avoid a
8796 byte-compiler warning.
8798 * server.el (server-eval-and-print): Return any result, even nil.
8800 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8802 * type-break.el: Accept time formats that the builtins accept.
8803 (timep, type-break-time-difference): Accept any format that
8804 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8805 This is simpler and helps future-proof the code.
8806 (type-break-time-difference): Round rather than ignoring
8807 subseconds components.
8809 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8811 * info.el (Info-apropos-matches): Make non-interactive, since it
8812 doesn't seem to do anything useful as a command (bug#8829).
8814 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
8816 * frame.el (frame-background-mode, frame-set-background-mode):
8818 (frame-default-terminal-background): New function.
8820 * custom.el (custom-push-theme): Don't record faces in `changed'
8821 theme; this doesn't work correctly for per-frame face settings.
8822 (disable-theme): Use face-set-after-frame-default to reset faces.
8823 (custom--frame-color-default): New function.
8825 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8827 * dired.el (dired-flagging-regexp): Remove unused variable
8830 2011-03-29 Kevin Ryde <user42@zip.com.au>
8832 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8833 `perl-Test2' extend to match possible "fail #N" rep count
8836 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8838 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8839 `smtpmail-via-smtp' now returns the error instead of nil.
8841 * isearch.el (isearch-search-fun-function): Clarify the doc string
8844 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
8846 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8847 unnecessary spaces (bug#8987).
8849 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8851 * net/network-stream.el (open-network-stream): Use the
8852 :end-of-capability command thoughout.
8854 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8856 * net/network-stream.el (open-network-stream): Add the
8857 :end-of-capability command parameter, used by pop3.el.
8859 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8861 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8863 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8864 for list)" (bug#6475).
8866 * files.el (file-expand-wildcards): Ignore non-readable
8867 sub-directories while trying to find matches instead of signaling
8868 an error (bug#6297).
8870 * man.el (Man-reference-regexp): Allow matching possible
8871 word-wrapped references (bug#6289).
8873 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8874 for consistency with the other vc buffers (bug#6197).
8875 (vc-checkin): Ditto.
8877 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8879 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8881 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8883 * custom.el (defcustom): Clarify that :set is only used in the
8884 Customize user interface (bug#6089).
8886 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8887 associated with a file, refuse to run instead of erroring out
8890 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8891 the doc string, since it appears that using `fill-column' always
8892 controls the width (bug#7845).
8894 * simple.el (shell-command-on-region): Say where the error output
8895 went if `shell-command-default-error-buffer' is set (bug#6857).
8897 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8899 * allout.el (allout-yank-processing): Adjust cursor position for
8900 backwards-deleted space.
8902 (allout-rebullet-heading): Register changes with
8903 allout-exposure-changed-hook, so the modified topic is properly
8906 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8908 * minibuffer.el (completion-in-region): Document PREDICATE
8911 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8912 of keyword/argument pairs (bug#6904).
8914 * replace.el (multi-occur):
8915 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
8917 2011-07-02 Drew Adams <drew.adams@oracle.com>
8919 * dired.el (dired-mark-if): Make the message about whether it's
8920 marking or unmarking clearer (bug#8523).
8922 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8924 * disp-table.el (display-table-print-array): New function.
8925 (describe-display-table): Use it to print the vectors more pretty
8928 2011-07-02 Martin Rudalics <rudalics@gmx.at>
8930 * window.el (window-state-get-1): Don't assign clone numbers.
8931 Add clone-of item to list of window parameters.
8932 (window-state-put-2): Don't process clone numbers.
8933 (display-buffer-alist): Fix doc-string.
8935 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8937 * subr.el (remq): Don't allocate if it's not needed.
8938 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8939 (keymap--merge-bindings): New functions.
8940 (keymap-canonicalize): Use them to refine the canonicalization.
8941 * minibuffer.el (minibuffer-local-completion-map)
8942 (minibuffer-local-must-match-map): Move initialization from C.
8943 (minibuffer-local-filename-completion-map): Move initialization from C;
8944 don't inherit from anything here.
8945 (minibuffer-local-filename-must-match-map): Make obsolete.
8946 (completing-read-default): Use make-composed-keymap to combine
8947 minibuffer-local-filename-completion-map with either
8948 minibuffer-local-must-match-map or
8949 minibuffer-local-filename-completion-map.
8951 2011-07-01 Glenn Morris <rgm@gnu.org>
8953 * type-break.el (type-break-time-sum): Use dolist.
8955 * textmodes/flyspell.el (flyspell-word-search-backward):
8956 Replace CL function.
8958 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8960 * mouse.el (mouse--strip-first-event): New function.
8961 (function-key-map): Use it to map fringe clicks to normal clicks
8964 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8965 (vc-bzr-revision-completion-table): Add support for annotate and date.
8967 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8968 inherit from parent.
8970 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8972 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
8973 (dired-show-file-type): Doc fixup (bug#8818).
8975 * dired.el (dired-mode): Fix up the doc string as suggested by
8976 Drew Adams (bug#8817).
8978 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8979 cookie, since the manual says that it should be possible to add
8980 this function to `find-file-hook' (bug#8709).
8982 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8984 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8985 here. Noted Ted Zlatanov as the maintainer.
8986 (cfengine-common-settings, cfengine-common-syntax): New functions
8987 to set up common things between `cfengine-mode' and
8989 (cfengine3-mode): New mode.
8990 (cfengine3-defuns cfengine3-defuns-regex
8991 (cfengine3-class-selector-regex cfengine3-category-regex)
8992 (cfengine3-vartypes cfengine3-font-lock-keywords)
8993 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
8994 (cfengine3-indent-line): Add from cfengine3.el.
8996 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
8998 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9000 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9002 2011-07-01 Martin Rudalics <rudalics@gmx.at>
9004 * window.el (same-window-buffer-names, same-window-regexps)
9005 (same-window-p, special-display-frame-alist)
9006 (special-display-popup-frame, special-display-function)
9007 (special-display-buffer-names, special-display-regexps)
9008 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9009 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9010 (split-window-preferred-function, split-height-threshold)
9011 (split-width-threshold, even-window-heights)
9012 (display-buffer-mark-dedicated, window-splittable-p)
9013 (split-window-sensibly, window-safely-shrinkable-p):
9015 (display-buffer): Don't spread args with function specifier
9016 because special-display-popup-frame won't like it.
9018 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
9020 Time-stamp simplifications and fixes.
9021 These improve accuracy slightly, and future-proof the code
9022 against some potential changes to current-time format.
9024 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
9025 by using time-since and float-time.
9027 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
9028 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
9029 + NNN microseconds".
9031 * type-break.el (type-break-time-sum): Rewrite using time-add.
9033 * play/hanoi.el (hanoi-current-time-float): Remove.
9034 All uses replaced by float-time.
9036 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
9037 This yields a more-accurate answer.
9038 (rng-time-to-float): Remove; no longer needed.
9040 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
9042 * calendar/timeclock.el (timeclock-seconds-to-time):
9043 Defalias to seconds-to-time, since they're the same thing.
9045 * emacs-lisp/elp.el (elp-elapsed-time):
9046 * emacs-lisp/benchmark.el (benchmark-elapse):
9047 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9049 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9051 * window.el (bury-buffer): Don't iconify the only frame.
9052 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9053 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
9055 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
9057 * eshell/em-smart.el (eshell-smart-display-navigate-list):
9058 Add mouse-yank-primary.
9060 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9062 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9064 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9066 * emacs-lisp/find-func.el (find-library--load-name): New fun.
9067 (find-library-name): Use it to find relative load names when provided
9068 absolute file name (bug#8803).
9070 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9072 * textmodes/flyspell.el (flyspell-word): Consider words that
9073 differ only in case as potential doublons (bug#5687).
9075 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9076 Remove two rather uninteresting debugging-like messages to make
9077 debbugs.el more silent.
9079 * comint.el (comint-password-prompt-regexp): Accept "Response" as
9080 a password-like phrase.
9082 2011-06-30 Masatake YAMATO <yamato@redhat.com>
9084 * progmodes/cc-guess.el: New file.
9086 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
9088 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9089 derived from `c-basic-common-init'.
9091 * progmodes/cc-mode.el (top-level): Require cc-guess.
9092 (c-basic-common-init): Use `cc-choose-style-for-mode'.
9094 2011-06-30 Lawrence Mitchell <wence@gmx.li>
9096 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9098 2011-06-30 Alan Mackenzie <acm@muc.de>
9100 * progmodes/cc-engine.el (c-guess-continued-construct):
9101 Correct the handling of template-args-cont, particularly for when font
9102 lock is disabled. Name this case as "CASE G".
9104 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9106 * allout.el (allout-yank-processing): Fix injection of extra space
9107 between bullet and non-whitespace character in first topic when
9108 pasting, ensuring that the actual spacing in the pasted topic
9109 following the bullet char is preserved. This extra space was
9110 causing pasted encrypted topics to get a decrypted status even
9111 when the content was actually still encrypted. Now the decryption
9112 status from before the paste is preserved.
9114 (allout-flag-region): Set all allout overlays so they evaporate
9115 when reduced to zero length (evanescent), to prevent overlay
9118 2011-06-30 Glenn Morris <rgm@gnu.org>
9120 * w32-fns.el (w32-charset-info-alist): Declare.
9122 * find-dired.el (find-grep-options): Simplify.
9124 * term/ns-win.el (ns-set-resource): Declare.
9126 * ses.el (row, col): Declare dynamic variables honestly.
9128 * textmodes/reftex-parse.el (index-tags): Declare.
9130 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
9132 * cus-edit.el (customize-push-and-save): New function.
9134 * files.el (hack-local-variables-confirm): Use it.
9136 * custom.el (load-theme): New arg NO-CONFIRM.
9137 Use customize-push-and-save (Bug#8720).
9138 (custom-enabled-themes): Doc fix.
9140 * cus-theme.el (customize-create-theme)
9141 (custom-theme-merge-theme): Callers to load-theme changed.
9143 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9145 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9146 short URLs have at least one dot in them (bug #7614).
9148 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9149 nil, because using a pty is apparently too slow (bug #895).
9151 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9153 * mail/sendmail.el (sendmail-query-once): New function.
9154 (sendmail-query-once-function): New variable.
9156 2011-06-29 Glenn Morris <rgm@gnu.org>
9158 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9160 * ses.el (top-level): Require cl when compiling.
9161 (ses-set-localvars): Fix error statement.
9162 Call it at compile time to silence a storm of warnings.
9164 2011-06-29 Martin Rudalics <rudalics@gmx.at>
9166 * window.el (normalize-live-buffer): Rename to
9167 window-normalize-buffer.
9168 (normalize-live-frame): Rename to window-normalize-frame.
9169 (normalize-any-window): Rename to window-normalize-any-window.
9170 (normalize-live-window): Rename to window-normalize-live-window.
9171 (make-window-atom): Rename to window-make-atom.
9172 (window-resize-reset): Rename to window--resize-reset.
9173 (window-resize-reset-1): Rename to window--resize-reset-1.
9174 (resize-mini-window): Rename to window--resize-mini-window.
9175 (resize-subwindows-skip-p): Rename to
9176 window--resize-subwindows-skip-p.
9177 (resize-subwindows-normal): Rename to
9178 window--resize-subwindows-normal.
9179 (resize-subwindows): Rename to window--resize-subwindows.
9180 (resize-other-windows): Rename to window--resize-siblings.
9181 (resize-this-window): Rename to window--resize-this-window.
9182 (resize-root-window): Rename to window--resize-root-window.
9183 (resize-root-window-vertically): Rename to
9184 window--resize-root-window-vertically.
9185 (normalize-buffer-to-display): Rename to
9186 window-normalize-buffer-to-display.
9187 (normalize-buffer-to-switch-to): Rename to
9188 window-normalize-buffer-to-switch-to.
9189 Correspondingly update all callers of the functions listed
9191 (display-buffer-alist, display-buffer-normalize-arguments)
9192 (display-buffer-normalize-options, display-buffer)
9193 (display-buffer-alist-set): Use "function" instead of
9196 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
9198 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9199 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9200 debbugs.gnu.org. Mention acknowledgment email.
9202 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9204 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9205 buffer multibyteness, since it shouldn't matter.
9207 2011-06-28 Martin Rudalics <rudalics@gmx.at>
9209 * window.el (display-buffer-in-side-window): Handle dedicated
9210 windows as in display-buffer-reuse-window.
9211 (display-buffer-normalize-alist): Use value of override
9213 (display-buffer-normalize-specifiers): Use value of
9214 other-window-means-other-frame specifier.
9215 (display-buffer-alist): Rewrite some texts in widgets.
9216 (display-buffer): Spread arguments when calling function
9217 specified by fun-with-args.
9219 2011-06-28 Deniz Dogan <deniz@dogan.se>
9221 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9224 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9225 selectors (Bug#5732).
9226 (css-proprietary-nmstart-re): Use `regexp-opt'.
9228 2011-06-27 Jari Aalto <jari.aalto@cante.net>
9230 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9231 (eshell-ls-date-format): New defcustom.
9232 (eshell-ls-file): Use it.
9234 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9236 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9238 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9240 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9241 (ange-ftp-make-tmp-name): New arg.
9242 (ange-ftp-file-local-copy): Use it.
9244 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
9246 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9247 no-conversion (Bug#8870).
9249 2011-06-27 Martin Rudalics <rudalics@gmx.at>
9251 * window.el (window-right, window-left, window-child)
9252 (window-child-count, window-last-child)
9253 (window-iso-combination-p, walk-window-tree-1)
9254 (window-atom-check-1, window-tree-1, delete-window)
9255 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9256 new naming conventions - window-vchild, window-hchild,
9257 window-next and window-prev are now called window-top-child,
9258 window-left-child, window-next-sibling and window-prev-sibling
9260 (resize-window-reset): Rename to window-resize-reset.
9261 (resize-window-reset-1): Rename to window-resize-reset-1.
9262 (resize-window): Rename to window-resize.
9263 (window-min-height, window-min-width)
9264 (resize-mini-window, resize-this-window, resize-root-window)
9265 (resize-root-window-vertically, adjust-window-trailing-edge)
9266 (enlarge-window, shrink-window, maximize-window)
9267 (minimize-window, delete-window, quit-restore-window)
9268 (split-window, balance-windows, balance-windows-area-adjust)
9269 (balance-windows-area, window-state-put-2)
9270 (display-buffer-even-window-sizes, display-buffer-set-height)
9271 (display-buffer-set-width, set-window-text-height)
9272 (fit-window-to-buffer): Rename all "resize-window" prefixed
9273 calls to use the "window-resize" prefix convention.
9274 (display-buffer-alist): Fix symbol for label specifier.
9275 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9276 corresponding specifier.
9277 Reported by Juanma Barranquero <lekktu@gmail.com>.
9279 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9281 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9283 (ses-call-printer): Does not pass an empty string to formatter when the
9284 cell is empty to keep from barking printer Calc math-format-value.
9286 2011-06-27 Richard Stallman <rms@gnu.org>
9288 * battery.el (battery-mode-line-limit): New variable.
9289 (battery-update): Handle it.
9291 * mail/rmailmm.el (rmail-mime-process-multipart):
9292 Handle truncated messages.
9294 2011-06-27 Glenn Morris <rgm@gnu.org>
9296 * progmodes/flymake.el (flymake-err-line-patterns):
9297 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9299 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9301 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
9302 (ses--clean-!, ses--clean-_): New functions.
9303 (ses-range): Add configurability of readout order, and conversion
9306 * ses.el (ses-repair-cell-reference-all): New function.
9307 (ses-cell-symbol): Set macro as safe, so that it can be used in
9310 * ses.el: Update cycle detection algorithm.
9311 (ses-localvars): Add ses--Dijkstra-attempt-nb and
9312 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
9313 (ses-set-localvars): New function.
9314 (ses-make-cell): Add property-list as a cell element.
9315 (ses-cell-property-get-fun, ses-cell-property-get)
9316 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
9317 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9319 (ses-cell-property-set, ses-cell-property-pop)
9320 (ses-cell-property-get-handle): New macro.
9321 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9322 New aliases, used for code readability.
9323 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9325 (ses-self-reference-early-detection): New defcustom.
9326 (ses-formula-references): Robustify against self-referring cells.
9327 (ses-mode): Use ses-set-localvars.
9328 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9329 before lauching the update processing.
9330 (ses-initialize-Dijkstra-attempt): New function.
9331 (ses-recalculate-cell): Update for cycle detection based on
9334 * ses.el: Fix commenting and indenting convention.
9336 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9338 * bs.el (bs-cycle-next): Complete last change.
9340 2011-06-27 Drew Adams <drew.adams@oracle.com>
9342 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9344 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9346 * net/network-stream.el (network-stream-open-starttls):
9347 Don't re-get capabilities unless we've reestablished connection.
9348 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9350 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9351 to binary to possibly avoid line encoding issues on Windows (among
9354 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9356 * net/network-stream.el (open-network-stream): Return an :error
9357 saying what the problem was, if possible.
9359 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9362 * net/network-stream.el (network-stream-open-starttls): If we
9363 wanted to use STARTTLS, and the server offered it, but we weren't
9364 able to because we had no STARTTLS support, then close the connection.
9365 (open-network-stream): Return an :error element, if present.
9367 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
9369 * hl-line.el (hl-line-sticky-flag): Doc fix.
9370 (global-hl-line-sticky-flag): New option (Bug#8323).
9371 (global-hl-line-highlight): Obey it.
9373 * vc/vc.el (vc-revert-show-diff): Default to t.
9375 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9377 * allout-widgets.el (allout-widgets-post-command-business):
9378 Stop decorating intermediate isearch matches. They're not being
9379 undecorated when an isearch is continued past, and isearch
9380 automatically collapses them. This leads to "widget leaks", where
9381 decorated items accumulate in collapsed areas. Lines with lots of
9382 hidden widgets can slow down cursor travel, substantially.
9383 Too much complicated machinery would be needed to ensure undecoration,
9384 so we're doing without this nicety.
9386 (allout-widgets-tally-string): Don't try to do a hash-table-count
9387 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9388 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9389 *Messages* when allout-widgets-maintain-tally is t.
9391 2011-06-26 Martin Rudalics <rudalics@gmx.at>
9393 * window.el (display-buffer-normalize-argument): Rename to
9394 display-buffer-normalize-arguments. Handle special meaning of
9395 LABEL argument. Respect special-display-function when popping up
9396 a new frame. Fix code searching for a window showing the buffer
9398 (display-buffer-normalize-specifiers):
9399 Call display-buffer-normalize-arguments.
9400 (display-buffer-in-window): Don't undedicate the window if its
9401 buffer remains the same.
9402 Reported by Drew Adams <drew.adams@oracle.com>.
9403 (display-buffer-alist): Add choice for same-window macro
9405 (display-buffer): Mention special meaning of LABEL argument in
9406 doc-string. Fix quoting. Don't pop up a new frame even as
9409 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
9411 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9412 avoid deleting the current window in some cases (bug#8911).
9414 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9416 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9419 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9421 * net/network-stream.el (network-stream-open-starttls):
9422 Use built-in TLS support if `gnutls-available-p' is true.
9423 (network-stream-open-tls): Ditto.
9425 2011-06-26 Leo Liu <sdl.web@gmail.com>
9427 * register.el (registerv): New struct.
9428 (registerv-make): New function.
9429 (jump-to-register, describe-register-1, insert-register):
9430 Support the jump-func, print-func and insert-func slot of a registerv
9433 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
9435 * vc/vc.el (vc-revert-show-diff): New defcustom.
9436 (vc-diff-internal): New arg specifying diff buffer.
9437 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9438 reuse an existing *vc-diff* buffer (Bug#8927).
9440 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9442 2011-06-26 Glenn Morris <rgm@gnu.org>
9444 * progmodes/f90.el (f90-critical-indent): New option.
9445 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9446 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9447 (f90-mode): Doc fix.
9448 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9449 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9450 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9451 (f90-match-end): Handle block, critical.
9453 2011-06-25 Glenn Morris <rgm@gnu.org>
9455 * calendar/diary-lib.el (diary-included-files): Doc fix.
9456 (diary-include-files): New function, extracted from
9457 diary-include-other-diary-files and diary-mark-included-diary-files.
9458 (diary-include-other-diary-files, diary-mark-included-diary-files):
9459 Just call diary-include-files.
9460 (diary-mark-entries): Reset diary-included-files on first call.
9462 * calendar/diary-lib.el (diary-mark-entries)
9463 (diary-mark-included-diary-files):
9464 Visit included diary-files in temp buffers.
9466 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9467 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9468 (f90-start-block-re, f90-imenu-generic-expression)
9469 (f90-looking-at-program-block-start, f90-no-block-limit):
9470 Add support for submodules.
9472 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9473 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
9475 2011-06-25 Eli Zaretskii <eliz@gnu.org>
9477 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9478 buffer-file-type before setting its value, to avoid disastrous
9479 global effects on decoding files for DOS/Windows systems. (Bug#8780)
9481 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
9483 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9485 * ses.el (ses-unload-function):
9486 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9488 * proced.el (proced-unload-function):
9489 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9491 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9493 * server.el (server-create-window-system-frame): Add parameters arg.
9494 (server-process-filter): Doc fix. Handle frame-parameters.
9496 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
9498 Fix bug#8730, bug#8781.
9500 * loadhist.el (unload--set-major-mode): New function.
9501 (unload-feature): Use it.
9503 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9504 (python-unload-function): New function.
9506 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9508 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9510 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9512 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9513 the candidates list.
9515 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
9517 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9519 2011-06-23 Richard Stallman <rms@gnu.org>
9521 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9522 (rmail-variables): Set next-error-move-function.
9523 (rmail-what-message): Take argument POS.
9524 (rmail-next-error-move): New function.
9526 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9528 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9529 messages for adjacent non-terminals.
9531 2011-06-23 Richard Stallman <rms@gnu.org>
9533 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
9534 (rmail-show-message-1): Preserve buffer modified flag.
9535 (rmail-start-mail): Don't specify use of rmail-mail-return;
9536 that's done by mail-bury now.
9537 (rmail-mail-return): Handle arg NEWBUF.
9539 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
9541 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9544 2011-06-23 Martin Rudalics <rudalics@gmx.at>
9546 * window.el (get-lru-window, get-mru-window)
9547 (get-largest-window): Never return a minibuffer window.
9548 (display-buffer-pop-up-window): Fix a bug that could lead to
9549 reusing the minibuffer window.
9550 (display-buffer): Pass original specifier argument to
9551 display-buffer-function instead of the normalized one.
9552 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9554 2011-06-22 Leo Liu <sdl.web@gmail.com>
9556 * minibuffer.el (completing-read-function)
9557 (completing-read-default): Move from minibuf.c
9559 2011-06-22 Richard Stallman <rms@gnu.org>
9561 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9562 to Rmail even if not started by a special Rmail command.
9564 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9565 Copy the buffer currently showing just one message.
9567 2011-06-22 Roland Winkler <winkler@gnu.org>
9569 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9570 (bibtex-clean-entry): First delete the old key so that a
9571 customized algorithm for generating the new key does not get
9572 confused by the old key.
9573 (bibtex-url): Obey regexp of first step.
9574 (bibtex-search-entries): Do not use add-to-list with local
9577 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9579 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9580 stored a user name, then query for the password first, instead of
9581 waiting for SMTP to give an error message and the trying again.
9583 2011-06-22 Lawrence Mitchell <wence@gmx.li>
9585 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9586 BUFFER in call-process.
9588 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9590 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9592 (smtpmail-try-auth-methods): Require user name and password from
9595 2011-06-22 Martin Rudalics <rudalics@gmx.at>
9597 * window.el (display-buffer-default-specifiers)
9598 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9599 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
9600 (split-window): Normalize SIDE argument (Bug#8916).
9602 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9603 (special-display-frame-alist, special-display-popup-frame):
9604 Remove duplicate declarations. These are now in window.el.
9606 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9608 * mail/smtpmail.el (smtpmail-via-smtp):
9609 Set :use-starttls-if-possible so that we always use STARTTLS if the
9610 server supports it. SMTP servers that support STARTTLS commonly
9613 * net/network-stream.el (network-stream-open-starttls): Support
9614 upgrading to STARTTLS always, even if we don't have built-in support.
9615 (open-network-stream): Add the :always-query-capabilities keyword.
9617 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9618 upgrades with `open-network-stream', and rely solely on
9619 auth-source for all credentials. Big changes throughout the file,
9621 (smtpmail-auth-credentials): Remove.
9622 (smtpmail-starttls-credentials): Remove.
9623 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9626 * net/network-stream.el (network-stream-open-starttls):
9627 Provide support for client certificates both for external and built-in
9629 (auth-source): Require.
9630 (open-network-stream): Document the :client-certificate keyword.
9631 (network-stream-certificate): Change cert-cert to cert and
9634 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
9636 * net/tramp-cache.el (top): Don't load the persistency file when
9637 "emacs -Q" has been called.
9639 2011-06-21 Tim Harper <timcharper@gmail.com>
9641 * term/ns-win.el (ns-initialize-window-system):
9642 Set application-specific `ApplePressAndHoldEnabled' system
9643 resource to NO as it is not yet supported by the NS port.
9645 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
9647 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9648 (list-dynamic-libraries): ...not here.
9650 2011-06-21 Leo Liu <sdl.web@gmail.com>
9652 * subr.el (sha1): Implement sha1 using secure-hash.
9654 2011-06-21 Martin Rudalics <rudalics@gmx.at>
9656 * window.el (display-buffer-alist): In default value do not
9657 enforce searching a window on any but the selected frame.
9658 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9659 (display-buffer-select-window): Remove function.
9660 (display-buffer-in-window): When a window on another frame gets
9661 reused, do not select it any more but just raise its frame if
9662 necessary (Bug#8851) and (Bug#8856).
9663 (display-buffer-normalize-options): Handle pop-up-frames related
9664 options more faithfully.
9665 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9666 window if it is on another frame.
9667 (display-buffer-alist, display-buffer-default-specifiers):
9668 Don't make new frame unsplittable by default.
9669 (display-buffer-normalize-argument): Fix doc-string typo and use
9670 'same-frame-other-window instead of 'other-window when associating
9671 with display-buffer-macro-specifiers.
9673 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9675 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9677 (5x5-mode-map, 5x5-mode-menu): Bind them.
9678 (5x5-draw-grid): Tweak the solver's rendering.
9680 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9682 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9683 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9685 2011-06-21 Drew Adams <drew.adams@oracle.com>
9687 * menu-bar.el: Use function variable instead of switch-to-buffer.
9688 (menu-bar-select-buffer-function): New variable.
9689 (menu-bar-update-buffers): Use it (bug#8876).
9691 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9693 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9696 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9698 * x-dnd.el (x-dnd-version-from-flags)
9699 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9700 and long as number (Bug#8899).
9701 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9703 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9705 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
9706 (completion-try-completion, completion-all-completions): Compute the
9707 metadata argument if it's missing; make it optional (bug#8795).
9709 * wid-edit.el: Use lex-bind and move towards completion-at-point.
9710 (widget-complete): Use new :completion-function property.
9711 (widget-completions-at-point): New function.
9712 (default): Use :completion-function instead of :complete.
9713 (widget-default-completions): Rename from widget-default-complete;
9715 (widget-string-complete, widget-file-complete, widget-color-complete):
9717 (file, symbol, function, variable, coding-system, color):
9718 * international/mule-cmds.el (default-input-method, charset)
9719 (language-info-custom-alist):
9720 * cus-edit.el (face): Use new property :completions.
9722 * progmodes/pascal.el (pascal-completions-at-point): New function.
9723 (pascal-mode): Use it.
9724 (pascal-mode-map): Use completion-at-point.
9725 (pascal-toggle-completions): Make obsolete.
9726 (pascal-complete-word, pascal-show-completions):
9727 * progmodes/octave-mod.el (octave-complete-symbol):
9728 Redefine as obsolete alias.
9729 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9730 Signal absence of completion info for old Octave,
9731 (inferior-octave-complete): Redefine as obsolete alias.
9732 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9733 (meta-completions-at-point): Rename from meta-complete-symbol and
9734 adapt it for use on completion-at-point-functions.
9735 (meta-common-mode): Use it.
9736 (meta-looking-at-backward, meta-match-buffer): Remove.
9737 (meta-complete-symbol): Redefine as obsolete alias.
9738 (meta-common-mode-map): Use completion-at-point.
9739 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9740 (makefile-mode-map): Use completion-at-point.
9741 (makefile-completions-at-point): Rename from makefile-complete and
9742 adapt it for use on completion-at-point-functions.
9743 (makefile-mode): Use it.
9744 (makefile-complete): Redefine as obsolete alias.
9746 2011-06-20 Deniz Dogan <deniz@dogan.se>
9748 * net/rcirc.el: Delete trailing whitespaces once and for all.
9750 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9752 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9754 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
9756 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9758 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9760 2011-06-19 Martin Rudalics <rudalics@gmx.at>
9762 * window.el (display-buffer-other-window-means-other-frame):
9763 Call display-buffer-normalize-alist.
9764 (display-buffer-normalize-specifiers-1): Rename to
9765 display-buffer-normalize-argument. New argument other-frame.
9767 (display-buffer-normalize-specifiers-2): Rename to
9768 display-buffer-normalize-options.
9769 (display-buffer-normalize-alist-1): New function.
9770 (display-buffer-normalize-specifiers-3): Rename to
9771 display-buffer-normalize-alist.
9772 Call display-buffer-normalize-alist-1.
9773 (display-buffer-normalize-options-inhibit): New variable.
9774 (display-buffer-normalize-specifiers): Rewrite calling
9775 display-buffer-normalize-alist,
9776 display-buffer-normalize-argument, and
9777 display-buffer-normalize-options. Don't call the latter if
9778 display-buffer-normalize-options-inhibit is non-nil.
9779 (frame-auto-delete): New option.
9780 (window-deletable-p): Use frame-auto-delete.
9781 (window-list-no-nils, window-state-ignored-parameters)
9782 (window-state-get-1, window-state-get, window-state-put-list)
9783 (window-state-put-1, window-state-put-2, window-state-put):
9785 (display-buffer-normalize-options): Move special-display-p group
9786 after pop-up-frame group (Bug#8851) and (Bug#8856).
9788 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
9790 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9792 (rx-submatch-n): New function.
9795 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9798 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9800 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9802 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9803 anytime existing face settings are present (Bug#8889).
9805 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9806 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9807 Remove unused argument.
9809 2011-06-18 Martin Rudalics <rudalics@gmx.at>
9811 * window.el (display-buffer-default-specifiers):
9812 Remove pop-up-frame. Add pop-up-window-min-height,
9813 pop-up-window-min-width, and another reuse-window specifier
9814 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
9815 (display-buffer-normalize-specifiers-2):
9816 Handle split-height-threshold and split-width-threshold also when
9817 pop-up-windows is unset. Add a reuse-window specifier for the
9818 case popping up a new window fails.
9819 (special-display-popup-frame): Remove double quoting.
9820 (display-buffer-normalize-specifiers-1): Fix thinko.
9822 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9824 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9825 according to comint-completion-addsuffix.
9827 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9828 (pcomplete-suffix-list): Mark as obsolete.
9829 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9830 pcomplete-seen in the closure.
9831 (pcomplete-comint-setup): Setup completion-at-point as well.
9832 (pcomplete--entries): New function.
9833 (pcomplete--env-regexp): New var.
9834 (pcomplete-entries): Rewrite to work with partial-completion and
9835 without relying on pcomplete-suffix-list.
9836 (pcomplete-pare-list): Remove, unused.
9838 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9840 * window.el (display-buffer-alist): Set pop-up-window-min-height
9841 and pop-up-window-min-width in default value. Reported by
9842 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9843 other-window-means-other-frame.
9844 (display-buffer-macro-specifiers): Comment out entry for
9845 other-window specifier.
9846 (display-buffer-other-window-means-other-frame): New function.
9847 (display-buffer-normalize-specifiers-1): New arguments
9848 buffer-name and label. Treat other-window case specially.
9849 (display-buffer-normalize-specifiers-2): Treat other-window case
9851 (display-buffer-normalize-specifiers-3): New function.
9852 (display-buffer-normalize-specifiers):
9853 Call display-buffer-normalize-specifiers-3.
9855 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9857 * window.el (same-window-p): Fix two typos introduced when
9858 adding with-no-warnings.
9859 (display-buffer-normalize-specifiers-1): Don't check
9860 pop-up-frames for 'unset initialization.
9861 (display-buffer-normalize-specifiers-2): Major rewrite using
9862 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9863 (pop-up-frames, display-buffer-reuse-frames)
9864 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9865 Suggested by David Engster <deng@randomsample.de>.
9866 (even-window-heights): Initialize to 'unset.
9867 (display-buffer-alist-set): Handle new 'unset initializations.
9868 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9871 2011-06-16 Martin Rudalics <rudalics@gmx.at>
9873 * window.el (display-buffer-normalize-specifiers-1):
9874 Respect current value of pop-up-frames for most reasonable values of
9875 second argument of display-buffer (Bug#8865).
9876 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9877 (switch-to-buffer-other-window-same-frame)
9878 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9880 (display-buffer): Don't check noninteractive when calling
9881 display-buffer-pop-up-frame.
9882 (display-buffer-pop-up-frame): Never pop up a frame in
9883 noninteractive mode (Bug#8857).
9884 (enlarge-window, shrink-window): Don't report an error when the
9885 window can't be resized as requested (Bug#8862).
9887 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9889 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9891 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9893 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9895 2011-06-15 Alan Mackenzie <acm@muc.de>
9897 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9898 for declarators, disable knr checking to speed up for normal files.
9899 2: Refactor, replacing a sequence of nested if forms by a cond form.
9901 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9903 * net/network-stream.el (open-network-stream): Add the keyword
9904 :always-query-capabilities for the case where you want to force a
9905 `plain' network connection, but the protocol still requires the
9906 capabilitiy command (i.e., SMTP and EHLO).
9908 * subr.el (process-live-p): Rename from `process-alive-p' for
9909 consistency with other `-live-p' functions.
9911 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9913 * window.el (same-window-buffer-names, same-window-regexps)
9914 (special-display-frame-alist, special-display-popup-frame)
9915 (special-display-function, special-display-buffer-names)
9916 (special-display-regexps, pop-up-frame-alist)
9917 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9918 (pop-up-windows, split-window-preferred-function)
9919 (split-height-threshold, split-width-threshold, even-window-heights)
9920 (display-buffer-mark-dedicated): Don't encourage the use of
9921 display-buffer-alist from Elisp code.
9923 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9925 * progmodes/python.el (python-mode): Derive from prog-mode.
9926 * progmodes/ps-mode.el (ps-mode):
9927 * progmodes/mixal-mode.el (mixal-mode):
9928 * progmodes/cfengine.el (cfengine-mode):
9929 * progmodes/ld-script.el (ld-script-mode): Likewise.
9931 2011-06-15 Martin Rudalics <rudalics@gmx.at>
9933 * window.el (display-buffer-alist): Trim default value to avoid
9934 popping up a new frame (Bug#8857) or reusing an arbitrary window
9936 (display-buffer): Do not fall back on popping up a new frame in
9937 batch mode (Bug#8857).
9939 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
9941 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9942 (custom-theme-summary): New function.
9943 (customize-themes): Use it.
9945 2011-06-13 Glenn Morris <rgm@gnu.org>
9947 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9949 2011-06-13 Martin Rudalics <rudalics@gmx.at>
9951 * help.el (help-window): Remove variable.
9952 (help-window-point-marker, temp-buffer-max-height)
9953 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9954 (help-print-return-message): Don't set help-window.
9955 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9956 (help-window-setup-finish): Remove.
9957 (help-window-display-message, help-window-setup)
9958 (with-help-window): Major rewrite based on new
9959 display-buffer-window variable.
9961 * help-mode.el (help-mode-finish): Remove help-window related
9964 * view.el (view-exits-all-viewing-windows): Remove reference to
9965 view-return-to-alist in doc-string.
9966 (view-return-to-alist): Make obsolete.
9967 (view-buffer): Call pop-to-buffer-same-window and remove
9969 (view-buffer-other-window): Call pop-to-buffer-other-window and
9970 simplify code. Ignore second argument.
9971 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9972 simplify code. Ignore second argument.
9973 (view-return-to-alist-update): Make obsolete.
9974 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9975 Rewrite using quit-restore window parameters.
9976 (view-mode-exit): Rename second argument to EXIT-ONLY.
9977 Rewrite using quit-restore-window.
9978 (View-exit, View-exit-and-edit, View-leave, View-quit)
9979 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9980 appropriate arguments.
9981 (view-end-message): Use quit-restore window parameter.
9983 * window.el (display-buffer-function): Rewrite doc-string.
9984 (display-buffer-window, display-buffer-alist): New variables.
9985 (display-buffer-split-specifiers)
9986 (display-buffer-side-specifiers)
9987 (display-buffer-macro-specifiers): New constants.
9988 (display-buffer-even-window-sizes, display-buffer-set-height)
9989 (display-buffer-set-width, display-buffer-select-window)
9990 (display-buffer-in-window, display-buffer-reuse-window)
9991 (display-buffer-split-window-1, display-buffer-split-window)
9992 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9993 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9994 (display-buffer-in-side-window, normalize-buffer-to-display)
9995 (display-buffer-normalize-specifiers-1)
9996 (display-buffer-normalize-specifiers-2)
9997 (display-buffer-normalize-specifiers, display-buffer-frame):
9999 (display-buffer): Major rewrite.
10000 (display-buffer-other-window, display-buffer-other-frame)
10001 (pop-to-buffer, switch-to-buffer-other-window)
10002 (switch-to-buffer-other-frame): Rewrite.
10003 (display-buffer-same-window, display-buffer-same-frame)
10004 (display-buffer-same-frame-other-window)
10005 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10006 (pop-to-buffer-other-window)
10007 (pop-to-buffer-same-frame-other-window)
10008 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10009 (switch-to-buffer-other-window-same-frame): New functions.
10010 (same-window-p, special-display-p): Rewrite disabling warnings.
10012 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10013 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10015 (same-window-buffer-names, same-window-regexps)
10016 (special-display-frame-alist, special-display-popup-frame)
10017 (special-display-function, special-display-buffer-names)
10018 (special-display-regexps, pop-up-frame-alist)
10019 (pop-up-frame-function, split-window-preferred-function)
10020 (split-height-threshold, split-width-threshold)
10021 (even-window-heights): Make obsolete.
10023 2011-06-12 Glenn Morris <rgm@gnu.org>
10025 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
10026 Misc simplifications.
10028 2011-06-12 Martin Rudalics <rudalics@gmx.at>
10030 * window.el (window-safely-shrinkable-p): Restore function which
10031 was inadvertently removed in change from 2011-06-11. Declare as
10034 * calendar/calendar.el (calendar-generate-window):
10035 Use window-iso-combined-p instead of combination of one-window-p and
10036 window-safely-shrinkable-p.
10038 2011-06-12 Glenn Morris <rgm@gnu.org>
10040 * progmodes/fortran.el (fortran-mode-syntax-table):
10041 * progmodes/f90.el (f90-mode-syntax-table):
10042 Set % to punctuation. (Bug#8820)
10043 (f90-find-tag-default): Remove, no longer needed.
10045 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
10047 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10049 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
10051 * image.el (image-animated-p): Return animation delay in seconds.
10052 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10053 (image-animate-timeout): Remove DELAY argument. Don't assume
10054 every subimage has the same delay; get it from image-animated-p.
10055 (image-animate): Caller changed.
10057 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
10059 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10060 to ignored backtrace functions.
10062 2011-06-11 Glenn Morris <rgm@gnu.org>
10064 * calendar/appt.el (appt-disp-window-function): Doc fix.
10065 (appt-check): Handle overlapping appointments. (Bug#8337)
10067 2011-06-11 Martin Rudalics <rudalics@gmx.at>
10069 * window.el (window-tree-1, window-tree): New functions, moving
10070 the latter to window.el.
10071 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10072 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10073 (bw-refresh-edges): Remove.
10074 (balance-windows-1, balance-windows-2): New functions.
10075 (balance-windows): Rewrite in terms of window tree functions,
10076 balance-windows-1 and balance-windows-2.
10077 (bw-adjust-window): Remove.
10078 (balance-windows-area-adjust): New function with functionality of
10079 bw-adjust-window but using resize-window.
10080 (set-window-text-height): Rewrite doc-string.
10081 Use normalize-live-window and resize-window.
10082 (enlarge-window-horizontally, shrink-window-horizontally):
10083 Rename argument to DELTA.
10084 (window-buffer-height): New function.
10085 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10086 Rewrite using new window resize routines.
10087 (kill-buffer-and-window, mouse-autoselect-window-select):
10088 Use ignore-errors instead of condition-case.
10089 (quit-window): Call delete-frame instead of delete-windows-on
10090 for the only buffer on frame.
10092 2011-06-10 Martin Rudalics <rudalics@gmx.at>
10094 * loadup.el (top-level): Load window before files for the sake
10095 of replace-buffer-in-windows.
10097 * files.el (read-buffer-to-switch)
10098 (switch-to-buffer-other-window)
10099 (switch-to-buffer-other-frame, display-buffer-other-frame):
10102 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10103 (previous-buffer): Move to window.el.
10105 * bindings.el (unbury-buffer): Move to window.el.
10107 * window.el (delete-other-windows-vertically): Move after
10108 definition of delete-other-windows.
10109 (other-window, delete-windows-on, replace-buffer-in-windows):
10110 Move here from window.c.
10111 (record-window-buffer, unrecord-window-buffer)
10112 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10113 (switch-to-next-buffer): New functions.
10114 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10115 from simple.el. Call switch-to-next-buffer.
10116 (previous-buffer): Move here from simple.el.
10117 Call switch-to-prev-buffer.
10118 (bury-buffer): Move here from buffer.c. Switch to previous
10119 buffer when window cannot be deleted.
10120 (unbury-buffer): Move here from bindings.el.
10121 (ctl-x-map): Move binding for other-window from window.c to
10123 (read-buffer-to-switch, switch-to-buffer-other-window)
10124 (switch-to-buffer-other-frame): Move here from files.el.
10125 (normalize-buffer-to-switch-to): New functions.
10126 (switch-to-buffer): Move here from buffer.c.
10127 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
10129 2011-06-10 Martin Rudalics <rudalics@gmx.at>
10131 * window.el (window-min-height, window-min-width): Move here
10132 from window.c. Add defcustoms and rewrite doc-strings.
10133 (resize-mini-window, resize-window): New functions.
10134 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10135 Move here from window.c.
10136 (maximize-window, minimize-window): New functions.
10137 (delete-window, delete-other-windows, split-window): Move here
10139 (window-split-min-size): New function.
10140 (split-window-keep-point): Mention split-window-above-each-other
10141 instead of split-window-vertically.
10142 (split-window-above-each-other, split-window-vertically):
10143 Rename split-window-vertically to split-window-above-each-other
10144 and provide defalias for old definition.
10145 (split-window-side-by-side, split-window-horizontally):
10146 Rename split-window-horizontally to split-window-side-by-side
10147 and provide defalias for the old definition.
10148 (ctl-x-map): Move bindings for delete-window,
10149 delete-other-windows and enlarge-window here from window.c.
10150 Replace bindings for split-window-vertically and
10151 split-window-horizontally by bindings for
10152 split-window-above-each-other and split-window-side-by-side.
10154 * cus-start.el (all): Remove entries for window-min-height and
10155 window-min-width. Add entries for window-splits and
10158 2011-06-09 Glenn Morris <rgm@gnu.org>
10160 * calendar/appt.el (appt-mode-line): New function.
10161 (appt-check, appt-disp-window): Use it.
10163 * files.el (hack-one-local-variable-eval-safep):
10164 Allow minor-modes with explicit +/-1 arguments.
10166 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10168 * term/xterm.el (xterm): Add defgroup.
10169 (xterm-extra-capabilities): Add defcustom to supply known xterm
10170 capabilities, skip querying them, or query them (default).
10171 (terminal-init-xterm): Use it.
10172 (terminal-init-xterm-modify-other-keys): New function to set up
10173 modifyOtherKeys support to simplify `terminal-init-xterm'.
10175 2011-06-09 Martin Rudalics <rudalics@gmx.at>
10177 * window.el (resize-window-reset, resize-window-reset-1)
10178 (resize-subwindows-skip-p, resize-subwindows-normal)
10179 (resize-subwindows, resize-other-windows, resize-this-window)
10180 (resize-root-window, resize-root-window-vertically)
10181 (window-deletable-p, window-or-subwindow-p)
10182 (frame-root-window-p): New functions.
10184 2011-06-09 Glenn Morris <rgm@gnu.org>
10186 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10187 (ange-ftp-get-files): Use it.
10189 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10191 * mail/sendmail.el (mail-recover-1, mail-recover):
10192 * files.el (recover-file, recover-session):
10193 Handle dired-listing-switches not being just a single short option.
10195 2011-06-09 Glenn Morris <rgm@gnu.org>
10197 * calendar/appt.el (appt-display-message, appt-disp-window):
10198 Handle lists of appointments.
10200 2011-06-08 Martin Rudalics <rudalics@gmx.at>
10202 * window.el (one-window-p): Move down in code.
10203 Rewrite doc-string.
10204 (window-current-scroll-bars): Rewrite doc-string.
10205 Normalize live window argument.
10206 (walk-windows, get-window-with-predicate, count-windows):
10207 Rewrite doc-string. Use window-list-1.
10208 (window-in-direction-2, window-in-direction, get-mru-window):
10211 2011-06-08 Reuben Thomas <rrt@sc3d.org>
10213 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10214 Doc fix (Bug#8713).
10216 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
10218 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10220 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
10222 * loadhist.el (unload-feature-special-hooks):
10223 Add `comint-output-filter-functions'.
10225 2011-06-08 Ivan Kanis <gnu@kanis.fr>
10227 * calendar/appt.el (appt-check): Move some initializations into the let.
10229 2011-06-08 Martin Rudalics <rudalics@gmx.at>
10231 * window.el (window-height): Defalias to window-total-height.
10232 (window-width): Defalias to window-body-width.
10234 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
10236 * image-mode.el (image-toggle-animation): New command.
10237 (image-mode-map): Bind it to RET.
10238 (image-mode): Update message.
10239 (image-toggle-display-image): Avoid a spurious cache flush.
10240 (image-transform-rotation): Doc fix.
10241 (image-transform-properties): Return quickly in the normal case.
10242 (image-animate-loop): Rename from image-animate-max-time.
10244 * image.el (image-animate-max-time): Move to image-mode.el.
10245 (create-animated-image): Remove unnecessary function.
10246 (image-animate): Rename from image-animate-start. New arg.
10247 (image-animate-stop): Remove; just use image-animate-timer.
10248 (image-animate-timer): Use car-safe.
10249 (image-animate-timeout): Rename argument.
10251 2011-06-07 Martin Rudalics <rudalics@gmx.at>
10253 * window.el (get-lru-window, get-largest-window): Move here from
10254 window.c. Rename first argument to ALL-FRAMES.
10255 Rephrase doc-strings.
10256 (get-buffer-window-list): Rewrite using window-list-1.
10257 Rephrase doc-string.
10258 (window-safe-min-height, window-safe-min-width): New constants.
10259 (window-size-ignore, window-min-size, window-min-size-1)
10260 (window-sizable, window-sizable-p, window-size-fixed-1)
10261 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10262 (window-max-delta-1, window-max-delta, window-resizable)
10263 (window-resizable-p, window-total-height, window-total-width)
10264 (window-body-width): New functions.
10265 (window-full-height-p, window-full-width-p): Rewrite using
10267 (window-body-height): Rewrite using window-body-size.
10269 2011-06-06 Martin Rudalics <rudalics@gmx.at>
10271 * window.el (window-right, window-left, window-child)
10272 (window-child-count, window-last-child, window-any-p)
10273 (normalize-live-buffer, normalize-live-frame)
10274 (normalize-any-window, normalize-live-window)
10275 (window-iso-combination-p, window-iso-combined-p)
10276 (window-iso-combinations)
10277 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10278 (windows-with-parameter, window-with-parameter)
10279 (window-atom-root, make-window-atom, window-atom-check-1)
10280 (window-atom-check, window-side-check, window-check):
10282 (ignore-window-parameters, window-sides, window-sides-vertical)
10283 (window-sides-slots): New variables.
10284 (window-size-fixed): Move down in code. Minor doc-string fix.
10286 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10288 * comint.el (comint-dynamic-complete-as-filename)
10289 (comint-dynamic-complete-filename): Correctly call
10290 completion-in-region.
10292 2011-06-05 Deniz Dogan <deniz@dogan.se>
10294 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10297 2011-06-05 Deniz Dogan <deniz@dogan.se>
10299 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10300 (rcirc): Use it to prompt for encryption.
10302 2011-06-05 Roland Winkler <winkler@gnu.org>
10304 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10305 (bibtex-search-entries): New command bound to C-c C-a.
10306 (bibtex-display-entries): New function.
10308 2011-06-05 Roland Winkler <winkler@gnu.org>
10310 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10311 (bibtex-insert-kill): After yanking insert newline if necessary.
10312 (bibtex-initialize): Call bibtex-string-files-init only once.
10313 (bibtex-mode): Do not call easy-menu-add.
10314 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10315 (bibtex-yank): Set arg properly if nil.
10317 2011-06-05 Roland Winkler <winkler@gnu.org>
10319 * textmodes/bibtex.el (bibtex-search-entry-globally):
10321 (bibtex-search-entry): Use it.
10323 2011-06-05 Roland Winkler <winkler@gnu.org>
10325 * textmodes/bibtex.el (bibtex-entry-format): New option
10327 (bibtex-format-entry, bibtex-reformat): Honor this option.
10328 (bibtex-parse-entry): Return fields in proper order.
10330 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
10332 * doc-view.el (doc-view-remove-if): Move computation of result out
10333 of `dolist' to silence misleading lexical-binding warning.
10335 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
10337 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10338 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10340 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
10342 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10345 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
10347 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10348 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10349 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10350 (tramp-parse-putty):
10351 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10352 (tramp-completion-function-alist-ssh)
10353 (tramp-completion-function-alist-telnet)
10354 (tramp-completion-function-alist-su)
10355 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10358 * net/tramp-ftp.el:
10360 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10361 load "tramp.el" `tramp-set-completion-function'.
10363 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10365 * shell.el: Require and use pcomplete.
10366 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10367 (shell-completion-vars): Set pcomplete-default-completion-function.
10369 2011-06-04 Deniz Dogan <deniz@dogan.se>
10371 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10374 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10376 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10378 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
10380 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10381 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10382 * vc/log-view.el (log-view-beginning-of-defun):
10383 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10384 (smerge-refine-forward, smerge-refine-chopup-region):
10385 Silence warning for unused `dotimes' counter variables.
10387 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10389 * net/tramp.el (tramp-with-progress-reporter): Rename from
10390 with-progress-reporter. Use `declare'.
10391 * net/tramp-smb.el:
10393 * net/tramp-gvfs.el: Update all uses.
10395 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10397 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10398 buffer isn't killed before making it current.
10400 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10402 Silence various byte-compiler warnings.
10403 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10404 `access-type' and new obsolescence format.
10405 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10407 (byte-compile-check-variable): New `access-type' argument.
10408 Only warn if the access-type is obsolete.
10409 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10410 (byte-compile-variable-set): Adjust callers.
10411 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10412 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10413 setting it as obsolete.
10414 * simple.el (minibuffer-completing-symbol):
10415 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10416 access as obsolete.
10417 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10419 * international/quail.el (quail-mouse-choose-completion): Remove unused
10420 code referring to obsolete var.
10421 (quail-choose-completion-string): Remove.
10422 * server.el (server-clients-with, server-kill-buffer-query-function)
10423 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10424 * proced.el (proced-send-signal):
10425 * emacs-lisp/lisp.el (lisp-complete-symbol):
10426 Replace completion-annotate-function with completion-extra-properties.
10428 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10430 * simple.el (goto-line): Use read-number.
10431 (overriding-map-is-bound): Remove.
10432 (saved-overriding-map): Change default.
10433 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10434 Take the map as argument.
10435 (universal-argument, negative-argument, digit-argument): Use it.
10436 (restore-overriding-map): Adjust.
10437 (do-auto-fill): Use fill-forward-paragraph.
10438 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10440 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10441 (minibuffer-inactive-mode): New major mode.
10442 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10443 the *Messages* buffer" hack.
10444 (mouse-popup-menubar): Don't burp if the event is a normal key.
10446 Miscellaneous tweaks.
10447 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10448 lexical scoping as in subr.el's dolist and dotimes.
10449 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10450 Silence compiler warning.
10451 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10452 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10453 * international/ccl.el (ccl-compile): Trivial simplification.
10454 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10455 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10456 `printflag' argument.
10457 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10458 Purecopy the whole obsolescence data.
10460 2011-06-01 Leo Liu <sdl.web@gmail.com>
10462 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10463 improve doc-string as suggested by Marco Pessotto
10464 <melmothx@gmail.com>.
10465 (rcirc-print): Fix last change.
10467 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10469 * minibuffer.el (complete-with-action): Return nil for the metadata and
10470 boundaries of non-functional tables.
10471 (completion-table-dynamic): Return nil for the metadata.
10472 (completion-table-with-terminator): Add default case, using
10473 complete-with-action.
10474 (completion--metadata): New function.
10475 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10476 to try and avoid pathological performance problems.
10477 (completion--embedded-envvar-table): Return `category' metadata.
10479 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10481 * subr.el (process-alive-p): New tiny convenience function.
10483 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10485 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10486 content but also its previous major mode.
10488 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
10490 * emacs-lisp/debug.el (debug): Restore the previous content of the
10491 *Backtrace* buffer when we exit with C-M-c.
10493 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10495 * minibuffer.el: Add metadata method to completion tables.
10496 (completion-category-overrides): New defcustom.
10497 (completion-metadata, completion--field-metadata)
10498 (completion-metadata-get, completion--styles)
10499 (completion--cycle-threshold): New functions.
10500 (completion-try-completion, completion-all-completions):
10501 Add `metadata' argument to choose completion-styles.
10502 (completion--do-completion): Use metadata to choose cycling.
10503 (completion-all-sorted-completions): Use metadata for sorting.
10504 Remove :completion-cycle-penalty which is not needed any more.
10505 (completion--try-word-completion): Add `metadata' argument.
10506 (minibuffer-completion-help): Check metadata for annotation function
10508 (completion-file-name-table): Return `category' metadata.
10509 (minibuffer-completing-file-name): Make obsolete.
10510 * simple.el (minibuffer-completing-symbol): Make obsolete.
10511 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10512 completion-try-completion.
10514 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10516 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10518 2011-05-30 Leo Liu <sdl.web@gmail.com>
10520 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
10521 (rcirc-print): Decode all incoming messages (bug#8744).
10522 (rcirc-decode-coding-system): Allow value nil for automatic coding
10525 2011-06-01 Glenn Morris <rgm@gnu.org>
10527 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10529 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10531 * image.el (image-animate-max-time): Allow nil and t values.
10533 (create-animated-image): Doc fix.
10534 (image-animate-start): Remove second arg; just use
10535 image-animate-max-time.
10536 (image-animate-timeout): Doc fix. Args changed.
10538 * image-mode.el (image-toggle-display-image): Ensure that the
10539 image spec passed to the animate timer is the same object as in
10540 the buffer's display property (Bug#6981).
10541 (image-transform-properties): Doc fix.
10543 * image.el (image-animate-max-time): Default to nil.
10545 2011-05-29 Martin Rudalics <rudalics@gmx.at>
10547 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10548 entire buffer list (Bug#8184).
10550 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10552 * image.el (imagemagick-types-inhibit)
10553 (imagemagick-register-types): Doc fix.
10555 2011-05-29 Deniz Dogan <deniz@dogan.se>
10557 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10560 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10562 * select.el: Don't perform clipboard-manager saving in hooks;
10563 leave the hooks empty.
10565 2011-05-28 Leo Liu <sdl.web@gmail.com>
10567 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10568 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10569 (occur-edit-mode): New major mode (Bug#8463).
10570 (occur-after-change-function): New function.
10571 (occur-engine): Give Occur tags a read-only property.
10573 2011-05-28 Kevin Ryde <user42@zip.com.au>
10575 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10577 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10579 * bindings.el (help-echo): Make the initial non-indicator dash
10580 empty on graphical terminals (Bug#7295).
10582 * files.el (auto-mode-alist): Move config rule after the
10583 in-stripping one (Bug#8547).
10585 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10587 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10588 setting (Bug#8740).
10590 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10592 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10593 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10596 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10598 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10600 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10602 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10603 (hs-hide-block-at-point, hs-find-block-beginning)
10604 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10607 2011-05-28 Glenn Morris <rgm@gnu.org>
10609 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10611 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10613 * help-fns.el (describe-function-1): If the function is a derived
10614 major mode, print the parent mode.
10616 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10617 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10619 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10621 * minibuffer.el (completion--capf-wrapper): Check applicability before
10622 returning non-nil for non-exclusive completion data.
10623 * progmodes/etags.el (tags-completion-at-point-function):
10624 * info-look.el (info-lookup-completions-at-point): Mark as
10626 (info-complete): Adjust accordingly.
10628 * info-look.el: Convert to lexical-binding and completion-at-point.
10629 (info-lookup-completions-at-point): New function.
10630 (info-complete): Use it and completion-in-region.
10632 2011-05-28 Drew Adams <drew.adams@oracle.com>
10634 * isearch.el: Let M-e start with point at the first mismatched char.
10635 (isearch-fail-pos): New function.
10636 (isearch-edit-string): Use it.
10638 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10640 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10642 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
10644 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10645 traversal functions for avl-trees.
10646 (avl-tree--stack): New struct.
10647 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10648 (avl-tree-enter): Add optional `updatefun' arg.
10649 (avl-tree--do-enter): Add optional `updatefun' arg.
10650 Change return value.
10651 (avl-tree-delete): Add optional `test' and `nilflag' args.
10652 (avl-tree--do-delete): Add `test' and `nilflag' args.
10653 Change return value.
10654 (avl-tree-member): Add optional `nilflag'
10655 (avl-tree-member-p): New function.
10656 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10657 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10658 (avl-tree-stack-empty-p): New functions.
10660 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10661 avl-tree--del-balance1 and make it work both ways.
10662 (avl-tree--del-balance2): Remove.
10663 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10664 make it work both ways.
10665 (avl-tree--enter-balance2): Remove.
10666 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10668 (avl-tree--mapc, avl-tree-map): Add direction argument.
10670 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
10672 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10674 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
10676 * select.el: Support clipboard managers with built-in function
10677 x-clipboard-manager-save, via delete-frame-functions and
10679 (xselect-convert-to-targets): Add MULTIPLE target to list.
10680 (xselect-convert-to-save-targets): New function.
10682 2011-05-27 Kenichi Handa <handa@m17n.org>
10684 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10685 let-binding rfc2047-encode-encoded-words to nil.
10687 2011-05-27 Glenn Morris <rgm@gnu.org>
10689 * mail/emacsbug.el: Don't require url-util.
10691 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10693 * files.el (set-auto-mode):
10694 Also respect mode: entries at the end of the file. (Bug#8586)
10696 2011-05-26 Glenn Morris <rgm@gnu.org>
10698 * files.el (hack-local-variables-prop-line, hack-local-variables):
10699 Downcase mode names, as seems to be traditional.
10700 (hack-local-variables, hack-local-variables-apply): Doc fixes.
10702 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10703 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10705 2011-05-25 Julien Danjou <julien@danjou.info>
10707 * textmodes/rst.el (rst-define-level-faces): Do not define face
10708 symbol if it is already defined.
10710 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10712 * play/5x5.el (5x5-new-game, 5x5-randomize):
10713 Reset 5x5-solver-output to nil when a new grid is cast.
10714 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10715 these debugging traces, as defmacro breaks the compiled code.
10717 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10719 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10721 2011-05-24 Leo Liu <sdl.web@gmail.com>
10723 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10724 (vc-bzr-sha1): Adapt.
10726 * sha1.el: Remove. Function `sha1' is now builtin.
10728 * bindings.el: Provide sha1 feature.
10730 2011-05-24 Kenichi Handa <handa@m17n.org>
10732 * mail/sendmail.el: Require `rfc2047'.
10733 (mail-insert-from-field): Do not perform RFC2047 encoding.
10734 (mail-encode-header): New function.
10735 (sendmail-send-it): Set buffer-file-coding-system of the work
10736 buffer to the return value of select-message-coding-system.
10737 Call mail-encode-header.
10739 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10741 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
10743 * mail/supercite.el (sc-default-cite-frame):
10744 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
10746 2011-05-24 Glenn Morris <rgm@gnu.org>
10748 * progmodes/python.el (brm-menu): Declare.
10750 * emulation/viper.el (viper-set-hooks): Declare.
10752 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10753 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10754 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10755 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10756 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10757 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10759 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10761 Add an :exit-function for completion-at-point.
10763 * minibuffer.el (completion--done): New fun.
10764 (completion--do-completion): Use it. New arg `expect-exact'.
10765 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10766 since completion--do-completion does it for us now.
10767 (minibuffer-force-complete): Use completion--done and
10768 completion--replace. Handle sole-completion case with more care.
10769 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10770 (completion-extra-properties): New var.
10771 (completion-annotate-function): Make obsolete.
10772 (minibuffer-completion-help): Adjust accordingly.
10773 Use completion-list-insert-choice-function.
10774 (completion-at-point, completion-help-at-point):
10775 Bind completion-extra-properties.
10776 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10777 * simple.el (completion-list-insert-choice-function): New var.
10778 (completion-setup-function): Preserve it.
10779 (choose-completion): Pay attention to it, shuffle the code a bit.
10780 (choose-completion-string): New arg `insert-function'.
10782 * textmodes/bibtex.el: Convert to lexical binding.
10783 (bibtex-mode-map): Use completion-at-point.
10784 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10785 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10786 (bibtex-complete): Define as obsolete alias.
10787 (bibtex-complete-internal): Remove.
10788 (bibtex-format-entry): Remove unused sub-group in regexp.
10789 * shell.el (shell--command-completion-data)
10790 (shell-environment-variable-completion):
10791 * pcomplete.el (pcomplete-completions-at-point):
10792 * comint.el (comint--complete-file-name-data): Use :exit-function
10793 instead of completion-table-with-terminator so it also works for
10796 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10798 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10800 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10803 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10805 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10807 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10808 customization variable and implement: If non-nil, auto-fill will
10809 be inhibited while on topic's header line.
10811 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10813 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
10814 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
10815 always have a solution in grid size = 5 cases.
10816 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10817 (5x5-solver-output, 5x5-log-buffer): New vars.
10818 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10819 Make these variables buffer local to achieve 5x5 multi-session-ness.
10820 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10821 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10822 (5x5-solve-suggest): New funs.
10823 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10824 randomize a grid so that we ensure that there is always a solution.
10825 (5x5-make-random-grid): Allow other movement than flipping.
10827 2011-05-23 Kevin Ryde <user42@zip.com.au>
10829 * emacs-lisp/advice.el (ad-read-advised-function):
10830 Use `function-called-at-point' as the default, if it has
10831 advice and passes PREDICATE.
10833 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10835 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10836 byte-compile-lambda if it's actually a lambda.
10838 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10839 Fix function quoting. Use backquote better.
10841 2011-05-22 Yuanle Song <sylecn@gmail.com>
10843 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10844 matching (Bug#8516).
10846 2011-01-22 Jari Aalto <jari.aalto@cante.net>
10848 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10849 different face (Bug#8178).
10851 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
10853 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10854 defface (Bug#8144).
10856 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10858 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10859 funcall as well (bug#8712). Warn when performing those conversions.
10860 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10862 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10864 2011-05-22 Glenn Morris <rgm@gnu.org>
10866 * files.el (hack-local-variables-prop-line): Small simplifications.
10867 (hack-local-variables, hack-local-variables-prop-line):
10868 If MODE-ONLY, return the mode, rather than just `t'.
10870 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10872 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10874 2011-05-21 Glenn Morris <rgm@gnu.org>
10876 * files.el (hack-local-variables-prop-line, hack-local-variables):
10877 If only interested in the mode, don't bother doing the other stuff.
10879 * image-mode.el (image-after-revert-hook):
10880 Redraw all frames on which the image is visible. (Bug#8567)
10882 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10884 * wid-edit.el (widget-checklist-match-inline):
10885 Fix 2011-04-19 change. (Bug#8649)
10887 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10889 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10890 Also allow singlespace after single-letter capitals followed by a dot.
10892 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10893 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10895 2011-05-20 Nix <nix@esperi.org.uk>
10897 * files.el (basic-save-buffer-2):
10898 Fix handling of break-hardlink-on-save with non-existent files.
10900 2011-05-19 Deniz Dogan <deniz@dogan.se>
10902 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
10903 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
10905 2011-05-19 Glenn Morris <rgm@gnu.org>
10907 * progmodes/f90.el (f90-type-def-re):
10908 Handle "type, bind(c)". (Bug#8691)
10910 * emacs-lisp/autoload.el (batch-update-autoloads):
10911 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10913 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
10915 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10916 property for the correct connection in case of multihops.
10918 2011-05-18 Glenn Morris <rgm@gnu.org>
10920 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
10921 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10923 Rationalize calendar handling of day and month abbrev-arrays.
10924 * calendar/calendar.el (calendar-customized-p): New function.
10925 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10926 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10928 (calendar-abbrev-length, calendar-day-abbrev-array)
10929 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10930 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10931 Elements may no longer be nil.
10932 (calendar-day-name, calendar-month-name):
10933 Update for changed nature of abbrev arrays.
10934 * calendar/diary-lib.el (diary-name-pattern):
10935 Update for changed nature of abbrev arrays.
10936 (diary-mark-entries-1): Update calendar-make-alist calls.
10937 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10938 * calendar/cal-html.el (cal-html-day-abbrev-array):
10939 Simply inherit from calendar-day-abbrev-array.
10941 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10943 * progmodes/grep.el (grep-mode): Disable default
10944 compilation-directory-matcher setting (bug#8684).
10946 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
10948 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10949 instead of "head" and "tail". There were problems with SunOS 5.9,
10950 and it performs better.
10952 2011-05-17 Glenn Morris <rgm@gnu.org>
10954 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10956 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10957 Replace obsolete function.
10959 * shell.el (pcomplete-parse-arguments-function): Declare.
10961 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10962 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10963 (appt-check): Doc fixes.
10964 (appt-disp-window-function, appt-delete-window-function):
10965 Remove needless special case in custom :type.
10966 (appt-display-count): Default to 0, not nil.
10967 (appt-check): Reset appt-display-count to 0, not nil.
10969 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
10971 * progmodes/python.el (python-font-lock-keywords):
10972 Add the Python 3.X keyword "nonlocal" (bug#8639).
10974 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10976 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10978 2011-05-16 Kevin Ryde <user42@zip.com.au>
10980 * info-look.el (makefile-automake-mode): New setups, looking in
10981 automake manual, then makefile-mode.
10982 (makefile-mode): Remove automake manual, have it just in
10983 makefile-automake-mode since there's various things different or
10984 not relevant to plain make.
10985 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10986 believe a hypothetical automake-mode would go to makefile-mode,
10987 not the other way around.
10989 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
10991 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10992 hunk-end tags (Bug#8672).
10994 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10995 vc-annotate-show-diff-revision-at-line (Bug#8671).
10997 2011-05-14 Glenn Morris <rgm@gnu.org>
10999 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11000 in the middle of an existing one with multiple authors. (Bug#8645)
11001 (change-log-font-lock-keywords): Also handle multiple author lines
11002 with leading tabs. (Bug#8644)
11004 * calendar/appt.el (appt-check): Rename some local variables.
11005 Some simplification/reordering.
11007 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11008 (feedmail-sendmail-f-doesnt-sell-me-out)
11009 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11010 (feedmail-debug-sit-for, feedmail-queue-express-hook)
11011 (feedmail-queue-runner-message-sender): Set :version.
11012 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11013 (bbdb-dwim-net-address, vm-mail): Declare.
11014 (feedmail-binmail-gnulinuxish-template):
11015 Rename from feedmail-binmail-linuxish-template.
11016 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11017 Use insert-buffer-substring.
11019 2011-05-14 Bill Carpenter <bill@carpenter.org>
11021 * mail/feedmail.el (feedmail-patch-level): Increase.
11022 (feedmail-debug): New custom group.
11023 (feedmail-confirm-outgoing-timeout)
11024 (feedmail-sendmail-f-doesnt-sell-me-out)
11025 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11026 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
11027 (feedmail-sender-line, feedmail-from-line)
11028 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
11029 (feedmail-spray-this-address)
11030 (feedmail-spray-address-fiddle-plex-list)
11031 (feedmail-queue-use-send-time-for-date)
11032 (feedmail-queue-use-send-time-for-message-id)
11033 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11034 (feedmail-buffer-eating-function):
11036 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
11037 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
11038 (feedmail-message-action-scroll-down): New functions.
11039 (feedmail-queue-directory, feedmail-queue-draft-directory):
11040 Use expand-file-name.
11041 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11042 Remove C-v help entry.
11043 (feedmail-queue-buffer-file-name): New variable.
11044 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11045 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11046 (feedmail-message-action-send-strong, feedmail-message-action-edit)
11047 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11048 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11049 (feedmail-message-action-toggle-spray)
11050 (feedmail-run-the-queue-no-prompts)
11051 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11052 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11053 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11054 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11055 (feedmail-envelope-deducer, feedmail-fiddle-from)
11056 (feedmail-fiddle-sender, feedmail-default-date-generator)
11057 (feedmail-fiddle-date, feedmail-fiddle-message-id)
11058 (feedmail-fiddle-spray-address)
11059 (feedmail-fiddle-list-of-spray-fiddle-plexes)
11060 (feedmail-fiddle-list-of-fiddle-plexes)
11061 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11062 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11063 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11064 Change default. Doc fix.
11065 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11066 (feedmail-binmail-linuxish-template): New constant.
11067 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
11068 Respect feedmail-sendmail-f-doesnt-sell-me-out.
11069 (feedmail-send-it): Add debug call.
11070 Use feedmail-queue-buffer-file-name, and
11071 feedmail-send-it-immediately-wrapper.
11072 (feedmail-message-action-send): Add debug call.
11073 Use feedmail-send-it-immediately-wrapper.
11074 (feedmail-queue-express-to-queue): Add debug call.
11075 Run feedmail-queue-express-hook.
11076 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
11077 (feedmail-message-action-help-blat):
11078 Rename from feedmail-queue-send-edit-prompt-help-first.
11079 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
11080 Check line-endings. Handle errors better.
11081 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11082 Doc fix. Add debug call.
11083 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
11084 Use feedmail-queue-send-edit-prompt-inner.
11085 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11086 (feedmail-queue-send-edit-prompt-inner): New function, extracted
11087 from feedmail-queue-send-edit-prompt.
11088 (feedmail-queue-send-edit-prompt-help)
11089 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11090 (feedmail-tidy-up-slug): Add debug call.
11091 Respect feedmail-queue-slug-suspect-regexp.
11092 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11093 (feedmail-dump-message-to-queue): Add debug call.
11094 Expand queue-directory.
11095 (feedmail-dump-message-to-queue): Change message slightly.
11096 Use feedmail-say-chatter.
11097 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
11098 (feedmail-send-it-immediately-wrapper): New function.
11099 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
11100 Insert empty string rather than newline. Handle full-frame case.
11101 Use catch/throw. Use feedmail-say-chatter.
11102 (feedmail-fiddle-from): Try mail-host-address.
11103 (feedmail-default-message-id-generator): Doc fix.
11104 Bind system-time-locale. Handle missing end.
11105 (feedmail-fiddle-x-mailer): Add debug call.
11106 Handle feedmail-x-mailer-line being nil.
11107 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11108 Add debug call. Use buffer-substring-no-properties.
11109 (feedmail-say-debug, feedmail-say-chatter): New functions.
11110 (feedmail-find-eoh): Give an explicit error.
11112 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
11114 * net/newst-treeview.el (newsticker-treeview-face): Change default
11115 family from helvetica to sans.
11116 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
11117 etc/images/newsticker.
11119 * net/newst-reader.el (newsticker-feed-face): Change default
11120 family from helvetica to sans.
11122 * net/newst-plainview.el (newsticker-new-item-face)
11123 (newsticker-old-item-face, newsticker-immortal-item-face)
11124 (newsticker-obsolete-item-face, newsticker-date-face)
11125 (newsticker-statistics-face): Change default family from
11127 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
11128 etc/images/newsticker.
11130 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11131 (newsticker--process-auto-mark-filter-match): Tell user about
11134 2011-05-13 Didier Verna <didier@xemacs.org>
11136 Common Lisp indentation improvements on defmethod and lambda-lists.
11137 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11139 (lisp-lambda-list-keyword-parameter-indentation)
11140 (lisp-lambda-list-keyword-parameter-alignment)
11141 (lisp-lambda-list-keyword-alignment): New customizable user options.
11142 (lisp-indent-defun-method): Improve docstring.
11143 (extended-loop-p): Fix comment.
11144 (lisp-indent-lambda-list-keywords-regexp): New variable.
11145 (lisp-indent-lambda-list): New function.
11146 (lisp-indent-259): Use it.
11147 (lisp-indent-defmethod): Support for more than one
11148 method qualifier and properly indent methods lambda-lists.
11149 (defgeneric): Provide a missing common-lisp-indent-function property.
11151 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11153 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11154 bounds for the empty string (bug#8667).
11156 2011-05-13 Glenn Morris <rgm@gnu.org>
11158 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11160 * mail/sendmail.el (sendmail-program): Try executable-find first.
11161 (sendmail-send-it): `sendmail-program' cannot be unbound.
11163 * calendar/appt.el (appt-make-list): Simplify.
11164 (appt-time-msg-list): Doc fix.
11165 (appt-check): Change mode-line message at the time of the appointment.
11167 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11169 * progmodes/ld-script.el (ld-script-keywords)
11170 (ld-script-builtins): Update keywords list.
11172 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11174 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11176 * shell.el (shell-completion-vars): New function.
11178 * simple.el (read-shell-command): Use it.
11179 (blink-matching-open): No need for " [...]" in minibuffer-message.
11181 2011-05-12 Glenn Morris <rgm@gnu.org>
11183 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11184 (appt-check): Simplify.
11186 2011-05-12 Eli Zaretskii <eliz@gnu.org>
11188 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
11189 literal "/dev/null".
11191 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11193 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11196 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
11198 * progmodes/which-func.el (which-function):
11199 Use add-log-current-defun instead of add-log-current-defun-function,
11200 which might not be defined (Bug#8260).
11202 2011-05-12 Glenn Morris <rgm@gnu.org>
11204 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11205 Let byte-compile-initial-macro-environment always take precedence.
11207 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11209 * net/rcirc.el: Add support for SSL/TLS connections.
11210 (rcirc-server-alist): New field `encryption'.
11211 (rcirc): Check `encryption' settings.
11212 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11213 Merge make-local-variable into `set'.
11214 (rcirc--connection-open-p): New function.
11215 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11216 the process is not a network process (e.g. running gnutls-cli).
11217 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11218 Make rcirc-(en|de)code-coding-system local here.
11219 (rcirc-mode): Merge make-local-variable into `set'.
11220 (rcirc-parent-buffer): Make permanent buffer-local.
11221 (rcirc-multiline-minor-mode): Don't do it here.
11222 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11223 there's no server buffer.
11225 2011-05-11 Glenn Morris <rgm@gnu.org>
11227 * newcomment.el (comment-kill): Prefix "unused" local.
11229 * term/w32console.el (get-screen-color): Declare.
11231 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11232 Handle symbol elements of byte-compile-initial-macro-environment.
11234 2011-05-10 Leo Liu <sdl.web@gmail.com>
11236 * bookmark.el (bookmark-bmenu-mode-map):
11237 Bind bookmark-bmenu-search to `/'.
11239 * mail/footnote.el: Convert to utf-8 encoding.
11240 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11241 (Footnote-unicode): New function.
11242 (footnote-style-alist): Add unicode style to the list.
11243 (footnote-style): Doc fix.
11245 2011-05-10 Jim Meyering <meyering@redhat.com>
11247 Fix doubled-word typos.
11248 * international/quail.el (quail-insert-kbd-layout): and and -> and
11249 * kermit.el: and and -> and
11250 * net/ldap.el (ldap-search-internal): to to -> to
11251 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11252 * progmodes/js.el (js-mode): and and -> and
11253 * textmodes/artist.el (artist-move-to-xy): at at -> at
11254 (artist-draw-region-trim-line-endings): if if -> if
11255 And Safetyc -> Safety.
11256 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11258 2011-05-10 Glenn Morris <rgm@gnu.org>
11259 Stefan Monnier <monnier@iro.umontreal.ca>
11261 * files.el (hack-one-local-variable-eval-safep):
11262 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11264 2011-05-10 Glenn Morris <rgm@gnu.org>
11266 * calendar/diary-lib.el (diary-list-entries-hook)
11267 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11268 (diary-nongregorian-marking-hook, diary-list-entries)
11269 (diary-include-other-diary-files, diary-mark-entries)
11270 (diary-mark-included-diary-files): Doc fixes.
11272 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
11274 * misc.el: Require tabulated-list.el during compilation.
11276 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
11278 * progmodes/compile.el (compilation-start):
11279 Run compilation-filter-hook for the async case too.
11280 (compilation-filter-hook): Doc fix.
11282 2011-05-09 Deniz Dogan <deniz@dogan.se>
11284 * wdired.el: Remove outdated installation comment. Fix usage
11287 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
11289 * misc.el: Implement new command `list-dynamic-libraries'.
11290 (list-dynamic-libraries--loaded-only-p): New variable.
11291 (list-dynamic-libraries--refresh): New function.
11292 (list-dynamic-libraries): New command.
11294 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
11296 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11297 Fix the ant regexp to handle end-line and end-column info from jikes.
11298 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11299 higher priority to avoid clobbering by gnu.
11301 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
11303 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11304 if the face has existing theme settings (Bug#8454).
11306 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11308 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11309 Only match variables declared via `my' or `our' (Bug#8261).
11311 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11312 special file names `.' and `..' (Bug#8259).
11314 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
11316 * progmodes/grep.el (grep-mode-font-lock-keywords):
11317 Remove buffer-changing entries.
11318 (grep-filter): New function.
11319 (grep-mode): Add it to compilation-filter-hook.
11321 * progmodes/compile.el (compilation-filter-hook)
11322 (compilation-filter-start): New defvars.
11323 (compilation-filter): Call compilation-filter-hook prior to
11324 updating the process mark.
11326 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11328 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11330 2011-05-07 Eli Zaretskii <eliz@gnu.org>
11332 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11333 mailclient-send-it even if window-system is nil. (Bug#8595)
11335 * term/w32console.el (terminal-init-w32console):
11336 Call get-screen-color and use its output to set the frame
11337 background-mode. (Bug#8597)
11339 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11341 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11342 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11344 (defgeneric, eieio--defmethod): Use them.
11345 (eieio-defgeneric): Remove.
11346 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11348 2011-05-07 Glenn Morris <rgm@gnu.org>
11350 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11351 Use let rather than let*.
11352 (timeclock-find-discrep): Remove unused local.
11354 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11356 * calendar/appt.el (appt-time-msg-list): Doc fix.
11358 2011-05-06 Noah Friedman <friedman@splode.com>
11360 * apropos.el (apropos-print-doc): Only use
11361 emacs-lisp-docstring-fill-column when it is bound to an integer,
11362 per that variable's documentation.
11364 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11366 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
11367 and warnings are not silently discarded (e.g. use -d instead of -P).
11369 2011-05-06 Glenn Morris <rgm@gnu.org>
11371 * calendar/appt.el (appt-message-warning-time): Doc fix.
11372 (appt-warning-time-regexp): New option.
11373 (appt-make-list): Respect appt-message-warning-time.
11375 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11377 (diary-add-to-list): Strip comments from the displayed string.
11378 (diary-mode): Set comment-start and comment-end.
11380 * vc/diff-mode.el (smerge-refine-subst): Declare.
11381 (diff-refine-hunk): Don't require smerge-mode when compiling.
11383 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
11385 * simple.el (list-processes): Return nil as the docstring says.
11387 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
11389 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11391 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11392 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11393 determining of binary transfer. (Bug#7383)
11395 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
11397 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11398 Fix port computation bug. (Bug#8618)
11400 2011-05-05 Glenn Morris <rgm@gnu.org>
11402 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11404 * simple.el (shell-dynamic-complete-functions)
11405 (comint-dynamic-complete-functions): Declare.
11407 * net/network-stream.el (gnutls-negotiate):
11408 * simple.el (tabulated-list-print): Fix declarations.
11410 * progmodes/gud.el (syntax-symbol, syntax-point):
11411 Remove unnecessary and incorrect declarations.
11413 * emacs-lisp/check-declare.el (check-declare-scan):
11414 Handle byte-compile-initial-macro-environment in bytecomp.el
11416 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11418 Fix earlier half-done eieio-defmethod change (bug#8338).
11419 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11420 Streamline and change calling convention.
11421 (defmethod): Adjust accordingly and simplify.
11422 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11423 new eieio--defmethod.
11424 (slot-boundp): Minor CSE simplification.
11426 2011-05-05 Milan Zamazal <pdm@zamazal.org>
11428 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11429 (glasses-make-readable): Use glasses-separate-capital-groups.
11431 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
11433 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11434 (warning-series): Doc fix.
11435 (display-warning): Don't try to create the buffer if we just found it.
11437 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
11439 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11440 (autoload-find-generated-file): New function.
11441 (generate-file-autoloads): Bind generated-autoload-file to
11443 (update-file-autoloads, update-directory-autoloads):
11444 Use autoload-find-generated-file. If called interactively, prompt for
11445 output file (Bug#7989).
11446 (batch-update-autoloads): Doc fix.
11448 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
11450 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11452 2011-05-04 Glenn Morris <rgm@gnu.org>
11454 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11455 function, so it follows changes in calendar-date-style.
11456 (diary-fancy-date-matcher): New function.
11457 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11458 (diary-fancy-font-lock-fontify-region-function):
11459 Use diary-fancy-date-pattern as a function.
11461 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11462 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11464 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11466 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11467 instead of positional arguments. Allow :keylist and :crlfiles
11469 (open-gnutls-stream): Call it.
11471 * net/network-stream.el (network-stream-open-starttls): Adjust to
11472 call `gnutls-negotiate' with :process and :hostname arguments.
11474 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11476 * minibuffer.el (completion--message): New function.
11477 (completion--do-completion, minibuffer-complete)
11478 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11479 (completion--do-completion): Don't ignore completion-auto-help when in
11482 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11483 internal encoding (e.g. tibetan zero is not whitespace).
11484 (global-whitespace-mode): Prefer save-current-buffer.
11485 (whitespace-trailing-regexp): Remove useless save-match-data.
11486 (whitespace-empty-at-bob-regexp): Minor simplification.
11488 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
11490 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11492 2011-05-03 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
11494 * textmodes/ispell.el (ispell-add-per-file-word-list):
11495 Use `concat' to create string for insertion.
11497 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11499 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11500 Avoid open-line which runs post-self-insert-hook.
11501 (bibtex-fill-entry): Remove unused `end' var.
11503 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11505 * textmodes/ispell.el (ispell-add-per-file-word-list):
11506 Protect against `nil' value of `comment-start' (Bug#8579).
11508 2011-05-03 Leo Liu <sdl.web@gmail.com>
11510 * isearch.el (isearch-yank-pop): New command.
11511 (isearch-mode-map): Bind it to `M-y'.
11512 (isearch-forward): Mention it.
11514 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11516 * simple.el (minibuffer-complete-shell-command): Remove.
11517 (minibuffer-local-shell-command-map): Use completion-at-point.
11518 (read-shell-command): Setup completion vars here instead.
11519 (read-expression-map): Bind TAB to symbol completion.
11521 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11522 error directly rather via storing it into `results'.
11524 2011-05-02 Leo Liu <sdl.web@gmail.com>
11526 * vc/diff.el: Fix description.
11528 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11530 * server.el (server-eval-at): New function.
11532 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11534 * net/network-stream.el (open-network-stream): Take a :nowait
11535 parameter and pass it on to `make-network-process'.
11536 (network-stream-open-plain): Ditto.
11538 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11540 * faces.el (face-spec-set-match-display): Don't match toolkit
11541 options on terminal frames.
11543 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11545 * progmodes/pascal.el: Use lexical binding.
11546 (pascal-mode-map): Remove author preferences.
11548 * pcomplete.el (pcomplete-std-complete): Don't abuse
11549 completion-at-point.
11551 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11553 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11554 removing code that has been dead since 1991 or so.
11556 * startup.el (command-line): When warning about "_emacs", use a
11557 delayed warning to allow the user to filter it out.
11559 2011-04-28 Deniz Dogan <deniz@dogan.se>
11561 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11562 user has not joined.
11564 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11566 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11567 aren't any completions at point.
11569 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11571 * subr.el (display-delayed-warnings): New function.
11572 (delayed-warnings-hook): New variable.
11574 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11576 * minibuffer.el (completion-at-point, completion-help-at-point):
11577 Don't presume that a given completion-at-point-function will always
11578 use the same calling convention.
11580 * pcomplete.el (pcomplete-completions-at-point):
11581 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11582 pcomplete-seen is non-nil.
11583 (pcomplete-comint-setup): Also recognize the new comint/shell
11584 completion functions.
11585 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11586 pcomplete-seen is non-nil.
11588 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
11590 * calendar/icalendar.el (diary-lib): Add require statement.
11591 (icalendar--create-uid): Read out a uid from a text-property on
11592 the first character in the entry. This allows for code to add its
11593 own uid to the entry.
11594 (icalendar--convert-float-to-ical): Add export of
11595 `diary-float'-entries save for those with the optional DAY
11598 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11600 * subr.el (shell-quote-argument): Use alternate escaping strategy
11601 when we spot a variable reference in a string.
11603 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11605 * cus-start.el (all): Define customization for debug-on-event.
11607 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11609 * subr.el (shell-quote-argument): Escape correctly under Windows.
11611 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11613 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11615 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
11617 * net/tramp.el (tramp-process-actions): Add POS argument.
11618 Delete region between POS and (pos).
11620 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11621 Use `nil' position in `tramp-process-actions' call.
11622 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11624 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11625 position in `tramp-process-actions' call.
11627 * net/trampver.el: Update release number.
11629 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11631 * custom.el (defcustom): Obey lexical-binding.
11633 Fix octave-inf completion problems reported by Alexander Klimov.
11634 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11635 Inherit from octave-mode-syntax-table.
11636 (inferior-octave-mode): Set info-lookup-mode.
11637 (inferior-octave-completion-at-point): New function.
11638 (inferior-octave-complete): Use it and completion-in-region.
11639 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11640 comint-filename-completion.
11641 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11642 symbol elements which shouldn't be word elements.
11643 (octave-font-lock-keywords, octave-beginning-of-defun)
11644 (octave-function-header-regexp): Adjust regexps accordingly.
11645 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11647 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
11649 * net/gnutls.el (gnutls-errorp): Declare before first use.
11651 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11653 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11654 verify-error, and verify-hostname-error parameters. Check whether
11655 default trustfile exists before going to use it. Add missing
11656 argument to gnutls-message-maybe call. Return value.
11657 Reported by Claudio Bley <claudio.bley@gmail.com>.
11658 (open-gnutls-stream): Add usage example.
11660 * net/network-stream.el (network-stream-open-starttls): Give host
11661 parameter to `gnutls-negotiate'.
11662 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
11663 * subr.el (shell-quote-argument): Escape correctly under Windows.
11665 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
11667 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11668 Use correct match group (bug#8438).
11670 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11672 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11673 (package-menu--generate): New arg specifying packages to show.
11674 (package-menu-refresh, package-menu-execute, list-packages):
11676 (package-show-package-list): New function, replacing deleted
11677 package--list-packages (renamed because it is non-internal).
11679 * finder.el (finder-list-matches): Use package-show-package-list
11680 instead of deleted package--list-packages.
11682 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11683 Based on a previous implementation by Juanma Barranquero (Bug#8366).
11684 (vc-annotate-mode-map): Bind it to RET.
11686 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11688 * progmodes/etags.el (next-file): Don't use set-buffer to change
11689 buffers (Bug#8478).
11691 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11693 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11695 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11696 (apropos-accumulator): Doc fix.
11697 (apropos-function, apropos-macro, apropos-command)
11698 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11699 (apropos-plist): Add face property.
11700 (apropos-symbols-internal): Fix indentation.
11701 (apropos-print): Simplify help, and recognize apropos-multi-type.
11702 (apropos-print-doc): Use button-type-get to extract the button's
11703 face property. Fill docstring (Bug#8352).
11705 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
11707 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11709 * play/mpuz.el (mpuz-silent): Doc fix.
11710 (mpuz-mode-map): Use mapc.
11711 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11712 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11713 Fix typos in docstrings.
11715 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11716 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11718 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11720 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
11722 * minibuffer.el (completion--do-completion): Avoid the "Next char
11723 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11725 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11726 mouse-2 into unread-command-events, it is interpreted correctly.
11728 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
11729 (image-toggle-display): Doc fix.
11731 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
11733 * textmodes/page.el (what-page): Use line-number-at-pos to
11734 calculate line number (Bug#6825).
11736 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11738 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11739 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11740 Pass argument NO-DEFAULT to `find-tag-interactive'.
11742 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11744 Lexical-binding cleanup.
11746 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11747 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11748 * progmodes/ada-prj.el (ada-prj-initialize-values)
11749 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11750 (ada-prj-show-value):
11751 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11752 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11753 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11754 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11755 * progmodes/bug-reference.el (bug-reference-push-button):
11756 * progmodes/fortran.el (fortran-line-length):
11757 * progmodes/glasses.el (glasses-change):
11758 * progmodes/octave-mod.el (octave-fill-paragraph):
11759 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11760 (python-pdbtrack-grub-for-buffer, python-sentinel):
11761 * progmodes/sql.el (sql-save-connection):
11762 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11763 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11764 Mark unused parameters.
11766 * progmodes/compile.el (compilation--flush-directory-cache)
11767 (compilation--flush-parse, compile-internal): Mark unused parameters.
11768 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11769 (compilation-next-error-function): Remove unused variable `timestamp'.
11771 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11772 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11774 * progmodes/dcl-mode.el (dcl-end-of-command):
11775 Remove unused variable `start'.
11776 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11777 (dcl-option-value-basic, dcl-option-value-offset)
11778 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11779 Mark unused parameters.
11780 (dcl-save-local-variable): Remove unused variable `val'.
11783 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11784 Mark unused parameters.
11785 (delphi-ignore-changes): Move before first use.
11786 (delphi-charset-token-at): Remove unused variable `start'.
11787 (delphi-else-start): Remove unused variable `if-count'.
11788 (delphi-comment-block-start, delphi-comment-block-end):
11789 Remove unused variable `kind'.
11790 (delphi-indent-line): Remove unused variable `new-point'.
11792 * progmodes/ebrowse.el (ebrowse-files-list)
11793 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11794 Mark unused parameters. Don't quote `lambda'.
11795 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11796 Don't quote `lambda'.
11797 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11798 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11799 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11800 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11801 Use `ignore-errors'.
11802 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11803 (ebrowse-view/find-file-and-search-pattern)
11804 (ebrowse-view/find-member-declaration/definition):
11805 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11806 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11807 Rename parameter PREFIX-ARG to PREFIX.
11808 (ebrowse-tags-read-name): Remove unused variables `start' and
11810 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11813 * progmodes/etags.el (local-find-tag-hook): Declare.
11814 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11815 Mark unused parameters.
11817 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11818 (executable-interpret): Mark unused parameter.
11820 * progmodes/flymake.el (flymake-process-sentinel)
11821 (flymake-after-change-function)
11822 (flymake-create-temp-with-folder-structure)
11823 (flymake-get-include-dirs-dot): Mark unused parameters.
11824 (flymake-safe-delete-directory): Remove unused variable `err'.
11826 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11827 (speedbar-timer-fn, speedbar-line-text)
11828 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11829 (speedbar-center-buffer-smartly): Declare functions.
11830 (gdb-find-watch-expression): Remove unused variable `array'.
11831 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11832 (gdb-starting): Mark unused parameters.
11833 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11834 (gdb-table-string): Remove unused variable `res'.
11835 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11836 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11837 (gdb-display-buffer): Remove unused variable `cur-size'.
11839 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11840 allow lexical-binding compilation.
11841 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11842 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11843 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11844 Mark unused parameters.
11845 (gud-gdb-marker-filter): Remove unused variable `match'.
11846 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11847 lambda expressions and funcall them, instead of using `fset'.
11849 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11850 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11852 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11853 variable `header-beg'; use `let'.
11855 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11856 `restart', `last-sexp' and `at-do'.
11858 * progmodes/js.el (js--debug): Mark unused parameter.
11859 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11860 (js--splice-into-items): Remove unused variable `item'.
11861 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11863 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11864 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11865 (makefile-complete): Remove unused variable `try'.
11866 (makefile-fill-paragraph, makefile-match-function-end):
11867 Mark unused parameters.
11869 * progmodes/octave-inf.el (inferior-octave-complete):
11870 Remove unused variable `proc'.
11871 (inferior-octave-output-digest): Mark unused parameter.
11873 * progmodes/perl-mode.el (perl-calculate-indent):
11874 Remove unused variable `err'.
11876 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11877 (prolog-indent-line): Mark unused parameters.
11878 (prolog-indent-line): Remove unused variable `beg'.
11880 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11881 (reporter-dont-compact-list): Declare.
11883 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11884 Remove unused variable `char'.
11885 (sh-debug): Mark unused parameter.
11886 (sh-get-indent-info): Remove unused variable `start'.
11887 (sh-calculate-indent): Remove unused variable `var'.
11889 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11890 (simula-electric-keyword): Remove unused variable `null'.
11891 (simula-search-backward, simula-search-forward): Remove unused
11892 variables `begin' and `end'.
11894 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11895 Remove unused variable `pos'.
11896 (vera-electric-tab, vera-comment-uncomment-region):
11897 Mark unused parameters.
11898 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11900 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
11902 * emacs-lisp/package.el (package--builtins, package-alist)
11903 (package-load-descriptor, package-built-in-p, package-activate)
11904 (define-package, package-installed-p)
11905 (package-compute-transaction, package-buffer-info)
11906 (package--push): Doc fix. Distinguish more clearly between
11907 version strings and version lists.
11909 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
11911 Lexical-binding cleanup.
11913 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11914 (5x5-make-mutate-best):
11915 * play/fortune.el (fortune-in-buffer):
11916 * play/gomoku.el (gomoku-init-display):
11917 * play/solitaire.el (solitaire, solitaire-do-check):
11918 * play/tetris.el (tetris-default-update-speed-function):
11919 Mark unused parameters.
11921 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11922 (bubbles--shift): Remove unused variable `char-org'.
11923 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11924 (bubbles--show-images): Remove unused variable `char'.
11926 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11927 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11928 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11929 (decipher-analyze-buffer): Use ?\s.
11930 (decipher-make-checkpoint): Remove unused variable `mapping'.
11932 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11934 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11935 Remove unused variable `result'; use `let'.
11937 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11938 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11939 (gametree-children-shown-p, gametree-compute-reduced-score):
11940 Use `ignore-errors'.
11942 * play/handwrite.el (ps-lpr-switches): Declare.
11943 (handwrite): Remove unused variables `pmin' and `lastp'.
11945 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11947 * play/landmark.el (landmark-init-display)
11948 (landmark-update-naught-weights): Mark unused parameters.
11949 (landmark-y): Remove unused variable `noise'. Simplify.
11950 (landmark-human-plays): Remove unused variable `score'.
11952 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11953 (mpuz-try-proposal): Remove unused variable `game'.
11955 * play/zone.el (life-patterns): Declare.
11957 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
11959 * vc/vc.el (ediff-vc-internal): Declare function.
11961 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11963 * shell.el: Use lexical-binding and std completion UI.
11964 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11965 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11966 comint-preoutput-filter-functions rather than on
11967 comint-output-filter-functions.
11968 (shell-command-completion, shell--command-completion-data)
11969 (shell-filename-completion, shell-environment-variable-completion)
11970 (shell-c-a-p-replace-by-expanded-directory): New functions.
11971 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11972 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11973 (shell-dynamic-complete-environment-variable): Use them.
11974 (shell-dynamic-complete-as-environment-variable)
11975 (shell-dynamic-complete-as-command): Remove.
11976 (shell-match-partial-variable): Match past point.
11977 * comint.el: Clean up use of completion-at-point-functions.
11978 (comint-completion-at-point): New function.
11979 (comint-mode): Use it completion-at-point-functions.
11980 (comint-dynamic-complete): Make it obsolete.
11981 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11982 (comint-c-a-p-replace-by-expanded-history): New function.
11983 (comint-dynamic-complete-functions)
11984 (comint-replace-by-expanded-history): Use it.
11985 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11986 termination strings. Try harder to avoid second try-completion.
11987 (completion-in-region-mode-map): Disable bindings that don't work yet.
11989 * comint.el: Use lexical-binding. Require CL.
11990 (comint-dynamic-complete-functions): Use comint-filename-completion.
11991 (comint-completion-addsuffix): Tweak custom type.
11992 (comint-filename-completion, comint--common-suffix)
11993 (comint--common-quoted-suffix, comint--table-subvert)
11994 (comint--complete-file-name-data): New functions.
11995 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11996 (comint-dynamic-list-filename-completions): Use them.
11997 (comint-dynamic-simple-complete): Make obsolete.
11999 * minibuffer.el (completion-in-region-mode):
12000 Keep completion-in-region-mode--predicate global.
12001 (completion-in-region--postch):
12002 Assume completion-in-region-mode--predicate is not null.
12004 * progmodes/flymake.el (flymake-start-syntax-check-process):
12005 Obey `dir'. Simplify.
12007 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12008 we're in VC after all.
12010 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
12012 * vc/vc.el (vc-diff-build-argument-list-internal)
12013 (vc-version-ediff, vc-ediff): New commands.
12014 (vc-version-diff): Use vc-diff-build-argument-list-internal.
12016 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12018 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
12021 * obsolete/erc-hecomplete.el: Make obsolete.
12022 * obsolete/: Standardize obsolescence info in the header.
12024 2011-04-20 Glenn Morris <rgm@gnu.org>
12026 * calendar/solar.el (solar-horizontal-coordinates):
12027 Use the longitude argument rather than `calendar-longitude'.
12028 (solar-date-next-longitude): Remove unused locals.
12030 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12032 * whitespace.el: New version 13.2.1.
12034 2011-04-20 felix <EmacsWiki> (tiny change)
12036 * whitespace.el (global-whitespace-mode): Keep highlight when
12037 switching between major modes on a file.
12039 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12041 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12042 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12043 multi-line comments as well.
12045 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
12047 Lexical-binding cleanup.
12049 * arc-mode.el (archive-mode-revert):
12050 * cmuscheme.el (scheme-interactively-start-process):
12051 * custom.el (custom-initialize-delay):
12052 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12053 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12054 * emacs-lock.el (emacs-lock-clear-sentinel):
12055 * ezimage.el (defezimage):
12056 * follow.el (follow-avoid-tail-recenter):
12057 * fringe.el (set-fringe-mode-1):
12058 * generic-x.el (bat-generic-mode-compile):
12059 * help-mode.el (help-info-variable, help-do-xref)
12060 (help-mode-revert-buffer):
12061 * help.el (view-emacs-todo):
12062 * iswitchb.el (iswitchb-completion-help):
12063 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12064 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12065 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12066 * locate.el (locate-update):
12067 * longlines.el (longlines-encode-region)
12068 (longlines-after-change-function):
12069 * outline.el (outline-isearch-open-invisible):
12070 * ps-def.el (declare-function, charset-dimension, char-width)
12072 * ps-mule.el (ps-mule-plot-string):
12073 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12074 (recentf-edit-list-select, recentf-edit-list-validate)
12075 (recentf-open-files-action):
12076 * rect.el (delete-whitespace-rectangle-line)
12077 (rectangle-number-line-callback):
12078 * register.el (window-configuration-to-register)
12079 (frame-configuration-to-register):
12080 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12081 * select.el (xselect-convert-to-string, xselect-convert-to-length)
12082 (xselect-convert-to-targets, xselect-convert-to-delete)
12083 (xselect-convert-to-filename, xselect-convert-to-charpos)
12084 (xselect-convert-to-lineno, xselect-convert-to-colno)
12085 (xselect-convert-to-os, xselect-convert-to-host)
12086 (xselect-convert-to-user, xselect-convert-to-class)
12087 (xselect-convert-to-name, xselect-convert-to-integer)
12088 (xselect-convert-to-atom, xselect-convert-to-identity):
12089 * subr.el (declare, ignore, process-kill-without-query)
12090 (text-clone-maintain):
12091 * terminal.el (te-get-char, te-tic-sentinel):
12092 * tool-bar.el (tool-bar-make-keymap):
12093 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12094 * type-break.el (type-break-mode, type-break-noninteractive-query):
12095 * view.el (View-back-to-mark):
12096 * wid-browse.el (widget-browse-action, widget-browse-widget)
12097 (widget-browse-widgets, widget-browse-sexp):
12098 * widget.el (define-widget-keywords):
12099 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12100 Mark unused parameters.
12102 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12103 (align-areas): Remove unused variable `look'.
12104 (align-region): Remove unused variables `real-end' and `pos-list'.
12106 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12108 * bindings.el (mode-line-modified, mode-line-remote):
12109 Mark unused parameters.
12110 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12112 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12113 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12115 * comint.el (comint-history-isearch-pop-state)
12116 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12117 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12118 (comint-substitute-in-file-name): Doc fix.
12120 * completion.el (cmpl-statistics-block): Mark unused parameter.
12121 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12122 (save-completions-to-file, load-completions-from-file):
12123 Remove unused local variable `e'.
12125 * composite.el (compose-chars): Remove unused variable `len'.
12126 (lgstring-insert-glyph): Remove unused variable `g'.
12127 (compose-glyph-string): Remove unused variables `ascent',
12128 `descent', `lbearing' and `rbearing'.
12129 (compose-glyph-string-relative): Remove unused variables
12130 `lbearing', `rbearing' and `wadjust'.
12131 (compose-gstring-for-graphic): Remove unused variables `header',
12132 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12133 (compose-gstring-for-terminal): Remove unused variables `header'
12134 and `nchars'. Use `let', not `let*'.
12136 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12137 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12138 (Custom-buffer-done, custom-buffer-create-internal)
12139 (custom-browse-visibility-action, custom-browse-group-tag-action)
12140 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12141 (widget-magic-mouse-down-action, custom-toggle-parent)
12142 (custom-add-parent-links, custom-toggle-hide-variable)
12143 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12144 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12145 (custom-face-menu-create, custom-variable-menu-create, get)
12146 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12147 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12148 (customize-apropos): Remove unused variable `tests'.
12149 (custom-group-value-create): Remove unused variable `hidden-p'.
12150 (sort-fold-case): Declare.
12152 * cus-theme.el (custom-reset-standard-faces-list)
12153 (custom-reset-standard-variables-list): Declare.
12154 (customize-create-theme, custom-theme-revert, custom-theme-write)
12155 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12156 Mark unused parameters.
12158 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12160 * delim-col.el (delimit-columns-max): Move defvar before first use.
12162 * descr-text.el (describe-char-categories): Don't quote `lambda'.
12163 (describe-char): Don't quote `lambda'. Mark unused parameter.
12165 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12166 (auto-insert): Declare.
12167 (desktop-restore-file-buffer): Rename desktop-* parameters;
12169 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12170 (desktop-buffer): Rename desktop-* parameters.
12172 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12173 (dframe-reposition-frame-xemacs, dframe-help-echo)
12174 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12175 Mark unused parameters.
12177 * dired-aux.el (backup-extract-version-start, overwrite-query)
12178 (overwrite-backup-query, rename-regexp-query)
12179 (rename-non-directory-query): Declare.
12180 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12181 (dired-add-entry): Remove unused variable `orig-file-name'.
12182 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12183 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12184 `dired-copy-preserve-time' directly.
12185 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12186 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12188 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12189 (dired-virtual-revert, dired-make-relative-symlink):
12190 Mark unused parameters.
12191 (manual-program): Declare.
12192 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12193 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12194 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12196 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12198 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12200 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12203 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12205 * electric.el (Electric-command-loop): Rename parameter
12206 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12208 * expand.el (expand-in-literal): Remove unused variable `here'.
12210 * facemenu.el (facemenu-add-new-color):
12211 Remove unused variable `docstring'.
12213 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12214 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12215 (face-attr-construct): Mark unused parameter. Doc fix.
12216 (read-color): Remove unused variable `hex-string'.
12218 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12219 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12220 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12221 (display-buffer-other-frame): Remove unused variable `old-window'.
12222 (kill-buffer-hook): Declare.
12223 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12224 Mark unused parameters.
12225 (after-find-file): Pass 1 to `auto-save-mode', not t.
12227 * files-x.el (auto-insert): Declare.
12228 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12230 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
12231 variable `buf'. Mark unused parameter.
12232 (find-lisp-insert-directory): Mark unused parameter.
12234 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12235 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12236 (format-common-tail): Remove, unused.
12237 (format-deannotate-region): Remove unused variable `loc'.
12238 (format-annotate-region): Remove unused variable `p'.
12239 (format-annotate-single-property-change): Remove unused variables
12240 `default' and `tail'.
12242 * forms.el (read-file-filter): Declare.
12243 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12245 * frame.el (frame-creation-function-alist): Mark unused parameter.
12246 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12248 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12249 Remove unused parameters.
12250 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12251 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12253 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12254 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12255 (hfy-prepare-tag-map): Mark unused parameters.
12256 (htmlfontify-buffer): Use `called-interactively-p'.
12258 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12259 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12260 (ibuffer-do-occur): Mark unused parameters.
12261 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12262 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12264 * ibuffer.el: Don't quote `lambda'.
12265 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12266 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12267 Mark unused parameters.
12269 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12270 (ido-completing-read): Mark unused parameters.
12271 (ido-copy-current-word): Mark unused parameters;
12272 remove unused variable `name'.
12273 (ido-sort-merged-list): Remove unused parameter `dirs'.
12275 * ielm.el (ielm-input-sender): Mark unused parameter.
12276 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12277 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12278 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12279 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12280 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12282 * image-dired.el (image-dired-display-thumbs): Remove unused
12283 variables `curr-file' and `count'.
12284 (image-dired-remove-tag): Remove unused variable `start'.
12285 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12286 variable `curr-file'
12287 (image-dired-rotate-original): Remove unused variable `temp-file'.
12288 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12289 Remove unused variable `file'.
12290 (image-dired-gallery-generate): Remove unused variable `curr'.
12291 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12293 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12295 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12297 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12299 * isearch.el (minibuffer-history-symbol): Declare.
12300 (isearch-edit-string): Remove unused variable `err'.
12301 (isearch-message-prefix, isearch-message-suffix):
12302 Mark unused parameters.
12304 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12306 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12308 * makesum.el (double-column): Remove unused variable `cnt'.
12310 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12311 (ido-ignore-item-temp-list): Declare.
12313 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12314 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12315 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12316 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12319 * mouse-sel.el (mouse-extend-internal):
12320 Remove unused variable `orig-window-frame'.
12322 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12323 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12324 Move declarations before first use.
12325 (pcomplete-opt): Mark unused parameters; doc fix.
12327 * proced.el (proced-revert): Mark unused parameter.
12328 (proced-send-signal): Remove unused variable `err'.
12330 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12331 Rename parameter PREFIX-ARG to ARG.
12332 (ps-basic-plot-string, ps-basic-plot-whitespace):
12333 Mark unused parameters.
12335 * replace.el (replace-count): Define.
12336 (occur-revert-function): Mark unused parameters.
12337 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12338 (isearch-case-fold-search, isearch-string): Declare.
12339 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12340 bind `case-fold-search'. Remove unused variables `beg' and `end',
12342 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12343 COUNT and bind `replace-count'.
12344 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12347 * savehist.el (print-readably, print-string-length): Declare.
12349 * shadowfile.el (shadow-expand-cluster-in-file-name):
12350 Remove unused variable `cluster'.
12351 (shadow-copy-file): Remove unused variable `i'.
12352 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12353 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12354 (shadow-define-literal-group, shadow-define-regexp-group)
12355 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12357 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12358 (shell): Use `called-interactively-p'.
12359 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12361 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12362 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12363 (delete-backward-char): Remove unused variable `ocol'.
12364 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12365 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12366 (event-apply-hyper-modifier, event-apply-shift-modifier)
12367 (event-apply-control-modifier, event-apply-meta-modifier):
12368 Mark unused parameters.
12369 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12370 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12372 * speedbar.el (speedbar-ignored-directory-expressions)
12373 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12374 (speedbar-find-file, speedbar-dir-follow)
12375 (speedbar-directory-buttons-follow, speedbar-tag-find)
12376 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12377 (speedbar-buffers-line-directory, speedbar-buffer-click):
12378 Mark unused parameters.
12379 (speedbar-tag-file): Remove unused variable `mode'.
12380 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12382 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12384 * talk.el (talk): Remove unused variable `display'.
12386 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12387 (tar-write-region-annotate): Mark unused parameter.
12389 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12390 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12391 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12392 warning by another.
12394 * time-stamp.el (time-stamp-string-preprocess):
12395 Remove unused variable `require-padding'.
12397 * tree-widget.el (widget-glyph-enable): Declare.
12398 (tree-widget-action): Mark unused parameter.
12400 * w32-fns.el (x-get-selection): Mark unused parameter.
12401 (autoload-make-program, generated-autoload-file): Declare.
12403 * wdired.el (wdired-revert): Mark unused parameters.
12404 (wdired-xcase-word): Remove unused variable `err'.
12406 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12407 (whitespace-help-scroll): Remove unused variable `data-help'.
12409 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12410 (widget-image-insert, widget-after-change, default)
12411 (widget-default-format-handler, widget-default-notify)
12412 (widget-default-prompt-value, widget-info-link-action)
12413 (widget-url-link-action, widget-function-link-action)
12414 (widget-variable-link-action, widget-file-link-action)
12415 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12416 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12417 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12418 (widget-insert-button-action, widget-delete-button-action, visibility)
12419 (widget-documentation-link-action, widget-documentation-string-action)
12420 (widget-const-prompt-value, widget-regexp-match, symbol)
12421 (widget-coding-system-prompt-value)
12422 (widget-key-sequence-value-to-external, sexp)
12423 (widget-sexp-value-to-internal, character, vector, cons)
12424 (widget-choice-prompt-value, widget-boolean-prompt-value)
12425 (widget-color--choose-action): Mark unused parameters.
12426 (widget-item-match-inline, widget-choice-match-inline)
12427 (widget-checklist-match, widget-checklist-match-inline)
12428 (widget-group-match): Rename parameter VALUES to VALS.
12429 (widget-field-value-set): Remove unused variable `size'.
12430 (widget-color-action): Remove unused variables `value' and `start'.
12432 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
12433 variable `dir'. Doc fix.
12434 (windmove-find-other-window): Don't pass it.
12436 * window.el (count-windows): Mark unused parameter.
12437 (bw-adjust-window): Remove unused variable `err'.
12439 * woman.el (woman-file-name): Remove unused variable `default'.
12440 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12441 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12442 (global-font-lock-mode): Declare.
12443 (woman-decode-region): Mark unused parameter.
12444 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12446 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12447 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12448 (x-dnd-handle-moz-url): Remove unused variable `title'.
12449 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12451 * xml.el (xml-parse-tag, xml-parse-attlist):
12452 Remove unused variable `pos'.
12454 2011-04-19 Glenn Morris <rgm@gnu.org>
12456 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12457 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12458 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12459 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12460 * calendar/cal-html.el (cal-html-insert-minical):
12461 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12462 (calendar-mark-date-pattern):
12463 Prefix "unused" locals.
12465 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12466 optional argument `style'.
12468 * calendar/appt.el (appt-make-list):
12469 * calendar/cal-china.el (calendar-chinese-date-string):
12470 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12471 (diary-hebrew-yahrzeit):
12472 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12473 * calendar/calendar.el (calendar-generate-window):
12474 * calendar/time-date.el (time-to-days):
12475 Remove unused local variables.
12477 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
12479 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12480 glyphless-char-display table.
12481 (tabulated-list-glyphless-char-display): New var.
12483 2011-04-18 Sam Steingold <sds@gnu.org>
12485 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12486 to acknowledgments.
12488 2011-04-17 Glenn Morris <rgm@gnu.org>
12490 * calendar/diary-lib.el (diary-sexp-entry):
12491 * calendar/holidays.el (holiday-sexp):
12492 Set debug-on-error rather than the removed stack-trace-on-error.
12494 2011-04-16 Glenn Morris <rgm@gnu.org>
12496 * progmodes/f90.el: Use lexical-binding.
12497 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12499 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12501 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12502 (mail-mode): Setup mailalias completion here instead.
12503 * mail/mailalias.el: Use lexical-binding.
12504 (pattern, mailalias-done): Declare dynamic.
12505 (mail-completion-at-point-function): New function, from mail-complete.
12506 (mail-complete): Use it.
12507 (mail-completion-expand): New function.
12508 (mail-get-names): Use it.
12509 (mail-directory, mail-directory-process, mail-directory-stream):
12510 Don't use `pattern' for lexically bound arg.
12512 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12514 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12515 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12516 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12518 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12519 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12520 (byte-interactive-p): Define them again, for use when inlining
12523 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
12525 * loadup.el: Use `string-to-number', not `string-to-int'.
12527 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12529 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12530 gud-gdb-complete-command.
12531 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12532 (gud-gdb-completion-at-point): New function.
12533 (gud-gdb-completions): Remove.
12535 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
12537 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12538 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12539 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12540 whether `executable-find' is bound.
12542 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12544 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12546 * minibuffer.el (completion-in-region-mode-predicate)
12547 (completion-in-region-mode--predicate): New vars.
12548 (completion-in-region, completion-in-region--postch)
12549 (completion-in-region-mode): Use them.
12550 (completion--capf-wrapper): Also return the hook function.
12551 (completion-at-point, completion-help-at-point):
12552 Adjust and provide a predicate.
12554 Preserve arg names for advice of subr and lexical functions (bug#8457).
12555 * help-fns.el (help-function-arglist): Consolidate the subr and
12556 new-byte-code cases. Add argument `preserve-names' to extract names
12557 from the docstring when needed.
12558 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12559 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12560 (ad-arglist): Use help-function-arglist's new arg.
12561 (ad-definition-type): Use cond.
12563 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
12565 * autorevert.el (auto-revert-handler):
12566 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12567 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12568 Don't quote lambda.
12570 * image-mode.el (image-transform-set-scale):
12571 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12573 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12575 * net/network-stream.el (network-stream-open-starttls): Only do
12576 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
12577 Upgrades via gnutls-cli are too slow to be done opportunistically.
12579 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
12581 * dframe.el (dframe-current-frame): Remove spurious quote.
12583 2011-04-12 Glenn Morris <rgm@gnu.org>
12585 * calendar/cal-tex.el (cal-tex-end-document):
12586 Try to automatically use latin1 input if needed.
12588 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12589 Don't try to cons a mark onto an empty element.
12591 2011-04-11 Leo Liu <sdl.web@gmail.com>
12593 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12595 (ido-kill-buffer-at-head): Support killing virtual buffers.
12597 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
12599 * minibuffer.el (completion-show-inline-help): New var.
12600 (completion--do-completion, minibuffer-complete)
12601 (minibuffer-force-complete, minibuffer-complete-word):
12602 Inhibit minibuffer messages if completion-show-inline-help is nil.
12604 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12605 to avoid interference from inline help (Bug#5849).
12607 2011-04-10 Leo Liu <sdl.web@gmail.com>
12609 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12612 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
12614 * image-mode.el (image-toggle-display-image): Signal an error if
12616 (image-transform-mode, image-transform-resize)
12617 (image-transform-set-rotation): Doc fix.
12618 (image-transform-set-resize): Delete.
12619 (image-transform-set-scale, image-transform-fit-to-height)
12620 (image-transform-fit-to-width): Handle image-toggle-display-image
12621 and image-transform-resize directly.
12623 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
12625 * doc-view.el (doc-view-fit-width-to-window)
12626 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12627 New functions for fitting the shown image to the Emacs window size.
12628 (doc-view-mode-map): Add bindings for the new functions.
12630 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
12632 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
12633 Fix typo in docstring.
12635 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12637 * files.el (file-size-human-readable): Produce one digit after
12638 decimal, like "ls -lh" does.
12640 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12641 the file size representation.
12643 * simple.el (list-processes): If async subprocesses are not
12644 available, error out with a clear error message.
12646 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
12648 * help.el (help-form-show): New function, to be called from C.
12649 Put help-form output in a buffer named differently than *Help*.
12651 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12653 * files.el (file-size-human-readable): New function.
12655 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12656 computing the representation inline. Don't require `cl'.
12658 2011-04-08 Glenn Morris <rgm@gnu.org>
12660 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12662 * net/browse-url.el (browse-url-firefox):
12663 Test system-type, not system-configuration.
12665 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12666 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12667 Use log-edit-empty-buffer-p. (Bug#7598)
12669 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12670 (rlogin-mode-map): Initialize in the defvar.
12671 (rlogin): Use ignore-errors.
12673 * replace.el (occur-mode-map): Some fixes for menu items.
12675 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12677 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12679 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12681 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12682 issuing unused warnings.
12684 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12687 * simple.el: Lisp reimplement of list-processes. Based on an
12688 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12689 (process-menu-mode): New major mode.
12690 (list-processes--refresh, list-processes):
12691 (process-menu-visit-buffer): New functions.
12693 * files.el (save-buffers-kill-emacs): Don't assume any return
12694 value of list-processes, which is undocumented anyway.
12696 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12698 * emacs-lisp/tabulated-list.el: New file.
12700 * emacs-lisp/package.el: Use Tabulated List mode.
12701 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12702 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12703 table format using Tabulated List mode variables.
12704 (package--push): New macro, replacing package-list-maybe-add.
12705 (package-menu--generate): Use package--push. Renamed from
12706 package--generate-package-list.
12707 (package-menu-refresh, list-packages): Use it.
12708 (package-menu--print-info): Rename from package-print-package.
12709 Return insertion data instead of inserting it directly.
12710 (package-menu-describe-package, package-menu-execute):
12711 Use tabulated-list-get-id.
12712 (package-menu-mark-delete, package-menu-mark-install)
12713 (package-menu-mark-unmark, package-menu-backup-unmark)
12714 (package-menu-mark-obsolete-for-deletion):
12715 Use tabulated-list-put-tag.
12716 (package--list-packages, package-menu-revert)
12717 (package-menu-get-package, package-menu-get-version)
12718 (package-menu-sort-by-column): Functions deleted.
12719 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12720 (package-menu--status-predicate, package-menu--version-predicate)
12721 (package-menu--name-predicate)
12722 (package-menu--description-predicate): Handle arguments in the
12723 Tabulated List format.
12724 (package-list-packages-no-fetch): Call list-packages.
12726 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
12728 * files.el (after-find-file-from-revert-buffer): Remove variable.
12729 (after-find-file): Don't bind it.
12730 (revert-buffer-in-progress-p): New variable.
12731 (revert-buffer): Bind it.
12732 Pass nil for `after-find-file-from-revert-buffer'.
12734 * saveplace.el (save-place-find-file-hook): Use new variable
12735 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12737 2011-04-06 Glenn Morris <rgm@gnu.org>
12739 * Makefile.in (AUTOGEN_VCS): New variable.
12740 (autoloads): Use $AUTOGEN_VCS.
12742 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12743 * calendar/calendar.el (calendar-mode-map):
12744 Check for toolkit scroll bars. (Bug#8305)
12746 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12748 * minibuffer.el (completion-in-region--postch)
12749 (completion-in-region-mode): Remove unnecessary messages.
12751 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
12753 * font-lock.el (font-lock-refresh-defaults):
12754 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12755 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12757 * info.el (Info-directory-list, Info-read-node-name-2)
12758 (Info-split-parameter-string): Doc fixes.
12759 (Info-virtual-nodes): Reflow docstring.
12760 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12761 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12762 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12763 Fix typos in docstrings.
12764 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12765 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12766 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12767 (Info-restore-desktop-buffer): Mark unused parameters.
12768 (Info-directory-find-file, Info-directory-find-node)
12769 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12770 (Info-virtual-index-find-node, Info-apropos-find-file)
12771 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
12772 Mark unused parameters; fix typos in docstrings.
12773 (Info-virtual-index): Remove unused local variable `nodename'.
12775 2011-04-05 Deniz Dogan <deniz@dogan.se>
12777 * net/rcirc.el: Update my e-mail address.
12778 (rcirc-mode-map): Remove M-o binding.
12780 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12782 * startup.el (command-line): Save the cursor's theme-face
12783 directly, instead of using face-override-spec.
12785 * custom.el (load-theme): Minor optimization in assigning faces.
12787 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12789 * help-fns.el (describe-variable): Complete all variables having
12790 documentation, including keywords.
12791 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12793 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12795 Convert to lexical-binding.
12797 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12798 (bs--get-marked-string, bs--get-modified-string)
12799 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12800 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12801 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12803 * ehelp.el (electric-help-execute-extended)
12804 (electric-help-ctrl-x-prefix):
12805 * hexl.el (hexl-revert-buffer-function):
12806 * linum.el (linum-after-change, linum-after-scroll):
12807 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12809 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12811 2011-04-04 Daiki Ueno <ueno@unixuser.org>
12818 * epg.el: Use lexical binding.
12820 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
12822 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12824 * textmodes/flyspell.el (flyspell-word): Recognize default
12825 dictionary case for flyspell-mark-duplications-exceptions.
12826 Use regexp matching for languages.
12827 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12828 default dictionary (Bug#7926).
12830 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
12832 * emacs-lisp/package.el (package--with-work-buffer):
12833 Recognize https URLs.
12835 * net/network-stream.el: Move from gnus/proto-stream.el.
12836 Change prefix to network-stream throughout.
12837 (open-protocol-stream): Merge into open-network-stream, leaving
12838 open-protocol-stream as an alias. Handle nil BUFFER args.
12840 * subr.el (open-network-stream): Move to net/network-stream.el.
12842 2011-04-02 Glenn Morris <rgm@gnu.org>
12844 * find-dired.el (find-exec-terminator): New option.
12845 (find-ls-option): Test for -ls support.
12846 (find-ls-subdir-switches): Test for -b in find-ls-option.
12847 (find-dired, find-grep-dired): Doc fixes.
12848 (find-dired): Use find-exec-terminator.
12850 * find-dired.el (find-ls-option, find-ls-subdir-switches)
12851 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12852 (find-name-arg): Remove purecopy.
12854 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12855 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12856 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12857 accordingly. Don't add the null-device if not needed.
12859 * files.el (save-some-buffers): Doc fix.
12861 2011-04-02 Eli Zaretskii <eliz@gnu.org>
12863 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12865 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
12867 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12868 Use `dolist' rather than `mapcar'.
12870 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12872 Add lexical binding.
12874 * subr.el (apply-partially): Use new closures rather than CL.
12875 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12876 (dolist, dotimes): Use slightly different expansion for lexical code.
12877 (functionp): Move to C.
12878 (letrec): New macro.
12879 (with-wrapper-hook): Use it and apply-partially instead of CL.
12880 (eval-after-load): Preserve lexical-binding.
12881 (save-window-excursion, with-output-to-temp-buffer): Turn them
12884 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12886 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12888 (help-add-fundoc-usage): Don't add `Not documented'.
12889 (help-function-arglist): Handle closures, subroutines, and new
12890 byte-code-functions.
12891 (help-make-usage): Remove leading underscores.
12892 (describe-function-1): Handle closures.
12893 (describe-variable): Use special-variable-p for completion.
12895 * files.el (lexical-binding): Declare safe.
12897 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12898 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12899 (pcase): Add `let' pattern.
12900 Change memoization so it actually works.
12901 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12902 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12905 * emacs-lisp/macroexp.el: Use lexical binding.
12906 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12907 Don't convert ' to #' without checking that it's indeed quoting
12910 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
12911 Use eval-sexp-add-defvars.
12912 (eval-sexp-add-defvars): New fun.
12914 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12916 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12918 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12919 than the internal `byte-compile-lambda'.
12920 (defmethod): Don't hide code under quotes.
12921 (eieio-defmethod): New `code' argument.
12923 * emacs-lisp/eieio-comp.el: Remove.
12925 * emacs-lisp/edebug.el (edebug-eval-defun)
12926 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12927 (edebug-toggle): Avoid `eval'.
12929 * emacs-lisp/disass.el (disassemble-internal): Handle new
12931 (disassemble-1): Handle new byte codes.
12933 * emacs-lisp/cl.el (pushnew): Silence warning.
12935 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12936 (cl-byte-compile-throw): Remove.
12937 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12939 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12942 * emacs-lisp/cconv.el: New file.
12944 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12945 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12946 (byte-compile-initial-macro-environment):
12947 Handle declare-function here.
12948 (byte-compile--lexical-environment): New var.
12949 (byte-stack-ref, byte-stack-set, byte-discardN)
12950 (byte-discardN-preserve-tos): New lap codes.
12951 (byte-interactive-p): Don't use any more.
12952 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12954 (byte-compile-lapcode): Use them and handle new lap codes.
12955 (byte-compile-obsolete): Remove.
12956 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12957 (byte-compile-arglist-warn): Check late def of inlinable funs.
12958 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12959 since they should have been expanded by now.
12960 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12961 (byte-compile-from-buffer): Remove unused second arg.
12962 (byte-compile-preprocess): New function.
12963 (byte-compile-toplevel-file-form): New function to distinguish
12964 file-form calls from outside from file-form calls from hunk-handlers.
12965 (byte-compile-file-form): Simplify.
12966 (byte-compile-file-form-defsubst): Remove.
12967 (byte-compile-file-form-defmumble): Simplify now that
12968 byte-compile-lambda always returns a byte-code-function.
12969 (byte-compile): Preprocess.
12970 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12971 Remove, not used any more.
12972 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12973 (byte-compile-make-args-desc): New funs.
12974 (byte-compile-lambda): Handle lexical functions. Always return
12975 a byte-code-function.
12976 (byte-compile-reserved-constants): New var, to make up room for
12977 closed-over variables.
12978 (byte-compile-constants-vector): Obey it.
12979 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12980 (byte-compile-macroexpand-declare-function): New function.
12981 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12982 byte-code-functions.
12983 (byte-compile-form): Check obsolescence here.
12984 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12985 (byte-compile-variable-ref): Remove.
12986 (byte-compile-dynamic-variable-op): New fun.
12987 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12988 (byte-compile-variable-set): New funs.
12989 (byte-compile-discard): Add 2 args.
12990 (byte-compile-stack-ref, byte-compile-stack-set)
12991 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12992 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12993 macroexpand-all instead.
12994 (byte-compile-quote-form): Remove.
12995 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12996 (byte-compile-bind, byte-compile-unbind): New funs.
12997 (byte-compile-let): Handle let* and lexical binding.
12998 (byte-compile-let*): Remove.
12999 (byte-compile-catch, byte-compile-unwind-protect)
13000 (byte-compile-track-mouse, byte-compile-condition-case):
13001 Handle a new :fun-body form, used for lexical scoping.
13002 (byte-compile-save-window-excursion)
13003 (byte-compile-with-output-to-temp-buffer): Remove.
13004 (byte-compile-defun): Simplify.
13005 (byte-compile-stack-adjustment): New fun.
13006 (byte-compile-out): Use it.
13007 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13009 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13012 * emacs-lisp/byte-opt.el: Use lexical binding.
13013 (byte-inline-lapcode): Remove (to bytecomp).
13014 (byte-compile-inline-expand): Pay attention to inlining to/from
13015 lexically bound code.
13016 (byte-compile-unfold-lambda): Don't handle byte-code-functions
13018 (byte-optimize-form-code-walker): Don't handle save-window-excursion
13019 any more and don't call compiler-macros.
13020 (byte-compile-splice-in-already-compiled-code): Remove.
13021 (byte-code): Don't inline any more.
13022 (disassemble-offset): Receive `bytes' as argument rather than via
13024 (byte-compile-tag-number): Declare before first use.
13025 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
13026 `return' even if make-spliceable.
13027 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
13028 obsolete interactive-p.
13029 (byte-optimize-lapcode): Optimize new lap-codes.
13030 Don't trip up on new form of `byte-constant' lap code.
13032 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
13034 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13036 * custom.el (custom-initialize-default, custom-declare-variable):
13039 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
13041 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13042 (COMPILE_FIRST): Add macroexp and cconv.
13043 * makefile.w32-in: Mirror changes in Makefile.in.
13045 * vc/cvs-status.el:
13049 * vc/smerge-mode.el:
13050 * textmodes/bibtex-style.el:
13051 * textmodes/css.el:
13059 * emacs-lisp/smie.el:
13062 * abbrev.el: Use lexical binding.
13064 2011-04-01 Eli Zaretskii <eliz@gnu.org>
13066 * info.el (info-display-manual): New function.
13068 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13070 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13072 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
13074 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
13075 an entry for that server in rcirc-authinfo. (Bug#8385)
13077 2011-03-31 Glenn Morris <rgm@gnu.org>
13079 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13081 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13083 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13085 * progmodes/python.el (python-default-interpreter)
13086 (python-python-command-args, python-jython-command-args)
13087 (python-which-shell, python-which-args, python-which-bufname)
13088 (python-file-queue, python-comint-output-filter-function)
13089 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13090 variables and functions.
13092 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13094 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13095 (completion-in-region-mode): New minor mode.
13096 (completion-in-region): Use it.
13097 (completion-in-region--data, completion-in-region-mode-map): New vars.
13098 (completion-in-region--postch): New function.
13099 (completion--capf-misbehave-funs, completion--capf-safe-funs):
13101 (completion--capf-wrapper): New function.
13102 (completion-at-point): Use it to track well-behavedness of
13104 (completion-help-at-point): New command.
13106 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13108 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13109 syntax class to search for whitespace on a single line
13110 (Message-ID: <4D938140.4030905@redhat.com>).
13112 2011-03-30 Leo Liu <sdl.web@gmail.com>
13114 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13116 (edit-abbrevs-map): Bind them here.
13117 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13119 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13121 * allout.el (allout-hide-by-annotation, allout-flag-region):
13122 Reduce possibility of overlay leakage by making them volatile.
13124 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13125 hash is not shared between buffers. Mode initialization is
13126 responsible for giving it a useful starting value.
13127 (allout-item-span): Reduce possibility of overlay leakage by
13128 making them volatile.
13129 (allout-widgets-count-buttons-in-region): Add diagnostic function
13130 for tracking down button overlay leaks.
13132 2011-03-29 Leo Liu <sdl.web@gmail.com>
13134 * ido.el (ido-read-internal): Use the default history var
13135 minibuffer-history if no HISTORY is specified.
13137 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13139 * net/imap.el (imap-shell-open, imap-process-connection-type):
13140 Use imap-process-connection-type for 'shell' streams as well as
13141 Kerberos, SSL, other subprocesses.
13143 2011-03-28 Leo Liu <sdl.web@gmail.com>
13145 * abbrev.el (abbrev-table-empty-p): New function.
13146 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13147 nonempty ones. (Bug#5937)
13149 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13151 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13153 2011-03-27 Leo Liu <sdl.web@gmail.com>
13155 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13156 for foreground and background colors.
13157 (ansi-color-make-color-map): Adapt.
13159 2011-03-25 Leo Liu <sdl.web@gmail.com>
13161 * midnight.el (midnight-time-float): Remove. Note it calculates
13162 the microsecond component incorrectly and seconds-to-time does the
13164 Remove redundant (require 'timer).
13166 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13167 (ido-completions): Remove unused arguments. (Bug#8329)
13169 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13171 * minibuffer.el (completion--flush-all-sorted-completions):
13172 Remove itself from hook.
13173 (completion-at-point): Let the functions perform the completion
13174 immediately and return nil or t.
13175 * comint.el (comint-dynamic-complete-functions): Now identical to
13176 completion-at-point-functions.
13177 (comint-dynamic-list-input-ring): Remove unused var `index'.
13178 (comint--match-partial-filename, comint--unquote&expand-filename):
13179 New funs, split from comint-match-partial-filename.
13180 (comint-dynamic-complete): Use completion-at-point.
13181 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13183 2011-03-24 Drew Adams <drew.adams@oracle.com>
13185 * thingatpt.el: Support `defun'.
13187 2011-03-23 Leo Liu <sdl.web@gmail.com>
13189 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13191 * help-mode.el (help-mode-finish): Tweak regexp.
13193 2011-03-23 Glenn Morris <rgm@gnu.org>
13195 * eshell/esh-opt.el (eshell-eval-using-options):
13196 Do not bind unused local variable `eshell-option-stub'.
13198 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13200 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
13202 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13203 keymap variable in `with-no-warnings' to avoid a warning when the
13204 keymap has been already `defconst'ed.
13206 2011-03-22 Leo Liu <sdl.web@gmail.com>
13208 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13209 encode all chars in abbrevs; otherwise use emacs-mule or
13210 utf-8-emacs. (Bug#8308)
13212 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
13214 * simple.el (backward-delete-char-untabify):
13215 Avoid warning about using `delete-backward-char'.
13217 * image.el (image-type-file-name-regexps): Make it variable.
13218 `imagemagick-register-types' modifies it, and the user may want
13219 to add new extensions for known image types.
13220 (imagemagick-register-types): Throw error if not using ImageMagick.
13222 2011-03-22 Leo Liu <sdl.web@gmail.com>
13224 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13225 located before rcirc-prompt-end-marker.
13226 (rcirc-complete): Error if point is not after rcirc prompt.
13227 Handle the case when table is nil.
13228 (rcirc-user-authenticated): Define to fix compiler warning.
13230 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
13232 * custom.el (custom--inhibit-theme-enable): Make it affect only
13233 custom-theme-set-variables and custom-theme-set-faces.
13234 (provide-theme): Ignore custom--inhibit-theme-enable.
13235 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13236 (custom-enabling-themes): Delete variable.
13237 (enable-theme): Accept only loaded themes as arguments.
13238 Ignore the special custom-enabled-themes variable.
13239 (custom-enabled-themes): Forbid themes from setting this.
13240 Eliminate use of custom-enabling-themes.
13241 (custom-push-theme): Quote "changed" custom var entry.
13243 2011-03-21 Leo Liu <sdl.web@gmail.com>
13245 * ido.el (ido-read-internal): Add ido-selected to history instead
13248 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13250 * subr.el (deferred-action-list, deferred-action-function):
13253 2011-03-21 Leo Liu <sdl.web@gmail.com>
13255 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13256 change on 2011-02-13 (bug#8309).
13258 * minibuffer.el (read-file-name-function): Change default value.
13259 (read-file-name--defaults): Rename from read-file-name-defaults.
13260 (read-file-name-default): Rename from read-file-name.
13261 (read-file-name): Call read-file-name-function.
13263 2011-03-21 Glenn Morris <rgm@gnu.org>
13265 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13268 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
13270 * cus-theme.el: Add missing provide statement.
13271 (customize-create-theme): Extract theme value correctly.
13272 (custom-theme-visit-theme): Autoload.
13273 (customize-create-theme): Prompt before inserting default faces.
13275 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13277 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13278 units and musical notes.
13280 2011-03-20 Leo Liu <sdl.web@gmail.com>
13282 * ido.el (ido-read-internal): Use completing-read-default.
13283 (ido-completing-read): Fix compatibility with completing-read.
13285 2011-03-20 Christian Ohler <ohler@gnu.org>
13287 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13288 (ert-delete-all-tests): Use `called-interactively-p' rather than
13290 (ert--make-xrefs-region): Respect END.
13292 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
13294 * dired-aux.el (dired-create-directory): Signal an error if the
13295 directory already exists (Bug#8246).
13297 * facemenu.el (list-colors-display): Call list-faces-display
13298 inside with-help-window.
13299 (list-colors-print): Use display property to align the final
13300 column, instead of checking window-width.
13302 2011-03-19 Eli Zaretskii <eliz@gnu.org>
13304 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
13305 windows-nt systems.
13306 (emerge-protect-metachars): Quote correctly for ms-dos and
13307 windows-nt systems.
13309 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
13311 * info.el (info-initialize): Replace all uses of `:' with
13312 path-separator for compatibility with non-Unix systems.
13313 Cache quoting of path-separator. (Bug#8258)
13315 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
13317 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13318 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13319 (mouse-avoidance-mode): Fix typos in docstrings.
13321 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
13323 * startup.el (package-subdirectory-regexp): Move from package.el.
13324 Omit \\` and \\', and let callers add them.
13326 * emacs-lisp/package.el (package-strip-version)
13327 (package-load-all-descriptors): Add \\` and \\' to
13328 package-subdirectory-regexp before using it.
13329 (package-untar-buffer): New arg DIR; ensure that file untars only
13330 into this expected directory. Remove superfluous delete-region.
13331 (package-unpack): Caller changed.
13332 (package-tar-file-info): Use package-subdirectory-regexp.
13334 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13336 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13337 diff-mode-shared-map (bug#8284).
13338 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
13340 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13342 * calendar/time-date.el (format-seconds): Use assoc instead of
13343 assoc-string, since assoc-string doesn't exist in XEmacs.
13345 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
13347 * custom.el (custom-known-themes): Reflow docstring.
13348 (custom-theme-load-path): Fix typo in docstring.
13349 (load-theme): Fix typo in error message.
13350 (custom-available-themes, custom-variable-theme-value):
13351 Use `let', not `let*'.
13353 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13355 * calc/README: Mention inclusion of musical notes.
13357 * calc/calc-units.el (calc-lu-quant): Rename from
13358 `calc-logunits-quantity'.
13359 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13360 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13361 (calc-db): Rename from `calc-dblevel'.
13362 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13363 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13364 (calc-np): Rename from `calc-nplevel'.
13365 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13366 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13367 (calc-lu-plus): Rename from `calc-logunits-add'.
13368 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13369 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13370 (calc-lu-minus): Rename from `calc-logunits-sub'.
13371 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13372 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13373 (calc-lu-times): Rename from `calc-logunits-mul'.
13374 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13375 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13376 (calc-lu-divide): Rename from `calc-logunits-div'.
13377 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13378 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13380 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13381 functions being autoloaded.
13383 * calc/calc.el (calc-lu-power-reference): Rename from
13384 `calc-logunits-power-reference'.
13385 (calc-lu-field-reference): Rename from
13386 `calc-logunits-field-reference'.
13388 * calc/calc-help.el (calc-l-prefix-help):
13389 Mention musical note functions.
13391 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13393 * minibuffer.el (completion-all-sorted-completions):
13394 Use :completion-cycle-penalty text property if present.
13396 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13398 * allout.el (allout-yank-processing): Adjust for new rebulleting
13399 regime so bullet being yanked is used without prompting the user
13402 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
13404 * startup.el (command-line): Warn the user that _emacs is deprecated.
13406 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
13408 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13409 (delphi-verbose, delphi-comment-face, delphi-string-face)
13410 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13411 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13412 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13413 (delphi-new-comment-line, delphi-font-lock-defaults)
13414 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13415 Fix typos in docstrings.
13417 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13419 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
13420 Invert the roles of character and string values for INSTEAD, so a
13421 string is used for the more common case of a defaulting prompt.
13423 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13425 * progmodes/ruby-mode.el (ruby-backward-sexp):
13426 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13427 * play/gamegrid.el (gamegrid-make-face):
13428 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13429 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13430 * notifications.el (notifications-notify):
13431 * net/xesam.el (xesam-search-engines):
13432 * net/quickurl.el (quickurl-list-insert):
13433 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13435 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
13437 * startup.el (command-line): Update package subdirectory regexp.
13439 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13441 * allout.el (allout-abbreviate-flattened-numbering)
13442 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13444 * subr.el (read-char-choice): Only show the cursor after the prompt,
13445 not after the answer.
13447 2011-03-15 Kevin Ryde <user42@zip.com.au>
13449 * help-fns.el (variable-at-point): Skip leading quotes, if any
13452 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13454 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13457 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
13459 * shell.el (shell): When called interactively, offer to change the
13460 shell file name on remote hosts.
13462 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13464 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13465 integration for LDAP parameters. The host, base, user or binddn,
13466 and secret tokens can be specified in a netrc file, for instance.
13467 This is optional because an `auth-source' parameter must be
13468 specified in the search attributes.
13470 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
13472 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13474 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13476 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13477 into declaration. Remove redundant and harmful binding.
13479 2011-03-12 Eli Zaretskii <eliz@gnu.org>
13481 * files.el (file-ownership-preserved-p): Pass `integer' as an
13482 explicit 2nd argument to `file-attributes'. If the file's owner
13483 is the Administrators group on Windows, and the current user is
13484 Administrator, consider that a match.
13486 * server.el (server-ensure-safe-dir): Consider server directory
13487 safe on MS-Windows if its owner is the Administrators group while
13488 the current Emacs user is Administrator. Use `=' to compare
13489 numerical UIDs, since they could be integers or floats.
13491 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
13493 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13495 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
13497 Sync with Tramp 2.2.1.
13499 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13501 * net/trampver.el: Update release number.
13503 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13505 * progmodes/compile.el (compilation--previous-directory): Fix up
13506 various nil/dead-marker mismatches (bug#8014).
13507 (compilation-directory-properties, compilation-error-properties):
13508 Don't call it at a position past the one we're about to change.
13510 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13511 Disable obsolescence warnings in the file that declares it.
13513 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13515 * allout-widgets.el (allout-widgets-tally):
13516 Initialize allout-widgets-tally as a hash table rather than nil to
13517 prevent mode-line redisplay warnings. Also, clarify the module
13518 description and fix a comment typo.
13520 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
13522 * help-fns.el (describe-variable): Don't complete keywords.
13523 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13525 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
13527 * emacs-lisp/package.el (package-version-join): Impose a standard
13528 string representation for pre/alpha/beta version lists.
13529 (package-unpack-single): Standardize the directory name by passing
13530 it through package-version-join.
13531 (package-strip-rcs-id): Accept any version string that does not
13532 signal an error in version-to-list.
13534 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
13536 * simple.el (delete-trailing-whitespace): Return nil for the
13537 benefit of `write-file-functions'.
13539 2011-03-10 Glenn Morris <rgm@gnu.org>
13541 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13543 * vc/vc-git.el (vc-git-program): New option.
13544 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13545 (vc-git--call): Use it.
13547 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13549 * cus-edit.el (Custom-newline): If no button at point, look
13550 for a subgroup button at start-of-line. (Bug#2298)
13552 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13554 2011-03-10 Julien Danjou <julien@danjou.info>
13556 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13557 `cursor-type' is nil.
13559 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13561 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13563 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13565 * allout.el: Change so yank of distinctive-bullet items
13566 preserves the existing header prefix, rebulleting it if necessary,
13567 rather than replacing it. This is necessary for proper operation
13568 of cooperative addons like allout-widgets.
13569 (allout-make-topic-prefix, allout-rebullet-heading):
13570 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13571 value as alternate bullet to be used, instead of prompting the user
13572 for a bullet character.
13574 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
13576 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13577 Do not use `tramp-file-name-port', because this returns also
13578 `tramp-default-port'.
13580 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13582 * net/rcirc.el (rcirc-handler-001): Remove useless
13583 with-rcirc-process-buffer.
13584 (rcirc-check-auth-status): Swap arguments to string-match.
13586 2011-03-09 Glenn Morris <rgm@gnu.org>
13588 * shell.el (shell-mode):
13589 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13591 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13592 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13594 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13596 * emacs-lisp/package.el (package-refresh-contents)
13597 (package-menu-execute): Use condition-case-no-debug.
13599 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
13601 * simple.el (shell-command-to-string): Use `process-file'.
13603 * emacs-lisp/package.el (package-tar-file-info): Handle also
13606 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13607 Use `equal' for upload base check.
13609 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13611 * textmodes/texinfo.el (texinfo-environments):
13612 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13614 2011-03-08 Glenn Morris <rgm@gnu.org>
13616 * cus-start.el (cursor-in-non-selected-windows):
13617 Fix :set quoting oddness. (Bug#8192)
13619 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13620 in some setf expressions. (Bug#2159)
13622 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13624 * custom.el (custom-available-themes): Return themes in
13625 alphabetical order.
13627 See ChangeLog.15 for earlier changes.
13629 ;; Local Variables:
13633 Copyright (C) 2011-2012 Free Software Foundation, Inc.
13635 This file is part of GNU Emacs.
13637 GNU Emacs is free software: you can redistribute it and/or modify
13638 it under the terms of the GNU General Public License as published by
13639 the Free Software Foundation, either version 3 of the License, or
13640 (at your option) any later version.
13642 GNU Emacs is distributed in the hope that it will be useful,
13643 but WITHOUT ANY WARRANTY; without even the implied warranty of
13644 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13645 GNU General Public License for more details.
13647 You should have received a copy of the GNU General Public License
13648 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.