1 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3 * progmodes/make-mode.el (makefile-browse):
4 Remove unnecessary interactive. (Bug#11324)
6 2012-05-07 Glenn Morris <rgm@gnu.org>
8 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
10 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
12 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14 * loadup.el: Preload newcomment.el.
15 * newcomment.el: Move autoload-only code to toplevel.
17 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
18 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
19 Handle new :right-align column property.
20 (tabulated-list-print-col): Idem, plus use `display' text-property to
21 try and preserve alignment for variable pitch fonts.
23 2012-05-07 Chong Yidong <cyd@gnu.org>
25 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
26 (tabulated-list-use-header-line): New var.
27 (tabulated-list-init-header): Use it.
28 (tabulated-list-print-fake-header): New function.
29 (tabulated-list-print): Use it.
30 (tabulated-list-sort-button-map): Add non-header-line commands.
31 (tabulated-list-init-header): Add column name property to basic
33 (tabulated-list-col-sort): Handle non-header-line button case.
34 (tabulated-list--sort-by-column-name): Fix a corner case.
36 * buff-menu.el (list-buffers--refresh):
37 Handle Buffer-menu-use-header-line.
39 2012-05-06 Chong Yidong <cyd@gnu.org>
41 * buff-menu.el: Convert to Tabulated List mode.
42 (Buffer-menu-buffer+size-width): Make obsolete.
43 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
44 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
45 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
46 documentation into docstring of buffer-menu.
47 (Buffer-menu-toggle-files-only): Add an informative message.
48 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
49 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
50 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
51 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
52 (Buffer-menu-execute, Buffer-menu-select)
53 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
54 (Buffer-menu-bury): Use Tabulated List machinery.
55 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
56 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
58 (list-buffers--refresh): New function.
59 (list-buffers-noselect): Use it.
60 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
61 (Buffer-menu--pretty-file-name): New helper functions.
63 * loadup.el: Preload tabulated-list.
65 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
66 tabulated-list-sort-column.
67 (tabulated-list-init-header): Add the initial aligning space even
68 if tabulated-list-padding is zero.
70 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
72 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
73 whose cdr is not a cons cell correctly (bug#11038).
75 2012-05-06 Chong Yidong <cyd@gnu.org>
77 * emacs-lisp/tabulated-list.el (tabulated-list-format):
78 Accept additional plist in column descriptors.
79 (tabulated-list-init-header): Obey it.
80 (tabulated-list-get-entry): New function.
81 (tabulated-list-put-tag): Use it. Use string-width instead of
83 (tabulated-list--column-number): New function.
84 (tabulated-list-print): Use it.
85 (tabulated-list-print-col): New function.
86 Set `tabulated-list-column-name' property on each column's text.
87 (tabulated-list-print-entry): Use it.
88 (tabulated-list-delete-entry, tabulated-list-set-col):
90 (tabulated-list-sort-column): New command (Bug#11337).
92 * buff-menu.el (list-buffers): Move C-x C-b binding from
93 buff-menu.el to bindings.el.
95 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
96 :advertised-binding feature.
98 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
100 * progmodes/compile.el (compilation-internal-error-properties):
101 Calculate start position correctly when end-col is set but
102 end-line is not (Bug#11382).
104 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
106 * man.el (Man-unindent): Use text-property-default-nonsticky to
107 prevent untabify from inheriting face properties (Bug#11408).
109 2012-05-05 Glenn Morris <rgm@gnu.org>
111 * calendar/cal-html.el: Optionally include holidays in the output.
112 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
113 (cal-html-holidays): New option.
114 (cal-html-css-default): Add holiday entry.
115 (holiday-in-range): Autoload it.
116 (cal-html-htmlify-entry): Add optional class argument.
117 (cal-html-htmlify-list): Add optional holidays argument.
118 (cal-html-insert-agenda-days): Include holidays in the output.
119 (cal-html-one-month): Maybe include holidays.
121 * calendar/holidays.el (holiday-in-range):
122 Move here from cal-tex-list-holidays.
123 * calendar/cal-tex.el (cal-tex-list-holidays):
124 Make it an obsolete alias for holiday-in-range. Update all callers.
126 2012-05-05 Chong Yidong <cyd@gnu.org>
128 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
131 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
133 * files.el (file-auto-mode-skip): New var.
134 (set-auto-mode-1): Use it.
136 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
138 * repeat.el: Use lexical-binding.
139 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
140 (repeat-undo-count): Remove.
142 * progmodes/octave-mod.el (octave-abbrev-start):
143 * progmodes/f90.el (f90-abbrev-start):
144 * face-remap.el (text-scale-adjust):
145 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
147 * emacs-lisp/pcase.el (pcase--let*): New function.
148 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
150 (pcase--split-pred): Be more clever about ruling out overlap between
151 a predicate and some constant pattern.
152 (pcase--q1): Use `null' instead of (eq foo nil).
154 * subr.el (setq-local, defvar-local): New macros.
155 (kbd): Redefine as an alias.
156 (with-selected-window): Leave unrelated frames alone.
157 (set-temporary-overlay-map): New function.
159 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
161 * subr.el (user-error): New function.
162 * window.el (switch-to-buffer):
163 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
164 (smerge-match-conflict):
165 * simple.el (previous-matching-history-element)
166 (next-matching-history-element, goto-history-element, undo-more)
168 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
169 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
170 (next-file, tags-loop-scan, list-tags, complete-tag):
171 * progmodes/compile.el (compilation-loop):
172 * mouse.el (mouse-minibuffer-check):
173 * man.el (Man-bgproc-sentinel, Man-goto-page):
174 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
175 (Info-history-forward, Info-follow-reference, Info-menu)
176 (Info-extract-menu-item, Info-extract-menu-counting)
177 (Info-forward-node, Info-backward-node, Info-next-menu-item)
178 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
179 (Info-next-reference, Info-prev-reference, Info-index)
180 (Info-index-next, Info-follow-nearest-node)
181 (Info-copy-current-node-name):
182 * imenu.el (imenu--make-index-alist)
183 (imenu-default-create-index-function, imenu-add-to-menubar):
184 * files.el (basic-save-buffer, recover-file):
185 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
186 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
187 (checkdoc-message-text, checkdoc-defun):
188 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
189 * cus-edit.el (customize-changed-options, customize-rogue)
190 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
191 (custom-variable-mark-to-reset-standard)
192 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
194 * completion.el (check-completion-length):
195 * comint.el (comint-search-arg)
196 (comint-previous-matching-input-string-position)
197 (comint-previous-matching-input)
198 (comint-replace-by-expanded-history-before-point, comint-send-input)
199 (comint-copy-old-input, comint-backward-matching-input)
200 (comint-goto-process-mark, comint-set-process-mark):
201 * calendar/calendar.el (calendar-cursor-to-date): Use it.
202 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
204 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
206 * dabbrev.el (dabbrev--ignore-case-p): New function.
207 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
210 * files.el (automount-dir-prefix): Mark as obsolete.
212 2012-05-04 Glenn Morris <rgm@gnu.org>
214 * patcomp.el, play/bruce.el: Move to obsolete/.
216 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
219 * arc-mode.el (archive-unixdate):
220 * autoinsert.el (auto-insert-alist):
221 * calc/calc-forms.el (math-this-year):
222 * emacs-lisp/copyright.el (copyright-current-year)
223 (copyright-update-year, copyright):
224 * tar-mode.el (tar-clip-time-string):
225 * time.el (display-time-update):
226 Don't assume years have 4 digits.
228 2012-05-04 Chong Yidong <cyd@gnu.org>
230 * dos-w32.el (file-name-buffer-file-type-alist)
231 (direct-print-region-use-command-dot-com):
232 * ffap.el (ffap-menu-regexp):
233 * find-file.el (ff-special-constructs):
234 * follow.el (follow-debug):
235 * forms.el (forms--debug):
236 * iswitchb.el (iswitchb-all-frames):
237 * ido.el (ido-all-frames):
238 * emacs-lisp/timer.el (timer-max-repeats):
239 * mail/feedmail.el (feedmail-mail-send-hook)
240 (feedmail-mail-send-hook-queued):
241 * mail/footnote.el (footnote-signature-separator):
242 * mail/mailabbrev.el (mail-alias-separator-string)
243 (mail-abbrev-mode-regexp):
244 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
245 * progmodes/idlwave.el (idlwave-libinfo-file)
246 (idlwave-default-completion-case-is-down)
247 (idlwave-library-routines): Convert defvars to defcustoms.
249 * mail/rmail.el (rmail-decode-mime-charset):
250 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
251 (idlwave-shell-fix-inserted-breaks)
252 (idlwave-shell-activate-alt-keybindings)
253 (idlwave-shell-use-breakpoint-glyph):
254 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
256 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
258 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
260 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
262 * progmodes/verilog-mode.el (font-lock-keywords):
263 Fix mis-highligting auto. Reported by Craig Barner.
264 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
265 defines from global name space. Reported by Dan Dever.
266 (verilog-auto-reset, verilog-auto-reset-widths)
267 (verilog-auto-tieoff): Support using unbased numbers for
268 AUTORESET and AUTOTIEOFF.
269 (verilog-submit-bug-report): Update variable list.
270 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
271 parenthesis from not matching. Reported by Michael Rytting.
272 (verilog-auto-template-lint): Fix hash error when linting modules
273 with no used templates.
274 (verilog-warn, verilog-warn-error)
275 (verilog-warn-fatal): When non-interactive report multiple
276 warnings before exiting. Suggested by Brad Dobbie.
277 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
278 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
279 to report unused template errors. Reported by Brad Dobbie.
280 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
281 nets, bug438. Reported by Vns Blore.
282 (verilog-auto-inout-module, verilog-auto-reg)
283 (verilog-read-decls, verilog-read-sub-decls-sig)
284 (verilog-signals-edit-wire-reg, verilog-signals-with):
285 Fix passing of Verilog data types in ANSI input/output ports
286 such as "output logic" into the AUTOs. Special case "wire" and
287 "reg" for backwards compatibility presuming Verilog 2001.
288 (verilog-auto-ascii-enum): Add "auto enum" as alias.
289 (verilog-preprocess): Fix replication of preprocess output.
290 Reported by Brad Dobbie.
291 (verilog-auto-inst-interfaced-ports):
292 Create verilog-auto-inst-interfaced-ports, bug429.
293 Reported by Julian Gorfajn.
294 (verilog-after-save-font-hook)
295 (verilog-before-save-font-hook): New variable.
296 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
297 (verilog-save-font-mods): Wrap disabling fontification, reported
299 (verilog-do-indent, verilog-pretty-declarations-auto)
300 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
301 Reported by Pierre-David Pfister.
302 (verilog-set-auto-endcomments): Fix endtask auto comments outside
303 of class declarations, bug292. Reported by Kevin Heilman.
304 (verilog-read-decls): Fix 'parameter type' not appearing in
305 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
306 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
307 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
308 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
309 Reported by David Kravitz.
311 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
313 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
314 assignment with tests in ifs and for loops.
315 (verilog-extended-complete-re, verilog-complete-reg): Change so
316 that DPI inport functions don't look like fuction declarations.
317 (verilog-pretty-expr): Don't line up assignment
318 operations to the test and increment in if and for loops
319 (verilog-extended-complete-re, verilog-complete-reg): Change so
320 that DPI inport functions don't look like fuction declarations
322 2012-05-03 Kenichi Handa <handa@m17n.org>
324 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
325 decoding, and show a warning message without signalling an error
328 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
330 * emacs-lisp/bytecomp.el
331 (byte-compile-file-form-custom-declare-variable): Compile all elements,
332 since cconv.el might have introduced :fun-body, internal-make-closure,
333 and friends for bytecomp to handle (bug#11391).
334 * custom.el (defcustom): Avoid ((λ ..) ..).
336 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
338 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
340 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
342 * notifications.el (dbus-debug):
343 * term/linux.el (gpm-mouse-enable):
344 * term/screen.el (xterm-register-default-colors): Declare.
346 2012-05-02 Chong Yidong <cyd@gnu.org>
348 * cus-start.el (gc-cons-percentage, exec-suffixes)
349 (dos-display-scancodes, dos-hyper-key, dos-super-key)
350 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
351 (make-cursor-line-fully-visible, void-text-area-pointer)
352 (font-list-limit): Add customization data.
354 * allout.el (allout-exposure-change-functions)
355 (allout-structure-added-functions)
356 (allout-structure-deleted-functions)
357 (allout-structure-shifted-functions): Rename abnormal hooks from
358 *-hook, and convert to defcustoms.
359 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
360 Convert to defcustoms.
361 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
363 * allout-widgets.el: Hook callers changed.
365 2012-05-02 Eli Zaretskii <eliz@gnu.org>
367 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
368 the yanked message in preference to the default value of
369 buffer-file-coding-system.
371 2012-05-02 Martin Rudalics <rudalics@gmx.at>
373 * window.el (display-buffer--action-function-custom-type):
376 2012-05-02 Alan Mackenzie <acm@muc.de>
378 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
380 2012-05-01 Glenn Morris <rgm@gnu.org>
382 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
384 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
386 * cus-edit.el (custom-variable-documentation): Simplify with format.
388 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
389 Stefan Monnier <monnier@iro.umontreal.ca>
391 * simple.el (suggest-key-bindings, execute-extended-command):
392 Move from keyboard.c.
394 2012-05-01 Chong Yidong <cyd@gnu.org>
396 * follow.el: Eliminate advice.
397 (set-process-filter, process-filter, sit-for): Advice deleted.
398 (follow-mode-off-hook): Obsolete hook removed.
399 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
401 (follow-auto): Use a :set function.
402 (follow-mode): Rewritten. Don't advise process filters.
403 (follow-switch-to-current-buffer-all, follow-scroll-up)
404 (follow-scroll-down): Assume follow-mode is bound.
405 (follow-comint-scroll-to-bottom)
406 (follow-align-compilation-windows): New functions.
407 (follow--window-sorter): New function.
408 (follow-all-followers): Use it to explicitly sort windows by their
409 positions; don't make assumptions about next-window order.
410 (follow-windows-start-end, follow-delete-other-windows-and-split)
411 (follow-calc-win-start): Doc fix.
412 (follow-windows-aligned-p, follow-select-if-visible): Don't call
413 vertical-motion unnecessarily.
414 (follow-adjust-window): New function.
415 (follow-post-command-hook): Use it.
416 (follow-call-set-process-filter, follow-call-process-filter)
417 (follow-intercept-process-output, follow-tidy-process-filter-alist)
418 (follow-stop-intercept-process-output, follow-generic-filter):
420 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
421 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
422 New functions, replacing advice on scroll-bar-* commands.
423 (follow-mwheel-scroll): New function (Bug#4112).
425 * comint.el (comint-adjust-point): New function.
426 (comint-postoutput-scroll-to-bottom): Use it.
427 Call follow-comint-scroll-to-bottom for Follow mode buffers.
429 2012-05-01 Glenn Morris <rgm@gnu.org>
431 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
432 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
433 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
434 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
435 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
436 Remove no-byte-compile setting.
438 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
440 * minibuffer.el (completion-table-with-quoting): Fix compatibility
441 all-completions code to not return a number in the last cdr.
443 2012-04-30 Leo Liu <sdl.web@gmail.com>
445 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
448 2012-04-29 Chong Yidong <cyd@gnu.org>
450 * follow.el (follow-calc-win-end): Rewrite to handle partial
451 screen lines correctly (Bug#8390).
452 (follow-avoid-tail-recenter): Minor cleanup.
454 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
456 Avoid the obsolete `assoc' package.
457 * speedbar.el (speedbar-refresh): Avoid adelete.
458 (speedbar-file-lists): Simplify and avoid aput.
459 * man.el (Man--sections, Man--refpages): New vars, replacing
460 Man-sections-alist and Man-refpages-alist.
461 (Man-build-section-alist, Man-build-references-alist):
462 Use them; avoid aput.
463 (Man--last-section, Man--last-refpage): New vars.
464 (Man-follow-manual-reference): Use them.
465 Use the `default' arg of completing-read.
466 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
468 2012-04-27 Chong Yidong <cyd@gnu.org>
470 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
472 * startup.el (x-apply-session-resources): New function.
474 * term/ns-win.el (ns-initialize-window-system):
475 * term/w32-win.el (w32-initialize-window-system):
476 * term/x-win.el (x-initialize-window-system): Use it to properly
477 set menu-bar-mode and other vars from X resources, even if the
478 initial frame is not a window-system frame (Bug#2299).
480 * subr.el (read-key): Avoid running filter function when setting
481 up temporary tool bar entries (Bug#9922).
483 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
485 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
488 2012-04-27 Chong Yidong <cyd@gnu.org>
490 * select.el (xselect--encode-string): New function, split from
491 xselect-convert-to-string.
492 (xselect-convert-to-string): Use it.
493 (xselect-convert-to-filename, xselect-convert-to-os)
494 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
495 returned strings are properly encoded (Bug#11315).
497 2012-04-27 Chong Yidong <cyd@gnu.org>
499 * simple.el (delete-active-region): Move to killing custom group.
501 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
503 * progmodes/which-func.el (which-func-current): Quote %
504 characters for mode-line processing.
506 2012-04-27 Chong Yidong <cyd@gnu.org>
508 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
509 reaching eob (Bug#11286).
511 2012-04-27 Eli Zaretskii <eliz@gnu.org>
513 * progmodes/gdb-mi.el (gdb-control-level): New variable.
514 (gdb): Make it buffer-local and init to zero.
515 (gdb-control-commands-regexp): New variable.
516 (gdb-send): Don't wrap in "-interpreter-exec console" if
517 gdb-control-level is positive. Increment gdb-control-level
518 whenever the command matches gdb-control-commands-regexp, and
519 decrement it each time the command is "end". (Bug#11279)
521 2012-04-27 Martin Rudalics <rudalics@gmx.at>
523 * window.el (adjust-window-trailing-edge, enlarge-window)
524 (shrink-window, window-resize):
525 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
528 2012-04-27 Chong Yidong <cyd@gnu.org>
530 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
531 fix "missing prefix" warning. All callers changed.
533 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
535 * emacs-lisp/assoc.el: Move to obsolete/.
537 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
539 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
541 * term/ns-win.el (ns-define-service):
542 * progmodes/pascal.el (pascal-goto-defun):
543 * progmodes/js.el (js--read-tab):
544 * progmodes/etags.el (tags-lazy-completion-table):
545 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
546 * emacs-lisp/ewoc.el (ewoc--wrap):
547 * emacs-lisp/assoc.el (aput, adelete, amake):
548 * doc-view.el (doc-view-convert-current-doc):
549 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
551 2012-04-26 Chong Yidong <cyd@gnu.org>
553 * image.el (image-type-from-buffer): Only return supported image
556 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
557 value, for symmetry with diff-end-of-hunk.
558 (diff-split-hunk, diff-find-source-location)
559 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
560 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
561 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
562 compute the relevant hunk or file properly (Bug#6005).
563 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
565 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
574 * vc/vc.el: Replace lexical-let by lexical-binding.
575 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
576 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
577 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
579 2012-04-26 Chong Yidong <cyd@gnu.org>
581 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
582 (diff-mode-shared-map): Bind it to / and [remap undo].
584 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
585 (ediff-window-setup-function): Use it as the default, to set up
586 windows based on whether the current frame is graphical (Bug#2138).
587 (ediff-choose-window-setup-function-automatically): Make obsolete.
589 * vc/ediff-init.el: Always define ediff-pixel-width/height.
591 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
593 * ffap.el: Remove old code for obsolete package.
594 (ffap-complete-as-file-p): Remove.
596 Use completion-table-with-quoting for comint and pcomplete.
597 * comint.el (comint--unquote&requote-argument)
598 (comint--unquote-argument, comint--requote-argument): New functions.
599 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
600 (comint-quote-filename): Use regexp-opt-charset.
601 (comint--common-suffix, comint--common-quoted-suffix)
602 (comint--table-subvert): Remove.
603 (comint-unquote-function, comint-requote-function): New vars.
604 (comint--complete-file-name-data): Use them with
605 completion-table-with-quoting.
606 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
607 * pcomplete.el (pcomplete-arg-quote-list)
608 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
609 (pcomplete-unquote-argument-function): Default to non-nil.
610 (pcomplete-unquote-argument): Simplify.
611 (pcomplete--common-quoted-suffix): Remove.
612 (pcomplete-requote-argument-function): New var.
613 (pcomplete--common-suffix): New function.
614 (pcomplete-completions-at-point): Use completion-table-with-quoting
615 and completion-table-subvert.
617 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
618 (minibuffer--double-dollars): Preserve properties.
619 (completion--sifn-requote): New function.
620 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
622 * minibuffer.el: Add support for completion of quoted/escaped data.
623 (completion-table-with-quoting, completion-table-subvert): New funs.
624 (completion--twq-try, completion--twq-all): New functions.
625 (completion--nth-completion): New function.
626 (completion-try-completion, completion-all-completions): Use it.
628 2012-04-25 Leo Liu <sdl.web@gmail.com>
630 * progmodes/python.el (python-pdbtrack-get-source-buffer):
631 Use compilation-message if available to find real filename.
633 2012-04-25 Chong Yidong <cyd@gnu.org>
635 * vc/diff-mode.el (diff-setup-whitespace): New function.
638 * vc/diff.el (diff-sentinel):
639 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
640 Whitespace mode variables based on diff style (Bug#8612).
642 2012-04-25 Leo Liu <sdl.web@gmail.com>
644 * progmodes/python.el (python-send-region): Add suffix .py to the
647 * files.el (auto-mode-alist): Use javascript-mode instead.
649 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
651 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
653 * soap-client.el (soap-resolve-references-for-sequence-type)
654 (soap-resolve-references-for-array-type): Hack to prevent self
655 references, see Bug#9.
656 (soap-parse-envelope): Report the contents of the 'detail' node
657 when receiving a fault reply.
658 (soap-parse-envelope): Report the contents of the entire 'detail' node.
660 * soap-inspect.el (soap-sample-value-for-simple-type)
661 (soap-inspect-simple-type): New function.
663 * soap-client.el (soap-simple-type): New struct.
664 (soap-default-xsd-types, soap-default-soapenc-types)
665 (soap-decode-basic-type, soap-encode-basic-type):
666 support unsignedInt and double basic types.
667 (soap-resolve-references-for-simple-type)
668 (soap-parse-simple-type, soap-encode-simple-type): New function.
669 (soap-parse-schema): Parse xsd:simpleType declarations.
671 * soap-client.el (soap-default-xsd-types)
672 (soap-default-soapenc-types): Add integer, byte and anyURI types.
673 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
674 the local name of "soapenc:Array".
675 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
676 decoding integer, byte and anyURI xsd types.
678 2012-04-25 Chong Yidong <cyd@gnu.org>
680 * cus-edit.el (custom-buffer-create-internal): Update header text.
682 2012-04-25 Eli Zaretskii <eliz@gnu.org>
684 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
685 settings on 'system-type', not on 'window-system'. On MS-Windows,
686 set interactive-mode on in GDB.
688 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
690 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
691 (ruby-syntax-propertize-regexp): Remove.
692 (ruby-syntax-propertize-function): Split regexp into chunks.
693 Match following code directly.
695 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
697 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
698 (ruby-syntax-propertize-regexp): New function.
699 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
700 by a special keyword.
702 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
703 (ruby-syntax-general-delimiters-goto-beg)
704 (ruby-syntax-propertize-general-delimiters): New functions.
705 (ruby-syntax-propertize-function): Use them to handle GDL.
706 (ruby-font-lock-keywords): Move old handling of GDL...
707 (ruby-font-lock-syntactic-keywords): .. to here.
708 (ruby-calculate-indent): Adjust indentation for GDL.
710 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
712 * notifications.el (top): Remove unneeded declarations.
713 (notifications-specification-version): Change to "1.2".
714 (notifications-interface, notifications-notify-method)
715 (notifications-close-notification-method): Fix docstring.
716 (notifications-get-capabilities-method): New defconst.
717 (notifications-notify): Add :action-items, :resident and
718 :transient hints. Change "image_data" to "image-data" and
719 "image_path" to "image-path".
720 (notifications-get-capabilities): New defun.
722 2012-04-24 Leo Liu <sdl.web@gmail.com>
724 * progmodes/python.el: Move hideshow setup to the end.
726 2012-04-24 Martin Rudalics <rudalics@gmx.at>
728 * window.el (handle-select-window): Clear echo area since this is
729 no more done by read_char (Bug#11304).
731 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
733 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
734 and `/ M' to filter-derived-mode.
735 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
736 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
737 (ibuffer-mark-by-mode): Use default rather than initial-input.
738 (ibuffer-filter-by-derived-mode): Autoload and require-match.
740 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
742 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
743 (ibuffer-filter-by-derived-mode): New filter.
744 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
746 2012-04-23 Andreas Politz <politza@fh-trier.de>
748 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
750 2012-04-23 Chong Yidong <cyd@gnu.org>
752 * cus-edit.el (customize-apropos, customize-apropos-options):
753 Disable matching of non-option variables (Bug#11176).
754 (customize-option, customize-option-other-window)
755 (customize-changed-options): Doc fix.
756 (customize-apropos-options, customize-apropos-faces)
757 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
759 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
760 Fix word list splitting (Bug#11132).
761 (apropos-symbol, apropos-keybinding, apropos-label)
762 (apropos-property, apropos-function-button)
763 (apropos-variable-button, apropos-misc-button): New faces.
764 (apropos-symbol-face, apropos-keybinding-face)
765 (apropos-label-face, apropos-property-face, apropos-match-face):
766 Variables removed (Bug#8396).
767 (apropos-library-button, apropos-format-plist, apropos-print)
768 (apropos-print-doc, apropos-describe-plist): Callers changed.
770 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
772 * net/xesam.el (xesam-mode-map): Use let-bound map in
773 initialization. (Bug#11292)
775 2012-04-23 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
777 Preserve ispell session localwords when switching back to
780 * ispell.el (ispell-buffer-session-localwords): New buffer-local
781 variable to hold buffer session localwords.
782 (ispell-kill-ispell): add option 'clear to delete session
784 (ispell-command-loop, ispell-change-dictionary)
785 (ispell-buffer-local-words): Preserve session localwords when
788 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
789 Preserve session localwords when needed.
791 2012-04-23 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
793 * ispell.el (ispell-insert-word) Remove unneeded function using
794 obsolete `translation-table-for-input'.
795 (ispell-word, ispell-process-line, ispell-complete-word):
796 Use plain `insert' instead of removed `ispell-insert-word'.
798 2012-04-22 Chong Yidong <cyd@gnu.org>
800 * cus-edit.el (custom-variable-menu)
801 (custom-variable-reset-saved, custom-face-menu)
802 (custom-face-reset-saved): If there is no saved value, make the
803 "reset-saved" operation bring back the default (Bug#9509).
804 (custom-face-state): Properly detect themed faces.
806 * faces.el (face-spec-set): Stop supporting deprecated form of
809 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
811 Move functions from C to Lisp. Make non-blocking method calls
812 the default. Implement further D-Bus standard interfaces.
814 * net/dbus.el (dbus-message-internal): Declare function.
815 Remove unneeded function declarations.
816 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
817 (dbus-message-type-method-return, dbus-message-type-error)
818 (dbus-message-type-signal): Declare variables. Remove local
820 (dbus-interface-dbus, dbus-interface-peer)
821 (dbus-interface-introspectable, dbus-interface-properties)
822 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
824 (dbus-interface-objectmanager): New defconst.
825 (dbus-call-method, dbus-call-method-asynchronously)
826 (dbus-send-signal, dbus-method-return-internal)
827 (dbus-method-error-internal, dbus-register-service)
828 (dbus-register-signal, dbus-register-method): New defuns, moved
830 (dbus-call-method-handler, dbus-setenv)
831 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
833 (dbus-call-method-non-blocking): Make it an obsolete function.
834 (dbus-unregister-object, dbus-unregister-service)
835 (dbus-handle-event, dbus-register-property)
836 (dbus-property-handler): Obey the new structure of
837 `bus-registered-objects'.
838 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
839 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
840 Use `dbus-call-method'.
842 2012-04-22 Chong Yidong <cyd@gnu.org>
844 * cus-edit.el (custom-commands, custom-reset-menu)
845 (Custom-reset-standard): Tweak labels.
846 (custom-reset-button-menu): Change default to t.
847 (custom-buffer-create-internal): For the custom-reset-button-menu
848 case, put the revert button first.
849 (custom-group-subtitle): New face.
850 (custom-group-value-create): Align docstring to a specific column.
852 * wid-edit.el (widget-documentation-link-add): Don't handle
853 indentation in this function.
854 (widget-documentation-string-indent-to): New function.
855 (widget-documentation-string-value-create): Use it.
857 * autorevert.el (auto-revert):
858 * epg-config.el (epg):
859 * ibuffer.el (ibuffer):
862 * eshell/eshell.el (eshell):
863 * net/ange-ftp.el (ange-ftp):
864 * progmodes/ebnf2ps.el (postscript):
865 * progmodes/flymake.el (flymake):
866 * progmodes/prolog.el (prolog):
867 * progmodes/verilog-mode.el (verilog-mode):
868 * progmodes/which-func.el (which-func):
869 * term/xterm.el (xterm):
870 * textmodes/picture.el (picture):
871 * textmodes/tildify.el (tildify):
872 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
873 customization buffers.
875 2012-04-22 Alan Mackenzie <acm@muc.de>
877 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
878 Adding a ) can hide the resulting (..) from searches. Fix it.
879 Bound the backward search to the position of the existing (.
881 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
883 * progmodes/verilog-mode.el (verilog-mode): Check whether
884 which-func-modes is t before adding verilog-mode.
885 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
887 2012-04-21 Leo Liu <sdl.web@gmail.com>
889 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
891 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
893 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
894 filling of the last column of a table (Bug#5635).
895 (woman-find-next-control-line): New arg, specifying an additional
896 regexp component for the control line.
897 (woman2-roff-buffer): Use it.
898 (woman-break-table): New function.
901 2012-04-21 Chong Yidong <cyd@gnu.org>
903 * woman.el (woman-set-buffer-display-table, woman-decode-region)
904 (woman-horizontal-escapes, woman-negative-vertical-space)
905 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
906 (WoMan-warn-ignored): Use ?\s instead of ?\ .
908 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
910 * minibuffer.el (completion-file-name-table): Complete user names.
912 2012-04-20 Leo Liu <sdl.web@gmail.com>
914 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
917 2012-04-20 Chong Yidong <cyd@gnu.org>
919 * server.el (server-execute): Respect initial-buffer-choice if it
920 is a string and there are no files to open (Bug#2825).
921 (server-create-window-system-frame, server-create-tty-frame):
922 Don't switch buffers here.
923 (server-process-filter): Only try to open a window system frame if
924 compiled with graphical support (Bug#8314).
926 2012-04-20 Dan Nicolaescu <dann@gnu.org>
928 * battery.el (battery-echo-area-format): Display remaining time
929 for sysfs backend too (Bug#11269).
930 (battery-linux-sysfs): Fix conditional for the charge.
932 2012-04-20 Chong Yidong <cyd@gnu.org>
934 * progmodes/gdb-mi.el (gdb): Revert previous change.
935 (gdb-inferior-io--init-proc): New function.
936 (gdb-init-1): Use it.
937 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
938 responsible for allocating a new pty and hooking it to gdb when
939 the old pty gets an EIO due to process exit.
940 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
941 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
942 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
944 2012-04-20 Eli Zaretskii <eliz@gnu.org>
946 * window.el (window-min-size, window-sizable, window-min-delta)
947 (window-max-delta, window--resizable, window-resizable)
948 (window-total-size, window-full-height-p, window-full-width-p)
949 (window-in-direction, window--resize-mini-window, window-resize)
950 (window--resize-child-windows-normal)
951 (window--resize-child-windows, window--resize-siblings)
952 (window--resize-this-window, adjust-window-trailing-edge)
953 (enlarge-window, shrink-window): Doc fixes.
955 2012-04-20 Chong Yidong <cyd@gnu.org>
957 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
958 New function to call delete-process on the gdb-inferior buffer's pty.
959 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
960 pty process (Bug#11273).
961 (gdb-update): New arg to suppress talking to the gdb process.
962 (gdb-done-or-error): Use it.
963 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
964 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
965 sentinel not being called.
967 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
969 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
971 2012-04-20 Glenn Morris <rgm@gnu.org>
973 * net/network-stream.el (open-network-stream): Doc fix.
975 2012-04-20 Chong Yidong <cyd@gnu.org>
977 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
979 2012-04-20 Alan Mackenzie <acm@muc.de>
981 Ensure searching for keywords is case sensitive.
983 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
984 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
985 (c-defun-name, c-mark-function, c-cpp-define-name)
986 (c-comment-indent, c-scan-conditionals, c-indent-defun)
987 (c-context-line-break): Bind case-fold-search to nil.
989 * progmodes/cc-mode.el (c-font-lock-fontify-region):
990 Bind case-fold-search to nil.
992 2012-04-20 Chong Yidong <cyd@gnu.org>
994 * mail/sendmail.el (mail-bury): Call return action with the right
995 Rmail buffer (Bug#11242).
997 * server.el (server-process-filter): Handle corner case where both
998 tty and nowait options are present (Bug#11102).
1000 2012-04-20 Eli Zaretskii <eliz@gnu.org>
1002 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
1003 (top level): Put into the executable the ident-style '$Id:' tag on
1006 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1008 * electric.el (electric-indent-post-self-insert-function): Check that
1009 electric-indent-mode is enabled in current buffer.
1011 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
1013 * imenu.el (imenu-progress-message): Restore; it is "used" in
1014 erc/erc-imenu.el and net/snmp-mode.el.
1016 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
1018 * avoid.el (mouse-avoidance-mode): Mark unused arg.
1019 (mouse-avoidance-nudge-mouse): Remove unused binding.
1021 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1023 * descr-text.el (describe-char):
1024 * progmodes/python.el (python-describe-symbol):
1025 Don't call `toggle-read-only', set `buffer-read-only'.
1027 * imenu.el (imenu-default-goto-function): Mark unused args.
1028 (imenu-progress-message): Remove obsolete macro; all callers changed.
1030 * subr.el (keymap-canonicalize): Remove unused binding.
1031 (read-passwd): Mark unused arg.
1033 * tutorial.el (tutorial--display-changes): Remove unused binding.
1034 (tutorial--save-tutorial-to): Remove unused variable.
1036 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1037 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1038 (package-generate-autoloads, package-menu--generate)
1039 (package-menu--find-upgrades): Remove unused bindings.
1041 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1042 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1043 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1044 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1045 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1046 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1047 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1048 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1049 (cua-delete-char-rectangle): Mark unused args.
1050 (cua-align-rectangle): Remove unused binding.
1052 * mail/rmail.el (compilation--message->loc)
1053 (epa--find-coding-system-for-mime-charset): Declare.
1055 * net/dbus.el (dbus-register-service): Declare.
1056 (dbus-name-owner-changed-handler): Remove unused binding.
1058 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1059 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1060 (nxml-scan-backward-within): Mark unused arg.
1061 (nxml-dynamic-markup-word): Remove unused binding.
1063 * mouse.el (mouse-menu-major-mode-map):
1064 * emacs-lisp/authors.el (authors-scan-change-log)
1065 (authors-add-to-author-list):
1066 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1067 * emacs-lisp/smie.el (smie-auto-fill):
1068 * mail/sendmail.el (mail-bury):
1069 * mail/unrmail.el (unrmail):
1070 * net/tls.el (open-tls-stream):
1071 * textmodes/picture.el (picture-mouse-set-point):
1072 Remove unused bindings.
1074 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
1076 * net/tramp.el (tramp-action-password): Let-bind
1077 `enable-recursive-minibuffers' to t.
1079 2012-04-18 Sam Steingold <sds@gnu.org>
1081 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1082 instead of 'string to accommodate values like [f11].
1083 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1084 * progmodes/gdb-mi.el: Likewise.
1086 2012-04-18 Leo Liu <sdl.web@gmail.com>
1088 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1090 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1093 2012-04-18 Chong Yidong <cyd@gnu.org>
1095 * simple.el (line-move): Use forward-line if in batch mode
1098 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1100 * files.el (after-find-file): Do not try to add a final newline if
1101 the buffer is read-only (Bug#11156).
1103 2012-04-17 Richard Stallman <rms@gnu.org>
1105 * mail/rmail.el (rmail-start-mail):
1106 Pass (rmail-mail-return...) for the return-action.
1107 Pass (rmail-yank-current-message...) for the yank-action.
1108 (rmail-yank-current-message): New function.
1109 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1110 (rmail-reply): Likewise.
1111 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1113 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
1114 buffer, not the last. Reject temp buffers. Use the rmail-mode
1117 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
1119 * server.el (server-ensure-safe-dir): Simplify.
1121 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1123 * emacs-lisp/smie.el: Provide smarter auto-filling.
1124 (smie-auto-fill): New function.
1125 (smie-setup): Use it.
1127 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1129 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
1131 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1132 (comment-indent): Use it.
1134 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
1136 * ses.el: The overall change is to add cell renaming, that is
1137 setting fancy names for cell symbols other than name matching
1138 "\\`[A-Z]+[0-9]+\\'" regexp .
1139 (ses-localvars): Add ses--renamed-cell-symb-list.
1140 (ses-create-cell-variable): New defun.
1141 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
1142 (ses-relocate-formula): Relocate formulas only for cells the
1143 symbols of which are not renamed, i.e. symbols whose names do not
1144 match regexp "\\`[A-Z]+[0-9]+\\'".
1145 (ses-relocate-all): Relocate values only for cells the symbols of
1146 which are not renamed.
1147 (ses-load): Create cells variables as the (ses-cell ...) are read,
1148 in order to check row col consistency with cell symbol name only
1149 for cells that are not renamed.
1150 (ses-replace-name-in-formula): New defun.
1151 (ses-rename-cell): New defun.
1153 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1155 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1156 New option (bug#11118).
1157 (perl-calculate-indent): Respect it.
1159 2012-04-17 Glenn Morris <rgm@gnu.org>
1161 * dired-aux.el (dired-mark-read-string): Doc fix.
1163 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1165 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1166 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1168 2012-04-17 Glenn Morris <rgm@gnu.org>
1170 * mouse.el (mouse-drag-track):
1171 * speedbar.el (speedbar-frame-mode):
1172 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1174 2012-04-16 Leo Liu <sdl.web@gmail.com>
1176 * progmodes/python.el: Trivial cleanup.
1178 2012-04-16 Glenn Morris <rgm@gnu.org>
1180 * vc/vc.el (vc-string-prefix-p):
1181 * vc/pcvs-util.el (cvs-string-prefix-p):
1182 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1183 * mpc.el (mpc-string-prefix-p):
1184 Make all of these into obsolete aliases for string-prefix-p.
1186 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1188 * textmodes/two-column.el: Move custom options to the start.
1189 (frame-width): Remove compat definition.
1190 (2C-associate-buffer, 2C-dissociate):
1191 Use with-current-buffer rather than save-excursion.
1192 (2C-dissociate): Force a mode-line update.
1193 (2C-autoscroll): Use ignore-errors.
1195 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1198 * emacs-lisp/cl-extra.el (*random-state*):
1199 Remove unnecessary declaration.
1201 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1203 * play/cookie1.el (cookie-snarf):
1204 Give an explicit error if input file cannot be read.
1206 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1208 * progmodes/perl-mode.el (c-macro-expand):
1209 Remove unnecessary autoload (it is in loaddefs.el).
1211 * textmodes/picture.el (picture-desired-column)
1212 (picture-update-desired-column): Convert comments to doc-strings.
1213 (picture-substitute): Remove function.
1214 (picture-mode-map): Initialize in the defvar.
1216 * woman.el: Remove eval-after-load for tar-mode.
1217 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1218 (woman-tar-extract-file): Autoload it.
1220 * frame.el (automatic-hscrolling): Make this alias obsolete.
1222 2012-04-12 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
1224 * ispell.el (ispell-set-spellchecker-params): Post-process
1225 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
1226 (ispell-dictionary-base-alist): Revert to original XEmacs
1227 friendly version for default. [:alpha:] will be added in
1228 `ispell-set-spellchecker-params' if needed
1230 2012-04-16 Chong Yidong <cyd@gnu.org>
1232 * image.el (imagemagick--extension-regexp): New variable.
1233 (imagemagick-register-types): Use it.
1234 (imagemagick-types-inhibit): Add :set function. Allow new value
1235 of t to inhibit all types.
1237 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1238 so we can preload it.
1240 * loadup.el (fboundp): Preload regexp-opt, needed by
1241 imagemagick-register-types.
1243 2012-04-15 Chong Yidong <cyd@gnu.org>
1245 * frame.el (scrolling): Remove nearly unused customization group.
1247 * scroll-all.el (scroll-all-mode): Move to windows group.
1249 2012-04-15 Chong Yidong <cyd@gnu.org>
1251 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1253 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1255 Avoid the use of ((lambda ...) ...) in lexical-binding code.
1256 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
1258 2012-04-15 Glenn Morris <rgm@gnu.org>
1260 * simple.el (process-file-side-effects): Doc fix.
1262 2012-04-15 Glenn Morris <rgm@gnu.org>
1264 * international/mule-cmds.el (set-language-environment): Doc fix.
1266 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
1268 * server.el (server-auth-key, server-generate-key): Doc fixes.
1269 (server-get-auth-key): Doc fix. Use `string-match-p'.
1270 (server-start): Reflow docstring.
1272 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1274 * server.el (server-generate-key): `called-interactively-p'
1275 requires a parameter.
1277 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
1279 * server.el (server-auth-key): New variable.
1280 (server-generate-key, server-get-auth-key): New function.
1281 (server-start): Use the new variable and functions to allow
1282 setting a permanent server key (bug#9423).
1284 2012-04-14 Leo Liu <sdl.web@gmail.com>
1286 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1288 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1291 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1292 Emacs uses American spelling.
1294 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
1296 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1297 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1298 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1299 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1301 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1303 * progmodes/which-func.el (which-func-modes): Change default.
1305 2012-04-14 Kim F. Storm <storm@cua.dk>
1307 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1308 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1310 2012-04-14 Chong Yidong <cyd@gnu.org>
1312 * custom.el (custom-theme-set-variables): Doc fix.
1314 2012-04-14 Glenn Morris <rgm@gnu.org>
1316 * international/mule.el (set-auto-coding-for-load): Doc fix.
1318 2012-04-14 Alan Mackenzie <acm@muc.de>
1320 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1321 imenu work again for Objective C Mode. Correct the *-index values,
1322 these having been disturbed by a previous change in 2011-08.
1324 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1325 Correct two search limits.
1327 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1329 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1331 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
1333 * international/characters.el: Fix sorting.
1335 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1337 * international/characters.el: Add more missing Latin case pairs.
1339 2012-04-14 Glenn Morris <rgm@gnu.org>
1341 * files.el (dir-locals-set-class-variables): Doc fix.
1343 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1345 * international/characters.el: Add set-case-syntax-pair call for
1346 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1347 counterpart. (Bug#11209)
1349 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1351 2012-04-14 Glenn Morris <rgm@gnu.org>
1353 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1355 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1357 * textmodes/ispell.el (ispell-dictionary-base-alist):
1358 Add data for Hebrew.
1360 2012-04-14 Chong Yidong <cyd@gnu.org>
1362 * net/rcirc.el (rcirc-cmd-quit):
1363 Revert 2012-03-18 change (Bug#11192).
1365 2012-04-14 Glenn Morris <rgm@gnu.org>
1367 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1369 2012-04-14 Eli Zaretskii <eliz@gnu.org>
1371 * minibuffer.el (completion-in-region-mode-map):
1372 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
1374 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1376 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1378 2012-04-13 Masatake YAMATO <yamato@redhat.com>
1380 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1381 to allow `C-M-f' and `C-M-b' to move to the nearest path
1382 separator (bug#9511).
1384 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1386 * avoid.el: Require cl when compiling. And also move the
1387 `provide' to the end.
1389 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1391 * avoid.el (mouse-avoidance-banish-position): New variable.
1392 (mouse-avoidance-banish-destination): Use it (bug#10165).
1394 2012-04-13 Leo Liu <sdl.web@gmail.com>
1396 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1398 2012-04-13 Ken Brown <kbrown@cornell.edu>
1400 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
1401 this is no longer needed now that cygstart understands file:// URLs.
1402 (browse-url-filename-alist): For the same reason, don't modify
1403 file:// URLs on Cygwin.
1405 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1407 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1408 the region on shift if the binding is already shifted (bug#11221).
1410 2012-04-12 Glenn Morris <rgm@gnu.org>
1412 * mail/mailpost.el: Move to obsolete/.
1414 2012-04-12 Drew Adams <drew.adams@oracle.com>
1416 * imenu.el (imenu--generic-function): Ignore invisible definitions
1419 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1421 * hexl.el (hexl-bits): New variable.
1422 (hexl-options): Mention the variable in the doc string.
1423 (hexl-rulerise, hexl-line-displen): New functions.
1424 (hexl-mode): Mention the new variable.
1425 (hexl-mode, hexl-current-address, hexl-current-address):
1427 (hexl-ascii-start-column): New function.
1428 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1429 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1431 2012-04-12 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
1433 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1434 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1435 the encoding, as expected by hunspell.
1437 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1439 * battery.el (battery--linux-sysfs-regexp): New const.
1440 (battery-status-function): Use it. Remove yeeloong special case.
1441 (battery-yeeloong-sysfs): Remove.
1442 (battery-echo-area-format): Remove yeeloong special case.
1444 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1446 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1447 Reported by Noah Friedman.
1449 * subr.el (read-passwd): Use read-string.
1451 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1453 * vcursor.el (vcursor-move): Increase the priority of the overlay
1456 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1458 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1459 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1461 2012-04-11 William Stevenson <yhvh2000@gmail.com>
1463 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1464 define-minor-mode (bug#10760).
1466 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
1468 * progmodes/grep.el (rgrep): Tweak the find command line so
1469 that directories matching `grep-find-ignored-files' won't be
1472 2012-04-11 Chong Yidong <cyd@gnu.org>
1474 * startup.el (command-line): Remove support for long-obsolete
1475 variable font-lock-face-attributes.
1477 2012-04-11 Glenn Morris <rgm@gnu.org>
1479 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1481 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1483 * window.el (window--state-get-1): Obey window-point-insertion-type.
1485 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1487 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1488 to previous function when point is on the first character of a
1489 function. Take care of that in `narrow-to-defun' (bug#6157).
1491 2012-04-11 Glenn Morris <rgm@gnu.org>
1493 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1494 not just file-errors.
1496 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1497 (vc-bzr-sha1): Use internal sha1.
1499 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1501 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1503 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1505 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1506 that start in the middle of the line (bug#10496).
1508 2012-04-10 Dan Nicolaescu <dann@gnu.org>
1510 * battery.el (battery-linux-proc-acpi): Only one battery is
1511 discharged at a time, but that seems to confuse battery.el when
1512 computing `rate-type' for the battery not being discharged
1515 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1517 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1519 * international/quail.el: Use dolist and simplify.
1520 (quail-define-package, quail-update-keyboard-layout)
1521 (quail-define-rules): Use dolist.
1522 (quail-insert-kbd-layout, quail-get-translation): CSE.
1524 * tmm.el: Use dolist, remove left over hook.
1525 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1527 (calendar-load-hook): Don't mess with it.
1529 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1530 Use derived-mode-p. Run the diff asynchronously.
1532 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1534 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1536 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
1538 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1539 (list-dynamic-libraries--loaded): New function.
1540 (list-dynamic-libraries--refresh): Use it.
1542 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
1544 * progmodes/python.el (python-fill-paragraph):
1545 Make python-fill-region in a multiline string work when font-lock is
1546 disabled (bug#7018).
1548 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
1550 * language/european.el (cp775): Add oem/legacy (en)coding on
1551 DOS/MS Windows for the Baltic languages. There are still plenty
1552 of texts written in this encoding/codepage (bug#6519).
1554 2012-04-10 Glenn Morris <rgm@gnu.org>
1556 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1557 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1559 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1561 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
1562 next-line "n" and previous-line "p" in order to make recentf more
1563 consistent with ibuffer, dired or org-mode (bug#9387).
1565 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1567 * image.el (put-image): Return the overlay created instead of the
1568 optional input string (bug#7834). Note that this may break code
1569 that is (for some reason or other) depending on `put-image'
1570 returning the string.
1572 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1574 * simple.el (zap-to-char): Allow zapping using input methods
1577 * textmodes/fill.el (fill-region): Leave point and mark where they
1578 were before filling (bug#5399).
1580 2012-04-09 Glenn Morris <rgm@gnu.org>
1582 * version.el (emacs-bzr-get-version):
1583 Handle lightweight checkouts of local branches.
1585 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1587 * international/characters.el: Recover lost case pairs. (Bug#11209)
1589 2012-04-09 Chong Yidong <cyd@gnu.org>
1591 * custom.el (custom-variable-p): Return nil for non-symbol
1592 arguments instead of signaling an error.
1593 (user-variable-p): Obsolete alias for custom-variable-p.
1595 * apropos.el (apropos-variable):
1596 * files-x.el (read-file-local-variable):
1597 * simple.el (set-variable):
1598 * woman.el (woman-mini-help):
1599 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1601 2012-04-09 Glenn Morris <rgm@gnu.org>
1603 * startup.el (normal-top-level): Don't look for leim-list.el
1604 in places where it will not be found. (Bug#910)
1606 * international/mule-cmds.el (set-default-coding-systems):
1607 * files.el (normal-mode):
1608 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1609 This function was removed with ucs-tables.el in 2008.
1611 2012-04-08 Eli Zaretskii <eliz@gnu.org>
1613 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1614 ispell-encoding8-command to "-i", without a trailing space.
1615 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1616 separate command-line arguments, to specify the encoding, since
1617 that's how hunspell expects it.
1619 2012-04-08 Glenn Morris <rgm@gnu.org>
1621 * loadup.el: Load bindings before cus-start.
1622 This reduces somewhat the number of "rogue" settings in emacs -Q.
1624 2012-04-07 Glenn Morris <rgm@gnu.org>
1626 * version.el (emacs-bzr-get-version): New function.
1627 (emacs-bzr-version): New variable.
1628 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1629 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1631 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1633 * international/uni-bidi.el, international/uni-category.el:
1634 * international/uni-combining.el, international/uni-decimal.el:
1635 * international/uni-decomposition.el, international/uni-digit.el:
1636 * international/uni-lowercase.el, international/uni-mirrored.el:
1637 * international/uni-name.el, international/uni-numeric.el:
1638 * international/uni-titlecase.el, international/uni-uppercase.el:
1639 Update for Unicode 6.1.
1641 2012-04-07 Eli Zaretskii <eliz@gnu.org>
1643 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1645 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1647 * window.el (shrink-window): Mention the `window-min-height'
1648 variable in the doc string.
1650 2012-04-05 Bastien Guerry <bzg@altern.org>
1652 * color.el (color-lighten-name): Fix typo.
1654 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1656 * server.el (server--on-display-p): New function.
1657 (server--on-display-p): Use it.
1659 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1661 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1664 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1666 * comint.el (comint--common-quoted-suffix): Check string boundary
1667 before comparing (bug#11158).
1668 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1670 2012-04-04 Chong Yidong <cyd@gnu.org>
1672 * minibuffer.el (completion-extra-properties): Doc fix.
1674 * subr.el (delayed-warnings-hook): Doc fix.
1676 2012-04-04 Daiki Ueno <ueno@unixuser.org>
1678 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1679 selection (Bug#11159).
1680 (epa-insert-keys): Inform that the default public key will be
1681 exported if no key is selected.
1683 2012-04-04 Richard Stallman <rms@gnu.org>
1685 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1687 2012-04-03 Chong Yidong <cyd@gnu.org>
1689 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1690 mail-insert-file, not its obsolete alias mail-attach-file.
1692 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
1694 * notifications.el (notifications-notify): Fix docstring.
1696 2012-04-02 Glenn Morris <rgm@gnu.org>
1698 * emacs-lisp/authors.el (authors-aliases): Another addition.
1700 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
1702 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1703 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1704 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1706 2012-04-01 Chong Yidong <cyd@gnu.org>
1708 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1709 Handle root directory properly.
1710 (copy-directory): Caller changed.
1712 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1713 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1715 2012-03-31 Glenn Morris <rgm@gnu.org>
1717 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1719 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1721 * calendar/calendar.el (calendar-window-list)
1722 (calendar-hide-window): Restore. (Bug#11140)
1723 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1725 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1727 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1729 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1730 Check if file is a symlink (Bug#10489).
1732 * files.el (copy-directory): Likewise.
1734 2012-03-30 Chong Yidong <cyd@gnu.org>
1736 * image.el (imagemagick-types-inhibit)
1737 (imagemagick-register-types): Doc fix.
1739 2012-03-30 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
1741 * ispell.el (ispell-get-extended-character-mode):
1742 Disable extended-char-mode for hunspell. hunspell does not support it
1743 and treats ~word as ordinary words in pipe mode.
1745 2012-03-30 Glenn Morris <rgm@gnu.org>
1747 * tutorial.el (help-with-tutorial): Ensure local variables don't
1748 happen to make the buffer read-only. (Bug#11127)
1750 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1752 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1753 (perl-calculate-indent): Return `noindent' in strings.
1755 2012-03-28 Sam Steingold <sds@gnu.org>
1757 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1758 instead of the broken adhockery which does not prevent calendar
1759 buffers from being displayed at random after exit.
1760 (calendar-window-list, calendar-hide-window): Remove the broken
1763 2012-03-28 Glenn Morris <rgm@gnu.org>
1765 * replace.el (query-replace-map): Doc fix.
1767 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1769 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1770 contents. (Bug#11109)
1772 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1774 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1776 (avl-tree--check, avl-tree--check-node): New funs.
1778 2012-03-27 Martin Rudalics <rudalics@gmx.at>
1780 * window.el (switch-to-visible-buffer): New option.
1781 (switch-to-prev-buffer, switch-to-next-buffer):
1782 Observe switch-to-visible-buffer. Make sure that checking for a window
1783 showing a buffer already is done on the same frame.
1785 2012-03-27 Glenn Morris <rgm@gnu.org>
1787 * startup.el (mail-host-address): Doc fix.
1789 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1791 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1794 2012-03-26 Ami Fischman <ami@fischman.org>
1796 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1798 2012-03-26 Glenn Morris <rgm@gnu.org>
1800 * files.el (save-buffers-kill-emacs): Doc fix.
1802 * startup.el (normal-top-level, command-line, command-line-1):
1803 Give them doc strings.
1805 2012-03-25 Eli Zaretskii <eliz@gnu.org>
1807 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
1808 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
1810 2012-03-25 Chong Yidong <cyd@gnu.org>
1812 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1813 theme if it was previously enabled before (Bug#11031).
1815 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1816 spec with custom-face-get-current-spec if its :shown-value is not
1817 determined yet (Bug#9337).
1818 (customize-create-theme, custom-theme-revert): Doc fixes.
1820 * button.el (button-at): Minor addition to docstring.
1822 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
1824 * vc/vc.el (vc-merge): Fix a prompt.
1826 2012-03-24 Chong Yidong <cyd@gnu.org>
1828 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1831 * button.el (button-at): Minor addition to docstring.
1833 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1835 * newcomment.el (comment-choose-indent): No space after BOL.
1837 2012-03-22 Sam Steingold <sds@gnu.org>
1839 * window.el (switch-to-prev-buffer): Revert last patch because the
1840 bug turned out to be an advertised feature (Elisp manual 28.14).
1842 2012-03-22 Glenn Morris <rgm@gnu.org>
1844 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1845 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1847 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1849 * net/network-stream.el (network-stream-open-starttls): Make error
1850 message under Windows be less misleading.
1852 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1854 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1855 understands (bug#9942).
1857 2012-03-22 Chong Yidong <cyd@gnu.org>
1859 * simple.el (end-of-visible-line): Handle return value of
1860 next-single-property-change properly (Bug#9371).
1862 2012-03-22 Kenichi Handa <handa@m17n.org>
1864 * international/quail.el (quail-insert-kbd-layout): Fix previous
1865 change. To avoid unwanted bidi reordering, use
1866 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1868 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1870 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1871 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1872 (ruby-beginning-of-indent): Be more careful with the difference
1873 between word-boundary and symbol boundary.
1874 (ruby-mode-syntax-table): Make : a symbol constituent.
1876 2012-03-21 Andreas Politz <politza@fh-trier.de>
1878 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1880 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1882 * progmodes/etags.el (tags-completion-at-point-function):
1885 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1887 2012-03-21 Sam Steingold <sds@gnu.org>
1889 * progmodes/etags.el (tags-completion-at-point-function):
1890 Avoid the error when point is inside the pattern.
1892 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1894 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1897 2012-03-21 Drew Adams <drew.adams@oracle.com>
1899 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1901 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1903 * ido.el (ido-set-current-directory, ido-read-internal)
1904 (ido-choose-completion-string, ido-completion-help): Handle nil
1905 value of ido-completion-buffer (Bug#11008).
1907 2012-03-21 Sam Steingold <sds@gnu.org>
1909 * window.el (switch-to-prev-buffer): Do not switch to a visible
1910 window previous buffer, just like with the frame previous buffers.
1912 2012-03-21 Chong Yidong <cyd@gnu.org>
1914 * faces.el (make-face, make-empty-face, copy-face):
1915 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1918 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1920 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1921 (widget-complete): Remove broken use of it.
1923 2012-03-20 Chong Yidong <cyd@gnu.org>
1925 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1926 Use string-width and truncate-string-width to handle arbitrary
1929 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1931 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1932 to draw rectangles, not squares. (Regression introduced by revno
1933 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1935 2012-03-18 Chong Yidong <cyd@gnu.org>
1937 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1938 it is not yet defined (for temacs).
1940 2012-03-18 Leo Liu <sdl.web@gmail.com>
1942 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
1944 2012-03-17 Eli Zaretskii <eliz@gnu.org>
1946 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1947 (ispell-choices-win-default-height, ispell-silently-savep)
1948 (ispell-dictionary-alist, ispell-encoding8-command)
1949 (ispell-check-version, ispell-aspell-find-dictionary)
1950 (ispell-valid-dictionary-list, ispell-words-keyword)
1951 (ispell-get-word, ispell-internal-change-dictionary)
1952 (ispell-region, ispell-skip-region-list)
1953 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1954 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1955 (ispell-message-text-end, ispell-message)
1956 (ispell-buffer-local-parsing): Doc fix.
1958 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
1960 * htmlfontify.el: Add support for code block fontification for ODT
1962 (hfy-optimisations): Define new option
1964 (hfy-fontify-buffer): Honor above setting.
1965 (hfy-begin-span, hfy-end-span): New routines factored out form
1966 `hfy-fontify-buffer'.
1967 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1968 that permit insertion of custom tags.
1969 (hfy-fontify-buffer): Use above handlers.
1970 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1971 (hfy-face-to-css): Re-defined to be a variable.
1972 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
1973 over multiple runs. This is made possible by having the caller let
1974 bind a special variable `hfy-user-sheet-assoc'.
1975 (htmlfontify-string): New defun.
1976 (hfy-compile-face-map): Make sure that the last char in the
1977 buffer is correctly fontified.
1978 (hfy-face-resolve-face): Whitespace only change.
1980 2012-03-17 Eli Zaretskii <eliz@gnu.org>
1982 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1985 2012-03-16 Leo Liu <sdl.web@gmail.com>
1987 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1989 2012-03-16 Alan Mackenzie <acm@muc.de>
1991 Further optimise the handling of large macros.
1993 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1994 limit to a call of `c-literal-limits'.
1995 (c-determine-+ve-limit): New function.
1996 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1997 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
1998 In CASE 5B, restrict a search limit to 500.
1999 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2001 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2002 Restrict macro bounds to +-500 from after-change's BEG END.
2004 2012-03-16 Leo Liu <sdl.web@gmail.com>
2006 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2008 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2010 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
2011 `special-mode' setting of `buffer-read-only'. (Bug#11010)
2013 2012-03-16 Glenn Morris <rgm@gnu.org>
2015 * view.el (view-buffer, view-buffer-other-window)
2016 (view-buffer-other-frame): Doc fixes re special mode-class.
2018 * subr.el (eval-after-load): If named feature is provided not from
2019 a file, run after-load forms. (Bug#10946)
2021 * calendar/calendar.el (calendar-insert-at-column):
2022 Handle non-unit-width characters a bit better. (Bug#10978)
2024 2012-03-15 Chong Yidong <cyd@gnu.org>
2026 * emacs-lisp/ring.el (ring-extend): New function.
2027 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2029 * comint.el (comint-read-input-ring)
2030 (comint-add-to-input-history): Grow comint-input-ring lazily.
2032 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2034 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2035 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2037 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2038 (imenu-add-to-menubar): Don't add a redundant index.
2039 (imenu-update-menubar): Handle a dynamically composed keymap.
2041 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2043 * mail/sendmail.el (mail-encode-header):
2044 Bind rfc2047-encode-encoded-words to nil.
2046 2012-03-13 Glenn Morris <rgm@gnu.org>
2048 * calendar/calendar.el (calendar-string-spread):
2049 Handle non-unit-width characters a bit better. (Bug#10978)
2051 2012-03-13 Leo Liu <sdl.web@gmail.com>
2053 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2054 directory and file as argument (Bug#10822).
2056 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2058 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2059 For dynamically generated code, follow $PC.
2060 (gdb-disassembly-handler-custom): Handle no function name case.
2062 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2064 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2065 * emulation/ws-mode.el (ws-query-replace):
2066 * sort.el (sort-regexp-fields):
2067 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2069 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2071 * dabbrev.el: Fix cycle completion order (bug#10963).
2072 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2073 (dabbrev-completion): Don't use an obarray; provide
2074 a cycle-sort-function.
2076 2012-03-12 Leo Liu <sdl.web@gmail.com>
2078 * simple.el (kill-new): Use equal-including-properties for comparison.
2079 (kill-do-not-save-duplicates): Doc fix.
2081 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2083 * dabbrev.el: Fix cycle completion (bug#10963).
2084 Use lexical binding and wrap to 80 columns.
2085 (dabbrev-completion): Delay computing the list of completions.
2087 2012-03-12 Kenichi Handa <handa@m17n.org>
2089 * international/quail.el (quail-insert-kbd-layout): Surround each
2090 row by LRO and PDF instead of inserting many LRMs. Pad the left
2091 and right of each non-spacing marks. Insert invisible space
2092 between lower and upper characters to prevent composition.
2094 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2096 * minibuffer.el (minibuffer-complete): Don't get confused when the
2097 function is run twice via different commands (bug#10958).
2098 (complete-with-action): Fix docstring.
2100 2012-03-12 Chong Yidong <cyd@gnu.org>
2102 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2103 (nxml-completion-at-point-function): New function.
2104 (nxml-mode): Use it.
2105 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2107 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2108 Load generated autoloads file before byte compiling (Bug#10970).
2109 (package--make-autoloads-and-compile): New helper fun.
2111 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2113 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2115 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
2117 * autorevert.el (auto-revert-handler): Ensure, that
2118 file-readable-p is applied only for local files or in
2119 auto-revert-tail-mode.
2121 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2123 * server.el (server-eval-at): Handle non-tcp connections.
2124 Decode result string.
2126 * server.el (server-msg-size): New constant.
2127 (server-reply-print): New function.
2128 (server-eval-and-print): Use it.
2129 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2132 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2134 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2137 2012-03-11 Chong Yidong <cyd@gnu.org>
2139 * simple.el (goto-line): Doc fix (Bug#9938).
2141 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2143 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2144 when finished (Bug#10963).
2146 2012-03-11 Martin Rudalics <rudalics@gmx.at>
2148 * window.el (split-window-below): Fix bug in case where
2149 split-window-keep-point is nil (Bug#10971).
2151 2012-03-11 Juri Linkov <juri@jurta.org>
2153 * replace.el (replace-highlight): Set isearch-word to nil
2154 unconditionally. (Bug#10887)
2156 2012-03-10 Eli Zaretskii <eliz@gnu.org>
2158 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2159 mairix-replace-illegal-chars; all callers changed. Don't remove
2160 ^, ~, and = characters: they are meaningful in mairix search specs.
2161 (mairix-widget-create-query): Add usage information about mairix
2162 search forms: negating words, searching for substrings, etc.
2164 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2166 * international/fontset.el (font-encoding-alist): Add an entry for
2169 2012-03-10 Richard Stallman <rms@gnu.org>
2171 * mail/sendmail.el (mail-encode-header):
2172 Set rfc2047-encode-encoded-words.
2174 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2176 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2177 view buffer means not swapped.
2178 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2179 (rmail-write-region-annotate): Error if real text has disappeared.
2181 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2183 2012-03-10 Chong Yidong <cyd@gnu.org>
2185 * emulation/cua-rect.el (cua--init-rectangles):
2186 * emulation/cua-base.el (cua--init-keymaps):
2187 Add delete-forward-char to remappings (Bug#9666).
2189 2012-03-10 Martin Rudalics <rudalics@gmx.at>
2191 * speedbar.el (speedbar-unhighlight-one-tag-line):
2192 Avoid unhighlighting due to frame switching (Bug#10275).
2194 2012-03-10 Chong Yidong <cyd@gnu.org>
2196 * minibuffer.el (completion-in-region, completion-help-at-point):
2197 Give the completion field overlay a high priority (Bug#6830).
2199 * dired.el (dired-goto-file): Recognize absolute file name
2200 listings (Bug#7126).
2201 (dired-goto-file-1): New helper function.
2202 (dired-toggle-read-only): Inhibit warnings.
2204 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
2206 * net/dbus.el (dbus-property-handler): Return empty array if
2207 there are no properties.
2209 2012-03-09 Leo Liu <sdl.web@gmail.com>
2211 * savehist.el (savehist-printable): Stricter check for string
2214 2012-03-09 Eli Zaretskii <eliz@gnu.org>
2216 * mail/smtpmail.el (smtpmail-send-it):
2217 Bind coding-system-for-write to *-unix, so that FCC files are kept in
2220 2012-03-09 Glenn Morris <rgm@gnu.org>
2222 * files.el (dir-locals-find-file):
2223 Don't check result is regular, readable.
2224 (dir-locals-read-from-file): Demote errors.
2226 2012-03-08 Eli Zaretskii <eliz@gnu.org>
2228 * international/quail.el (quail-insert-kbd-layout):
2229 Insert invisible LRM characters before each character in a keyboard
2230 layout cell, to prevent their reordering by bidi display engine.
2231 For details, see the discussion in
2232 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2234 2012-03-08 Alan Mackenzie <acm@muc.de>
2236 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2237 the starting position; make it extend the marked region when
2238 invoked repeatedly - all under appropriate circumstances.
2239 Fixes bugs #5525, #10906.
2241 2012-03-08 Glenn Morris <rgm@gnu.org>
2243 * files.el (locate-dominating-file, dir-locals-find-file):
2244 Undo 2012-03-06 change.
2246 2012-03-07 Eli Zaretskii <eliz@gnu.org>
2248 * international/quail.el (quail-help):
2249 Force bidi-paragraph-direction be left-to-right. See discussion in
2250 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2253 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
2255 Avoid superfluous registering of signals. (Bug#10807)
2257 * notifications.el (notifications-on-action-object)
2258 (notifications-on-close-object): New defvars.
2259 (notifications-on-action-signal, notifications-on-closed-signal):
2260 Unregister the signal if not needed any longer.
2261 (notifications-notify): Register `notifications-action-signal' or
2262 `notifications-closed-signal', if :on-action or :on-close has been
2265 2012-03-07 Chong Yidong <cyd@gnu.org>
2267 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2270 2012-03-06 Glenn Morris <rgm@gnu.org>
2272 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2273 (x-disown-selection-internal, x-get-selection-internal):
2274 Doc fix (add arglist signatures). (Bug#10783)
2276 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2278 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2279 Handle breakpoints with no "type".
2281 2012-03-06 Glenn Morris <rgm@gnu.org>
2283 * files.el (locate-dominating-file): Add optional predicate argument.
2284 (dir-locals-find-file): Make use of above change.
2286 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2288 * info.el (Info-insert-dir): Also try "dir.gz".
2290 2012-03-06 Glenn Morris <rgm@gnu.org>
2292 * files.el (dir-locals-find-file):
2293 Ignore non-readable or non-regular files. (Bug#10928)
2295 * files.el (locate-dominating-file): Doc fix.
2297 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2299 * calendar/calendar.el (calendar-set-mode-line):
2300 `getenv' returns a string. (Bug#10951)
2302 2012-03-05 Leo Liu <sdl.web@gmail.com>
2304 * simple.el (backward-delete-char-untabify): Constrain point to
2307 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2309 2012-03-05 Chong Yidong <cyd@gnu.org>
2311 * simple.el (count-words): If called from Lisp, return the word
2312 count, for symmetry with `count-lines'. Arglist changed.
2313 (count-words--message): Args changed. Consolidate counting code
2314 from count-words and count-words-region.
2315 (count-words-region): Caller changed.
2316 (count-lines-region): Make it an obsolete alias.
2318 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2320 * saveplace.el (save-place-to-alist)
2321 (save-place-ignore-files-regexp): Allow value nil to disable this
2324 2012-03-04 Chong Yidong <cyd@gnu.org>
2326 * faces.el (face-spec-reset-face): For the default face, reset the
2327 attributes to default values (Bug#10748).
2329 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2331 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2332 previous patch: Check `message-send-mail-function', and not the
2333 default function (bug#10897).
2335 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
2337 * notifications.el (notifications-on-action-signal)
2338 (notifications-on-closed-signal): Check for unique service name of
2339 incoming event. Fix error in removing entry.
2340 (top): Register for signals with wildcard service name.
2341 (notifications-notify): Use daemon unique service name for map entries.
2343 2012-03-04 Chong Yidong <cyd@gnu.org>
2345 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
2347 2012-03-04 Glenn Morris <rgm@gnu.org>
2349 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2350 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2351 (expand-abbrev, define-abbrev-table): Doc fixes.
2353 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2355 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2356 `message-default-send-mail-function' and not `send-mail-function'
2357 when doing the prompting for `sendmail-query-once' before sending
2358 in Message buffers (bug#10897).
2360 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2361 This is inconsistent with all the other stream functions, which leave
2362 the setting up to the higher levels (if so wanted) (bug#10931).
2364 2012-03-02 Alan Mackenzie <acm@muc.de>
2366 Depessimize the handling of very large macros.
2368 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2369 (c-macro-cache-syntactic): New variables to implement a one
2370 element macro cache.
2371 (c-invalidate-macro-cache): New function.
2372 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2373 Adapt to use the new cache.
2374 (c-state-safe-place): Use better the cache of safe positions.
2375 (c-state-semi-nonlit-pos-cache)
2376 (c-state-semi-nonlit-pos-cache-limit):
2377 New variables for...
2378 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2379 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
2380 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2381 Use c-state-semi-safe-place.
2383 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2384 Add c-invalidate-macro-cache to the C, C++, Obj entries.
2386 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
2388 * jka-compr.el (jka-compr-call-process):
2389 Apply `file-accessible-directory-p' only when the default directory is
2392 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
2394 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2395 access of FILE2, if FILE1 does not exist.
2397 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2398 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2400 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2401 Add "PAGER=" to `process-environment'.
2403 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2405 * progmodes/sql.el: Bug fix
2406 (sql-get-login-ext): Save login values in globals.
2407 (sql-get-login): Use new version of `sql-get-login-ext'.
2408 (sql-interactive-mode): Set global `sql-connection' to nil.
2409 (sql-connect): Set global values for connection.
2410 (sql-product-interactive): Save global values as buffer local.
2412 2012-02-29 Leo Liu <sdl.web@gmail.com>
2414 * abbrev.el (define-abbrevs): Reset sys to nil.
2416 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2418 * files.el (file-equal-p): Rename from `files-equal-p'.
2419 Return nil when one or both files don't exist.
2420 (file-subdir-of-p): Now only top directory must exists,
2421 return nil if it doesn't.
2422 (copy-directory): No need to test with `file-subdir-of-p' after
2424 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2427 2012-02-28 Glenn Morris <rgm@gnu.org>
2429 * shell.el (shell-mode):
2430 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2431 * play/landmark.el (landmark-font-lock-face-O):
2432 * play/handwrite.el (handwrite):
2433 * play/gomoku.el (gomoku-O):
2434 * net/browse-url.el (browse-url-browser-display):
2435 * international/mule.el (define-charset):
2436 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2437 * filesets.el (filesets-find-file-delay):
2438 * eshell/em-xtra.el (eshell-xtra):
2439 * eshell/em-unix.el (eshell-grep):
2440 * emulation/viper.el (viper-mode):
2441 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2442 * emacs-lisp/easymenu.el (easy-menu-define):
2443 * calendar/timeclock.el (timeclock-use-display-time):
2445 * bookmark.el (bookmark-save-flag):
2446 Doc fix (standardize possessive apostrophe usage).
2448 2012-02-27 Chong Yidong <cyd@gnu.org>
2450 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2451 Fix key-binding lookup for ESC key (Bug#9146).
2453 * font-lock.el (font-lock-specified-p): Rename from
2454 font-lock-spec-present. Callers changed.
2456 2012-02-27 Daniel Hackney <dan@haxney.org>
2458 * emacs-lisp/package.el (package-compute-transaction):
2459 Handle holding a package version to t in package-load-list.
2461 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
2463 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2464 (tramp-get-inode, tramp-get-device): Use cached values.
2466 2012-02-26 Alan Mackenzie <acm@muc.de>
2468 Check there is a font-lock specification before doing initial
2471 * font-core.el (font-lock-mode): Move the conditional from
2472 :after-hook to font-lock-initial-fontify.
2473 (font-lock-default-function): Move the check for a specification
2474 to font-lock-spec-present.
2476 * font-lock.el (font-lock-initial-fontify): Call ...
2477 (font-lock-spec-present): New function.
2479 2012-02-26 Jim Blandy <jimb@red-bean.com>
2481 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2482 (gdb-send): Apply it to the operand of the '-interpreter-exec
2483 console' command, so that we can pass arguments with (say) quotes
2484 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2486 2012-02-26 Chong Yidong <cyd@gnu.org>
2488 * help-fns.el (describe-function-1): Clarify description of
2489 remapping (Bug#10844).
2491 * files.el (files-equal-p): Doc fix.
2492 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2493 and quit the loop once a mismatch is found.
2495 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
2497 * bs.el (bs--show-with-configuration): Don't throw an error
2498 if the window cannot be split; otherwise, subsequent calls to
2499 bs-show fail, restoring a stale window config. (Bug#10882)
2501 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2503 * term/ns-win.el (global-map): Bind ns-drag-file to
2504 ns-find-file (Bug#5855, Bug#10050).
2506 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2508 * calendar/parse-time.el (parse-time-string): Allow extractor to
2511 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
2513 * net/tramp.el (tramp-file-name-for-operation):
2514 Add `files-equal-p' and `file-subdir-of-p'.
2516 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2517 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2518 Add COPY-CONTENTS argument.
2520 2012-02-25 Chong Yidong <cyd@gnu.org>
2522 Add custom groups for VC backends, for consistency with vc-bzr.
2524 * vc/vc-arch.el (vc-arch):
2525 * vc/vc-cvs.el (vc-cvs):
2526 * vc/vc-git.el (vc-git):
2527 * vc/vc-hg.el (vc-hg):
2528 * vc/vc-mtn.el (vc-mtn):
2529 * vc/vc-rcs.el (vc-rcs):
2530 * vc/vc-sccs.el (vc-sccs):
2531 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2532 All relevant defcustoms reassigned.
2534 2012-02-25 Chong Yidong <cyd@gnu.org>
2536 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2538 * term/x-win.el (x-initialize-window-system): Reduce default for
2539 x-selection-timeout to 5 seconds (Bug#8869).
2541 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2543 * files.el (files-equal-p, file-subdir-of-p): New functions.
2544 (copy-directory): Error when trying to copy a directory on itself.
2545 Add missing copy-contents arg to tramp handler.
2546 * dired-aux.el (dired-copy-file-recursive): Same.
2547 (dired-create-files): Modify destination when source is equal to
2548 dest when copying files.
2549 Return also when dest is a subdir of source. (Bug#10489)
2551 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
2553 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2556 2012-02-23 Alan Mackenzie <acm@muc.de>
2558 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2559 parameter "after-hook:" to allow the expansion to run code after
2560 the execution of the mode hooks.
2562 * font-lock.el (font-lock-initial-fontify): New function extracted
2563 from font-lock-mode-internal.
2565 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2568 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2570 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2571 (completion--cache-all-sorted-completions): New function.
2572 (completion-all-sorted-completions): Use it.
2573 (completion--do-completion, minibuffer-force-complete):
2574 Use it to re-instate the flush hook.
2576 * icomplete.el (icomplete-completions): Replace last fix with a better
2579 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2581 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2582 when it might call us back infinitely (bug#10797).
2584 2012-02-23 Glenn Morris <rgm@gnu.org>
2586 * minibuffer.el (completion-category-overrides): Doc fix.
2588 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2590 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2591 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2593 2012-02-23 Glenn Morris <rgm@gnu.org>
2595 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
2596 (authors-obsolete-files-regexps, authors-ignored-files)
2597 (authors-ambiguous-files, authors-renamed-files-alist):
2600 2012-02-23 Juri Linkov <juri@jurta.org>
2602 * isearch.el (isearch-occur): Sync interactive spec with occur's
2603 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2605 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2607 2012-02-22 Juri Linkov <juri@jurta.org>
2609 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2610 (ucs-insert): Doc fix. Check for hex digits in the string.
2611 Don't display `nil' in the error message. (Bug#10857)
2613 2012-02-22 Alan Mackenzie <acm@muc.de>
2615 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
2617 2012-02-22 Glenn Morris <rgm@gnu.org>
2619 * ffap.el (ffap-c-path):
2620 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2622 2012-02-22 Chong Yidong <cyd@gnu.org>
2624 * custom.el (load-theme): Doc fix.
2626 2012-02-22 Glenn Morris <rgm@gnu.org>
2628 * dired-x.el (dired-guess-shell-alist-default):
2629 Remove escape sequences from nroff output. (Bug#172)
2631 2012-02-21 Glenn Morris <rgm@gnu.org>
2633 * vc/emerge.el (emerge-defvar-local):
2634 Set `permanent-local' property rather than unused `preserved'.
2636 * textmodes/picture.el (picture-delete-char): New alias.
2637 (picture-mode-map): Use it. (Bug#10860)
2638 (picture-mode): Doc fix.
2640 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
2642 * newcomment.el (uncomment-region-default): Remove unused binding.
2644 2012-02-21 Glenn Morris <rgm@gnu.org>
2646 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2647 (picture-self-insert, picture-tab-chars): Doc fix.
2648 (picture-mode-map): Fix C-a, C-e.
2650 2012-02-20 Glenn Morris <rgm@gnu.org>
2652 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2654 2012-02-20 Leo Liu <sdl.web@gmail.com>
2656 * icomplete.el (icomplete-completions): Check FROM arg before
2657 passing to substring (Bug#10850).
2659 2012-02-19 Chong Yidong <cyd@gnu.org>
2661 * comint.el: Require ansi-color.
2662 (comint-output-filter-functions): Add ansi-color-process-output.
2664 * ansi-color.el: Don't set comint-output-filter-functions; it is
2665 now in the initial value defined in comint.el.
2666 (ansi-color-apply-face-function): New variable.
2667 (ansi-color-apply-on-region): Use it.
2668 (ansi-color-apply-overlay-face): New function.
2670 * shell.el (shell): No need to require ansi-color.
2671 (shell-mode): Use ansi-color-apply-face-function to highlight
2672 color escapes using font-lock-face property (Bug#10835).
2674 2012-02-19 Chong Yidong <cyd@gnu.org>
2676 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2677 mode-line formats (Bug#10839).
2679 2012-02-18 Glenn Morris <rgm@gnu.org>
2681 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2683 * mail/undigest.el (unforward-rmail-message): Doc fix.
2685 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2687 2012-02-18 Eli Zaretskii <eliz@gnu.org>
2689 * international/characters.el (script-list): Sync with the latest
2690 Unicode Character Database.
2692 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2694 * international/titdic-cnv.el: Remove duplicate coding tag.
2695 * language/cham.el: Likewise.
2696 * language/tai-viet.el: Likewise.
2698 2012-02-18 Glenn Morris <rgm@gnu.org>
2700 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2701 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2702 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2703 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2704 * calendar/holidays.el (holiday-bahai-holidays)
2705 (calendar-holidays, list-holidays):
2706 Use utf-8 Bahá'à in doc-strings, menus, etc.
2708 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2710 * saveplace.el (save-place-ignore-files-regexp): New variable
2711 allowing for excluding files from saving their location of point.
2712 The default value matches the temporary commit message editing
2713 files from Git, SVN, Bazaar, and Mercurial.
2714 (save-place-to-alist): Use it.
2716 2012-02-17 Lawrence Mitchell <wence@gmx.li>
2717 Stefan Monnier <monnier@iro.umontreal.ca>
2719 * newcomment.el (uncomment-region-default): Don't leave extra space
2720 when an arg is provided (bug#8150).
2722 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2724 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
2726 2012-02-17 Glenn Morris <rgm@gnu.org>
2728 * net/socks.el: Require network-stream. (Bug#10599)
2730 2012-02-17 Kenichi Handa <handa@m17n.org>
2732 * international/charprop.el:
2733 * international/uni-name.el:
2734 * international/uni-old-name.el:
2735 * international/uni-comment.el: Regenerate.
2737 2012-02-16 Glenn Morris <rgm@gnu.org>
2739 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2740 Interactively in calendar buffer, give an error if not on a date.
2742 2012-02-15 Glenn Morris <rgm@gnu.org>
2744 * shell.el (shell-delimiter-argument-list):
2745 Revert 2011-02-17 change. (Bug#8027)
2747 2012-02-15 Chong Yidong <cyd@gnu.org>
2749 * minibuffer.el (completion-at-point-functions): Doc fix.
2751 * custom.el (defcustom): Doc fix; note use of defvar.
2753 2012-02-15 Glenn Morris <rgm@gnu.org>
2755 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2758 2012-02-14 Glenn Morris <rgm@gnu.org>
2760 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2762 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2764 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2765 way the ports list is computed.
2766 (smtpmail-query-smtp-server): Prompt the user for a port number if
2767 we can't connect to any of the standard ports (bug#10810).
2769 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2771 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2773 2012-02-13 Glenn Morris <rgm@gnu.org>
2775 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2777 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2779 * net/gnutls.el (gnutls-trustfiles): New variable.
2780 (gnutls-negotiate): Use it.
2782 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2784 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2785 does its stuff if Gnus is running.
2787 2012-02-13 Alan Mackenzie <acm@muc.de>
2789 Fix a loop in c-set-fl-decl-start.
2791 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
2792 c-backward-syntactic-ws actually moves backwards.
2794 2012-02-13 Leo Liu <sdl.web@gmail.com>
2796 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2797 beginning so that all \C-o chars are removed.
2799 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2801 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
2803 2012-02-12 Alan Mackenzie <acm@muc.de>
2805 Fix infinite loop with long macros.
2806 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
2808 2012-02-12 Chong Yidong <cyd@gnu.org>
2810 * window.el (display-buffer): Doc fix (Bug#10785).
2812 2012-02-12 Glenn Morris <rgm@gnu.org>
2814 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2815 (x-disown-selection-internal, x-get-selection-internal):
2816 Sync docs with the xselect.c versions.
2818 * allout-widgets.el: Add missing license notice.
2820 2012-02-11 Glenn Morris <rgm@gnu.org>
2822 * select.el (x-get-selection-internal, x-own-selection-internal)
2823 (x-disown-selection-internal):
2824 * x-dnd.el (x-get-selection-internal): Update declarations.
2826 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2828 * window.el (window-sides-slots):
2829 * tool-bar.el (tool-bar-position):
2830 * term/xterm.el (xterm-extra-capabilities):
2831 * ses.el (ses-self-reference-early-detection):
2832 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2833 (verilog-auto-wire-type)
2834 (verilog-auto-delete-trailing-whitespace)
2835 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2836 (verilog-auto-tieoff-declaration):
2837 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2838 (sql-oracle-statement-starters, sql-oracle-scan-on):
2839 * progmodes/prolog.el (prolog-align-comments-flag)
2840 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2841 (prolog-left-indent-regexp, prolog-paren-indent-p)
2842 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2843 (prolog-types, prolog-mode-specificators)
2844 (prolog-determinism-specificators, prolog-directives)
2845 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2846 (prolog-electric-dot-flag)
2847 (prolog-electric-dot-full-predicate-template)
2848 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2849 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2850 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2851 (prolog-program-switches, prolog-prompt-regexp)
2852 (prolog-debug-on-string, prolog-debug-off-string)
2853 (prolog-trace-on-string, prolog-trace-off-string)
2854 (prolog-zip-on-string, prolog-zip-off-string)
2855 (prolog-use-standard-consult-compile-method-flag)
2856 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2857 (prolog-imenu-max-lines, prolog-info-predicate-index)
2858 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2859 (prolog-char-quote-workaround):
2860 * progmodes/cc-vars.el (c-defun-tactic):
2861 * net/tramp.el (tramp-encoding-command-interactive)
2862 (tramp-local-end-of-line):
2863 * net/soap-client.el (soap-client):
2864 * net/netrc.el (netrc-file):
2865 * net/gnutls.el (gnutls):
2866 * minibuffer.el (completion-category-overrides)
2867 (completion-cycle-threshold)
2868 (completion-pcm-complete-word-inserts-delimiters):
2869 * man.el (Man-name-local-regexp):
2870 * mail/feedmail.el (feedmail-display-full-frame):
2871 * international/characters.el (glyphless-char-display-control):
2872 * eshell/em-ls.el (eshell-ls-date-format):
2873 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2874 (lisp-lambda-list-keyword-parameter-indentation)
2875 (lisp-lambda-list-keyword-parameter-alignment):
2876 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2877 * dired-x.el (dired-omit-verbose):
2878 * cus-theme.el (custom-theme-allow-multiple-selections):
2879 * calc/calc.el (calc-highlight-selections-with-faces)
2880 (calc-lu-field-reference, calc-lu-power-reference)
2881 (calc-note-threshold):
2882 * battery.el (battery-mode-line-limit):
2883 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2884 (archive-7z-update):
2885 * allout.el (allout-prefixed-keybindings)
2886 (allout-unprefixed-keybindings)
2887 (allout-inhibit-auto-fill-on-headline)
2888 (allout-flattened-numbering-abbreviation):
2889 * allout-widgets.el (allout-widgets-auto-activation)
2890 (allout-widgets-icons-dark-subdir)
2891 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2892 (allout-widgets-theme-dark-background)
2893 (allout-widgets-theme-light-background)
2894 (allout-widgets-item-image-properties-emacs)
2895 (allout-widgets-item-image-properties-xemacs)
2896 (allout-widgets-run-unit-tests-on-load)
2897 (allout-widgets-time-decoration-activity)
2898 (allout-widgets-hook-error-post-time)
2899 (allout-widgets-track-decoration):
2900 Add missing :version tags to new defcustoms and defgroups.
2902 * progmodes/sql.el (sql-ansi-statement-starters)
2903 (sql-oracle-statement-starters): Add custom type.
2905 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2906 (prolog-system-version): Give it a type.
2908 2012-02-11 Eli Zaretskii <eliz@gnu.org>
2910 * term/pc-win.el (x-select-text, x-selection-owner-p)
2911 (x-own-selection-internal, x-disown-selection-internal)
2912 (x-get-selection-internal): Sync doc strings and argument lists
2913 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2915 2012-02-11 Leo Liu <sdl.web@gmail.com>
2917 * progmodes/python.el (python-end-of-statement): Fix infinite
2920 2012-02-10 Glenn Morris <rgm@gnu.org>
2922 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2923 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2925 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2927 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2928 about SMTP before checking the From header.
2930 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
2931 into own function for reuse by emacsbug.el.
2933 2012-02-10 Leo Liu <sdl.web@gmail.com>
2935 * subr.el (condition-case-unless-debug): Rename from
2936 condition-case-no-debug. All callers changed.
2937 (with-demoted-errors): Fix caller.
2939 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2940 * nxml/rng-valid.el (rng-do-some-validation):
2941 * emacs-lisp/package.el (package-refresh-contents)
2942 (package-menu-execute):
2943 * desktop.el (desktop-create-buffer):
2944 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
2946 2012-02-10 Glenn Morris <rgm@gnu.org>
2948 * textmodes/bibtex.el:
2949 Add missing :version tags for new/changed defcustoms.
2951 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2953 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
2955 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2956 (smtpmail-via-smtp): Use it, or fall back on the From address.
2957 (smtpmail-send-it): Ditto.
2959 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2961 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2962 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2963 (byte-compile-tmp-var): New const.
2964 (byte-compile-defvar): Use it to minimize .elc size.
2965 Just use `defvar' rather than simulate it (bug#10761).
2967 2012-02-09 Glenn Morris <rgm@gnu.org>
2969 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2971 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2974 * progmodes/compile.el (compilation-error-screen-columns)
2975 (compilation-first-column, compilation-filter-start): Doc fixes.
2977 * vc/log-view.el (log-view-toggle-entry-display):
2978 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2980 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2981 (report-emacs-bug-can-use-xdg-email):
2982 (report-emacs-bug-insert-to-mailer): Doc fixes.
2983 (report-emacs-bug): Message fix.
2985 * net/browse-url.el (browse-url-can-use-xdg-open)
2986 (browse-url-xdg-open): Doc fixes.
2988 * electric.el (electric-indent-mode, electric-pair-mode)
2989 (electric-layout-rules, electric-layout-mode): Doc fixes.
2990 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2992 2012-02-08 Martin Rudalics <rudalics@gmx.at>
2994 * server.el (server-unselect-display): Don't inadvertently kill
2995 the current buffer. (Bug#10729)
2997 2012-02-08 Glenn Morris <rgm@gnu.org>
2999 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3000 (sql-list-table): Doc fixes.
3002 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3003 Comment out (does nothing).
3005 * completion.el (dynamic-completion-mode):
3006 * dirtrack.el (dirtrack-debug-mode):
3007 * electric.el (electric-layout-mode):
3008 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3009 * face-remap.el (text-scale-mode, buffer-face-mode):
3010 * iimage.el (iimage-mode):
3011 * image-mode.el (image-transform-mode):
3012 * minibuffer.el (completion-in-region-mode):
3013 * scroll-lock.el (scroll-lock-mode):
3014 * simple.el (next-error-follow-minor-mode):
3015 * tar-mode.el (tar-subfile-mode):
3016 * tooltip.el (tooltip-mode):
3017 * vcursor.el (vcursor-use-vcursor-map):
3018 * wid-browse.el (widget-minor-mode):
3019 * emulation/tpu-edt.el (tpu-edt-mode):
3020 * emulation/tpu-extras.el (tpu-cursor-free-mode):
3021 * international/iso-ascii.el (iso-ascii-mode):
3022 * language/thai-util.el (thai-word-mode):
3023 * mail/supercite.el (sc-minor-mode):
3024 * net/goto-addr.el (goto-address-mode):
3025 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3026 * progmodes/cwarn.el (cwarn-mode):
3027 * progmodes/flymake.el (flymake-mode):
3028 * progmodes/glasses.el (glasses-mode):
3029 * progmodes/hideshow.el (hs-minor-mode):
3030 * progmodes/pascal.el (pascal-outline-mode):
3031 * textmodes/enriched.el (enriched-mode):
3032 * vc/smerge-mode.el (smerge-mode):
3033 Doc fixes (minor mode argument).
3035 2012-02-07 Eli Zaretskii <eliz@gnu.org>
3037 * ls-lisp.el (ls-lisp-sanitize): New function.
3038 (ls-lisp-insert-directory): Use it to fix or remove any elements
3039 in file-alist with missing attributes. (Bug#4673)
3041 2012-02-07 Alan Mackenzie <acm@muc.de>
3043 Fix spurious recognition of c-in-knr-argdecl.
3045 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3046 putative K&R region.
3048 2012-02-07 Alan Mackenzie <acm@muc.de>
3050 * progmodes/cc-engine.el (c-forward-objc-directive):
3051 Prevent looping in "#pragma mark @implementation".
3053 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
3055 * notifications.el (notifications-on-closed-signal): Make `reason'
3056 optional. (Bug#10744)
3058 2012-02-07 Glenn Morris <rgm@gnu.org>
3060 * emacs-lisp/easy-mmode.el (define-minor-mode):
3061 Doc fixes for the macro and the mode it defines.
3063 * image.el (imagemagick-types-inhibit): Doc fix.
3065 * cus-start.el (imagemagick-render-type): Add it.
3067 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3069 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3070 Set the default at load time, too, so that `font-lock-fontify-buffer'
3071 can be called without setting up the entire mode first. This fixes
3072 a bug in `mm-inline-text' with C MIME parts.
3074 2012-02-06 Chong Yidong <cyd@gnu.org>
3076 * simple.el (list-processes--refresh): Delete exited processes
3079 * comint.el (comint-next-prompt): next-single-char-property-change
3080 and prev-single-char-property-change never return nil (Bug#8657).
3082 * custom.el (defcustom): Doc fix (Bug#9711).
3084 2012-02-05 Chong Yidong <cyd@gnu.org>
3086 * cus-edit.el (custom-variable-reset-backup): Quote the value
3087 before storing it in the customized-value property (Bug#6712).
3088 (custom-display): Add a customization type tag.
3089 (custom-buffer-create-internal): Improve tooltip message.
3091 * wid-edit.el (widget-field-value-get): New optional arg to
3092 suppress trailing whitespace truncation.
3093 (character): Use it (Bug#2689).
3095 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3097 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3098 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3100 2012-02-05 Chong Yidong <cyd@gnu.org>
3102 * cus-edit.el (custom-variable-value-create): For mismatched
3103 types, show the current value (Bug#7600).
3105 * custom.el (defcustom): Doc fix.
3107 2012-02-05 Glenn Morris <rgm@gnu.org>
3109 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3111 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
3113 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3114 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3115 (pp-last-sexp): Use `looking-at-p'.
3117 2012-02-04 Glenn Morris <rgm@gnu.org>
3119 * files.el (revert-buffer):
3120 Doc fix (mention revert-buffer-in-progress-p).
3122 * emacs-lisp/ert-x.el (ert-simulate-command):
3123 Check deferred-action-list (which is obsolete) is bound.
3125 * subr.el (with-wrapper-hook): Doc fixes.
3127 * simple.el (filter-buffer-substring-functions)
3128 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3130 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3132 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3133 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3135 2012-02-04 Leo Liu <sdl.web@gmail.com>
3137 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3139 2012-02-04 Glenn Morris <rgm@gnu.org>
3141 * image.el (image-extension-data): Add obsolete alias.
3143 * isearch.el (isearch-update): Doc fix.
3145 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3147 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3149 2012-02-03 Glenn Morris <rgm@gnu.org>
3151 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3152 (image-animate-timeout): Doc fix.
3154 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3156 2012-02-02 Glenn Morris <rgm@gnu.org>
3158 * server.el (server-auth-dir): Doc fix.
3159 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3161 * subr.el (run-mode-hooks): Doc fix.
3163 2012-02-02 Juri Linkov <juri@jurta.org>
3165 * image-mode.el (image-toggle-display-image): Remove tautological
3166 `major-mode' from the `derived-mode-p' test.
3168 2012-02-02 Kenichi Handa <handa@m17n.org>
3170 * composite.el (compose-region): Cancel previous change.
3172 2012-02-02 Kenichi Handa <handa@m17n.org>
3174 * composite.el (compose-region, compose-string): Signal error for
3175 a null string component (Bug#6988).
3177 2012-02-01 Chong Yidong <cyd@gnu.org>
3179 * view.el (view-buffer-other-window, view-buffer-other-frame):
3180 Handle special modes like view-buffer (Bug#10650).
3181 (view-buffer): Simplify.
3183 * frame.el (set-frame-font): Tweak meaning of third argument.
3185 * dynamic-setting.el (font-setting-change-default-font):
3186 Use set-frame-font (Bug#9982).
3188 2012-02-01 Glenn Morris <rgm@gnu.org>
3190 * progmodes/compile.el (compilation-internal-error-properties):
3191 Respect compilation-first-column in the "*compilation*" buffer.
3193 * emacs-lisp/easy-mmode.el (define-minor-mode):
3194 Relax :variable's test for a named function.
3196 2012-01-31 Alan Mackenzie <acm@muc.de>
3198 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3201 2012-01-31 Chong Yidong <cyd@gnu.org>
3203 * frame.el (set-frame-font): New arg ALL-FRAMES.
3205 * menu-bar.el (menu-set-font): Use set-frame-font.
3207 * faces.el (face-spec-reset-face): Don't apply unspecified
3208 attribute values to the default face.
3210 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
3212 * progmodes/cwarn.el (cwarn): Remove dead link.
3213 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3214 Remove * from defcustom docstrings.
3215 (turn-on-cwarn-mode): Make obsolete.
3216 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3217 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3219 2012-01-31 Glenn Morris <rgm@gnu.org>
3221 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3222 Fix :variable handling of mode a symbol not equal to modefun.
3223 Allow named functions to be used as the cdr of :variable.
3225 2012-01-30 Glenn Morris <rgm@gnu.org>
3227 * emacs-lisp/authors.el (authors-fixed-entries):
3228 Remove reference to deleted file rnewspost.el.
3230 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
3232 * window.el (window-with-parameter): Remove unused variable `windows'.
3233 (window--side-check): Remove unused variable `code'.
3234 (window--resize-siblings): Remove unused variable `first'.
3235 (adjust-window-trailing-edge): Remove unused variable `failed'.
3236 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3237 Use `let', not `let*'.
3238 (balance-windows-2): Remove unused variable `found'.
3239 (window--state-put-2): Remove unused variable `splits'.
3240 (window-state-put): Remove unused variable `selected'.
3241 (same-window-p): Use `string-match-p'.
3242 (display-buffer-assq-regexp): Remove unused variable `value'.
3243 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3244 Mark argument ALIST as ignored.
3245 (pop-to-buffer): Remove unused variable `old-window'.
3247 2012-01-29 Eli Zaretskii <eliz@gnu.org>
3249 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3250 and .lzma compressed files.
3252 2012-01-29 Chong Yidong <cyd@gnu.org>
3254 * frame.el (window-system-default-frame-alist): Doc fix.
3256 * dynamic-setting.el (font-setting-change-default-font): Don't
3257 change the default face if SET-FONT argument is non-nil (Bug#9982).
3259 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3261 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3263 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
3265 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3266 breakpoints in files outside current directory (Bug#6098).
3268 2012-01-29 Chong Yidong <cyd@gnu.org>
3270 * progmodes/python.el: Require ansi-color at top-level.
3272 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3273 Define and use in Emacs Lisp mode (Bug#9360).
3274 (lisp-mode-abbrev-table): Add doc.
3275 (lisp-mode-variables): Don't set local-abbrev-table.
3276 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3278 2012-01-28 Roland Winkler <winkler@gnu.org>
3280 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3282 2012-01-28 Roland Winkler <winkler@gnu.org>
3284 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3285 (bibtex-set-dialect): Use it. Either set global values of
3286 dialect-dependent variables or bind these variables buffer-locally
3288 (bibtex-mode): Call bibtex-set-dialect via
3289 hack-local-variables-hook.
3290 (bibtex-dialect): Update docstring.
3291 Add safe-local-variable predicate.
3292 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3294 (bibtex-mode-map): Define menu for each dialect.
3295 (bibtex-entry): Fix docstring.
3297 2012-01-28 Chong Yidong <cyd@gnu.org>
3299 * eshell/esh-arg.el (eshell-quote-argument): New function.
3301 * eshell/esh-ext.el (eshell-invoke-batch-file):
3302 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3303 first arg to eshell-parse-command (Bug#10523).
3305 2012-01-28 Drew Adams <drew.adams@oracle.com>
3307 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3308 `default-directory' is non-nil.
3310 2012-01-28 Eli Zaretskii <eliz@gnu.org>
3312 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3313 line that displays system-configuration-options. (Bug#9924)
3315 2012-01-28 Drew Adams <drew.adams@oracle.com>
3317 * descr-text.el (describe-char): Show information about POS, in
3318 addition to information about the character at POS. Improve and
3319 update the doc string. Change "code point" to "code point in
3320 charset", to avoid confusion with the character's Unicode code
3321 point shown above that. (Bug#10129)
3323 2012-01-28 Eli Zaretskii <eliz@gnu.org>
3325 * descr-text.el (describe-char): Show the raw character, not only
3326 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3327 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3330 2012-01-28 Phil Hagelberg <phil@hagelb.org>
3332 * emacs-lisp/package.el (package-install):
3333 Run package-refresh-contents if there is no archive yet (Bug#9798).
3335 2012-01-28 Chong Yidong <cyd@gnu.org>
3337 * emacs-lisp/package.el (package-maybe-load-descriptor):
3338 New function, split from package-maybe-load-descriptor.
3339 (package-maybe-load-descriptor): Use it.
3340 (package-download-transaction): Fully load required packages
3341 inside the loop, so that `require' calls work (Bug#10593).
3342 (package-install): No need to call package-initialize now.
3344 2012-01-28 Chong Yidong <cyd@gnu.org>
3346 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3348 * tooltip.el (tooltip-mode): Doc fix.
3349 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3351 * frame.el (set-cursor-color): Doc fix (Bug#352).
3353 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3354 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3356 * cus-edit.el (custom-buffer-create-internal): Fix search button
3358 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
3360 2012-01-27 Eduard Wiebe <usenet@pusto.de>
3362 * dired.el (dired-mark-files-regexp):
3363 Include any subdirectory components. (Bug#10445)
3365 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3367 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3368 Handle [host]:port syntax. (Bug#10533)
3370 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
3372 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3374 2012-01-26 Glenn Morris <rgm@gnu.org>
3376 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3377 * term.el (term-raw-escape-map): Use Control-X-prefix.
3378 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3380 2012-01-25 Martin Rudalics <rudalics@gmx.at>
3382 * window.el (window-state-get, window--state-get-1): Don't deal
3383 with fixed-sizeness of windows. Simplify code.
3385 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3387 * window.el (window--state-get-1, window--state-put-2):
3388 Don't save and restore the mark.
3390 2012-01-25 Chong Yidong <cyd@gnu.org>
3392 * custom.el (custom-variable-p): Doc fix.
3394 2012-01-25 Glenn Morris <rgm@gnu.org>
3396 * dired.el (dired-goto-file): Handle some of the more common
3397 characters that `ls -b' escapes. (Bug#10596)
3399 * progmodes/compile.el (compilation-next-error-function):
3400 Respect compilation-first-column in the "*compilation*" buffer.
3401 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3403 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3405 2012-01-24 Glenn Morris <rgm@gnu.org>
3407 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3409 2012-01-24 Julien Danjou <julien@danjou.info>
3411 * color.el (color-rgb-to-hsl): Fix value computing.
3412 (color-hue-to-rgb): New function.
3413 (color-hsl-to-rgb): New function.
3414 (color-clamp, color-saturate-hsl, color-saturate-name)
3415 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3416 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3418 2012-01-24 Glenn Morris <rgm@gnu.org>
3420 * vc/vc-rcs.el (vc-rcs-create-tag):
3421 * vc/vc-sccs.el (vc-sccs-create-tag):
3422 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3424 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3426 * eshell/esh-util.el (eshell-read-hosts-file):
3427 Skip comment lines. (Bug#10549)
3429 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3431 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
3433 * subr.el (display-delayed-warnings): Doc fix.
3434 (collapse-delayed-warnings): New function to collapse identical
3436 (delayed-warnings-hook): Add it.
3438 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
3440 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3442 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3443 properties, when "login-as" is set.
3445 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3446 (tramp-default-user-alist): Don't add "pscp".
3447 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3448 property "login-as", if set. (Bug#10530)
3450 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
3452 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3453 "plink1" and "psftp". (Bug#10530)
3455 2012-01-21 Kenichi Handa <handa@m17n.org>
3457 * international/mule-cmds.el (prefer-coding-system): Show a
3458 warning message if the default value of file-name-coding-system
3461 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3463 * windmove.el (windmove-reference-loc):
3464 Fix windmove-reference-loc miscalculation.
3466 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3468 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3471 2012-01-21 Glenn Morris <rgm@gnu.org>
3473 * international/mule.el (auto-coding-alist): Add .tbz.
3475 * files.el (local-enable-local-variables): Doc fix.
3476 (inhibit-local-variables-regexps): Rename from
3477 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3478 Doc fix. Add some extensions from auto-coding-alist.
3479 (inhibit-local-variables-suffixes):
3480 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3481 (inhibit-local-variables-p):
3482 New function, extracted from set-auto-mode-1.
3483 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3484 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3485 (hack-local-variables): Doc fix. Make the mode-only case
3486 respect enable-local-variables and friends.
3487 Respect inhibit-local-variables-regexps for file-locals, but
3488 not for directory-locals.
3489 (set-visited-file-name):
3490 Take account of inhibit-local-variables-regexps.
3491 Whether it applies may change as the file name is changed.
3492 * jka-cmpr-hook.el (jka-compr-install):
3493 * jka-compr.el (jka-compr-uninstall):
3494 Update for inhibit-first-line-modes-suffixes name change.
3496 2012-01-20 Martin Rudalics <rudalics@gmx.at>
3498 * help-macro.el (make-help-screen): Temporarily restore original
3499 binding for minor-mode-map-alist (Bug#10454).
3501 2012-01-19 Julien Danjou <julien@danjou.info>
3503 * color.el (color-name-to-rgb): Use the white color to find the max
3504 color component value and return correctly computed values.
3505 (color-name-to-rgb): Add missing float conversion for max value.
3507 2012-01-19 Martin Rudalics <rudalics@gmx.at>
3509 * window.el (window--state-get-1, window-state-get): Do not use
3510 special state value for window-persistent-parameters.
3511 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
3512 (window--state-put-2): Reset all window parameters to nil before
3513 assigning values of persistent parameters.
3515 2012-01-18 Alan Mackenzie <acm@muc.de>
3517 Eliminate sluggishness and hangs in fontification of "semicolon
3520 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3521 Change value 10000 -> 3000.
3522 (c-state-safe-place): Reformulate so it doesn't stack up an
3523 infinite number of wrong entries in c-state-nonlit-pos-cache.
3524 (c-determine-limit-get-base, c-determine-limit): New functions to
3525 determine backward search limits disregarding literals.
3526 (c-find-decl-spots): Amend commenting.
3527 (c-cheap-inside-bracelist-p): New function which detects "={".
3529 * progmodes/cc-fonts.el
3530 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3532 (c-font-lock-declarations): Fix an occurrence of point being
3533 undefined. Check additionally for point being in a bracelist or
3534 near a macro invocation without a semicolon so as to avoid a
3535 fruitless time consuming search for a declarator. Give a more
3536 precise search limit for declarators using the new
3539 2012-01-18 Glenn Morris <rgm@gnu.org>
3541 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3542 (set-auto-mode): Doc fixes.
3544 2012-01-17 Glenn Morris <rgm@gnu.org>
3546 * isearch.el (search-nonincremental-instead): Fix doc typo.
3548 * dired.el (dired-insert-directory): Handle newlines in directory name.
3549 (dired-build-subdir-alist): Unescape newlines in directory name.
3551 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
3553 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3554 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3555 (tramp-action-terminal): Use it. (Bug#10530)
3557 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3559 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3561 2012-01-16 Martin Rudalics <rudalics@gmx.at>
3563 * window.el (window-state-ignored-parameters): Remove variable.
3564 (window--state-get-1): Rename argument MARKERS to IGNORE.
3565 Handle persistent window parameters. Make copy of clone-of
3566 parameter only if requested. (Bug#10348)
3567 (window--state-put-2): Install a window parameter only if it has
3568 a non-nil value or an existing parameter shall be overwritten.
3570 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
3572 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3574 2012-01-14 Eli Zaretskii <eliz@gnu.org>
3576 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3577 don't pass the (nil) value of `upnode' to string-match.
3579 2012-01-14 Chong Yidong <cyd@gnu.org>
3581 * startup.el (command-line): Fix X resource class for cursorColor.
3582 Fix values recognized by the cursorBlink resource.
3584 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3586 * epg.el (epg--make-temp-file): Avoid permission race condition
3587 when running on old Emacs versions (bug#10403).
3589 2012-01-14 Glenn Morris <rgm@gnu.org>
3591 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3593 2012-01-13 Alan Mackenzie <acm@muc.de>
3595 Fix filling for when filladapt mode is enabled.
3597 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3598 c-mask-paragraph, pass in `fill-paragraph' rather than
3599 `fill-region-as-paragraph'. (This is a reversion of a previous
3601 * progmodes/cc-mode.el (c-basic-common-init):
3602 Make fill-paragraph-handle-comment buffer local and set it to nil.
3604 2012-01-13 Glenn Morris <rgm@gnu.org>
3606 * dired.el (dired-switches-escape-p): New function.
3607 (dired-insert-directory): Use dired-switches-escape-p.
3608 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3610 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3612 2012-01-12 Glenn Morris <rgm@gnu.org>
3614 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3615 changes in adaptive-fill-regexp. (Bug#10276)
3617 2012-01-11 Alan Mackenzie <acm@muc.de>
3619 Fix Emacs bug #10463 - put `widen's around the critical spots.
3621 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
3622 widen around each invocation of c-state-pp-to-literal. Remove an
3623 unused let variable.
3625 2012-01-11 Glenn Morris <rgm@gnu.org>
3627 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
3630 2012-01-10 Chong Yidong <cyd@gnu.org>
3632 * net/network-stream.el (network-stream-open-starttls):
3633 Avoid emitting a confusing error message when the server gives a bad
3634 response to the capability command.
3636 2012-01-10 Glenn Morris <rgm@gnu.org>
3638 * mail/unrmail.el (unrmail): Tweak previous change.
3640 2012-01-09 Chong Yidong <cyd@gnu.org>
3642 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3644 2012-01-08 Alan Mackenzie <acm@muc.de>
3646 Optimise font locking in long enum definitions.
3648 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3649 arm to a cond form to handle enums.
3650 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3651 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3653 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
3655 * files.el (move-file-to-trash): Preserve default file modes on error.
3658 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3660 * faces.el (set-face-attribute): Clarify the meaning of the nil
3663 * subr.el (with-selected-frame): Mention that the selected frame
3664 is restored (bug#9980).
3666 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3669 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
3670 (password-read): Don't autoload unused function.
3672 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
3674 * progmodes/which-func.el (which-func-mode): Turn into a
3675 non-interactive function and mark as obsolete (bug#10428).
3677 2012-01-06 Chong Yidong <cyd@gnu.org>
3679 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3680 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3681 functions, along with 1 and -1.
3683 2012-01-06 Eli Zaretskii <eliz@gnu.org>
3685 * time.el (display-time-load-average)
3686 (display-time-default-load-average): Doc fixes. See the thread
3688 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3691 2012-01-06 Glenn Morris <rgm@gnu.org>
3693 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3694 has no messages. (Bug#10377)
3696 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3697 than Info-edit. (Bug#10385)
3699 * time.el (display-time-load-average, display-time-next-load-average):
3702 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3703 local setting of buffer-read-only to the input buffer. (Bug#10419)
3705 * calendar/calendar.el (calendar-mode):
3706 Locally set scroll-margin to 0. (Bug#10379)
3708 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
3710 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3712 2012-01-05 Glenn Morris <rgm@gnu.org>
3714 * eshell/em-unix.el (diff-no-select): Autoload it.
3715 (eshell/diff): Use diff-no-select. (Bug#10420)
3717 2012-01-05 Chong Yidong <cyd@gnu.org>
3719 * shell.el (shell-dynamic-complete-functions): Revert last change.
3720 (shell-command-completion-function): New function.
3721 (shell-completion-vars): Use it to implement
3722 shell-completion-execonly (Bug#10417).
3724 * custom.el (enable-theme): Don't set custom-safe-themes.
3726 * cus-theme.el (custom-theme-merge-theme):
3727 Ignore custom-enabled-themes and custom-safe-themes.
3729 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3731 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3732 first prompt in `sql-interacive-mode'.
3733 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
3735 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
3736 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3737 context of original buffer. Invoke `sql-login-hook'.
3739 2012-01-04 Eli Zaretskii <eliz@gnu.org>
3741 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3742 letters in cite-prefix.
3744 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3746 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3748 2012-01-03 Chong Yidong <cyd@gnu.org>
3750 * shell.el (shell-dynamic-complete-functions):
3751 Put pcomplete-completions-at-point, so as to try
3752 comint-filename-completion first (Bug#10417).
3754 2012-01-02 Richard Stallman <rms@gnu.org>
3756 * battery.el (battery-status-function):
3757 Detect when to use battery-yeeloong-sysfs.
3758 (battery-echo-area-format): Add string for Yeeloong.
3759 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3760 (battery-yeeloong-sysfs): New function.
3762 2012-01-02 Chong Yidong <cyd@gnu.org>
3764 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3765 (dirtrack): Merge code for handling relative filenames in prompt
3766 from shell-dir-cookie-watcher.
3767 (dirtrack-debug-message): New arg to avoid excess format calls.
3769 * shell.el (shell-dir-cookie-re): Variable deleted.
3770 (shell-dir-cookie-watcher): Function deleted.
3771 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3774 2012-01-01 Eli Zaretskii <eliz@gnu.org>
3776 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3777 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
3780 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3782 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3784 2011-12-31 Eli Zaretskii <eliz@gnu.org>
3786 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3787 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3789 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
3791 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3792 also for alternative shells.
3793 (tramp-open-connection-setup-interactive-shell): Check, whether
3794 the shell is a busybox.
3795 (tramp-send-command): Don't suppress multiple prompts for
3796 busyboxes, it hurts.
3798 2011-12-28 Chong Yidong <cyd@gnu.org>
3800 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3801 (gdb-get-source-file): Move mode line update to
3802 gdb-get-source-file (Bug#10087).
3804 2011-12-25 Chong Yidong <cyd@gnu.org>
3806 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3807 gud-gdb-marker-filter without taking it as an argument.
3808 (gud-gdb-run-command-fetch-lines): Caller changed.
3809 (gud-gdb-completion-function): New variable.
3810 (gud-gdb-completion-at-point): Use it.
3811 (gud-gdb-completions-1): Split from gud-gdb-completions.
3813 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3814 function as separate arguments.
3815 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3816 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3817 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3818 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3819 (gdb-stopped, def-gdb-auto-update-trigger)
3820 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
3821 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3823 (gud-gdbmi-completions): New function.
3824 (gdb): Use it for generating the completion table.
3826 2011-12-24 Alan Mackenzie <acm@muc.de>
3828 Introduce a mechanism to widen the region used in context font
3829 locking. Use this to protect declarations from losing their contexts.
3831 * progmodes/cc-langs.el (c-before-font-lock-functions):
3832 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
3833 (c-before-context-fontification-functions): New defvar, a list of
3834 functions to be run just before context (etc.) font locking.
3836 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
3837 New, functionality extracted from
3838 c-neutralize-syntax-in-and-mark-CPP.
3839 (c-in-after-change-fontification): New variable.
3840 (c-after-change): Set c-in-after-change-fontification.
3841 (c-set-fl-decl-start): Rejig its interface, so it can be called
3842 from both after-change and context fontifying.
3843 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3845 (c-standard-font-lock-fontify-region-function): New variable.
3846 (c-font-lock-fontify-region): New function.
3848 2011-12-24 Juri Linkov <juri@jurta.org>
3850 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3853 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
3855 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3856 existence of source file. (Bug#10325)
3858 2011-12-23 Alan Mackenzie <acm@muc.de>
3860 Fix unstable fontification inside templates.
3862 * progmodes/cc-langs.el (c-before-font-lock-functions):
3863 Newly created from the singular version. The (c c++ objc) entry now
3864 additionally has c-set-fl-decl-start. The other languages (apart
3865 from AWK) have that as a single entry.
3867 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3868 The functionality for "local" declarations has been extracted to
3869 c-set-fl-decl-start.
3871 * progmodes/cc-mode.el (c-common-init, c-after-change):
3872 Changes due to pluralisation of c-before-font-lock-functions.
3873 (c-set-fl-decl-start): New function, extracted from
3874 c-font-lock-enclosing-decls and enhanced.
3876 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
3878 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3880 2011-12-22 Juri Linkov <juri@jurta.org>
3882 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3884 2011-12-22 Chong Yidong <cyd@gnu.org>
3886 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3888 2011-12-21 Drew Adams <drew.adams@oracle.com>
3890 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3892 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3894 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3896 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3898 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3899 highlighting and support. Fix up comments for capitalization.
3900 (cfengine-mode-debug): New var.
3901 (cfengine3-mode): Change the modeline indicator to "CFE3".
3902 (cfengine3-font-lock-keywords): Improve defun highlighting.
3903 (cfengine2-actions): Rename from `cfengine-actions'.
3904 (cfengine2-font-lock-keywords): Rename from
3905 `cfengine-font-lock-keywords'.
3906 (cfengine2-imenu-expression): Rename from
3907 `cfengine-imenu-expression'.
3908 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3909 (cfengine2-beginning-of-defun): Rename from
3910 `cfengine-beginning-of-defun'.
3911 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3912 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3913 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3914 modeline indicator to "CFE2".
3915 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3916 (cfengine-mode-abbrevs): Mark obsolete.
3918 2011-12-21 Chong Yidong <cyd@gnu.org>
3920 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3923 2011-12-20 Martin Rudalics <rudalics@gmx.at>
3925 * window.el (window-normalize-buffer-to-display): Remove.
3926 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3928 2011-12-19 Chong Yidong <cyd@gnu.org>
3930 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3931 Don't signal an error in a predicate function; return non-nil.
3932 (vc-dir-mark-file): Move the error here.
3933 (vc-dir-mark-unmark): If acting on the region, keep going if one
3934 of the entries cannot be marked/unmarked.
3935 (vc-dir-mark-all-files): If current entry is a directory, mark
3936 only child files, as documented.
3938 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3940 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3941 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3944 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3946 * term/ns-win.el (ns-get-selection-internal)
3947 (ns-store-selection-internal): Declare.
3948 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3949 Declare as obsolete.
3950 (ns-get-pasteboard, ns-paste-secondary):
3951 Use ns-get-selection-internal.
3952 (ns-set-pasteboard, ns-copy-including-secondary):
3953 Use ns-store-selection-internal.
3955 2011-12-17 Chong Yidong <cyd@gnu.org>
3957 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
3958 (vc-deduce-fileset): Doc fix.
3960 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3962 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3964 2011-12-13 Sam Steingold <sds@gnu.org>
3966 * man.el (Man-getpage-in-background): When running under a
3967 window-system, ignore $MANWIDTH and $COLUMNS.
3969 2011-12-15 Kenichi Handa <handa@m17n.org>
3971 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3972 (setup-ethiopic-environment-internal): Comment out key-binding for
3973 ethio-toggle-punctuation.
3975 2011-12-13 Alan Mackenzie <acm@muc.de>
3977 Add the switch statement to AWK Mode.
3979 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
3980 "default" to the keywords regexp.
3982 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
3983 expression as the rest.
3984 (c-nonlabel-token-key): Allow string literals for AWK.
3985 Refactor for the other modes.
3987 Large brace-block initialisation makes CC Mode slow: Fix.
3988 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
3989 routines. Limit backward searching in c-font-lock-enclosing.decl.
3991 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3992 pp-state and literal type in addition to the limits.
3993 (c-state-safe-place): New defun, extracted from c-state-literal-at.
3994 (c-state-literal-at): Use the above new defun.
3995 (c-slow-in-literal, c-fast-in-literal): Remove.
3996 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
3998 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3999 being in a literal. Add a limit for backward searching.
4001 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4004 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4006 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4008 2011-12-13 Martin Rudalics <rudalics@gmx.at>
4010 * window.el (delete-other-windows): Use correct frame in call to
4011 window-with-parameter.
4013 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
4015 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4016 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4017 (makefile-gmake-statements, makefile-makepp-statements):
4018 Use it and add new makepp keywords.
4019 (makefile-makepp-font-lock-keywords): Add new patterns.
4020 (makefile-match-function-end): Match new [...] and [[...]].
4022 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
4024 * ses.el (ses-call-printer-return, ses-cell-property-get)
4025 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4026 (ses-create-cell-variable, ses-reset-header-string)
4027 (ses-cell-set-formula, ses-repair-cell-reference-all)
4028 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4029 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4030 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4031 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4032 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4033 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4034 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4035 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4036 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4037 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4038 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4039 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4041 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4043 * ses.el: The overall change is to add cell renaming, that is
4044 setting fancy names for cell symbols other than name matching
4045 "\\`[A-Z]+[0-9]+\\'" regexp .
4046 (ses-create-cell-variable): New defun.
4047 (ses-relocate-formula): Relocate formulas only for cells the
4048 symbols of which are not renamed, i.e. symbols whose names do not
4049 match regexp "\\`[A-Z]+[0-9]+\\'".
4050 (ses-relocate-all): Relocate values only for cells the symbols of
4051 which are not renamed.
4052 (ses-load): Create cells variables as the (ses-cell ...) are read,
4053 in order to check row col consistency with cell symbol name only
4054 for cells that are not renamed.
4055 (ses-replace-name-in-formula): New defun.
4056 (ses-rename-cell): New defun.
4058 2011-12-11 Chong Yidong <cyd@gnu.org>
4060 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4061 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4063 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4065 * window.el (other-window): Fix docstring.
4067 2011-12-10 Eli Zaretskii <eliz@gnu.org>
4069 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
4070 `from' or `to' address before taking its substring.
4071 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
4072 encoded name is chopped in the middle of the encoded string, and
4073 thus displayed encoded.
4075 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
4077 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4079 2011-12-10 Eli Zaretskii <eliz@gnu.org>
4081 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4082 to use texinfo-update-node and commands that call it if the
4083 Texinfo file uses @node lines without next/prev/up pointers.
4084 Correct outdated description about texinfo-master-menu.
4085 (texinfo-all-menus-update, texinfo-master-menu)
4086 (texinfo-update-node, texinfo-every-node-update)
4087 (texinfo-multiple-files-update): Doc fix. Warn against updating
4088 all the @node lines.
4089 (texinfo-master-menu): Only call texinfo-update-node if the prefix
4090 argument is numeric. Explain better in the doc string what the
4091 function really does.
4092 (texinfo-insert-master-menu-list): Improve the error message
4093 displayed if there's no menu in the Top node.
4094 (Bug#2975) See also this thread:
4095 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4097 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4099 * speedbar.el (speedbar-supported-extension-expressions):
4100 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4102 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
4104 * printing.el (pr-mode-alist):
4105 * simple.el (filter-buffer-substring-functions)
4106 (completion-list-insert-choice-function):
4107 * window.el (window-with-parameter, window-atom-root)
4108 (window-sides-slots, window-size-fixed, window-min-delta)
4109 (window-max-delta, window--resize-mini-window)
4110 (window--resize-child-windows-normal, window-tree)
4111 (delete-other-windows, quit-window, split-window)
4112 (display-buffer-record-window, special-display-buffer-names)
4113 (special-display-regexps, special-display-popup-frame)
4114 (same-window-p, split-window-sensibly)
4115 (display-buffer-overriding-action, display-buffer-alist)
4116 (display-buffer-base-action, display-buffer, switch-to-buffer)
4117 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4118 (fit-window-to-buffer, recenter-positions)
4119 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4120 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4121 and remove unneeded backslashes in docstrings.
4123 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4125 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4127 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4128 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4130 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4131 when reading the makefile (bug#10116).
4133 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4135 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4138 2011-12-06 Glenn Morris <rgm@gnu.org>
4140 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4142 2011-12-06 Chong Yidong <cyd@gnu.org>
4144 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4146 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
4148 * textmodes/table.el (table-shorten-cell): Fix typo.
4150 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4152 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4154 2011-12-05 Eli Zaretskii <eliz@gnu.org>
4156 * descr-text.el (describe-char): Fix display of strong
4157 right-to-left characters and directional embeddings and overrides.
4159 * simple.el (what-cursor-position): Fix display of codepoints of
4160 strong right-to-left characters.
4162 2011-12-05 Chong Yidong <cyd@gnu.org>
4164 * faces.el (read-color): Doc fix.
4166 2011-12-05 Glenn Morris <rgm@gnu.org>
4168 * align.el (align--set-marker): Add doc-string.
4169 Don't try to move something that is not a marker. (Bug#10216)
4171 2011-12-04 Glenn Morris <rgm@gnu.org>
4173 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4174 overly zealous deletion of trailing whitespace.
4176 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
4178 * server.el (server-delete-client): On Windows, do not try to delete
4180 (server-process-filter): On Windows, treat requests for a tty frame as
4181 if they were for a GUI frame if the running server is in GUI mode.
4183 2011-12-03 Glenn Morris <rgm@gnu.org>
4185 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4187 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4189 * electric.el: Streamline electric-indent's hook.
4190 (electric-indent-chars): Revert to simple list.
4191 (electric-indent-functions): New var.
4192 (electric-indent-post-self-insert-function): Use it.
4194 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4195 there's no inferior buffer (bug#10196).
4196 (prolog-consult-compile): Don't use toggle-read-only.
4198 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
4200 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4201 interrupt. (Bug#10187)
4203 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4205 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4208 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4211 2011-12-02 Juri Linkov <juri@jurta.org>
4213 * info.el (Info-search): Display "end of manual" when Isearch
4214 reaches the end of single-file Info manual. (Bug#9918)
4216 2011-12-02 Eli Zaretskii <eliz@gnu.org>
4218 * isearch.el (isearch-message-prefix): Run the input method part
4219 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4221 2011-12-02 Juri Linkov <juri@jurta.org>
4223 * isearch.el (isearch-occur): Use `word-search-regexp' for
4225 (isearch-search-and-update): Add condition for `isearch-word' and
4226 call `word-search-regexp'. (Bug#10145)
4228 2011-12-01 Glenn Morris <rgm@gnu.org>
4230 * eshell/em-hist.el (eshell-hist-initialize):
4231 Handle eshell-history-size nil and HISTSIZE set or unset.
4232 (eshell-history-file-name, eshell-history-size): Fix custom type.
4234 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4236 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4238 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
4240 * progmodes/verilog-mode.el (verilog-pretty-expr):
4241 Rework verilog-pretty-expr to handle new assignment operators in system
4242 verilog, such as += *= and the like.
4243 (verilog-assignment-operator-re): Regular expression to find the
4244 assigment operator in a verilog assignment.
4245 (verilog-assignment-operation-re): Regular expression to find an
4246 assignment statement for pretty-expr.
4247 (verilog-in-attribute-p): Query returns true if point is in an
4248 attribute context; used to skip these for expression line up from
4250 (verilog-in-parameter-p): Query returns true if point is in an
4251 parameter definition context; used to skip these for expression
4252 line up from pretty-expr.
4253 (verilog-in-parenthesis-p): Query returns true if point is in a
4254 parenthetical expression, specifically ( ) but not [ ] or { };
4255 used by pretty-expr.
4256 (verilog-just-one-space): If there is no space, don't add one.
4257 (verilog-get-lineup-indent-2): Specifically skip just attribute
4258 contexts for expression lineup, rather than skipping all
4259 parenthetical expressions.
4260 (verilog-calculate-indent): Fix comment, and fix indent.
4261 (verilog-do-indent): Indent declarations in lists (suggested by
4263 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4265 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4268 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
4270 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4271 parameters with embedded comments. Reported by Ray Stevens.
4272 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4273 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4274 Reported by Tim Holt.
4275 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4276 instantiated by upper module causing wrong expansion until AUTOed a
4277 second time. Reported by K C Buckenmaier.
4278 (verilog-diff-auto): Fix showing .* as a difference when
4279 `verilog-auto-star-save' off. Reported by Dan Dever.
4280 (verilog-auto-reset, verilog-read-always-signals)
4281 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4282 temporary signals in reset list if
4283 verilog-auto-reset-blocking-in-non is nil, and match assignment
4284 style to each signal's assignment type, bug381.
4285 Reported by Thomas Esposito.
4286 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4287 (verilog-uvm-statement-re): Support UVM indentation and
4288 highlighting, with old OVM keywords only.
4289 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
4290 Support AUTOTIEOFF creating non-wire data types.
4291 Suggested by Jonathan Greenlaw.
4292 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4293 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4294 (verilog-inject-sense, verilog-read-inst-pins)
4295 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4296 Fix mismatching parenthesis inside commented out code when deleting
4297 AUTOINST, bug383. Reported by Jonathan Greenlaw.
4298 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4299 non-numeric vector width. Reported by Alex Reed.
4300 (verilog-auto-ascii-enum): Add "onehot" option to work around not
4301 detecting signals with parameter widths. Reported by Alex Reed.
4302 (verilog-auto-delete-trailing-whitespace):
4303 With `verilog-auto-delete-trailing-whitespace' remove trailing
4304 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4305 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4306 Fix verilog-scan-cache corruption when running user AUTO expansion
4307 hooks that call indentation routines.
4308 (verilog-simplify-range-expression): Fix typo ignoring lower case
4310 (verilog-delete-auto): Fix delete-autos to also remove user created
4311 automatics, as long as they start with AUTO.
4312 (verilog-batch-diff-auto, verilog-diff-auto)
4313 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4314 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4315 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4316 (verilog-in-paren-quick, verilog-re-search-backward-quick)
4317 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4318 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
4319 is disabled and its cache will get corrupt, causing AUTOS not to
4320 expand. Instead use only -quick functions.
4321 (verilog-scan-region): Fix scanning over escaped quotes.
4322 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4323 (verilog-re-search-backward-quick)
4324 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4325 related functions now ignore strings, to fix misparsing of strings
4326 with magic comments embedded in them.
4327 (verilog-read-auto-template):
4328 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4329 Reported by Brad Dobbie.
4330 (verilog-read-auto-template):
4331 Fix 'verilog-auto-inst-template-numbers' with comments.
4332 Reported by Brad Dobbie.
4333 (verilog-auto-inst, verilog-auto-inst-param)
4334 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4335 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4336 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
4337 debugging templates without merge conflicts, bug357.
4338 Reported by Brad Dobbie.
4339 (verilog-read-auto-template):
4340 Fix verilog-auto-inst-template-numbers with multiple templates.
4341 Reported by Brad Dobbie.
4342 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4343 abbrevs so user won't be asked to save.
4344 (verilog-read-auto-lisp-present): Fix to start at beginning of
4345 buffer in case called outside of verilog-auto.
4346 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4347 to "X-2". Reported by Matthew Myers.
4348 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4349 all inputs from module templates. Reported by Leith Johnson.
4350 (verilog-module-inside-filename-p): Fix locating programs as with
4352 (verilog-auto-inst-port): Fix vl-width expressions when using
4353 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4354 (verilog-decls-get-regs, verilog-decls-get-signals,
4355 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4356 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4357 verilog-read-decls): Combine reg and wire structures into one var
4358 structure to represent SystemVerilog concepts.
4359 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4360 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
4361 (verilog-auto-wire-type, verilog-insert-definition):
4362 Add verilog-auto-wire-type and AUTOLOGIC to support using
4363 SystemVerilog "logic" keyword instead of "wire"/"reg".
4364 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4365 to declares outputs that also have assignments (presumably in an
4366 ifdef or generate if so there's not a driver conflict).
4367 Reported by Matthew Myers.
4368 (verilog-auto-declare-nettype, verilog-insert-definition):
4369 Add verilog-auto-declare-nettype to fix declarations using
4370 `default_nettype none. Reported by Julian Gorfajn.
4371 (verilog-read-always-signals-recurse, verilog-read-decls)
4372 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4373 malformed end statement, bug325. Reported by Joshua Wise and
4375 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4376 (verilog-inst-comment-re): Fix not deleting Interfaced comment
4377 when expanding .* in interfaces, bug320.
4378 Reported by Pierre-David Pfister.
4379 (verilog-read-module-name): Fix import statements between module
4380 name and open parenthesis, bug317.
4381 Reported by Pierre-David Pfister.
4382 (verilog-simplify-range-expression): Fix simplification of
4383 multiplications inside AUTOWIRE connections, bug303.
4384 (verilog-auto-inst-port): Support parameter expansion in
4385 multidimensional arrays.
4386 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4387 after "assert property". Reported by Julian Gorfajn.
4388 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4389 with multiplication, bug303.
4390 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4391 Reported by Jan Frode Lonnum.
4393 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
4395 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4396 (hfy-shell-file-name, hfy-shell):
4397 * international/fontset.el (x-decompose-font-name): Fix typos.
4399 2011-11-29 Ken Brown <kbrown@cornell.edu>
4401 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4402 (gdb-version): Remove defvar.
4403 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4404 (gdb-gud-context-command, gdb-non-stop-handler)
4405 (gdb-current-context-command, gdb-stopped): Use it.
4406 (gdb-init-1): Enable pretty printing here.
4407 (gdb-non-stop-handler): Don't enable pretty-printing here.
4408 Check to see if the target supports non-stop mode; if not, turn off
4409 non-stop mode. Use the following.
4410 (gdb-check-target-async): New defun.
4411 (gud-watch, gdb-stopped): Fix whitespace.
4412 (gdb-get-source-file): Don't try to display the source file if
4413 `gdb-main-file' is nil.
4415 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4417 * align.el: Try to generate fewer markers (bug#10047).
4418 (align--set-marker): New macro.
4419 (align-region): Use it.
4421 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4423 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4425 2011-11-29 Chong Yidong <cyd@gnu.org>
4427 * indent.el (indent-for-tab-command, indent-according-to-mode):
4429 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4431 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
4433 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4434 aware of remote file names. (Bug#10124)
4436 2011-11-29 Chong Yidong <cyd@gnu.org>
4438 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4440 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4442 * files.el (find-file): Don't use force-same-window (bug#10144).
4443 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4444 use pop-to-buffer if the selected window can't be used.
4445 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4447 2011-11-28 Eli Zaretskii <eliz@gnu.org>
4449 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4452 2011-11-28 Chong Yidong <cyd@gnu.org>
4454 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4456 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
4458 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4459 gdb-get-source-file-list on gdb-create-source-file-list.
4461 2011-11-26 Eli Zaretskii <eliz@gnu.org>
4463 * whitespace.el (whitespace-newline): Use a different foreground
4464 color for 16-color light-background displays.
4466 2011-11-24 Chong Yidong <cyd@gnu.org>
4468 * window.el (display-buffer--special-action): Doc fix.
4470 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
4472 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4473 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4474 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4475 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4476 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4477 (avl-tree-stack-first):
4478 * emacs-lisp/cconv.el (cconv--analyse-use):
4479 * net/gnutls.el (gnutls-negotiate): Fix typos.
4481 2011-11-24 Glenn Morris <rgm@gnu.org>
4483 * lpr.el (lpr-windows-system, lpr-lp-system):
4484 * mail/binhex.el (binhex-begin-line):
4485 * progmodes/grep.el (grep-history, grep-find-history):
4486 * textmodes/flyspell.el:
4487 * vc/pcvs-defs.el (cvs-global-menu):
4488 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4489 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4490 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4492 * net/tls.el: Fix case of "GnuTLS".
4494 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4496 * version.el (emacs-build-system): Give it a doc-string.
4498 2011-11-24 Juri Linkov <juri@jurta.org>
4500 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4502 2011-11-24 Glenn Morris <rgm@gnu.org>
4504 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4505 if called on a non-mime message just toggle the headers. (Bug#8006)
4507 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
4509 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4510 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4511 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4512 (allout-rebullet-heading, allout-open-sibtopic)
4513 (allout-toggle-current-subtree-encryption)
4514 (allout-toggle-subtree-encryption, allout-encrypt-string)
4515 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4516 (allout-distinctive-bullets-string, allout-auto-activation):
4517 * window.el (window-normalize-buffer-to-display):
4518 * progmodes/verilog-mode.el (verilog-batch-indent):
4519 * textmodes/bibtex.el (bibtex-field-braces-opt)
4520 (bibtex-field-strings-opt):
4521 * vc/cvs-status.el (cvs-tree-merge):
4524 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
4526 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4527 `non-essential' to t, in order to avoid remote connections.
4529 2011-11-23 Eli Zaretskii <eliz@gnu.org>
4531 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4532 On MS-DOS and MS-Windows, compare with loaddefs.el
4535 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4537 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4539 2011-11-23 Glenn Morris <rgm@gnu.org>
4541 * paths.el (rmail-file-name): Reformat the doc-string so that it
4544 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4545 (rmail-auto-file): Ignore case in the "special" field names,
4546 as mail-fetch-field does for all others.
4548 * mail/rmail.el (rmail-forward):
4549 * mail/rmailkwd.el (rmail-set-label):
4550 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4551 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4553 * mail/rmail.el (rmail-current-message): Doc fix.
4555 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4557 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4559 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4561 2011-11-22 Glenn Morris <rgm@gnu.org>
4563 * mail/rmailmm.el (test-rmail-mime-handler)
4564 (test-rmail-mime-bulk-handler)
4565 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4567 2011-11-21 Juri Linkov <juri@jurta.org>
4569 * calc/calc.el (calc-read-key-sequence):
4570 Let-bind `input-method-function' to nil. (Bug#10018)
4572 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4574 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4575 Tell the caller that the next line needs recomputation, even
4576 though it doesn't start a sexp (bug#10094).
4578 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4580 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4582 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4584 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4585 Use force-same-window.
4587 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4589 * descr-text.el (describe-char-unicode-data):
4590 * json.el (json-string-escape):
4591 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4592 (Footnote-unicode, Footnote-style-p):
4593 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4595 2011-11-20 Chong Yidong <cyd@gnu.org>
4597 * window.el (replace-buffer-in-windows): Restore interactive spec.
4599 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4601 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4603 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4604 (byte-compile-global-not-obsolete-vars): New var.
4605 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4607 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4609 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
4611 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4612 * progmodes/pascal.el (electric-pascal-equal):
4613 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4614 * xml.el (xml-substitute-special): Fix typos.
4616 2011-11-20 Glenn Morris <rgm@gnu.org>
4618 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4619 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4621 (rmail-decode-mime-charset): Mark as obsolete.
4623 * mail/rmailsum.el (rmail-message-regexp-p-1):
4624 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4625 Before using mime functions, check they are set. (Bug#10077)
4627 2011-11-19 Juri Linkov <juri@jurta.org>
4629 * info.el (Info-finder-find-node): Use `package--builtins' instead
4630 of `package-alist'. Use node names formed by the pattern "Keyword "
4631 and the keyword name.
4633 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4635 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
4637 2011-11-19 Juri Linkov <juri@jurta.org>
4639 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4640 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4641 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4642 `old-history', `old-history-forward'. Add let-binding
4643 `window-selected'. Remove calls to `kill-buffer',
4644 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4645 before calling `Info-find-node', so `Info-find-node-2' will reread
4646 the Info file. Restore window positions only when `window-selected'
4649 2011-11-19 Juri Linkov <juri@jurta.org>
4651 * isearch.el (isearch-lazy-highlight-new-loop):
4652 Remove condition `(not isearch-error)'. (Bug#9918)
4654 * misearch.el (multi-isearch-search-fun): Add condition
4655 `(not bound)' to ignore lazy-highlighting search.
4656 Add the search-failed message "end of multi" when the end of
4657 multi-sequence is reached. Uncapitalize the search-failed
4658 message "Repeat for next buffer".
4660 * info.el (Info-search): Add the search-failed message
4661 "end of the manual" when the end of the manual is reached
4664 2011-11-19 Juri Linkov <juri@jurta.org>
4666 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4667 Use non-destructive `remove' instead of `delete' because
4668 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4669 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4671 2011-11-19 Juri Linkov <juri@jurta.org>
4673 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4674 to nil instead of binding `search-ring' and `regexp-search-ring'.
4677 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4679 * simple.el (line-move): Force movement by logical lines for any
4680 hscrolled window, not only when auto-hscroll-mode is on.
4681 (line-move-visual): Update doc string to that effect. (Bug#10076)
4683 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4685 * language/european.el (macintosh): Define as alias for mac-roman.
4687 2011-11-19 Eli Zaretskii <eliz@gnu.org>
4689 * mail/rmailmm.el (rmail-mime-display-header)
4690 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4691 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4692 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4693 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4694 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4696 (rmail-mime-entity-segment): To get past the tagline, move forward
4697 2 more lines, to account for the 2 empty lines that precede and
4698 follow the line with the buttons.
4699 (rmail-mime-update-tagline): Move one more line, to get past the
4700 empty line that follows the buttons in the tagline. (Bug#9520)
4702 2011-11-19 Martin Rudalics <rudalics@gmx.at>
4704 * window.el (window-max-delta-1, window-min-delta-1)
4705 (window-min-size-1, window-state-get-1, window-state-put-1)
4706 (window-state-put-2): Use "window--" prefix.
4708 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4710 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4711 (smie-warning-count): New var.
4712 (smie-set-prec2tab): Use it.
4713 (smie-bnf->prec2): Improve warnings. Add docstring.
4714 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4715 (smie-bnf--set-class): New function.
4716 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4719 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4720 (compilation-error-properties, compilation-move-to-column):
4721 Handle compilation-first-column while in the target buffer.
4723 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4724 Don't hardcode point-min==1.
4726 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4727 (eshell-rewrite-for-command): Remove workaround.
4728 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4729 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4730 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4732 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4734 2011-11-17 Glenn Morris <rgm@gnu.org>
4736 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4737 Ignore buffer-local generated-autoload-file if it is the same
4738 as the global value. (Bug#10049)
4740 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
4742 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4743 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4744 (reftex-toc-previous-heading, reftex-toc-max-level)
4745 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4746 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4747 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4748 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4749 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4750 (reftex-toc-rename-label, reftex-toc-visit-location)
4751 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4752 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4753 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4754 leaving "*toc*" only for references to the buffer.
4756 2011-11-17 Martin Rudalics <rudalics@gmx.at>
4758 * window.el (window-resize, delete-window, split-window):
4759 Replace window-splits by window-combination-resize.
4760 * cus-start.el (window-splits): Replace by window-combination-resize.
4762 2011-11-17 Glenn Morris <rgm@gnu.org>
4764 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4765 Make bash entry derive from sh entry, not shell entry.
4767 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
4769 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4770 properties of linked files. (Bug#9879)
4772 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4775 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4777 * menu-bar.el (menu-bar-file-menu):
4778 * printing.el (pr-ps-utility):
4779 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4780 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4781 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4782 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4783 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4784 (icalendar--convert-cyclic-to-ical)
4785 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4786 (icalendar--convert-ical-to-diary)
4787 (icalendar--convert-recurring-to-diary)
4788 (icalendar--convert-non-recurring-all-day-to-diary)
4789 (icalendar-import-format-sample):
4790 * progmodes/idlw-shell.el (idlwave-shell-mode):
4791 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4792 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4793 (vhdl-ps-print-init): Fix typos.
4795 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4797 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4798 FSF and collapse date sequence, obscure author/maintainer email address
4799 better, remove extra version line, track relocation of author's webpage.
4801 * progmodes/python.el (python-pdbtrack-input-prompt)
4802 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4803 regular python pdb prompts. Adjustments shamelessly taken exactly as
4804 suggested in EmacsWiki page (tiny change):
4805 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
4807 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
4809 * expand.el (expand-pos, expand-index, expand-point):
4810 Remove redundant info from docstring.
4811 (expand-add-abbrevs): Doc fix.
4812 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4813 (expand-sample-perl-mode-expand-list): Fix typos.
4815 * net/dbus.el (dbus-event-member-name):
4816 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4817 * term/pc-win.el (msdos-create-frame-with-faces):
4818 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4820 2011-11-16 Martin Rudalics <rudalics@gmx.at>
4822 * window.el (split-window, window-state-get-1)
4823 (window-state-put-1, window-state-put-2): Rename occurrences of
4824 window-nest to window-combination-limit.
4825 * cus-start.el (window-nest): Rename to window-combination-limit.
4827 2011-11-16 Chong Yidong <cyd@gnu.org>
4829 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4832 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4834 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4835 `completing-read' will remove *Completions* and will preserve
4836 current-buffer for us.
4837 (tmm-add-prompt): Users of *Completions* will always (re)set its
4839 (tmm-old-comp-map): Remove.
4841 2011-11-16 Glenn Morris <rgm@gnu.org>
4843 * mail/rmailedit.el: Require rmailmm when compiling.
4844 (rmail-old-mime-state): New declaration.
4845 (rmail-edit-current-message): If editing a mime message,
4846 edit the "raw" message from the mbox buffer.
4847 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4849 2011-11-15 Glenn Morris <rgm@gnu.org>
4851 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4852 which wasn't being used. Add optional arg to force given state.
4853 (rmail-mime): Add optional arg to force given state.
4855 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4857 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4858 * frame.el (display-mm-dimensions-alist):
4859 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4860 (outline-move-subtree-down):
4861 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4862 (newsticker--treeview-do-get-node):
4863 * net/quickurl.el (quickurl-list-buffer-name):
4864 * progmodes/dcl-mode.el (dcl-mode):
4865 * progmodes/gdb-mi.el (gdb-mapcar*):
4866 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4868 2011-11-15 Glenn Morris <rgm@gnu.org>
4870 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4871 in a boolean sense, so just make it a boolean, and fix the doc.
4872 (rmail-show-mime-function, rmail-mime-feature)
4873 (rmail-require-mime-maybe): Doc fixes.
4874 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4876 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4878 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
4880 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4881 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4882 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4883 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4885 2011-11-15 Glenn Morris <rgm@gnu.org>
4887 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4888 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4889 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4890 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4891 (rmail-mime, rmail-show-mime): Doc fixes.
4893 * term/ns-win.el (mode-line-frame-identification):
4894 Leave it alone. (Bug#10051)
4896 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4898 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4899 Handle empty buffers. (Bug#9978)
4901 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
4903 * international/mule.el (define-charset):
4904 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4905 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4906 * progmodes/verilog-mode.el (verilog-backward-token):
4907 * textmodes/ispell.el (lookup-words):
4908 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4910 2011-11-14 Glenn Morris <rgm@gnu.org>
4912 * progmodes/executable.el
4913 (executable-make-buffer-file-executable-if-script-p):
4914 Handle file-modes returning nil.
4916 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4917 message - not necessary, and causes problems. (Bug#9831)
4919 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4921 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4923 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4924 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4925 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4927 2011-11-12 Martin Rudalics <rudalics@gmx.at>
4929 * window.el (window-resize, delete-window): Use window-splits
4930 variable instead of function.
4931 (window-state-get-1, window-state-put-2, window-state-put):
4932 Don't deal with windows' splits status.
4934 2011-11-12 Glenn Morris <rgm@gnu.org>
4936 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4937 (apropos-documentation): Doc fixes.
4939 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
4941 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4942 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4944 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4946 * electric.el (electric-indent-post-self-insert-function): Make it
4947 possible for a char to only indent in some circumstances.
4948 (electric-indent-mode): Simplify.
4950 2011-11-11 Martin Rudalics <rudalics@gmx.at>
4952 * window.el (windows-with-parameter): Remove unused function.
4953 (windows-at-side): Rename to window-at-side-list.
4954 (window-check, window-atom-check, window-atom-check-1)
4955 (window-side-check, window-size-ignore, window-size-fixed-1)
4956 (window-in-direction-2): Prefix with "window--".
4957 (window-tree-1): Rename to window--subtree, fix doc-string.
4959 2011-11-11 Glenn Morris <rgm@gnu.org>
4961 * subr.el (eval-after-load): If FILE is already loaded,
4962 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4964 2011-11-10 Glenn Morris <rgm@gnu.org>
4966 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4967 Call svn via vc-svn-command rather than vc-do-command.
4968 (vc-svn-command): Add --non-interactive. (Bug#9993)
4969 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4971 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4972 Add toggle-read-only. (Bug#7292)
4973 * files.el (toggle-read-only): Mention that it should only
4974 be used interactively. (Bug#10006)
4976 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4978 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4979 Adjust regexp for OCaml warnings.
4981 * electric.el (electric-pair-post-self-insert-function): Let user
4982 turn it off buffer-locally (bug#9932).
4984 * progmodes/python.el (python-beginning-of-statement):
4987 * progmodes/compile.el: Better handle TABs (bug#9749).
4988 (compilation-internal-error-properties)
4989 (compilation-next-error-function): Obey the target buffer's
4990 compilation-error-screen-columns.
4992 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
4994 * progmodes/meta-mode.el: Remove obsolete comments.
4995 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4996 Fix typos in docstrings.
4998 2011-11-09 Martin Rudalics <rudalics@gmx.at>
5000 * window.el (window-size-fixed-p): Rewrite doc-string.
5001 (window-resizable-p): Rename to window--resizable-p. Update callers.
5002 (window--resizable): New function. Make all callers of
5003 window-resizable call window--resizable instead.
5004 (window-resizable): Rewrite in terms of window--resizable.
5006 2011-11-08 Glenn Morris <rgm@gnu.org>
5008 * progmodes/delphi.el (delphi-mode-syntax-table):
5009 Let define-derived-mode define a proper syntax table. (Bug#9994)
5011 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5013 * window.el: Stay away from defsubst.
5014 (window-list-no-nils): Remove.
5015 (window-state-get-1, window-state-get): Use backquote instead.
5017 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5019 * emacs-lisp/find-func.el (find-function-read):
5020 Fix incorrect use of default argument in `completing-read'.
5022 2011-11-08 Martin Rudalics <rudalics@gmx.at>
5024 * window.el (display-buffer-function, special-display-function):
5025 Mention display-buffer-record-window but do not mention
5026 help-setup parameter in doc-strings.
5027 (window-min-delta): Fix doc-string typo.
5029 2011-11-08 Chong Yidong <cyd@gnu.org>
5031 * window.el (window-total-height, window-total-width): Doc fix.
5032 (window-body-size): Move from C.
5033 (window-body-height, window-body-width): Move to C.
5035 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5037 * window.el: Make special-display like display-buffer-alist (bug#9532).
5038 (display-buffer--special-action): New function, morphed
5039 from display-buffer--special.
5040 (display-buffer): Use it to handle special-display-buffers at higher
5041 priority (just after display-buffer-alist).
5042 (display-buffer-fallback-action, display-buffer--other-frame-action)
5043 (pop-to-buffer-same-window): Remove display-buffer--special.
5045 2011-11-07 Glenn Morris <rgm@gnu.org>
5047 * calendar/cal-menu.el (cal-menu-set-date-title):
5048 Do nothing if not in a calendar. (Bug#9976)
5050 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5052 * files.el (find-file): Always use selected-window.
5054 2011-11-07 Martin Rudalics <rudalics@gmx.at>
5056 * window.el (window-combinations): Make WINDOW argument
5057 mandatory. Rewrite doc-string.
5058 (walk-window-subtree, window-atom-check, window-min-delta)
5059 (window-max-delta, window--resize-this-window)
5060 (window--resize-root-window-vertically, window-tree)
5061 (balance-windows, window-state-put): Rewrite doc-strings as to
5062 not mention the term "subwindow".
5063 (window--resize-subwindows-skip-p): Rename to
5064 window--resize-child-windows-skip-p.
5065 (window--resize-subwindows-normal): Rename to
5066 window--resize-child-windows-normal.
5067 (window--resize-subwindows): Rename to
5068 window--resize-child-windows.
5069 (window-or-subwindow-p): Rename to window--in-subtree-p.
5071 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5073 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5074 Ensure that mbox format messages end in two newlines (Bug#9974).
5076 2011-11-06 Chong Yidong <cyd@gnu.org>
5078 * window.el (window-combination-p): Function deleted; its
5079 side-effect is not used in any existing code.
5080 (window-combinations, window-combined-p): Call window-*-child
5083 2011-11-05 Chong Yidong <cyd@gnu.org>
5085 * window.el (window-valid-p): Rename from window-any-p.
5086 (window-size-ignore, window-state-get): Callers changed.
5087 (window-normalize-window): Rename from window-normalize-any-window.
5088 New arg LIVE-ONLY, replacing window-normalize-live-window.
5089 (window-normalize-live-window): Delete.
5090 (window-combination-p, window-combined-p, window-combinations)
5091 (walk-window-subtree, window-atom-root, window-min-size)
5092 (window-sizable, window-sizable-p, window-size-fixed-p)
5093 (window-min-delta, window-max-delta, window-resizable)
5094 (window-resizable-p, window-full-height-p, window-full-width-p)
5095 (window-current-scroll-bars, window-point-1, set-window-point-1)
5096 (window-at-side-p, window-in-direction, window-resize)
5097 (adjust-window-trailing-edge, maximize-window, minimize-window)
5098 (window-deletable-p, delete-window, delete-other-windows)
5099 (record-window-buffer, unrecord-window-buffer)
5100 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5101 (quit-window, split-window, window-state-put)
5102 (set-window-text-height, fit-window-to-buffer)
5103 (shrink-window-if-larger-than-buffer): Callers changed.
5105 2011-11-04 Eli Zaretskii <eliz@gnu.org>
5107 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5108 rfc2047-decode-string.
5109 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5112 * window.el (window-body-height, window-body-width): Mention in
5113 the doc string that the return values are in frame's canonical
5116 2011-11-03 Alan Mackenzie <acm@muc.de>
5118 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5119 change in cc-engine.el.
5121 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5123 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5125 2011-11-02 Martin Rudalics <rudalics@gmx.at>
5127 * window.el (quit-window): Call unrecord-window-buffer after
5128 showing another buffer in the window. (Bug#9937)
5129 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
5131 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
5133 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5134 Accept status with more than 9 shelves. (Bug#9935)
5135 Reported by Colin D Bennett <colin@gibibit.com>.
5137 2011-11-01 Martin Rudalics <rudalics@gmx.at>
5139 * help.el (with-help-window): Don't reference
5140 temp-buffer-show-specifiers in doc-string.
5142 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5144 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5147 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5149 * whitespace.el: New version 13.2.2.
5150 (whitespace-newline-mode): Disable properly. Reported by Sarah
5153 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
5155 * net/newst-treeview.el: Remove "Time-stamp".
5156 (newsticker--group-manage-orphan-feeds): Do not call
5157 newsticker--treeview-tree-update.
5158 (newsticker-treeview-update, newsticker-treeview):
5159 Call newsticker--treeview-tree-update if necessary.
5161 2011-10-30 Martin Rudalics <rudalics@gmx.at>
5163 * window.el (window-iso-combination-p, window-iso-combined-p)
5164 (window-iso-combinations): Remove "iso-" infix.
5165 Suggested by Chong Yidong.
5166 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5167 (window-max-delta-1, window-resize, window--resize-siblings)
5168 (window--resize-this-window, adjust-window-trailing-edge)
5169 (split-window, balance-windows-1)
5170 (shrink-window-if-larger-than-buffer):
5171 * calendar/calendar.el (calendar-generate-window):
5172 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
5174 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5176 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5177 in place (bug#9907).
5178 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5179 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5180 (eshell-structure-basic-command, eshell-rewrite-while-command)
5181 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5182 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5183 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5184 (eshell-do-pipelines-synchronously, eshell-eval-command):
5185 Use backquotes and prefer setq to set.
5186 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5187 (eshell-macrop): Use functionp.
5188 (eshell-do-eval): Handle multiple expressions in `while' body.
5190 2011-10-30 Chong Yidong <cyd@gnu.org>
5192 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5193 instead of set-mark (Bug#9810).
5195 2011-10-30 Chong Yidong <cyd@gnu.org>
5197 * window.el (split-window-below, split-window-right): Rename from
5198 split-window-above-each-other and split-window-side-by-side
5199 respectively. All callers changed.
5200 (split-window-sensibly, split-window-sensibly): Use them.
5201 (split-window-keep-point): Doc fix.
5203 * isearch.el: Add isearch-scroll property to split-window-below
5204 and split-window-right.
5206 * follow.el (follow-mode):
5207 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5208 * progmodes/ada-xref.el (ada-gdb-application):
5209 * emulation/vip.el (vip-buffer-in-two-windows):
5210 * image-dired.el (image-dired-dired-with-window-configuration):
5211 * dired-x.el (dired-do-find-marked-files):
5212 * dired.el (dired-pop-to-buffer):
5213 * bs.el (bs--show-with-configuration):
5214 * vc/emerge.el (emerge-setup-windows):
5215 * textmodes/two-column.el (2C-two-columns):
5216 * textmodes/reftex-toc.el (reftex-toc):
5217 * progmodes/gdb-mi.el (gdb-setup-windows):
5218 * progmodes/fortran.el (fortran-window-create):
5219 * net/newst-treeview.el (newsticker--treeview-window-init):
5220 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5221 * emulation/tpu-edt.el (tpu-gold-map):
5222 * emulation/crisp.el (crisp-mode-map):
5223 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5225 2011-10-29 Chong Yidong <cyd@gnu.org>
5227 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5229 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5231 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5232 forged Ispell output (Bug#7904).
5234 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5236 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5238 * doc-view.el: Avoid ugly errors about not finding nil.
5239 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5240 (doc-view-dvipdf-program, doc-view-unoconv-program)
5241 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5242 Avoid nil or absolute file name as default value.
5243 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5245 2011-10-28 Alan Mackenzie <acm@muc.de>
5247 * progmodes/cc-defs.el (c-version): -> 5.32.2.
5249 2011-10-28 Alan Mackenzie <acm@muc.de>
5251 Amend the handling of c-beginning/end-of-defun in nested declaration
5254 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5255 cc-langs.el. Change it to a defcustom.
5257 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5260 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5261 Prevent "class foo : bar" being spuriously recognized as a label.
5263 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
5264 Add parameter `inclusive' (to include enclosing braces in the region).
5265 (c-widen-to-enclosing-decl-scope): New function.
5266 (c-while-widening-to-decl-block): New macro.
5267 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5268 outward for defun boundaries, and correspondingly change symbol
5269 `respect-enclosure' to `go-outward'.
5270 (c-declaration-limits): Change algorithm to report only the "innermost"
5273 2011-10-28 Deniz Dogan <deniz@dogan.se>
5275 * net/rcirc.el (rcirc-mode): Use hard newlines.
5277 2011-10-28 Alan Mackenzie <acm@muc.de>
5279 Amend to indent and fontify macros "which include their own semicolon"
5280 correctly, using the "virtual semicolon" mechanism.
5282 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
5284 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5285 Recode to scan one line at a time rather than having \n and \r
5286 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
5287 (c-forward-label): Amend for virtual semicolons.
5288 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
5290 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5291 of the new C macros.
5293 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
5294 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5295 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
5296 (c-opt-cpp-macro-define): Make into a full language variable.
5297 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5298 AWK Mode (including \n, \r) removed, no longer needed.
5300 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5301 Invoke c-make-macro-with-semi-re.
5303 * progmodes/cc-vars.el (c-macro-with-semi-re):
5304 (c-macro-names-with-semicolon): New variables.
5305 (c-make-macro-with-semi-re): New function.
5307 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5309 * vc/log-edit.el: Fill empty field rather than adding new one.
5310 (log-edit-add-field): New function.
5311 (log-edit-insert-changelog): Use it.
5313 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5315 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5317 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5319 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5320 (gdb--check-interpreter): New function.
5323 2011-10-27 Glenn Morris <rgm@gnu.org>
5325 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5326 (least-positive-float, least-negative-float)
5327 (least-positive-normalized-float, least-negative-normalized-float)
5328 (float-epsilon, float-negative-epsilon):
5329 Remove unnecessary declarations.
5331 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5332 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5333 (least-positive-float, least-negative-float)
5334 (least-positive-normalized-float, least-negative-normalized-float)
5335 (float-epsilon, float-negative-epsilon): Add doc-strings,
5336 based on those in cl.texi.
5338 * files.el (set-visited-file-name): If the major-mode changed,
5339 reload the local variables. (Bug#9796)
5341 2011-10-27 Chong Yidong <cyd@gnu.org>
5343 * subr.el (change-major-mode-after-body-hook): New hook.
5344 (run-mode-hooks): Run it.
5346 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5347 Use change-major-mode-before-body-hook.
5349 * simple.el (fundamental-mode):
5350 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5351 change introducing fundamental-mode-hook.
5353 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
5355 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5357 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
5359 * ido.el (ido-file-name-all-completions-1): Do not require
5360 tramp.el explicitly. (Bug#7583)
5362 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5364 * progmodes/octave-mod.el:
5365 * progmodes/octave-inf.el: Update maintainer.
5367 2011-10-26 Chong Yidong <cyd@gnu.org>
5369 * subr.el (with-wrapper-hook): Rewrite doc.
5371 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
5373 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
5374 filenames "/method:foo:". (Bug#9793)
5376 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5378 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5381 2011-10-24 Glenn Morris <rgm@gnu.org>
5383 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5385 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
5387 * notifications.el: Add the requirement of a running D-Bus session
5388 bus to the Commentary.
5390 2011-10-24 Juri Linkov <juri@jurta.org>
5392 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5393 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5396 2011-10-24 Juri Linkov <juri@jurta.org>
5398 * info.el (Info-following-node-name-re): Add newline to the list
5399 of allowed characters for leading space. (Bug#9824)
5401 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5403 * progmodes/octave-inf.el (inferior-octave-mode-map):
5404 Fix C-c C-h binding.
5405 * progmodes/octave-mod.el (octave-help): Remove.
5407 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
5409 Sync with Tramp 2.2.3.
5411 * net/tramp-cache.el (top): Pacify byte-compiler using
5412 `init-file-user' and `site-run-file'.
5414 * net/trampver.el: Update release number.
5416 2011-10-23 Chong Yidong <cyd@gnu.org>
5418 * files.el (toggle-read-only): Remove obsolete comment about
5421 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5422 for toggle-read-only. Note that this hasn't called vc-next-action
5423 since 2008-05-02, though it wasn't documented at the time.
5425 * vc/ediff-init.el (ediff-toggle-read-only-function):
5426 Use toggle-read-only.
5428 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5430 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5433 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5434 correct faulty logical expression.
5435 (c-parse-state-state, c-record-parse-state-state):
5436 (c-replay-parse-state-state): New defvar/defuns.
5437 (c-debug-parse-state): Use new functions.
5439 2011-10-22 Martin Rudalics <rudalics@gmx.at>
5441 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
5442 last fix. Use window-in-direction correctly.
5444 2011-10-21 Chong Yidong <cyd@gnu.org>
5446 * progmodes/idlwave.el (idlwave-mode):
5447 * progmodes/vera-mode.el (vera-mode): No need to set
5448 require-final-newline; that's done in prog-mode.
5449 Suggested by Stefan Monnier.
5451 2011-10-21 Martin Rudalics <rudalics@gmx.at>
5453 * mouse.el (mouse-drag-window-above)
5454 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5455 (mouse-drag-mode-line-1, mouse-drag-header-line)
5456 (mouse-drag-vertical-line-rightward-window): Remove.
5457 (mouse-drag-line): New function.
5458 (mouse-drag-mode-line, mouse-drag-header-line)
5459 (mouse-drag-vertical-line): Call mouse-drag-line.
5460 * window.el (window-at-side-p, windows-at-side): New functions.
5462 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
5464 * tar-mode.el (tar-grind-file-mode):
5465 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5467 2011-10-21 Chong Yidong <cyd@gnu.org>
5469 * progmodes/idlwave.el (idlwave-mode):
5470 * progmodes/vera-mode.el (vera-mode):
5471 Use mode-require-final-newline.
5473 2011-10-20 Glenn Morris <rgm@gnu.org>
5475 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
5477 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5479 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5481 2011-10-20 Chong Yidong <cyd@gnu.org>
5483 * emulation/cua-base.el (cua-mode):
5484 * mail/footnote.el (footnote-mode):
5485 * mail/mailabbrev.el (mail-abbrevs-mode):
5486 * net/xesam.el (xesam-minor-mode):
5487 * progmodes/bug-reference.el (bug-reference-mode):
5488 * progmodes/cap-words.el (capitalized-words-mode):
5489 * progmodes/compile.el (compilation-minor-mode)
5490 (compilation-shell-minor-mode):
5491 * progmodes/gud.el (gud-tooltip-mode):
5492 * progmodes/hideif.el (hide-ifdef-mode):
5493 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5494 * progmodes/subword.el (subword-mode):
5495 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5496 * progmodes/which-func.el (which-function-mode):
5497 * term/tvi970.el (tvi970-set-keypad-mode):
5498 * term/vt100.el (vt100-wide-mode):
5499 * textmodes/flyspell.el (flyspell-mode):
5500 * textmodes/ispell.el (ispell-minor-mode):
5501 * textmodes/nroff-mode.el (nroff-electric-mode):
5502 * textmodes/paragraphs.el (use-hard-newlines):
5503 * textmodes/refill.el (refill-mode):
5504 * textmodes/reftex.el (reftex-mode):
5505 * textmodes/rst.el (rst-minor-mode):
5506 * textmodes/sgml-mode.el (html-autoview-mode)
5507 (sgml-electric-tag-pair-mode):
5508 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5509 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5510 * emulation/crisp.el (crisp-mode):
5511 * emacs-lisp/eldoc.el (eldoc-mode):
5512 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5513 minor mode behavior.
5515 2011-10-19 Juri Linkov <juri@jurta.org>
5517 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5518 the list of hard-coded chars with escape-glyph face.
5520 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5522 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5524 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
5526 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5529 2011-10-19 Glenn Morris <rgm@gnu.org>
5531 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5532 Ignore ignored files. (Bug#9726)
5534 2011-10-19 Chong Yidong <cyd@gnu.org>
5536 Doc fix for minor modes, stating that an omitted argument enables
5537 the mode unconditionally when called from Lisp.
5539 * abbrev.el (abbrev-mode):
5540 * allout.el (allout-mode):
5541 * autoinsert.el (auto-insert-mode):
5542 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5543 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5544 (global-auto-revert-mode):
5545 * battery.el (display-battery-mode):
5546 * composite.el (global-auto-composition-mode)
5547 (auto-composition-mode):
5548 * delsel.el (delete-selection-mode):
5549 * desktop.el (desktop-save-mode):
5550 * dired-x.el (dired-omit-mode):
5551 * dirtrack.el (dirtrack-mode):
5552 * doc-view.el (doc-view-minor-mode):
5553 * double.el (double-mode):
5554 * electric.el (electric-indent-mode, electric-pair-mode):
5555 * emacs-lock.el (emacs-lock-mode):
5556 * epa-hook.el (auto-encryption-mode):
5557 * follow.el (follow-mode):
5558 * font-core.el (font-lock-mode):
5559 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5560 * help.el (temp-buffer-resize-mode):
5561 * hilit-chg.el (highlight-changes-mode)
5562 (highlight-changes-visible-mode):
5563 * hi-lock.el (hi-lock-mode):
5564 * hl-line.el (hl-line-mode, global-hl-line-mode):
5565 * icomplete.el (icomplete-mode):
5566 * ido.el (ido-everywhere):
5567 * image-file.el (auto-image-file-mode):
5568 * image-mode.el (image-minor-mode):
5569 * iswitchb.el (iswitchb-mode):
5570 * jka-cmpr-hook.el (auto-compression-mode):
5571 * linum.el (linum-mode):
5572 * longlines.el (longlines-mode):
5573 * master.el (master-mode):
5574 * mb-depth.el (minibuffer-depth-indicate-mode):
5575 * menu-bar.el (menu-bar-mode):
5576 * minibuf-eldef.el (minibuffer-electric-default-mode):
5577 * mouse-sel.el (mouse-sel-mode):
5578 * msb.el (msb-mode):
5579 * mwheel.el (mouse-wheel-mode):
5580 * outline.el (outline-minor-mode):
5581 * paren.el (show-paren-mode):
5582 * recentf.el (recentf-mode):
5583 * reveal.el (reveal-mode, global-reveal-mode):
5584 * rfn-eshadow.el (file-name-shadow-mode):
5585 * ruler-mode.el (ruler-mode):
5586 * savehist.el (savehist-mode):
5587 * scroll-all.el (scroll-all-mode):
5588 * scroll-bar.el (scroll-bar-mode):
5589 * server.el (server-mode):
5590 * shell.el (shell-dirtrack-mode):
5591 * simple.el (auto-fill-mode, transient-mark-mode)
5592 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5593 (line-number-mode, column-number-mode, size-indication-mode)
5594 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5595 * strokes.el (strokes-mode):
5596 * time.el (display-time-mode):
5597 * t-mouse.el (gpm-mouse-mode):
5598 * tool-bar.el (tool-bar-mode):
5599 * tooltip.el (tooltip-mode):
5600 * type-break.el (type-break-mode-line-message-mode)
5601 (type-break-query-mode):
5602 * view.el (view-mode):
5603 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5604 (global-whitespace-mode, global-whitespace-newline-mode):
5605 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5607 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5608 Fix autogenerated docstring.
5610 2011-10-19 Juri Linkov <juri@jurta.org>
5612 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5613 by checking environment variables "DESKTOP_SESSION" and
5614 "XDG_CURRENT_DESKTOP". (Bug#9779)
5616 2011-10-19 Juri Linkov <juri@jurta.org>
5618 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5619 (browse-url-chromium-program, browse-url-chromium-arguments):
5621 (browse-url-default-browser): Check for `browse-url-chromium' and
5622 call `browse-url-chromium-program'.
5623 (browse-url-chromium): New command. (Bug#9779)
5625 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
5627 * facemenu.el (list-colors-duplicates): On Windows, detect more
5628 duplicates by assuming that only colors matching "^System" are
5629 special "system colors". (Bug#9722)
5631 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5633 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5634 to distinguish the author from the committer.
5636 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
5638 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5640 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5642 * international/mule.el (sgml-html-meta-auto-coding-function):
5643 Add support for detecting encoding in HTML5 specified only as
5644 <meta charset="UTF-8">. Implementation just makes http-equiv and
5645 content-type parts from HTML4 encoding string optional. (Bug#9716)
5647 2011-10-18 Glenn Morris <rgm@gnu.org>
5649 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5651 2011-10-18 Chong Yidong <cyd@gnu.org>
5653 * faces.el (cursor): Doc fix.
5655 2011-10-17 Chong Yidong <cyd@gnu.org>
5657 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5659 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
5661 * dirtrack.el (dirtrack): Support shell buffers with path
5662 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5664 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5666 * json.el: Bump version to 1.3 and note change in History.
5667 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5669 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5671 * comint.el (comint-insert-input, comint-send-input)
5672 (comint-get-old-input-default, comint-backward-matching-input)
5673 (comint-next-prompt): Use nil instead of `input' for field property of
5674 past user input (bug#114).
5676 * minibuffer.el (completion--replace): Inherit surrounding properties
5678 (minibuffer-complete-and-exit): Use it.
5680 * comint.el (comint--table-subvert): Quote the all-completions output
5683 2011-10-17 Martin Rudalics <rudalics@gmx.at>
5685 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
5687 * menu-bar.el (menu-bar-file-menu): Add entry for making new
5688 window on right of selected. (Bug#9350) Reword other window
5689 entries and separate them from frame entries.
5691 2011-10-15 Glenn Morris <rgm@gnu.org>
5693 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5696 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
5698 * net/network-stream.el (network-stream-open-starttls):
5699 Improve detection of failure due to lack of TLS support.
5701 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5702 putting the input text in front and in bold.
5704 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5706 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5708 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5711 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5712 unread-command-events rather than pushing yet-another event.
5714 2011-10-14 Eli Zaretskii <eliz@gnu.org>
5716 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5717 the explanation of the possible choices. Make the options passed
5718 to completing-read shorter.
5720 2011-10-13 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
5722 * textmodes/flyspell.el (flyspell-large-region): Make sure
5723 extended character mode is used if defined (Bug#1339).
5725 2011-10-13 Eli Zaretskii <eliz@gnu.org>
5727 * simple.el (what-cursor-position): Fix the display of the
5728 character info for LRE, LRO, RLE, and RLO characters by appending
5731 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5733 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5734 even in case of error; add debug spec; simplify data flow.
5735 (with-timeout-handler): Remove.
5737 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
5739 Fix Bug#6019, Bug#9315.
5741 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5742 complete `buffer-file-name', the local file name part could look
5743 remotely (for example on VMS).
5745 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5746 `tramp-run-real-handler'.
5747 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5748 already quoted by '"'.
5750 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5751 Let `file-name-handler-alist' be nil, the local file name part
5752 could look remotely (for example on VMS).
5754 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5756 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5758 (flyspell-post-command-hook): ...to here.
5760 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5762 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5764 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5765 using completion. Protect against "slow" callers.
5766 Remove the "message hack".
5768 2011-10-11 Juri Linkov <juri@jurta.org>
5770 * isearch.el (isearch-lazy-highlight-word): New variable.
5771 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5774 2011-10-11 Glenn Morris <rgm@gnu.org>
5776 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5777 like f90-previous-statement does.
5779 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5781 * eshell/eshell.el (eshell-command): History should be saved
5782 only in interactive use, to avoid error.
5784 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5786 * minibuffer.el (completion-file-name-table): Fix last change,
5787 i.e. ignore normal errors but not the other ones.
5789 2011-10-10 Martin Rudalics <rudalics@gmx.at>
5791 * window.el (special-display-buffer-names)
5792 (special-display-regexps): Remove some remnants of earlier
5793 changes from doc-strings.
5794 (quit-windows-on): New function.
5796 * vc/vc.el (vc-revert, vc-rollback):
5797 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5798 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
5799 (Bug#6183) (Bug#7074) (Bug#7447)
5801 2011-10-09 Martin Rudalics <rudalics@gmx.at>
5803 * window.el (frame-auto-hide-function): Add version tag.
5806 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
5808 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5811 2011-10-09 Leo Liu <sdl.web@gmail.com>
5813 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5816 2011-10-08 Glenn Morris <rgm@gnu.org>
5818 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5819 before the first code statement zero indent. (Bug#9690)
5821 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
5823 * simple.el (count-words-region): Always count in the region.
5824 Report the number of lines and characters too.
5825 (count-words): New command, which counts in the buffer if the
5826 region is inactive, as count-words-region used to.
5827 (count-words--message): New function. Handle plurals.
5828 (count-lines-region): Make it an alias for count-words-region.
5830 * bindings.el (esc-map): Replace count-lines-region with
5833 2011-10-08 Martin Rudalics <rudalics@gmx.at>
5835 * window.el (window--delete): Delete dedicated frame
5836 unconditionally when argument KILL is non-nil. (Bug#9699)
5837 (switch-to-buffer): Fix doc-string typo.
5839 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5841 * eshell/eshell.el (eshell-command): Avoid using hooks.
5843 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
5845 * bindings.el ([M-left],[M-right]): Bind to left-word and
5846 right-word respectively.
5848 2011-10-07 Glenn Morris <rgm@gnu.org>
5850 * cus-start.el (debug-on-quit): Fix custom type.
5852 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5854 * subr.el (define-key-after): Clarify that the function is not
5855 useful for non-menu keymaps.
5857 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5859 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5861 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
5862 in current minibuffer (Fix bug with recursive minibuffers).
5864 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
5866 * progmodes/gdb-mi.el (gdb): Doc fix.
5868 2011-10-05 Martin Rudalics <rudalics@gmx.at>
5870 * window.el (frame-auto-hide-function): New option replacing
5871 frame-auto-delete. Suggested by Stefan Monnier.
5872 (window--delete): Call frame-auto-hide-function instead of
5873 investigating frame-auto-delete.
5874 (window-point-1, set-window-point-1): New functions.
5875 (window-in-direction, record-window-buffer, window-state-get-1)
5876 (display-buffer-record-window): Use window-point-1 instead of
5878 (set-window-buffer-start-and-point): Use set-window-point-1.
5880 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5882 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5884 2011-10-05 Glenn Morris <rgm@gnu.org>
5886 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5887 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5889 2011-10-05 Leo Liu <sdl.web@gmail.com>
5891 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5892 works with buffer object.
5894 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5896 * mpc.el (mpc-tool-bar-map): Add labels.
5898 2011-10-04 Glenn Morris <rgm@gnu.org>
5900 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5902 2011-10-04 Martin Rudalics <rudalics@gmx.at>
5904 * window.el (window--delete): New function.
5905 (frame-auto-delete): Resuscitate option.
5906 (bury-buffer, replace-buffer-in-windows)
5907 (quit-window): Rewrite using window--delete.
5908 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5909 Pass display-buffer-mark-dedicated to window--display-buffer-2
5912 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5914 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5915 returns a list (bug#9554). Add remote file name completion.
5916 * comint.el (comint--table-subvert): Curry and get quote&unquote
5917 functions as arguments.
5918 (comint--complete-file-name-data): Adjust call accordingly.
5919 * pcomplete.el (pcomplete--table-subvert): Remove.
5920 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5922 * minibuffer.el (completion-table-case-fold): Use currying.
5923 (completion--styles-type, completion--cycling-threshold-type):
5925 (completion-styles, completion-category-overrides)
5926 (completion-cycle-threshold): Use them.
5927 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5928 completion-table-case-fold.
5930 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
5932 * minibuffer.el (completion-category-overrides): Fix type of styles
5933 and add more user friendly tags (bug#9660).
5935 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5937 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5938 (mule-input-method-string): New widget.
5939 (default-input-method, language-info-custom-alist): Use it.
5941 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5943 * pcomplete.el: Require comint.
5944 (pcomplete--common-suffix): Remove.
5945 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5946 (pcomplete--table-subvert): Sync with comint--table-subvert.
5947 (pcomplete--entries): Use comint-completion-file-name-table.
5948 * comint.el (comint-unquote-filename): Simplify.
5949 (comint-completion-file-name-table): New function (bug#9616).
5950 (comint--complete-file-name-data): Use it.
5952 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5953 (pcmpl-gnu-tar-buffer): Remove.
5954 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
5955 around. Make sure pcomplete-suffix-list is only changed temporarily.
5956 Don't look inside the tar's file if it's too large.
5958 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
5960 * cus-edit.el (custom-mode-map):
5961 * epa.el (epa-key-list-mode-map):
5962 * man.el (Man-mode-map):
5963 * startup.el (splash-screen-keymap):
5964 * simple.el (special-mode-map): Use scroll-up-command and
5965 scroll-down-command.
5967 * progmodes/idlw-help.el (idlwave-help-mode-map):
5968 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5969 * net/newst-plainview.el (newsticker-mode-map):
5970 * emulation/ws-mode.el (wordstar-mode-map):
5971 * emulation/vi.el (vi-com-map):
5972 * calc/calc-graph.el (calc-graph-show-dumb):
5973 * term/sun.el (terminal-init-sun):
5974 * term/ns-win.el (global-map):
5975 * progmodes/grep.el (grep-mode-map):
5976 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5977 * mail/rmail.el (rmail-mode-map):
5978 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5980 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5981 custom-safe-themes as special.
5983 2011-10-01 Julien Danjou <julien@danjou.info>
5985 * notifications.el (notifications-notify): Fix docstring.
5987 2011-10-01 Per Starbäck <per@starback.se>
5989 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5991 2011-09-30 Martin Rudalics <rudalics@gmx.at>
5993 * startup.el (command-line-1): Fix last fix by inserting
5994 initial-scratch-message into *scratch* before displaying it.
5995 (Bug#9605) and (Bug#9636)
5997 2011-09-29 Eli Zaretskii <eliz@gnu.org>
5999 * simple.el (line-move): If auto-hscroll-mode is disabled and the
6000 window is hscrolled, move by logical lines. (Bug#9607)
6001 (line-move-visual): Update the doc string to the above effect.
6003 2011-09-29 Martin Rudalics <rudalics@gmx.at>
6005 * window.el (display-buffer-record-window): When WINDOW is the
6006 selected window use `point' instead of `window-point'. (Bug#9626)
6008 * startup.el (command-line-1): Use insert-before-markers when
6009 inserting initial-scratch-message. (Bug#9605)
6011 * help.el (help-window): Remove variable.
6013 2011-09-29 Glenn Morris <rgm@gnu.org>
6015 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6017 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
6019 * descr-text.el (describe-char-categories): Accept category
6020 descriptions more than one line long.
6022 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6024 * simple.el (delete-trailing-whitespace): Fix last change.
6026 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6027 Don't confuse "y => 3" as the beginning of a `y' operation.
6029 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6030 object has more than 4 slots (bug#9613).
6032 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
6034 * subr.el (with-output-to-temp-buffer):
6035 * net/quickurl.el (quickurl, quickurl-browse-url):
6036 Fix typos in docstrings.
6038 2011-09-27 Eli Zaretskii <eliz@gnu.org>
6040 * minibuffer.el (completion-styles)
6041 (completion-category-overrides): Cross reference each other in doc
6044 2011-09-27 Glenn Morris <rgm@gnu.org>
6046 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6047 to split-string. (Bug#9606)
6049 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6051 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6054 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
6056 * emacs-lisp/package.el (list-packages): Fix echo area message.
6058 2011-09-27 Leo Liu <sdl.web@gmail.com>
6060 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6062 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
6064 * net/dbus.el (dbus-unregister-object): Don't release services for
6065 registered signals. (Bug#9581)
6067 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6069 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6070 function that picks between cfengine 2 and 3 support
6071 automatically. Update docs accordingly.
6073 2011-09-22 Kenichi Handa <handa@m17n.org>
6075 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6077 (indian-itrans-v5-table-for-tamil): New variable.
6078 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6080 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6082 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6083 that's true if the current command involved collapsing of text.
6084 It's reset to false at the beginning of the next command.
6085 (allout-post-command-business): Move the cursor to the beginning
6086 of entry if the cursor is hidden and collapsing activity just
6089 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
6091 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6092 tracking (Bug#9541).
6094 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
6096 * net/newst-reader.el (newsticker-html-renderer)
6097 (newsticker-show-news): Automatically load html rendering package
6098 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6099 because w3m-fill-column is let-bound" and the error "Symbol's value
6100 as variable is void: w3m-fill-column".
6102 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
6104 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6105 Release services only if they are defined. (Bug#9581)
6107 2011-09-23 Richard Stallman <rms@gnu.org>
6109 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6110 distinguish start of paragraph from start of its text.
6112 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6114 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6115 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6116 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6118 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6120 * international/mule-diag.el (mule-diag): Insert a newline after
6121 each fontset description.
6123 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6125 * simple.el (delete-trailing-whitespace):
6126 Document last change; simplify.
6128 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6130 * simple.el (delete-trailing-whitespace): Also delete
6131 extra newlines at the end of the buffer.
6133 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6134 (picture-newline): Use forward-line so as to ignore fields.
6136 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6138 * subr.el (with-wrapper-hook): Fix edebug spec.
6140 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6142 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6145 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
6147 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6148 Fix nasty bug using wrong cached values.
6150 2011-09-23 Alan Mackenzie <acm@muc.de>
6152 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6154 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
6156 * window.el (pop-to-buffer): Ensure right window is selected if we
6157 chose another frame.
6159 2011-09-22 Eli Zaretskii <eliz@gnu.org>
6161 * simple.el (what-cursor-position): Use get-char-property-change
6162 and next-single-char-property-change, to be able to show display
6163 properties that come from overlays as well as text properties.
6165 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
6167 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6169 * cmuscheme.el (run-scheme, switch-to-scheme):
6170 * cus-edit.el (customize-group, custom-buffer-create)
6174 * mail/sendmail.el (mail):
6175 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6177 2011-09-22 Richard Stallman <rms@gnu.org>
6179 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6180 move back only to line beg, don't move back over blank lines.
6182 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
6184 * files.el (copy-directory): Set directory attributes only in case
6185 they could be retrieved from the source directory. (Bug#9565)
6187 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6189 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6190 (hs-find-block-beginning, hs-hide-level-recursive):
6191 Ignore strings as well as comments. (Bug#9502)
6193 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6195 * progmodes/sql.el (sql-comint-postgres):
6196 Convert port number to a string. (Bug#9566)
6198 2011-09-22 Martin Rudalics <rudalics@gmx.at>
6200 * window.el (quit-window): Undedicate window when switching to
6201 previous buffer. Reported by Thierry Volpiatto
6202 <thierry.volpiatto@gmail.com>.
6203 (special-display-popup-frame): When popping up a new frame reset
6204 its previous buffers to nil. Simplify code.
6206 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
6208 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6209 and process filter, as done also in `shell-command'.
6211 2011-09-21 Martin Rudalics <rudalics@gmx.at>
6213 * window.el (set-window-buffer-start-and-point):
6214 Call set-window-start with NOFORCE argument t.
6215 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
6216 (quit-window): Reword doc-string. Handle new format of
6217 quit-restore parameter. Don't delete window if it has a
6218 previous buffer we can show instead of the present one.
6219 (display-buffer-record-window): Rewrite using a new format for
6220 the quit-restore window parameter
6221 (special-display-popup-frame, display-buffer-same-window)
6222 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6223 (display-buffer-pop-up-window, display-buffer-use-some-window):
6224 Adapt symbol passed to display-buffer-record-window.
6225 * help.el (help-window-setup): Handle new format of quit-restore
6228 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6230 * faces.el (face-list): Fix docstring (bug#9564).
6232 * window.el (display-buffer--action-function-custom-type):
6233 Don't include internal functions in the Custom interface.
6235 2011-09-20 Juri Linkov <juri@jurta.org>
6237 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6238 (Info-forward-node, Info-backward-node, Info-next-preorder)
6239 (Info-last-preorder): Use it. (Bug#9528)
6241 2011-09-20 Juri Linkov <juri@jurta.org>
6243 * info.el (Info-last-preorder): Visit last menu item only when
6244 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6246 2011-09-20 Julien Danjou <julien@danjou.info>
6248 * password-cache.el (password-cache-remove): Remove entries even if the
6249 value is nil, so that password with a nil value (negative caching) is
6250 possible to invalidate.
6252 2011-09-20 Lawrence Mitchell <wence@gmx.li>
6254 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6255 all whitespace around breakpoint. (Bug#9553)
6256 (f90-find-breakpoint): Only break at whitespace inside a comment.
6258 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6260 * minibuffer.el (completion-file-name-table): Keep track of errors.
6261 (completion-table-with-predicate): Handle the case where pred1 is nil.
6262 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6264 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6266 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6267 (debugger-return-value): Signal an error if the debugging context does
6268 not await any return value.
6270 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6271 * image-mode.el (image-toggle-display-text)
6272 (image-toggle-display-image): Stay away from evil `intangible'.
6274 2011-09-19 Leo Liu <sdl.web@gmail.com>
6276 * replace.el (occur-revert-arguments): Make it permanent-local.
6277 (occur-mode): Don't call font-lock-defontify.
6279 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
6281 * net/ldap.el (ldap-search-internal): Don't push empty search
6284 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6286 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6288 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
6290 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6291 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6293 2011-09-18 Juri Linkov <juri@jurta.org>
6295 * buff-menu.el (Buffer-menu-mode-map):
6296 * dired.el (dired-mode-map):
6297 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6298 (lisp-interaction-mode-map):
6299 * emacs-lisp/package.el (package-menu-mode-map):
6300 * epa.el (epa-key-list-mode-map):
6301 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6302 (menu-bar-options-menu):
6303 * outline.el (outline-mode-menu-bar-map):
6304 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6305 * vc/vc-dir.el (vc-dir-menu-map):
6306 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6307 Capitalize non-function content words in menu item strings.
6309 * dired.el (dired-mode-map): Add menu item for
6310 `image-dired-dired-toggle-marked-thumbs'.
6312 2011-09-18 Juri Linkov <juri@jurta.org>
6314 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6315 to `isearch-case-fold-search' and restore its original value
6316 after the `isearch-mode' call.
6318 2011-09-18 Juri Linkov <juri@jurta.org>
6320 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6321 because `zgrep' returns 1 for successful matches (bug#9226).
6323 2011-09-18 Juri Linkov <juri@jurta.org>
6325 * info.el (Info-extract-menu-node-name): Check the second match
6326 for empty string (second test-case of bug#9528).
6327 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6328 intermediate nodes to the history (first test-case of bug#9528).
6330 2011-09-18 Juri Linkov <juri@jurta.org>
6332 * info.el (Info-mode-syntax-table): New variable.
6333 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
6335 2011-09-18 Juri Linkov <juri@jurta.org>
6337 * info.el (Info-file-supports-index-cookies):
6338 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6339 outputs one more line for long file names (bug#4142).
6341 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
6343 * newcomment.el (comment-normalize-vars): If prompting for
6344 comment-start, set comment-start-skip too (Bug#8424).
6346 2011-09-18 Johan Bockgård <bojohan@gnu.org>
6348 * icomplete.el: Fix previous fix of Bug#5849.
6349 (icomplete-mode): Don't set completion-show-inline-help.
6350 (icomplete-minibuffer-setup): Set completion-show-inline-help
6351 locally during icompletion.
6353 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
6355 * woman.el (woman2-process-escapes): Don't delete unrecognized
6358 * files.el (inhibit-first-line-modes-regexps): Add image files.
6359 (hack-local-variables-prop-line): Return nil for malformed
6360 prop-lines (Bug#9044).
6362 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
6364 * net/tramp.el (top): Don't require 'shell.
6365 (tramp-methods): Fix docstring.
6366 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
6367 Return complete remote file name. Handle "smb" case.
6368 Use `tramp-tmpdir', if defined for the respective method.
6369 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6371 * net/tramp-compat.el (top): Require 'shell.
6373 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6374 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6375 `tramp-current-host'.
6376 (tramp-get-remote-tmpdir): Remove.
6378 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6379 `tramp-tmpdir' entries.
6380 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6381 (tramp-smb-handle-file-attributes): Ignore errors.
6382 (tramp-smb-wait-for-output): Check also for process end.
6384 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6386 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6387 when sending QUIT (bug#9312).
6389 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
6391 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6392 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6393 occur-mode-display-occurrence.
6394 (occur-edit-mode): Add usage message.
6395 (occur-cease-edit): New command.
6396 (occur-after-change-function): Use text properties to find the
6397 position of the prefix text.
6398 (occur-engine): Set stickiness of prefix text properties.
6400 2011-09-17 Glenn Morris <rgm@gnu.org>
6402 * progmodes/etags.el (complete-tag):
6403 Fix call to completion-in-region. (Bug#9526)
6405 2011-09-17 Juri Linkov <juri@jurta.org>
6407 * textmodes/ispell.el (ispell-word): Add to the error message
6408 the word, ispell program name and current dictionary (bug#9121).
6409 (ispell-tex-arg-end): Capitalize "error" in the error message.
6411 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6413 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6416 2011-09-17 Juri Linkov <juri@jurta.org>
6418 * window.el (window-safe-min-height, window-safe-min-width):
6419 Fix typos (followup to bug#9522).
6421 2011-09-17 Sven Joachim <svenjoac@gmx.de>
6423 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6425 2011-09-16 Eli Zaretskii <eliz@gnu.org>
6427 * simple.el (line-move): If goal-column is set, move by logical
6428 lines, not by display lines. (Bug#971)
6429 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6430 to reflect the above change.
6432 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6434 * image.el (imagemagick-register-types): Use regexp-opt.
6436 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
6438 * window.el (display-buffer-base-action): Rename from
6439 display-buffer-default-action. Make default value empty.
6440 (display-buffer-overriding-action): Convert to defvar.
6441 (display-buffer-fallback-action): New var.
6443 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
6445 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6447 (package--add-to-archive-contents): If there is a duplicate entry
6448 with an older version, remove it.
6449 (package-menu-mark-delete, package-menu-mark-install)
6450 (package-menu-mark-unmark): Make unused args optional.
6451 (package-menu-mark-obsolete-for-deletion):
6452 Use package-menu-get-status instead of a regexp search.
6453 (package-menu-get-status): Use tabulated-list-entry.
6454 (package-menu-mark-upgrades): New command.
6455 (package-menu-mode-map): Bind it to U. Add it to menu bar.
6456 (package-menu-execute): Do installation before deletion.
6457 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6458 instead of checking major-mode.
6459 (package-menu--find-upgrades): New function.
6461 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6463 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6464 passwords in the log buffer.
6465 (smtpmail-process-filter): Update the process marker so that the
6466 "broken by peer" status message is inserted in the right place.
6468 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6470 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6471 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6472 bibtex-completion-at-point-function.
6473 (bibtex-completion-at-point-function): Use them.
6475 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6477 * mpc.el (mpc-constraints-tag-lookup): New function.
6478 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6479 also to browser "album|playlist".
6481 2011-09-14 Juri Linkov <juri@jurta.org>
6483 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6484 (isearch-edit-string): Use length of `isearch-string' when
6485 `isearch-fail-pos' returns nil.
6486 (isearch-message): Remove duplicate code and call
6487 `isearch-fail-pos' with arg `t'.
6489 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
6491 * replace.el (occur-mode-goto-occurrence): Don't force using other
6494 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6496 2011-09-14 Martin Rudalics <rudalics@gmx.at>
6498 * window.el (display-buffer-window): Remove.
6499 (display-buffer-record-window): Use help-setup window parameter
6500 instead of variable display-buffer-window.
6501 (display-buffer-function, special-display-buffer-names)
6502 (special-display-function): Mention help-setup parameter instead
6503 of display-buffer-window in doc-string.
6504 * help.el (help-window-setup): New argument help-window.
6505 Use help-window-setup parameter instead of display-buffer-window.
6506 Reword some messages.
6507 (with-help-window): Pass window used for displaying the buffer
6508 to help-window-setup. Don't set display-buffer-window.
6510 2011-09-13 Glenn Morris <rgm@gnu.org>
6512 * emacs-lisp/debug.el (debugger-make-xrefs):
6513 Preserve point. (Bug#9462)
6515 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6517 * window.el (window-deletable-p): Use next-frame.
6519 2011-09-13 Martin Rudalics <rudalics@gmx.at>
6521 * window.el (window-auto-delete): Remove.
6522 (window-deletable-p): Remove argument FORCE. Don't deal with
6523 dedication and previous buffers.
6524 (switch-to-prev-buffer): Don't delete window.
6525 (delete-windows-on): Delete a window's frame if and only if the
6526 window is dedicated.
6527 (replace-buffer-in-windows): Delete buffer's window or frame if
6528 and only if window is dedicated.
6529 (quit-window): Handle quit-restore as before last change.
6530 (bury-buffer): Delete window only if window-deletable-p returns t.
6532 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
6534 * window.el (window-deletable-p): Never delete the last frame on a
6537 2011-09-13 Glenn Morris <rgm@gnu.org>
6539 * help.el (describe-key-briefly): Copy previous standard-output change.
6541 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
6543 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6545 2011-09-13 Glenn Morris <rgm@gnu.org>
6547 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6548 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6550 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
6552 * dired-aux.el (dired-mark-read-string): Don't return default
6553 value on empty input (Bug#9361).
6554 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6555 Omit initial minibuffer contents.
6556 (dired-do-chmod): Signal an error on empty input.
6557 (dired-mark-read-string): Don't return default on empty input.
6559 * files.el (file-modes-symbolic-to-number): Doc fix.
6561 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6563 * international/mule-cmds.el (ucs-completions): Remove.
6564 (read-char-by-name): Use complete-with-action instead; add metadata.
6566 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6568 * window.el (display-buffer--action-function-custom-type)
6569 (display-buffer--action-custom-type): New vars.
6570 (display-buffer-alist, display-buffer-default-action)
6571 (display-buffer-overriding-action): Add defcustom types.
6573 * frame.el (delete-other-frames): Doc fix (Bug#276).
6575 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6577 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6579 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
6581 Change modes that used same-window-* vars to use switch-to-buffer.
6583 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6584 Use switch-to-buffer.
6586 * cus-edit.el (customize-group, custom-buffer-create)
6587 (customize-browse, custom-buffer-create-other-window):
6588 Use switch-to-buffer or switch-to-buffer-other-window.
6590 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6591 (Info-prev, Info-up, Info-speedbar-goto-node)
6592 (info-display-manual): Use switch-to-buffer.
6593 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6595 * mail/sendmail.el (mail): Use switch-to-buffer.
6596 (mail-recover): Use switch-to-buffer-other-window.
6598 * cmuscheme.el (run-scheme, switch-to-scheme):
6601 * net/rlogin.el (rlogin):
6602 * net/telnet.el (telnet, rsh):
6603 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6605 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6607 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6609 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6611 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6612 so don't mention it (bug#9301).
6613 (dired-sort-toggle-or-edit): Clarify string further.
6615 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6616 match `x', `w32' and `ns', like the manual says (bug#9029).
6618 * subr.el (eval-after-load): Doc string clarification (bug#9125).
6619 (process-kill-buffer-query-function): Mention the buffer name in
6622 * image-mode.el (image-next-line): The line parameter is mandatory
6625 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6626 which can be useful (bug#9301).
6628 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6630 * subr.el (match-string): Mention that the current buffer should
6631 be the same as the search was done in (bug#9282).
6633 * facemenu.el: Disable the remove-* commands if the mark isn't
6636 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6638 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6640 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6642 * replace.el (occur-mode-goto-occurrence)
6643 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6646 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6649 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6650 special-display and same-window variables.
6651 (mail-other-window): Use switch-to-buffer-other-window.
6652 (mail-other-frame): USe switch-to-buffer-other-frame.
6654 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6655 Use display-buffer-other-frame.
6656 (gdb-display-gdb-buffer): Use pop-to-buffer.
6658 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6660 * progmodes/python.el: Don't set same-window-buffer-names.
6662 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6664 * window.el (display-buffer-alist): Add *Python*.
6666 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
6668 * window.el (display-buffer-alist): Add entry for buffers
6669 previously handled same-window-*.
6670 (display-buffer-alist, display-buffer-default-action)
6671 (display-buffer-overriding-action): Mark as risky.
6672 (display-buffer-alist): Document action function changes.
6673 (display-buffer--same-window-action)
6674 (display-buffer--other-frame-action): New variables.
6675 (switch-to-buffer, display-buffer-other-frame): Use them.
6676 (display-buffer): Rename reuse-frame entry to reusable-frames.
6677 (display-buffer-reuse-selected-window): Function deleted.
6678 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6679 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6680 (display-buffer-special): New function.
6681 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6682 display-buffer-reuse-or-pop-window. Split off special-display
6683 part into display-buffer-special.
6684 (display-buffer-use-some-window): Don't perform any special
6685 pop-up-frames handling.
6686 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
6687 (display-buffer--maybe-same-window): Rename from
6688 display-buffer-maybe-same-window.
6690 * info.el: Don't set same-window-regexps.
6691 (info-setup): New function.
6692 (info-other-window, info): Call it.
6694 * cus-edit.el: Don't set same-window-regexps.
6695 (customize-group): New argument.
6696 (customize-group-other-window): Use it.
6697 (customize-face, customize-face-other-window): Likewise.
6698 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6702 * progmodes/gud.el: Don't set same-window-regexps.
6708 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6710 2011-09-10 Juri Linkov <juri@jurta.org>
6712 * isearch.el (isearch-edit-string): Remove obsolete mention of
6713 `C-w' (`isearch-yank-word-or-char') from docstring.
6714 (isearch-query-replace): Fix typo in docstring (bug#9466).
6716 2011-09-10 Juri Linkov <juri@jurta.org>
6718 * paren.el (show-paren-function): Don't show escaped parens.
6719 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6721 2011-09-10 Eli Zaretskii <eliz@gnu.org>
6723 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6724 (mm-default-file-encoding): Remove autoload forms, they are
6725 replaced with autoload cookies in mml.el and mm-encode.el.
6726 (mail-add-attachment): New command.
6727 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6728 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6730 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6732 2011-09-10 Reuben Thomas <rrt@sc3d.org>
6734 * simple.el (count-words-region): Use buffer if there's no region
6737 2011-09-09 Juri Linkov <juri@jurta.org>
6739 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6740 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6741 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6743 2011-09-09 Alan Mackenzie <acm@muc.de>
6745 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6746 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6748 2011-09-09 Eli Zaretskii <eliz@gnu.org>
6750 Fix for Savannah bug#9392.
6751 * simple.el (mail-encode-mml): New defvar.
6753 * mail/rmail.el (mail-encode-mml): Add a defvar.
6754 (rmail-enable-mime-composing): Default to t.
6755 (rmail-forward): Use MIME method of forwarding only if both
6756 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6757 Set mail-encode-mml non-nil if the MIME method was used.
6759 * mail/sendmail.el (mml-to-mime): Add autoload form.
6760 (mail-encode-mml): Add a defvar.
6761 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6763 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6764 message through mml-to-mime, and reset mail-encode-mml to nil.
6766 2011-09-09 Glenn Morris <rgm@gnu.org>
6768 * woman.el (woman-if-body): When processing an .el block,
6769 do not delete the next .el block as well. (Bug#9447)
6770 (woman-special-characters): Add oq, cq, and hy characters.
6772 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6774 * window.el (window-deletable-p): Make sure window is live before
6775 invoking window-prev-buffers.
6777 2011-09-08 Leo Liu <sdl.web@gmail.com>
6779 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6781 2011-09-08 Juri Linkov <juri@jurta.org>
6783 * progmodes/compile.el (compilation-environment): Make it
6784 a defcustom (bug#8340).
6786 2011-09-08 Martin Rudalics <rudalics@gmx.at>
6788 * window.el (frame-auto-delete): Rename to window-auto-delete.
6789 Make it control auto-deletion of windows and/or frames.
6790 (window-deletable-p): New argument FORCE. Rewrite conditions
6791 for deleting window/frame. (Bug#9419)
6792 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6793 Rewrite handling of case when window/frame can be deleted.
6794 (delete-windows-on): Call window-deletable-p with new FORCE
6795 argument t. (Bug#9456)
6797 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
6799 * help-mode.el (help-mode): Restore autoload.
6801 2011-09-07 Juri Linkov <juri@jurta.org>
6803 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6804 `compilation-environment'. Set buffer-local
6805 `compilation-environment' to `thisenv' later after (funcall mode).
6808 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6809 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6810 instead of replacing its value. (Bug#8340)
6812 2011-09-07 Juri Linkov <juri@jurta.org>
6814 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6815 based on text properties put by `grep-filter' instead of matching
6817 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6818 to the value of `grep-error-screen-columns' (bug#9438).
6820 2011-09-07 Juri Linkov <juri@jurta.org>
6822 * simple.el (next-error-highlight, next-error-highlight-no-select):
6825 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6827 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6828 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6830 2011-09-07 Leo Liu <sdl.web@gmail.com>
6832 * net/rcirc.el (rcirc-mode): Conditionally initialize
6835 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6837 * emacs-lisp/find-func.el (find-function-C-source): Only set
6838 find-function-C-source-directory after checking that we found a source
6839 file there (bug#9440).
6841 2011-09-06 Alan Mackenzie <acm@muc.de>
6843 * isearch.el (isearch-other-meta-char): Wherever a key list is
6844 unread, "unread" the prefix arg, too. This fixes bug #8901.
6846 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6848 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6850 2011-09-05 Juri Linkov <juri@jurta.org>
6852 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6854 2011-09-05 Juri Linkov <juri@jurta.org>
6856 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6857 keeping point where processing of grep matches begins, and
6858 continue to delete remaining escape sequences from the same point.
6859 (grep-filter): Make leading zero optional in "0?1;31m" because
6860 git-grep emits "\033[1;31m" escape sequences unlike expected
6861 "\033[01;31m" as GNU Grep does (bug#9408).
6862 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6864 2011-09-05 Juri Linkov <juri@jurta.org>
6866 * subr.el (y-or-n-p): Capitalize "yes".
6868 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
6870 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6871 `tramp-cache-unload-hook' where appropriate.
6872 (tramp-methods): Rename `tramp-remote-sh' to
6873 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6874 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6876 * net/tramp-sh.el (top): Don't require 'shell.
6877 (tramp-methods): Add `tramp-remote-shell' and
6878 `tramp-remote-shell-args' entries.
6879 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6880 (tramp-sh-handle-shell-command): Remove.
6881 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6882 Use `tramp-remote-shell'.
6884 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
6886 * mail/sendmail.el (sendmail-query-once-function): Delete.
6887 (sendmail-query-once): Save directly to send-mail-function.
6888 Update message-send-mail-function too.
6890 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6892 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6894 * progmodes/python.el (python-mode-map): Use correct function to
6895 start python interpreter from menu-bar (as reported by Geert
6897 (inferior-python-mode-map): Fix typo.
6898 (python-shell-map): Remove.
6900 2011-09-03 Deniz Dogan <deniz@dogan.se>
6902 * net/rcirc.el (rcirc-print): Simplify code for
6903 rcirc-scroll-show-maximum-output. There is no need to walk
6904 through all windows to find the right one.
6906 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6908 * help.el (help-return-method): Doc fix.
6910 2011-09-03 Martin Rudalics <rudalics@gmx.at>
6912 * window.el (window-deletable-p): Don't return a non-nil value
6913 when there's a buffer that was shown in the window before.
6915 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6916 Set window's previous buffers to nil.
6918 2011-09-03 Eli Zaretskii <eliz@gnu.org>
6920 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6921 newline before and after the tag line, so it doesn't interfere
6922 with determining the paragraph direction of bidirectional text.
6924 2011-09-03 Leo Liu <sdl.web@gmail.com>
6926 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6928 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6930 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
6931 (pop-to-buffer): Change interactive spec. Pass second argument
6932 directly to display-buffer.
6933 (display-buffer): Fix interactive spec. Use functionp to
6934 distinguish between a function and a list of functions.
6936 * abbrev.el (edit-abbrevs):
6937 * arc-mode.el (archive-extract):
6938 * autoinsert.el (auto-insert):
6939 * bookmark.el (bookmark-bmenu-list):
6940 * files.el (find-file):
6941 * view.el (view-buffer):
6942 * progmodes/compile.el (compilation-goto-locus):
6943 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6945 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
6947 * window.el (display-buffer-alist): Doc fix.
6948 (display-buffer): Add docstring. Don't treat
6949 display-buffer-default specially.
6950 (display-buffer-reuse-selected-window)
6951 (display-buffer-same-window, display-buffer-maybe-same-window)
6952 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6953 (display-buffer-pop-up-window)
6954 (display-buffer-reuse-or-pop-window)
6955 (display-buffer-use-some-window): New functions.
6956 (display-buffer-default-action): Use them.
6957 (display-buffer-default): Delete.
6958 (pop-to-buffer-1): Fix choice of actions.
6960 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6962 * minibuffer.el (completion--insert-strings): Don't get confused by
6963 completion entries that end with an LF char.
6965 2011-09-01 Eli Zaretskii <eliz@gnu.org>
6967 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6969 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
6971 * window.el (display-buffer): Restore interactive spec.
6972 (display-buffer-same-window, display-buffer-other-window):
6974 (pop-to-buffer-1): New function. Use the above.
6975 (pop-to-buffer, pop-to-buffer-same-window): Use it.
6976 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
6978 * view.el (view-buffer-other-window, view-buffer-other-frame):
6979 Just use pop-to-buffer.
6981 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6983 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6985 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6987 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6989 2011-08-31 Richard Stallman <rms@gnu.org>
6991 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6992 of the separation of rmail-view-buffer from rmail-buffer.
6993 If you say no to "replace original", the decrypt is in the
6994 view buffer. If you say yes, the decrypt goes into the
6997 2011-08-31 Martin Rudalics <rudalics@gmx.at>
6999 * window.el (display-buffer-window): Rewrite doc-string.
7000 (display-buffer-record-window): New function.
7001 (display-buffer-macro-specifiers)
7002 (display-buffer-even-window-sizes, display-buffer-set-height)
7003 (display-buffer-set-width, display-buffer-in-window)
7004 (display-buffer-reuse-window, display-buffer-split-specifiers)
7005 (display-buffer-side-specifiers, display-buffer-split-window-1)
7006 (display-buffer-split-window, display-buffer-split-atom-window)
7007 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7008 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7009 (display-buffer-other-window-means-other-frame)
7010 (display-buffer-normalize-special)
7011 (display-buffer-normalize-default)
7012 (display-buffer-normalize-argument)
7013 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7014 (display-buffer-normalize-specifiers, display-buffer-frame)
7015 (display-buffer-same-window, display-buffer-same-frame)
7016 (display-buffer-other-window)
7017 (display-buffer-same-frame-other-window)
7018 (display-buffer-other-frame, pop-to-buffer-same-window)
7019 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7020 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7021 (switch-to-buffer-same-frame)
7022 (switch-to-buffer-other-window-same-frame)
7023 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7024 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7025 (display-buffer-alist-set): Remove.
7026 (display-buffer-function, special-display-buffer-names)
7027 (special-display-regexps, special-display-function):
7028 In doc-string refer to display-buffer-window and quit-restore
7030 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7031 (special-display-frame-alist, special-display-popup-frame)
7032 (same-window-buffer-names, same-window-regexps, same-window-p)
7033 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7034 (split-window-preferred-function, split-height-threshold)
7035 (split-width-threshold, window-splittable-p)
7036 (split-window-sensibly, window--try-to-split-window)
7037 (window--frame-usable-p, even-window-heights)
7038 (window--even-window-heights, window--display-buffer-1)
7039 (window--display-buffer-2, display-buffer-other-frame):
7040 Restore old Emacs 23 code, order and doc-strings where applicable.
7041 (display-buffer-default, display-buffer-assq-regexp): New functions.
7042 (display-buffer-alist): Rewrite doc-string.
7043 (display-buffer-default-action)
7044 (display-buffer-overriding-action): New variables.
7045 (display-buffer, switch-to-buffer): Rewrite.
7046 (pop-to-buffer): Restore Emacs 23 behavior but use
7047 window-normalize-buffer-to-display.
7048 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7049 Restore Emacs 23 behavior but use
7050 window-normalize-buffer-to-switch-to.
7051 (pop-to-buffer-same-window): Rewrite.
7052 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7053 Rewrite using Emacs 23 options.
7055 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
7057 * net/tramp.el (tramp-root-regexp): Remove.
7058 (tramp-completion-file-name-regexp-unified)
7059 (tramp-completion-file-name-regexp-separate)
7060 (tramp-completion-file-name-regexp-url): Don't use leading volume
7061 letter on win32 systems. (Bug#5303, Bug#9311)
7062 (tramp-drop-volume-letter): Simplify definition.
7063 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
7065 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7067 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7070 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7072 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
7074 2011-08-29 Juri Linkov <juri@jurta.org>
7076 * isearch.el (isearch-done): Don't display message "Mark saved"
7077 when arg `edit' is non-nil to prevent its flicker in the echo area.
7079 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
7081 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7082 obsolete packages for deletion.
7084 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7086 * help-mode.el (help-mode-map): Add special-mode-map to parent.
7087 (help-mode): Derive help-mode from special-mode. Don't invoke
7088 view-mode from help-mode.
7089 (help-xref-override-view-map): Remove.
7090 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7091 view-mode is not used anymore.
7093 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
7095 * server.el (server-port): Doc fix.
7097 * cus-theme.el (custom-theme-choose-mode): Inherit from
7098 special-mode (Bug#9124).
7099 (custom-theme-choose-mode-map): Add special-mode to parent.
7101 2011-08-28 Alan Mackenzie <acm@muc.de>
7103 * progmodes/cc-fonts.el
7104 (c-make-font-lock-BO-decl-search-function): New function.
7105 (c-basic-matchers-after - "Fontify the clauses after various
7106 keywords"): Extract the three keyword lists for the 3 erroneous
7107 constructs from the list of four, and use the new function above
7108 in place of an old one.
7110 2011-08-28 Deniz Dogan <deniz@dogan.se>
7112 * net/rcirc.el (rcirc-insert-prev-input)
7113 (rcirc-insert-next-input): Remove unused argument.
7115 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7117 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7119 2011-08-27 Alan Mackenzie <acm@muc.de>
7121 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7122 handle function pointer parameters properly.
7124 2011-08-27 Martin Rudalics <rudalics@gmx.at>
7126 * window.el (display-buffer-reuse-window): Fix case where
7127 selected window was reused with non-nil OTHER-WINDOW argument.
7130 2011-08-27 Deniz Dogan <deniz@dogan.se>
7132 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7133 oftc's NickServ messages.
7135 2011-08-27 Glenn Morris <rgm@gnu.org>
7137 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7139 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
7141 * emacs-lisp/package.el (package-install): Call package-initialize
7142 if called interactively.
7144 2011-08-26 Leo Liu <sdl.web@gmail.com>
7146 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7148 2011-08-25 Juri Linkov <juri@jurta.org>
7150 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7151 `search-whitespace-regexp' (bug#9364).
7153 2011-08-25 Juri Linkov <juri@jurta.org>
7155 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7156 `regexp-search-ring' to their global values to protect from
7157 updating by `read-from-minibuffer' (bug#9185).
7159 2011-08-25 Juri Linkov <juri@jurta.org>
7161 * textmodes/ispell.el (ispell-command-loop): Add newline
7162 at the end of the "Use option `i'..." line.
7164 2011-08-25 Juri Linkov <juri@jurta.org>
7166 * battery.el (display-battery-mode): If `battery-status-function'
7167 or `battery-mode-line-format' is nil, display the message and set
7168 `display-battery-mode' to nil (bug#9363).
7170 2011-08-25 Eli Zaretskii <eliz@gnu.org>
7172 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7173 bidi-string-mark-left-to-right; they are unnecessary now.
7175 2011-08-25 Deniz Dogan <deniz@dogan.se>
7177 * net/quickurl.el: Documentation typo fixes.
7179 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
7181 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7183 2011-08-25 Glenn Morris <rgm@gnu.org>
7185 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7187 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7188 (smtpmail-via-smtp): Handle nil response from smtp.
7190 2011-08-24 Juri Linkov <juri@jurta.org>
7192 * proced.el (proced-marked): Inherit from `error' instead of
7193 `font-lock-warning-face'.
7195 * ibuffer.el (ibuffer-marked-face): Change default face from
7196 `font-lock-warning-face' to `warning'.
7197 (ibuffer-deletion-face): Change default face from
7198 `font-lock-type-face' to `error'.
7200 * battery.el (battery-update): Use the face `error' instead of
7201 `font-lock-warning-face' (bug#6117).
7203 2011-08-24 Juri Linkov <juri@jurta.org>
7205 * faces.el (success): Change face color from "Green3" to
7206 "ForestGreen" on light background (bug#9353).
7208 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
7210 * window.el (quit-window): Rename from quit-restore-window.
7211 Use same arglist as old quit-window.
7212 (frame-auto-delete): Doc fix.
7214 * view.el (view-mode-exit): Use quit-window.
7216 2011-08-24 Juri Linkov <juri@jurta.org>
7218 * isearch.el (isearch-ring-adjust1): Start visiting previous
7219 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7220 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7221 for empty search string (when the last search string is reused
7222 automatically) to adjust the isearch ring to the last element and
7223 prepare the correct index for further M-p commands (bug#9185).
7225 2011-08-24 Kenichi Handa <handa@m17n.org>
7227 * international/ucs-normalize.el: If decomposition property of
7228 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7230 (nfd, nfkd): Likewise.
7232 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7234 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7235 from process filters aren't reliably transmitted to the surrounding
7236 accept-process-output.
7237 (mpc-proc-check): New function.
7238 (mpc-proc-sync): Use it (bug#8293)
7240 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7242 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7243 Add compatibility functions (bug#9313).
7245 2011-08-23 Eli Zaretskii <eliz@gnu.org>
7247 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7249 * international/uni-bidi.el: Regenerate.
7251 2011-08-23 Kenichi Handa <handa@m17n.org>
7253 * international/charprop.el:
7254 * international/uni-bidi.el:
7255 * international/uni-category.el:
7256 * international/uni-combining.el:
7257 * international/uni-comment.el:
7258 * international/uni-decimal.el:
7259 * international/uni-decomposition.el:
7260 * international/uni-digit.el:
7261 * international/uni-lowercase.el:
7262 * international/uni-mirrored.el:
7263 * international/uni-name.el:
7264 * international/uni-numeric.el:
7265 * international/uni-old-name.el:
7266 * international/uni-titlecase.el:
7267 * international/uni-uppercase.el: Regenerate.
7269 2011-08-23 Martin Rudalics <rudalics@gmx.at>
7271 * help.el (help-window-setup): Fix message displayed when other
7272 window is reused. (Bug#9341)
7274 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7276 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7277 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7279 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7281 * shell.el (shell-parse-pcomplete-arguments): New function.
7282 (shell-completion-vars): Use it instead (bug#9160).
7284 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7286 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7287 strings and comments (bug#9333).
7289 * emacs-lisp/debug.el (debug-arglist): New function.
7290 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7291 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7293 2011-08-22 Juri Linkov <juri@jurta.org>
7295 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7296 Revert regexp that highlights output switches to its old
7297 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7299 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7300 to check for empty output (bug#9226).
7302 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
7304 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7305 symbol-constituent as the default, as that stops font-lock from
7306 working properly (Bug#8843).
7308 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7310 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7311 `coding-system-for-*' around the process open call to avoid
7312 auth-source side effects.
7313 (smtpmail-try-auth-methods): Expand the secret password.
7314 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7317 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
7319 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7321 * emacs-lisp/find-func.el (find-function-noselect): New arg
7324 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7325 signal an error for built-in functions (Bug#6664).
7327 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7329 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7330 (smtpmail-try-auth-methods): Use it.
7332 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
7334 * font-lock.el (font-lock-fontify-region)
7335 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7336 (font-lock-default-unfontify-buffer)
7337 (font-lock-default-fontify-region)
7338 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7340 * progmodes/compile.el (compilation-error-properties):
7341 Fix confusion between file struct and message struct (Bug#9319).
7342 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7345 * net/browse-url.el (browse-url-firefox): Don't call
7346 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7348 2011-08-20 Glenn Morris <rgm@gnu.org>
7350 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7352 * tutorial.el (tutorial--default-keys): Update some default bindings.
7354 * files.el (hack-local-variables): Fully ignore case for "mode:".
7356 2011-08-20 Alan Mackenzie <acm@muc.de>
7358 Resolve invalid use of a regexp in regexp-opt.
7360 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7361 detection for a java annotation.
7363 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
7364 detection for a java annotation.
7366 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7368 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7370 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
7372 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7375 2011-08-20 Alan Mackenzie <acm@muc.de>
7377 Fontify CPP expressions correctly when starting in the middle of
7378 such a construct. Mainly for when jit-lock etc. starts a chunk
7381 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
7383 (c-make-font-lock-search-form): New function, extracted from
7384 c-make-font-lock-search-function.
7385 (c-make-font-lock-search-function): Use the above function.
7386 (c-make-font-lock-context-search-function): New function.
7387 (c-cpp-matchers): Enhance the preprocessor expression case with
7389 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7390 which takes an expression.
7392 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7394 2011-08-20 Martin Rudalics <rudalics@gmx.at>
7396 * window.el (display-buffer-reuse-window)
7397 (display-buffer-pop-up-window): Don't reuse or split a side
7400 2011-08-19 Glenn Morris <rgm@gnu.org>
7402 * files.el (hack-local-variables-prop-line, hack-local-variables):
7403 Downcase "Mode:". (Bug#9331)
7405 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
7407 * international/characters.el: Add L and R categories.
7409 * subr.el (bidi-string-mark-left-to-right): Rename from
7410 string-mark-left-to-right. Use category search.
7412 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7414 2011-08-18 Juri Linkov <juri@jurta.org>
7416 * faces.el (error, warning, success): New faces with definitions
7417 copied from old default values of `font-lock-warning-face',
7418 `compilation-warning', `compilation-info' (bug#6117).
7420 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7422 * progmodes/compile.el (compilation-error): Inherit from `error'.
7423 (compilation-warning): Inherit from `warning'.
7424 (compilation-info): Inherit from `success'.
7426 * dired.el (dired-marked): Inherit from `warning'.
7427 (dired-flagged): Inherit from `error'.
7429 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7431 * mail/smtpmail.el (auth-source): Require to avoid problems with
7432 binding variables (bug#9298). Also clean up some unused
7435 * net/network-stream.el (network-stream-open-starttls):
7436 Support using starttls.el without using gnutls-cli.
7438 2011-08-17 Juri Linkov <juri@jurta.org>
7440 * progmodes/grep.el (rgrep): Handle the case when
7441 `grep-find-command' is a cons cell (bug#9278).
7443 2011-08-17 Martin Rudalics <rudalics@gmx.at>
7445 * window.el (display-buffer-pop-up-frame): Run frame creation
7446 function with BUFFER current (as special-display-popup-frame
7447 does). Reported by Drew Adams.
7449 2011-08-17 Daiki Ueno <ueno@unixuser.org>
7451 * epa-mail.el: Simplify GnuPG group expansion using
7453 (epa-mail-group-alist, epa-mail-group-modtime)
7454 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7455 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7456 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7459 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7461 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7463 2011-08-16 Alan Mackenzie <acm@muc.de>
7465 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7466 Correct, to avoid the inside of macros.
7468 2011-08-16 Richard Stallman <rms@gnu.org>
7470 * epa-mail.el: Handle GnuPG group definitions.
7471 (epa-mail-group-alist, epa-mail-group-modtime)
7472 (epa-mail-gnupg-conf-file): New variables.
7473 (epa-mail-parse-groups, epa-mail-sync-groups)
7474 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7475 (epa-mail-expand-recipients): New functions.
7476 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7478 * mail/rmail.el (rmail-epa-decrypt): New command.
7480 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7481 Don't bind buffer-read-only, just inhibit-read-only.
7482 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7483 (epa-decrypt-armor-in-region): Make error message clearer.
7485 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7487 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7488 and "a2b" to "ab" for `prefix'.
7490 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
7492 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7494 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7495 Fourquet (Bug#8804).
7497 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
7499 * startup.el (argi): Declare as global variable (bug#9275).
7501 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
7503 * subr.el (string-mark-left-to-right): Search the entire string
7504 for RTL script, not just the terminating character. Doc fix.
7506 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7508 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7510 (js--regexp-literal, js-syntax-propertize-function): Remove.
7511 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7512 (js-mode-map): Don't rebind electric keys.
7513 (js-insert-and-indent): Remove.
7514 (js-mode): Setup electric-layout and electric-indent instead.
7516 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7518 2011-08-12 Daiki Ueno <ueno@unixuser.org>
7520 * epa.el (epa-progress-callback-function): Fix the logic of
7521 displaying progress.
7522 * epa-file.el (epa-file-insert-file-contents): Make progress
7523 display more user-friendly.
7524 (epa-file-write-region): Ditto.
7526 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
7528 * subr.el (string-mark-left-to-right): New function.
7530 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7531 Use string-mark-left-to-right.
7532 (list-buffers-noselect): Caller changed.
7534 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7535 Use string-mark-left-to-right.
7536 (tabulated-list-print): Recenter after moving point.
7538 2011-08-10 Juri Linkov <juri@jurta.org>
7540 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7541 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7542 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7544 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
7546 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7549 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7551 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7552 character. (Bug#6594)
7554 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
7556 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7557 (image-dired--with-db-file): New macro.
7558 (image-dired-write-tags, image-dired-remove-tag)
7559 (image-dired-create-gallery-lists, image-dired-write-comments)
7560 (image-dired-get-comment, image-dired-mark-tagged-files)
7561 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7562 (image-dired-gallery-generate): Use insert-file-contents.
7564 * time.el (display-time-world-list, display-time-world-display):
7565 * time-stamp.el (time-stamp-string):
7566 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7567 set-time-zone-rule (Bug#7337).
7569 2011-08-08 Daiki Ueno <ueno@unixuser.org>
7571 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7572 (epg-error-to-string, epg-errors-to-string): New function.
7573 (epg-wait-for-completion): Reverse errors list.
7574 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7575 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7576 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7577 (epg-sign-keys, epg-generate-key-from-file)
7578 (epg-generate-key-from-string): Format errors by using
7579 epg-errors-to-string (bug#9255).
7580 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7582 2011-08-07 Juri Linkov <juri@jurta.org>
7584 * faces.el (list-faces-display): Remove extra angle bracket
7585 from `help-mode-map'.
7587 * info.el (Info-history-toc-nodes): Doc fix.
7589 * longlines.el (longlines-mode): Doc fix.
7591 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7593 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7594 of statements and in a few more cases (bug#9183).
7596 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7598 (cl-transform-lambda): Use them (bug#9239).
7600 2011-08-05 Martin Rudalics <rudalics@gmx.at>
7602 * window.el (display-buffer-same-window)
7603 (display-buffer-same-frame, display-buffer-other-window)
7604 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7605 (pop-to-buffer-other-window)
7606 (pop-to-buffer-same-frame-other-window)
7607 (pop-to-buffer-other-frame): Make them defuns.
7608 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7610 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7612 * subr.el (make-composed-keymap): Move from C. Change calling
7613 convention, and improve docstring to bring attention to a subtle point.
7614 * minibuffer.el (completing-read-default): Adjust accordingly.
7616 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
7618 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7619 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7621 * net/trampver.el: Update release number.
7623 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7625 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7628 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7630 * mail/sendmail.el (sendmail-query-once): Restore the current
7631 buffer after querying (bug#9074).
7633 * dired.el (dired-flagged): Use different faces for marked and
7634 flagged files (bug#6117).
7636 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7639 * ido.el (ido-mode): Switch off the message if called
7642 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7643 before 587, since it appears that that's more likely to work for
7646 * cus-edit.el (custom-file): When running under emacs -q, always
7647 refuse to save the customizations, even if the .emacs file doesn't
7650 * info.el: Remove the `Info-beginning-of-buffer' function
7653 * net/network-stream.el (network-stream-open-starttls):
7654 Use `starttls-available-p' to see whether starttls.el can be used.
7656 2011-08-01 Martin Rudalics <rudalics@gmx.at>
7658 * window.el (display-buffer-in-window): Don't set dedicated status
7659 of window here (Bug#9215).
7660 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7661 (display-buffer-pop-up-side-window)
7662 (display-buffer-in-side-window): Set dedicated status of window here.
7664 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7666 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7667 before binding generated-autoload-file.
7669 2011-08-01 Deniz Dogan <deniz@dogan.se>
7671 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7673 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
7675 Sync with Tramp 2.2.2.
7677 * net/trampver.el: Update release number.
7679 2011-07-30 Juri Linkov <juri@jurta.org>
7681 * dired-aux.el (dired-touch-initial): Remove function.
7682 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7683 current time, and `default' to the last modification time of the
7684 current marked file (bug#6887).
7686 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7688 * simple.el (goto-line): Use string-to-number to provide a
7689 numeric argument to read-number (bug#9163).
7691 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
7693 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7694 connection process, it could be nil.
7696 2011-07-27 Leo Liu <sdl.web@gmail.com>
7698 Simplify url handling in rcirc-mode.
7700 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7701 (rcirc-browse-url-at-mouse): Remove.
7702 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7704 2011-07-26 Alan Mackenzie <acm@muc.de>
7706 Fontify bitfield declarations properly.
7708 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7709 (c-symbol-chars): Now exported as a lang variable.
7710 (c-not-primitive-type-keywords): New lang variable.
7712 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7713 QT keyword "more" to prevent "more slots: ...." being spuriously
7714 parsed as a bitfield declaration.
7716 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7717 Refactor and enhance to handle bitfield declarations.
7718 (c-punctuation-in): New function.
7719 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7720 declarations properly.
7722 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
7724 * calendar/icalendar.el (icalendar--all-events): Take care of
7725 multiple vcalendars in a single file.
7726 (icalendar--convert-float-to-ical): Checkdoc fixes.
7728 2011-07-25 Deniz Dogan <deniz@dogan.se>
7730 * image.el (insert-image): Clarifying docstring.
7732 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
7734 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7735 `tramp-send-command-and-check' if there is no error.
7736 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7738 2011-07-22 Alan Mackenzie <acm@muc.de>
7740 Prevent cc-langs.elc being loaded at run time.
7742 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7745 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
7746 "(require 'cc-langs)". Quote a form so it will evaluate at
7747 (cc-mode's) compilation time.
7749 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
7751 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7754 2011-07-21 Martin Rudalics <rudalics@gmx.at>
7756 * window.el (display-buffer-pop-up-window)
7757 (display-buffer-pop-up-side-window)
7758 (display-buffer-in-side-window): Call display-buffer-set-height
7759 and display-buffer-set-width after setting the new window's
7760 buffer so `fit-window-to-buffer' and friends work on the right buffer.
7762 2011-07-20 Sam Steingold <sds@gnu.org>
7764 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7765 (etags-tags-included-tables): Call `convert-standard-filename' on
7766 the file names contained in TAGS so that windows Emacs can handle
7767 TAGS files created by cygwin ctags.
7769 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7771 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7772 which apparently didn't work.
7774 2011-07-19 Roland Winkler <winkler@gnu.org>
7776 * proced.el (proced-send-signal): For *Marked Processes* buffer
7777 put point at beginning of buffer.
7779 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
7781 * proced.el (proced-format): Make header lines align with the text
7784 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7786 * view.el (view-buffer): Allow running in `special' modes if we're
7787 visiting a file (bug#8615).
7789 2011-07-19 Martin Rudalics <rudalics@gmx.at>
7791 * window.el (display-buffer-alist-of-strings-p)
7792 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7794 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7797 2011-07-18 Alan Mackenzie <acm@muc.de>
7799 Fontify declarators properly when, e.g., a jit-lock chunk begins
7800 inside a declaration.
7802 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7804 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7806 (c-complex-decl-matchers): Insert reference to
7807 c-font-lock-enclosing-decls.
7809 * progmodes/cc-engine.el (c-backward-single-comment):
7810 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7811 to nil around calls to (forward-comment -1).
7813 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7815 * image.el (put-image): Doc typo fix.
7817 * progmodes/etags.el (tags-search): Doc typo fix.
7819 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7820 password if we get errors 550 to 554.
7822 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7824 * net/gnutls.el (gnutls-log-level): Remove.
7826 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7827 indentation character (bug#6380).
7829 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7831 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7832 to clarify what the problem is (bug#4291).
7834 * simple.el (current-kill): Clarify what
7835 `interprogram-paste-function' does (bug#7500).
7836 (auto-fill-mode): Document `auto-fill-function' in relation to
7837 `auto-fill-mode' (bug#2470).
7839 2011-07-16 Lawrence Mitchell <wence@gmx.li>
7841 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7842 method if slot is read-only (bug#9035).
7844 2011-07-16 Martin Rudalics <rudalics@gmx.at>
7846 * frame.el (select-frame-set-input-focus): New argument NORECORD.
7847 * window.el (pop-to-buffer): Select window used even if it was
7848 selected before, see discussion of (Bug#8615), (Bug#6954).
7849 Pass argument NORECORD on to select-frame-set-input-focus.
7851 2011-07-15 Glenn Morris <rgm@gnu.org>
7853 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
7856 2011-07-09 Lawrence Mitchell <wence@gmx.li>
7858 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7859 (gnutls-negotiate): Use it.
7861 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7863 * net/gnutls.el (gnutls-negotiate):
7864 Upcase `gnutls-algorithm-priority'.
7866 2011-07-15 Glenn Morris <rgm@gnu.org>
7868 * jka-compr.el (jka-compr-verbose): Move from here...
7869 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7870 Add missing :version tag.
7871 * info.el: No need to require jka-compr when compiling.
7873 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7875 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7876 (gnutls-negotiate): Use it.
7878 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7880 * info.el (Info-beginning-of-buffer): New command.
7881 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7882 announcing `b' as the key (bug#8325).
7883 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
7885 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7887 * international/mule-cmds.el
7888 (describe-specified-language-support): Make the error message
7891 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7893 * isearch.el (isearch-barrier): Add a doc string, since it's
7894 mentioned in a function doc string (bug#8678).
7896 2011-07-15 Martin Rudalics <rudalics@gmx.at>
7898 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7899 buffer argument (Bug#9083) and self-identifying label argument.
7901 2011-07-15 Glenn Morris <rgm@gnu.org>
7903 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7905 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7907 * man.el (Man-fontify-manpage): Fix message when formatting the
7908 man page (bug#7929).
7910 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7912 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7913 argument LRM; if non-nil, append an invisible LRM character to the
7915 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7916 last argument non-nil, when formatting buffer names.
7917 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7918 paragraph direction.
7920 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7922 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7923 the man page name (bug#7929).
7925 * image.el (put-image): Mention the `put-image' overlay property
7928 * scroll-bar.el (set-scroll-bar-mode): Mention that
7929 `scroll-bar-mode' lists the values (bug#7772).
7931 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7934 * rect.el (apply-on-rectangle): Return the point after the last
7936 (string-rectangle): Go to the point after the last operation
7939 * printing.el (pr-toggle-region): Clarify the documentation
7940 slightly (bug#7493).
7942 * time.el (display-time-update):
7943 Allow `display-time-mail-function' to return nil (bug#7158).
7944 Fix suggested by Detlev Zundel.
7946 * vc/diff.el (diff): Clarify the order the file names are read
7949 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7950 the doc string (bug#7015).
7952 * font-lock.el (font-lock-maximum-decoration): Mention what
7953 numeric levels mean (bug#6935).
7955 * startup.el (initial-buffer-choice): Don't mention the `none'
7956 selection, which is against policy.
7958 2011-07-14 Martin Rudalics <rudalics@gmx.at>
7960 * window.el (display-buffer-normalize-special):
7961 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
7963 2011-07-14 Eli Zaretskii <eliz@gnu.org>
7965 * subr.el (version<, version<=, version=): Mention "-CVS" and
7966 "-12345" alpha version numbers.
7968 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
7970 * bindings.el: Add advertised binding for set-mark-command
7973 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
7975 * bindings.el (mode-line-other-buffer):
7976 * bookmark.el (bookmark-bmenu-2-window):
7977 * bs.el (bs-cycle-next, bs-cycle-previous):
7978 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7981 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7984 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
7986 * follow.el (follow-debug-message, follow-redisplay):
7987 * jka-cmpr-hook.el (with-auto-compression-mode):
7988 Fix typos in docstrings.
7990 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7992 * subr.el (with-silent-modifications): Clarify somewhat what the
7993 macro inhibits (bug#6525).
7995 * simple.el (eval-expression): Note what it does if called
7996 interactively (bug#6495).
7998 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
8000 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8001 Use pop-to-buffer buffer-or-name if it is nil.
8003 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8004 Remove switch-to-buffer.
8006 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8008 * files.el (make-directory): Clarify that an error will be raised
8009 if there's an error (bug#6397).
8011 * startup.el (initial-buffer-choice): Add `none' as a choice
8014 * subr.el (add-hook): Clarify section about buffer-local hooks
8017 * dired.el (dired-flagged): Clarify doc string (bug#6117).
8019 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
8021 * tabify.el (untabify): Preserve the current column so that point
8022 doesn't move (bug#6032).
8024 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8026 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8027 Rewrite to avoid awkward possessive "s" (bug#5986).
8029 2011-07-13 Glenn Morris <rgm@gnu.org>
8031 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8032 (dired-insert-directory): Give a message the first time
8033 if ls is found not to support --dired.
8035 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8037 * simple.el (toggle-truncate-lines): Clarify what is toggled
8038 (bug#5580). Text by Drew Adams.
8040 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
8042 * simple.el (blink-matching-open): Make the error message from the
8043 last change less verbose.
8045 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8047 * font-lock.el (font-lock-comment-face): Use the high contrast
8048 "yellow" color for font-lock-comment-face on low color terminals
8049 using a dark background color (bug#4221).
8051 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8053 * dired.el (dired-insert-set-properties): Make the doc string
8054 reflect what it does now (bug#5325).
8056 * simple.el (blink-matching-open): Say that we were unable to find
8057 the match within the limit, if we're limited (bug#5122).
8059 * international/mule-cmds.el (prefer-coding-system): Add an
8062 * progmodes/etags.el (tags-search): Document `file-list-form'
8065 2011-07-13 Lawrence Mitchell <wence@gmx.li>
8067 * net/browse-url.el (browse-url-default-browser)
8068 (browse-url-browser-function): Make the default browser choice a
8069 bit more logical (bug#4300). Also clean up the doc string.
8071 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
8073 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8074 binary endings (bug#4440).
8076 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8078 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8079 which can be pretty annoying (bug#8971).
8081 * jka-compr.el (jka-compr-verbose): New variable, and use
8082 throughout (bug#8971).
8084 * info.el (Info-find-file): Fall back on the installation
8085 directory if we can't find the info node anywhere else.
8087 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8089 * vc/vc.el (vc-revert-file):
8090 Don't set file time-stamp in the past. (Bug#5181)
8092 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8094 * files.el (after-find-file): Give a better error message when
8095 trying to find a symlink that points to a file that doesn't exist
8098 * progmodes/cc-vars.el: Remove (probably) misleading comment
8101 2011-07-12 Johan Bockgård <bojohan@gnu.org>
8103 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8105 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
8107 * mouse-sel.el: Hack restoring functionality, while keeping
8108 compatibility with 2010-07-03 changes to mouse selection.
8109 (mouse-sel-primary-overlay): New var.
8110 (mouse-sel-selection-alist): Use it.
8111 (mouse-sel-mode): Doc fix; remove points that are default features
8114 2011-07-12 Johan Bockgård <bojohan@gnu.org>
8116 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8117 Fix previous fix (bug#2490).
8119 2011-07-12 Roland Winkler <winkler@gnu.org>
8121 * textmodes/bibtex.el (bibtex-initialize):
8122 Use pop-to-buffer-same-window.
8123 (bibtex-search-entries): Fix interactive call.
8125 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8127 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8128 Fontise bytecomp Error lines more correctly (bug#2490).
8129 Fix suggested by Johan Bockgård.
8131 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8133 * dired-x.el (dired-guess-default): Use `delete-dups'.
8135 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
8137 * dired.el (dired-mark-prompt):
8138 * dired-aux.el (dired-read-shell-command): Doc fix.
8140 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8142 * mail/sendmail.el (sendmail-query-once):
8143 Use `customize-save-variable' unconditionally, now that it works under
8146 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8148 * cus-edit.el (custom-file): Take an optional no-error variable.
8149 (customize-save-variable): Set the variable, and give a warning if
8150 running under "emacs -q".
8152 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
8154 * loadhist.el (unload-feature-special-hooks):
8155 Add `auto-coding-functions', `fill-nobreak-predicate' and
8156 `find-directory-functions' (bug#5327).
8158 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8160 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8162 * cus-edit.el (custom-guess-name-alist): -alist variables should
8163 use the `alist' type (bug#3120). Suggested by Drew Adams.
8165 * printing.el: Add documentation to all the `pr-toggle-' commands.
8167 2011-07-11 Leo Liu <sdl.web@gmail.com>
8169 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8170 backends where it makes sense (bug#2623).
8172 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8174 * dired-x.el (dired-guess-default): Remove duplicate shell command
8176 (dired-guess-default): Fix grammar in doc string (bug#2028).
8177 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
8179 * subr.el (remove-duplicates): New conveniency function.
8181 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8183 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8186 2011-07-10 Martin Rudalics <rudalics@gmx.at>
8188 * window.el (display-buffer-normalize-default): Don't invert
8189 meaning of even-window-heights. Reported by Eli Zaretskii
8192 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8194 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8196 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
8198 * window.el (display-buffer): Fix arguments to
8199 display-buffer-reuse-window in last change.
8201 * faces.el (link): Use a less saturated blue on light backgrounds.
8203 * startup.el (fancy-startup-text, fancy-about-text)
8204 (fancy-startup-tail): Use font-lock faces, for background safety.
8206 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8208 * emulation/viper-cmd.el (viper-change-state-to-vi):
8209 Limit triggering of abbrev expansion (Bug#9038).
8211 2011-07-09 Martin Rudalics <rudalics@gmx.at>
8213 * window.el (display-buffer-default-specifiers): Remove.
8214 (display-buffer-macro-specifiers): Remove default specifiers.
8215 (display-buffer-alist): Default to nil.
8216 (display-buffer-reuse-window): New optional argument other-window.
8217 (display-buffer-pop-up-window): Allow splitting internal
8218 windows. Check whether a live window was created.
8219 (display-buffer-other-window-means-other-frame)
8220 (display-buffer-normalize-arguments): Rename to
8221 display-buffer-normalize-argument and rewrite. Set the
8222 other-window specifier.
8223 (display-buffer-normalize-special): New function.
8224 (display-buffer-normalize-options): Rename to
8225 display-buffer-normalize-default and rewrite.
8226 (display-buffer-normalize-options-inhibit): Remove.
8227 (display-buffer-normalize-specifiers): Rewrite.
8228 (display-buffer): Process other-window specifier and call
8229 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8231 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
8232 (display-buffer-alist-set): Don't handle 'unset default values.
8233 (display-buffer-in-window, display-buffer-alist-set):
8234 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
8235 <tassilo@member.fsf.org>.
8237 2011-07-09 Leo Liu <sdl.web@gmail.com>
8239 * register.el (insert-register): Restore accidental change on
8240 2011-06-26. (Bug#9028)
8242 2011-07-09 Glenn Morris <rgm@gnu.org>
8244 * subr.el (remq): Handle the empty list. (Bug#9024)
8246 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8248 * mail/sendmail.el (send-mail-function): No longer delay custom
8250 * custom.el (custom-initialize-delay): Doc fix.
8252 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8254 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8256 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
8258 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8259 human-friendly prompt.
8261 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8263 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8264 provided by a particular plugin.
8266 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8268 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8269 save customizations (with "emacs -Q"), just set the variable
8270 instead of erroring out.
8272 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8274 2011-07-08 Juri Linkov <juri@jurta.org>
8276 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8277 (archive-zip-update-case): Use 7z if found by `executable-find'.
8278 The order of searching the available programs is the same as in
8279 `archive-zip-extract' (bug#8968).
8281 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8283 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8284 (menu-bar-options-menu): Tweak descriptions.
8286 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8288 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8289 menu items into verb phrases (bug#1421). Also refill to fit under
8292 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8294 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8295 (Info-read-node-name): Doc fix (Bug#1084).
8297 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8298 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8299 (end-of-sexp, beginning-of-sexp)
8300 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8301 (forward-symbol, forward-same-syntax, word-at-point)
8302 (sentence-at-point): Doc fix (Bug#1144).
8304 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8306 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8307 should cover it (bug#1281).
8309 * cus-edit.el (custom-show): Mark as obsolete.
8311 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
8312 negotiation fails, then possibly try again with a non-encrypted
8313 connection (bug#9017).
8315 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8318 2011-07-07 Richard Stallman <rms@gnu.org>
8320 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8321 property, and handle its changed format.
8322 Look for the correct line number.
8323 Use file's line contents (but not past first =) to find
8324 correct line in message.
8326 2011-07-07 Kenichi Handa <handa@m17n.org>
8328 * international/characters.el (build-unicode-category-table):
8330 (unicode-category-table): Set it by unicode-property-table-internal.
8332 * international/mule-cmds.el (char-code-property-alist): Move to
8334 (get-char-code-property): Call unicode-property-table-internal to
8335 load a file. Call get-unicode-property-internal where necessary.
8336 (put-char-code-property): Call unicode-property-table-internal to
8337 load a file. Call put-unicode-property-internal where necessary.
8338 put-unicode-property-internal where necessary.
8339 (char-code-property-description):
8340 Call unicode-property-table-internal to load a file.
8342 * international/charprop.el:
8343 * international/uni-bidi.el:
8344 * international/uni-category.el:
8345 * international/uni-combining.el:
8346 * international/uni-comment.el:
8347 * international/uni-decimal.el:
8348 * international/uni-decomposition.el:
8349 * international/uni-digit.el:
8350 * international/uni-lowercase.el:
8351 * international/uni-mirrored.el:
8352 * international/uni-name.el:
8353 * international/uni-numeric.el:
8354 * international/uni-old-name.el:
8355 * international/uni-titlecase.el:
8356 * international/uni-uppercase.el: Regenerate.
8358 * loadup.el: Load international/charprop.el before
8359 international/characters.
8361 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
8363 * window.el (next-buffer, previous-buffer): Signal an error if
8364 called from a minibuffer window.
8366 * bindings.el: Revert 2011-07-04 change.
8368 2011-07-06 Richard Stallman <rms@gnu.org>
8370 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8371 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8372 Treat markers like ints.
8373 (rmail-mime-entity): Doc fix.
8375 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8377 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8378 defcustom again for backwards compatibility.
8380 * simple.el (shell-command-on-region): Fill.
8382 * dired-aux.el (dired-kill-line): Add a doc string.
8384 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8385 to "\\sw\\|\\s_" (bug#358).
8387 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8388 (dired-unmark-backward): Ditto.
8389 (dired-flag-backup-files): Ditto.
8391 * dired-x.el (dired-mark-sexp): Ditto.
8393 2011-07-06 Richard Stallman <rms@gnu.org>
8395 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8396 (rmail-mime-entity): New arg TRUNCATED.
8397 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8399 (rmail-mime-save): Warn if entity is truncated.
8400 (rmail-mime-toggle-hidden): Likewise, for showing.
8401 (rmail-mime-process-multipart): Record when an entity is truncated.
8403 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8404 if ENTITY is a string.
8406 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8408 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
8409 of faces when `M-C-x'-ing their definitions (bug#8378).
8410 Also clean up the code slightly.
8412 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
8413 because that makes the colors go away.
8415 * mail/sendmail.el (send-mail-function): Change the default to
8416 `sendmail-query-once'.
8417 (sendmail-query-once): Add an autoload cookie.
8419 * net/network-stream.el (network-stream-open-starttls): Try using
8420 a plain connection even if the server offered STARTTLS, and we
8421 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8422 capability. This should make smtpmail.el work in slightly more
8425 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
8427 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8429 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8431 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8433 * progmodes/sql.el: Version 3.0
8434 (sql-product-alist): Add product :completion-object,
8435 :completion-column, and :statement attributes.
8436 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
8437 (sql-mode-syntax-table): Mark all punctuation.
8438 (sql-font-lock-keywords-builder): Temporarily remove fallback on
8440 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
8441 (sql-mode-oracle-font-lock-keywords): Improve.
8442 (sql-oracle-show-reserved-words): New function for development.
8443 (sql-product-font-lock): Simplify for source code buffers.
8444 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8446 (sql-highlight-product): Set product specific syntax table.
8447 (sql-mode-map): Add statement movement functions.
8448 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8450 (sql-statement-regexp, sql-beginning-of-statement)
8451 (sql-end-of-statement, sql-signum): New functions.
8452 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
8453 (sql-show-sqli-buffer): Bug fix.
8454 (sql-interactive-mode): Store connection data as buffer local.
8455 (sql-connect): Add NEW-NAME parameter. Redesign interaction
8456 with sql-interactive-mode.
8457 (sql-save-connection): Save buffer local settings.
8458 (sql-connection-menu-filter): Change menu entry name.
8459 (sql-product-interactive): Bug fix.
8460 (sql-preoutput-hold): New variable.
8461 (sql-interactive-remove-continuation-prompt): Bug fixes.
8462 (sql-debug-redirect): New variable.
8463 (sql-str-literal): New function.
8464 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
8466 (sql-oracle-save-settings, sql-oracle-restore-settings)
8467 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8468 (sql-completion-object, sql-completion-column)
8469 (sql-completion-sqlbuf): New variables.
8470 (sql-build-completions-1, sql-build-completions)
8471 (sql-try-completion): New functions.
8472 (sql-read-table-name): Use them.
8473 (sql-contains-names): New buffer local variable.
8474 (sql-list-all, sql-list-table): Use it.
8475 (sql-oracle-completion-types): New variable.
8476 (sql-oracle-completion-object, sql-sqlite-completion-object)
8477 (sql-postgres-completion-object): New functions.
8479 2011-07-06 Glenn Morris <rgm@gnu.org>
8481 * window.el (pop-to-buffer): Doc fix.
8483 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
8485 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8487 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
8489 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8491 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8493 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
8495 * button.el (button): Inherit from link face. Suggested by Dan
8498 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8500 * progmodes/gdb-mi.el: Fit in 80 columns.
8501 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8504 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8505 if imenu is simply not configured (bug#8941).
8507 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8509 * allout.el (allout-post-undo-hook): New allout outline-change
8510 event hook to signal undo activity.
8511 (allout-post-command-business): Run allout-post-undo-hook if an
8513 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8514 * allout-widgets.el (allout-widgets-after-undo-function):
8515 Ensure the integrity of the current item's decoration after it has been
8516 in the vicinity of an undo.
8517 (allout-widgets-mode): Include allout-widgets-after-undo-function
8518 on the new allout-post-undo-hook.
8520 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8522 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8523 Let define-derived-mode define it.
8524 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8525 cycles of abbrev-table inheritance (bug#8998).
8527 2011-07-05 Roland Winkler <winkler@gnu.org>
8529 * textmodes/bibtex.el: Add support for biblatex.
8530 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8531 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8532 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8533 (bibtex-entry-alist, bibtex-field-alist): New variables.
8534 (bibtex-entry-field-alist): Obsolete alias for
8535 bibtex-BibTeX-entry-alist.
8536 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8537 (bibtex-set-dialect): New command.
8538 (bibtex-entry-type, bibtex-entry-head)
8539 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8540 Bind via bibtex-set-dialect.
8541 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8542 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8543 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8544 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8545 Define via bibtex-set-dialect.
8546 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8547 Obey bibtex-no-opt-remove-re.
8548 (bibtex-vec-push, bibtex-vec-incr): New functions.
8549 (bibtex-format-entry, bibtex-field-list)
8550 (bibtex-print-help-message, bibtex-validate)
8551 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8553 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8555 * progmodes/compile.el (compilation-goto-locus):
8556 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8557 * bs.el (bs-cycle-next, bs-cycle-previous):
8558 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8559 * bindings.el (mode-line-other-buffer):
8560 * autoinsert.el (auto-insert):
8561 * arc-mode.el (archive-extract):
8562 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8564 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8566 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8567 Fix check of `emacs-lock-unlockable-modes'.
8568 Coerce true values of `emacs-lock--try-unlocking' to t.
8570 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8572 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8573 * emacs-lock.el: New file.
8575 2011-07-05 Julien Danjou <julien@danjou.info>
8577 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8578 than `boundp' to check if face is set.
8580 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
8582 * register.el (registerv-make):
8583 * window.el (window-min-height): Fix typos in docstrings.
8585 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8587 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8590 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8592 * server.el (server-execute): Catch quit and call
8593 `server-return-error' to pass the error back to emacsclient and
8594 close the connection (bug#8942).
8596 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8598 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8599 insecure exception for current topic. Also note that auto-saves
8600 are handled differently.
8602 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
8603 State variables for tracking auto-save inhibition situation.
8605 (allout-write-contents-hook-handler): Rename from
8606 'allout-write-file-hook-handler', and describe how it depends on
8607 write-contents-functions sensitivity to non-nil value to prevent
8610 (allout-auto-save-hook-handler): Remove. auto-save does not check
8611 this in individual buffers, only in the starting buffer, so this
8612 is not the right way for us to inhibit auto-save in a buffer
8613 according to its condition.
8615 (allout-mode): Use new allout-write-contents-hook-handler, and
8616 only with write-contents-functions. Remove auto-save provisions -
8617 they're implemented elsewhere.
8619 (allout-before-change-handler): If undo is in progress, note that
8620 for attention of allout-post-command-business.
8622 (allout-post-command-business): If the command we're following was
8623 an undo, check for change in the status of encrypted items and
8624 adjust auto-save inhibitions accordingly.
8626 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8627 according to whether there are or aren't any plain-text topics
8630 (allout-inhibit-auto-save-info-for-decryption):
8631 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8632 if there are plain-text topics pending encryption.
8634 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8635 buffer-saved-size and some allout state to not inhibit auto-saves
8636 if there are no longer any plain-text topics pending encryption.
8638 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8639 No longer provide for exemption of the current topic.
8641 2011-07-04 Juri Linkov <juri@jurta.org>
8643 Add 7z operations to delete and save changed members (bug#8968).
8644 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8646 (archive-7z-write-file-member): New function.
8647 (archive-7z-summarize): Fix the number of dashes in the
8650 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8652 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8655 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
8657 * bindings.el: Ignore next-buffer and previous-buffer in
8658 minibuffer-local-map.
8660 * font-lock.el (font-lock-builtin-face): Change light background
8661 color to dark slate blue (Bug#6693).
8663 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8665 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8667 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8669 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8670 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8671 Add switch-to-buffer.
8673 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8675 * isearch.el (isearch-search-fun-function): Clarify further the
8676 meaning of the function returned.
8678 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
8680 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8682 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8683 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8685 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8686 `tramp-default-remote-path' does not exist.
8687 (tramp-send-command-and-read): New optional argument NOERROR.
8688 (tramp-open-connection-setup-interactive-shell)
8689 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8690 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8691 (tramp-process-sentinel): Flush also process' connection property.
8692 (tramp-sh-handle-start-file-process): Do not set process
8693 sentinel. It is done now ...
8694 (tramp-maybe-open-connection): ... here. (Bug#8929)
8696 2011-07-04 MON KEY <monkey@sandpframing.com>
8698 * play/animate.el (animate-string): Doc fixes and allow changing
8699 the buffer name (bug#5417).
8701 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8703 * play/animate.el (animation-buffer-name): Rename from *animate*.
8705 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8707 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8708 This is simpler and helps future-proof the code.
8709 (timer-until): Use time-subtract and float-time.
8710 (timer--time-less-p): Use time-less-p.
8712 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
8714 * type-break.el (timep): Use the value of `float-time' to avoid a
8715 byte-compiler warning.
8717 * server.el (server-eval-and-print): Return any result, even nil.
8719 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8721 * type-break.el: Accept time formats that the builtins accept.
8722 (timep, type-break-time-difference): Accept any format that
8723 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8724 This is simpler and helps future-proof the code.
8725 (type-break-time-difference): Round rather than ignoring
8726 subseconds components.
8728 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8730 * info.el (Info-apropos-matches): Make non-interactive, since it
8731 doesn't seem to do anything useful as a command (bug#8829).
8733 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
8735 * frame.el (frame-background-mode, frame-set-background-mode):
8737 (frame-default-terminal-background): New function.
8739 * custom.el (custom-push-theme): Don't record faces in `changed'
8740 theme; this doesn't work correctly for per-frame face settings.
8741 (disable-theme): Use face-set-after-frame-default to reset faces.
8742 (custom--frame-color-default): New function.
8744 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8746 * dired.el (dired-flagging-regexp): Remove unused variable
8749 2011-03-29 Kevin Ryde <user42@zip.com.au>
8751 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8752 `perl-Test2' extend to match possible "fail #N" rep count
8755 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8757 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8758 `smtpmail-via-smtp' now returns the error instead of nil.
8760 * isearch.el (isearch-search-fun-function): Clarify the doc string
8763 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
8765 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8766 unnecessary spaces (bug#8987).
8768 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8770 * net/network-stream.el (open-network-stream): Use the
8771 :end-of-capability command thoughout.
8773 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8775 * net/network-stream.el (open-network-stream): Add the
8776 :end-of-capability command parameter, used by pop3.el.
8778 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8780 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8782 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8783 for list)" (bug#6475).
8785 * files.el (file-expand-wildcards): Ignore non-readable
8786 sub-directories while trying to find matches instead of signaling
8787 an error (bug#6297).
8789 * man.el (Man-reference-regexp): Allow matching possible
8790 word-wrapped references (bug#6289).
8792 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8793 for consistency with the other vc buffers (bug#6197).
8794 (vc-checkin): Ditto.
8796 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8798 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8800 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8802 * custom.el (defcustom): Clarify that :set is only used in the
8803 Customize user interface (bug#6089).
8805 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8806 associated with a file, refuse to run instead of erroring out
8809 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8810 the doc string, since it appears that using `fill-column' always
8811 controls the width (bug#7845).
8813 * simple.el (shell-command-on-region): Say where the error output
8814 went if `shell-command-default-error-buffer' is set (bug#6857).
8816 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8818 * allout.el (allout-yank-processing): Adjust cursor position for
8819 backwards-deleted space.
8821 (allout-rebullet-heading): Register changes with
8822 allout-exposure-changed-hook, so the modified topic is properly
8825 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8827 * minibuffer.el (completion-in-region): Document PREDICATE
8830 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8831 of keyword/argument pairs (bug#6904).
8833 * replace.el (multi-occur):
8834 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
8836 2011-07-02 Drew Adams <drew.adams@oracle.com>
8838 * dired.el (dired-mark-if): Make the message about whether it's
8839 marking or unmarking clearer (bug#8523).
8841 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8843 * disp-table.el (display-table-print-array): New function.
8844 (describe-display-table): Use it to print the vectors more pretty
8847 2011-07-02 Martin Rudalics <rudalics@gmx.at>
8849 * window.el (window-state-get-1): Don't assign clone numbers.
8850 Add clone-of item to list of window parameters.
8851 (window-state-put-2): Don't process clone numbers.
8852 (display-buffer-alist): Fix doc-string.
8854 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8856 * subr.el (remq): Don't allocate if it's not needed.
8857 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8858 (keymap--merge-bindings): New functions.
8859 (keymap-canonicalize): Use them to refine the canonicalization.
8860 * minibuffer.el (minibuffer-local-completion-map)
8861 (minibuffer-local-must-match-map): Move initialization from C.
8862 (minibuffer-local-filename-completion-map): Move initialization from C;
8863 don't inherit from anything here.
8864 (minibuffer-local-filename-must-match-map): Make obsolete.
8865 (completing-read-default): Use make-composed-keymap to combine
8866 minibuffer-local-filename-completion-map with either
8867 minibuffer-local-must-match-map or
8868 minibuffer-local-filename-completion-map.
8870 2011-07-01 Glenn Morris <rgm@gnu.org>
8872 * type-break.el (type-break-time-sum): Use dolist.
8874 * textmodes/flyspell.el (flyspell-word-search-backward):
8875 Replace CL function.
8877 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8879 * mouse.el (mouse--strip-first-event): New function.
8880 (function-key-map): Use it to map fringe clicks to normal clicks
8883 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8884 (vc-bzr-revision-completion-table): Add support for annotate and date.
8886 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8887 inherit from parent.
8889 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8891 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
8892 (dired-show-file-type): Doc fixup (bug#8818).
8894 * dired.el (dired-mode): Fix up the doc string as suggested by
8895 Drew Adams (bug#8817).
8897 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8898 cookie, since the manual says that it should be possible to add
8899 this function to `find-file-hook' (bug#8709).
8901 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8903 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8904 here. Noted Ted Zlatanov as the maintainer.
8905 (cfengine-common-settings, cfengine-common-syntax): New functions
8906 to set up common things between `cfengine-mode' and
8908 (cfengine3-mode): New mode.
8909 (cfengine3-defuns cfengine3-defuns-regex
8910 (cfengine3-class-selector-regex cfengine3-category-regex)
8911 (cfengine3-vartypes cfengine3-font-lock-keywords)
8912 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
8913 (cfengine3-indent-line): Add from cfengine3.el.
8915 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
8917 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8919 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8921 2011-07-01 Martin Rudalics <rudalics@gmx.at>
8923 * window.el (same-window-buffer-names, same-window-regexps)
8924 (same-window-p, special-display-frame-alist)
8925 (special-display-popup-frame, special-display-function)
8926 (special-display-buffer-names, special-display-regexps)
8927 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8928 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8929 (split-window-preferred-function, split-height-threshold)
8930 (split-width-threshold, even-window-heights)
8931 (display-buffer-mark-dedicated, window-splittable-p)
8932 (split-window-sensibly, window-safely-shrinkable-p):
8934 (display-buffer): Don't spread args with function specifier
8935 because special-display-popup-frame won't like it.
8937 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8939 Time-stamp simplifications and fixes.
8940 These improve accuracy slightly, and future-proof the code
8941 against some potential changes to current-time format.
8943 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8944 by using time-since and float-time.
8946 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8947 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8948 + NNN microseconds".
8950 * type-break.el (type-break-time-sum): Rewrite using time-add.
8952 * play/hanoi.el (hanoi-current-time-float): Remove.
8953 All uses replaced by float-time.
8955 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8956 This yields a more-accurate answer.
8957 (rng-time-to-float): Remove; no longer needed.
8959 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8961 * calendar/timeclock.el (timeclock-seconds-to-time):
8962 Defalias to seconds-to-time, since they're the same thing.
8964 * emacs-lisp/elp.el (elp-elapsed-time):
8965 * emacs-lisp/benchmark.el (benchmark-elapse):
8966 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8968 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8970 * window.el (bury-buffer): Don't iconify the only frame.
8971 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8972 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8974 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
8976 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8977 Add mouse-yank-primary.
8979 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8981 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8983 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8985 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8986 (find-library-name): Use it to find relative load names when provided
8987 absolute file name (bug#8803).
8989 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8991 * textmodes/flyspell.el (flyspell-word): Consider words that
8992 differ only in case as potential doublons (bug#5687).
8994 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8995 Remove two rather uninteresting debugging-like messages to make
8996 debbugs.el more silent.
8998 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8999 a password-like phrase.
9001 2011-06-30 Masatake YAMATO <yamato@redhat.com>
9003 * progmodes/cc-guess.el: New file.
9005 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
9007 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9008 derived from `c-basic-common-init'.
9010 * progmodes/cc-mode.el (top-level): Require cc-guess.
9011 (c-basic-common-init): Use `cc-choose-style-for-mode'.
9013 2011-06-30 Lawrence Mitchell <wence@gmx.li>
9015 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9017 2011-06-30 Alan Mackenzie <acm@muc.de>
9019 * progmodes/cc-engine.el (c-guess-continued-construct):
9020 Correct the handling of template-args-cont, particularly for when font
9021 lock is disabled. Name this case as "CASE G".
9023 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9025 * allout.el (allout-yank-processing): Fix injection of extra space
9026 between bullet and non-whitespace character in first topic when
9027 pasting, ensuring that the actual spacing in the pasted topic
9028 following the bullet char is preserved. This extra space was
9029 causing pasted encrypted topics to get a decrypted status even
9030 when the content was actually still encrypted. Now the decryption
9031 status from before the paste is preserved.
9033 (allout-flag-region): Set all allout overlays so they evaporate
9034 when reduced to zero length (evanescent), to prevent overlay
9037 2011-06-30 Glenn Morris <rgm@gnu.org>
9039 * w32-fns.el (w32-charset-info-alist): Declare.
9041 * find-dired.el (find-grep-options): Simplify.
9043 * term/ns-win.el (ns-set-resource): Declare.
9045 * ses.el (row, col): Declare dynamic variables honestly.
9047 * textmodes/reftex-parse.el (index-tags): Declare.
9049 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
9051 * cus-edit.el (customize-push-and-save): New function.
9053 * files.el (hack-local-variables-confirm): Use it.
9055 * custom.el (load-theme): New arg NO-CONFIRM.
9056 Use customize-push-and-save (Bug#8720).
9057 (custom-enabled-themes): Doc fix.
9059 * cus-theme.el (customize-create-theme)
9060 (custom-theme-merge-theme): Callers to load-theme changed.
9062 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9064 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9065 short URLs have at least one dot in them (bug #7614).
9067 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9068 nil, because using a pty is apparently too slow (bug #895).
9070 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9072 * mail/sendmail.el (sendmail-query-once): New function.
9073 (sendmail-query-once-function): New variable.
9075 2011-06-29 Glenn Morris <rgm@gnu.org>
9077 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9079 * ses.el (top-level): Require cl when compiling.
9080 (ses-set-localvars): Fix error statement.
9081 Call it at compile time to silence a storm of warnings.
9083 2011-06-29 Martin Rudalics <rudalics@gmx.at>
9085 * window.el (normalize-live-buffer): Rename to
9086 window-normalize-buffer.
9087 (normalize-live-frame): Rename to window-normalize-frame.
9088 (normalize-any-window): Rename to window-normalize-any-window.
9089 (normalize-live-window): Rename to window-normalize-live-window.
9090 (make-window-atom): Rename to window-make-atom.
9091 (window-resize-reset): Rename to window--resize-reset.
9092 (window-resize-reset-1): Rename to window--resize-reset-1.
9093 (resize-mini-window): Rename to window--resize-mini-window.
9094 (resize-subwindows-skip-p): Rename to
9095 window--resize-subwindows-skip-p.
9096 (resize-subwindows-normal): Rename to
9097 window--resize-subwindows-normal.
9098 (resize-subwindows): Rename to window--resize-subwindows.
9099 (resize-other-windows): Rename to window--resize-siblings.
9100 (resize-this-window): Rename to window--resize-this-window.
9101 (resize-root-window): Rename to window--resize-root-window.
9102 (resize-root-window-vertically): Rename to
9103 window--resize-root-window-vertically.
9104 (normalize-buffer-to-display): Rename to
9105 window-normalize-buffer-to-display.
9106 (normalize-buffer-to-switch-to): Rename to
9107 window-normalize-buffer-to-switch-to.
9108 Correspondingly update all callers of the functions listed
9110 (display-buffer-alist, display-buffer-normalize-arguments)
9111 (display-buffer-normalize-options, display-buffer)
9112 (display-buffer-alist-set): Use "function" instead of
9115 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
9117 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9118 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9119 debbugs.gnu.org. Mention acknowledgment email.
9121 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9123 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9124 buffer multibyteness, since it shouldn't matter.
9126 2011-06-28 Martin Rudalics <rudalics@gmx.at>
9128 * window.el (display-buffer-in-side-window): Handle dedicated
9129 windows as in display-buffer-reuse-window.
9130 (display-buffer-normalize-alist): Use value of override
9132 (display-buffer-normalize-specifiers): Use value of
9133 other-window-means-other-frame specifier.
9134 (display-buffer-alist): Rewrite some texts in widgets.
9135 (display-buffer): Spread arguments when calling function
9136 specified by fun-with-args.
9138 2011-06-28 Deniz Dogan <deniz@dogan.se>
9140 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9143 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9144 selectors (Bug#5732).
9145 (css-proprietary-nmstart-re): Use `regexp-opt'.
9147 2011-06-27 Jari Aalto <jari.aalto@cante.net>
9149 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9150 (eshell-ls-date-format): New defcustom.
9151 (eshell-ls-file): Use it.
9153 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9155 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9157 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9159 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9160 (ange-ftp-make-tmp-name): New arg.
9161 (ange-ftp-file-local-copy): Use it.
9163 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
9165 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9166 no-conversion (Bug#8870).
9168 2011-06-27 Martin Rudalics <rudalics@gmx.at>
9170 * window.el (window-right, window-left, window-child)
9171 (window-child-count, window-last-child)
9172 (window-iso-combination-p, walk-window-tree-1)
9173 (window-atom-check-1, window-tree-1, delete-window)
9174 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9175 new naming conventions - window-vchild, window-hchild,
9176 window-next and window-prev are now called window-top-child,
9177 window-left-child, window-next-sibling and window-prev-sibling
9179 (resize-window-reset): Rename to window-resize-reset.
9180 (resize-window-reset-1): Rename to window-resize-reset-1.
9181 (resize-window): Rename to window-resize.
9182 (window-min-height, window-min-width)
9183 (resize-mini-window, resize-this-window, resize-root-window)
9184 (resize-root-window-vertically, adjust-window-trailing-edge)
9185 (enlarge-window, shrink-window, maximize-window)
9186 (minimize-window, delete-window, quit-restore-window)
9187 (split-window, balance-windows, balance-windows-area-adjust)
9188 (balance-windows-area, window-state-put-2)
9189 (display-buffer-even-window-sizes, display-buffer-set-height)
9190 (display-buffer-set-width, set-window-text-height)
9191 (fit-window-to-buffer): Rename all "resize-window" prefixed
9192 calls to use the "window-resize" prefix convention.
9193 (display-buffer-alist): Fix symbol for label specifier.
9194 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9195 corresponding specifier.
9196 Reported by Juanma Barranquero <lekktu@gmail.com>.
9198 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9200 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9202 (ses-call-printer): Does not pass an empty string to formatter when the
9203 cell is empty to keep from barking printer Calc math-format-value.
9205 2011-06-27 Richard Stallman <rms@gnu.org>
9207 * battery.el (battery-mode-line-limit): New variable.
9208 (battery-update): Handle it.
9210 * mail/rmailmm.el (rmail-mime-process-multipart):
9211 Handle truncated messages.
9213 2011-06-27 Glenn Morris <rgm@gnu.org>
9215 * progmodes/flymake.el (flymake-err-line-patterns):
9216 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9218 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9220 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
9221 (ses--clean-!, ses--clean-_): New functions.
9222 (ses-range): Add configurability of readout order, and conversion
9225 * ses.el (ses-repair-cell-reference-all): New function.
9226 (ses-cell-symbol): Set macro as safe, so that it can be used in
9229 * ses.el: Update cycle detection algorithm.
9230 (ses-localvars): Add ses--Dijkstra-attempt-nb and
9231 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
9232 (ses-set-localvars): New function.
9233 (ses-make-cell): Add property-list as a cell element.
9234 (ses-cell-property-get-fun, ses-cell-property-get)
9235 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
9236 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9238 (ses-cell-property-set, ses-cell-property-pop)
9239 (ses-cell-property-get-handle): New macro.
9240 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9241 New aliases, used for code readability.
9242 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9244 (ses-self-reference-early-detection): New defcustom.
9245 (ses-formula-references): Robustify against self-referring cells.
9246 (ses-mode): Use ses-set-localvars.
9247 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9248 before lauching the update processing.
9249 (ses-initialize-Dijkstra-attempt): New function.
9250 (ses-recalculate-cell): Update for cycle detection based on
9253 * ses.el: Fix commenting and indenting convention.
9255 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9257 * bs.el (bs-cycle-next): Complete last change.
9259 2011-06-27 Drew Adams <drew.adams@oracle.com>
9261 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9263 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9265 * net/network-stream.el (network-stream-open-starttls):
9266 Don't re-get capabilities unless we've reestablished connection.
9267 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9269 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9270 to binary to possibly avoid line encoding issues on Windows (among
9273 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9275 * net/network-stream.el (open-network-stream): Return an :error
9276 saying what the problem was, if possible.
9278 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9281 * net/network-stream.el (network-stream-open-starttls): If we
9282 wanted to use STARTTLS, and the server offered it, but we weren't
9283 able to because we had no STARTTLS support, then close the connection.
9284 (open-network-stream): Return an :error element, if present.
9286 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
9288 * hl-line.el (hl-line-sticky-flag): Doc fix.
9289 (global-hl-line-sticky-flag): New option (Bug#8323).
9290 (global-hl-line-highlight): Obey it.
9292 * vc/vc.el (vc-revert-show-diff): Default to t.
9294 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9296 * allout-widgets.el (allout-widgets-post-command-business):
9297 Stop decorating intermediate isearch matches. They're not being
9298 undecorated when an isearch is continued past, and isearch
9299 automatically collapses them. This leads to "widget leaks", where
9300 decorated items accumulate in collapsed areas. Lines with lots of
9301 hidden widgets can slow down cursor travel, substantially.
9302 Too much complicated machinery would be needed to ensure undecoration,
9303 so we're doing without this nicety.
9305 (allout-widgets-tally-string): Don't try to do a hash-table-count
9306 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9307 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9308 *Messages* when allout-widgets-maintain-tally is t.
9310 2011-06-26 Martin Rudalics <rudalics@gmx.at>
9312 * window.el (display-buffer-normalize-argument): Rename to
9313 display-buffer-normalize-arguments. Handle special meaning of
9314 LABEL argument. Respect special-display-function when popping up
9315 a new frame. Fix code searching for a window showing the buffer
9317 (display-buffer-normalize-specifiers):
9318 Call display-buffer-normalize-arguments.
9319 (display-buffer-in-window): Don't undedicate the window if its
9320 buffer remains the same.
9321 Reported by Drew Adams <drew.adams@oracle.com>.
9322 (display-buffer-alist): Add choice for same-window macro
9324 (display-buffer): Mention special meaning of LABEL argument in
9325 doc-string. Fix quoting. Don't pop up a new frame even as
9328 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
9330 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9331 avoid deleting the current window in some cases (bug#8911).
9333 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9335 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9338 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9340 * net/network-stream.el (network-stream-open-starttls):
9341 Use built-in TLS support if `gnutls-available-p' is true.
9342 (network-stream-open-tls): Ditto.
9344 2011-06-26 Leo Liu <sdl.web@gmail.com>
9346 * register.el (registerv): New struct.
9347 (registerv-make): New function.
9348 (jump-to-register, describe-register-1, insert-register):
9349 Support the jump-func, print-func and insert-func slot of a registerv
9352 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
9354 * vc/vc.el (vc-revert-show-diff): New defcustom.
9355 (vc-diff-internal): New arg specifying diff buffer.
9356 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9357 reuse an existing *vc-diff* buffer (Bug#8927).
9359 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9361 2011-06-26 Glenn Morris <rgm@gnu.org>
9363 * progmodes/f90.el (f90-critical-indent): New option.
9364 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9365 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9366 (f90-mode): Doc fix.
9367 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9368 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9369 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9370 (f90-match-end): Handle block, critical.
9372 2011-06-25 Glenn Morris <rgm@gnu.org>
9374 * calendar/diary-lib.el (diary-included-files): Doc fix.
9375 (diary-include-files): New function, extracted from
9376 diary-include-other-diary-files and diary-mark-included-diary-files.
9377 (diary-include-other-diary-files, diary-mark-included-diary-files):
9378 Just call diary-include-files.
9379 (diary-mark-entries): Reset diary-included-files on first call.
9381 * calendar/diary-lib.el (diary-mark-entries)
9382 (diary-mark-included-diary-files):
9383 Visit included diary-files in temp buffers.
9385 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9386 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9387 (f90-start-block-re, f90-imenu-generic-expression)
9388 (f90-looking-at-program-block-start, f90-no-block-limit):
9389 Add support for submodules.
9391 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9392 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
9394 2011-06-25 Eli Zaretskii <eliz@gnu.org>
9396 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9397 buffer-file-type before setting its value, to avoid disastrous
9398 global effects on decoding files for DOS/Windows systems. (Bug#8780)
9400 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
9402 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9404 * ses.el (ses-unload-function):
9405 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9407 * proced.el (proced-unload-function):
9408 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9410 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9412 * server.el (server-create-window-system-frame): Add parameters arg.
9413 (server-process-filter): Doc fix. Handle frame-parameters.
9415 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
9417 Fix bug#8730, bug#8781.
9419 * loadhist.el (unload--set-major-mode): New function.
9420 (unload-feature): Use it.
9422 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9423 (python-unload-function): New function.
9425 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9427 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9429 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9431 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9432 the candidates list.
9434 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
9436 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9438 2011-06-23 Richard Stallman <rms@gnu.org>
9440 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9441 (rmail-variables): Set next-error-move-function.
9442 (rmail-what-message): Take argument POS.
9443 (rmail-next-error-move): New function.
9445 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9447 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9448 messages for adjacent non-terminals.
9450 2011-06-23 Richard Stallman <rms@gnu.org>
9452 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
9453 (rmail-show-message-1): Preserve buffer modified flag.
9454 (rmail-start-mail): Don't specify use of rmail-mail-return;
9455 that's done by mail-bury now.
9456 (rmail-mail-return): Handle arg NEWBUF.
9458 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
9460 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9463 2011-06-23 Martin Rudalics <rudalics@gmx.at>
9465 * window.el (get-lru-window, get-mru-window)
9466 (get-largest-window): Never return a minibuffer window.
9467 (display-buffer-pop-up-window): Fix a bug that could lead to
9468 reusing the minibuffer window.
9469 (display-buffer): Pass original specifier argument to
9470 display-buffer-function instead of the normalized one.
9471 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9473 2011-06-22 Leo Liu <sdl.web@gmail.com>
9475 * minibuffer.el (completing-read-function)
9476 (completing-read-default): Move from minibuf.c
9478 2011-06-22 Richard Stallman <rms@gnu.org>
9480 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9481 to Rmail even if not started by a special Rmail command.
9483 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9484 Copy the buffer currently showing just one message.
9486 2011-06-22 Roland Winkler <winkler@gnu.org>
9488 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9489 (bibtex-clean-entry): First delete the old key so that a
9490 customized algorithm for generating the new key does not get
9491 confused by the old key.
9492 (bibtex-url): Obey regexp of first step.
9493 (bibtex-search-entries): Do not use add-to-list with local
9496 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9498 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9499 stored a user name, then query for the password first, instead of
9500 waiting for SMTP to give an error message and the trying again.
9502 2011-06-22 Lawrence Mitchell <wence@gmx.li>
9504 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9505 BUFFER in call-process.
9507 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9509 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9511 (smtpmail-try-auth-methods): Require user name and password from
9514 2011-06-22 Martin Rudalics <rudalics@gmx.at>
9516 * window.el (display-buffer-default-specifiers)
9517 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9518 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
9519 (split-window): Normalize SIDE argument (Bug#8916).
9521 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9522 (special-display-frame-alist, special-display-popup-frame):
9523 Remove duplicate declarations. These are now in window.el.
9525 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9527 * mail/smtpmail.el (smtpmail-via-smtp):
9528 Set :use-starttls-if-possible so that we always use STARTTLS if the
9529 server supports it. SMTP servers that support STARTTLS commonly
9532 * net/network-stream.el (network-stream-open-starttls): Support
9533 upgrading to STARTTLS always, even if we don't have built-in support.
9534 (open-network-stream): Add the :always-query-capabilities keyword.
9536 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9537 upgrades with `open-network-stream', and rely solely on
9538 auth-source for all credentials. Big changes throughout the file,
9540 (smtpmail-auth-credentials): Remove.
9541 (smtpmail-starttls-credentials): Remove.
9542 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9545 * net/network-stream.el (network-stream-open-starttls):
9546 Provide support for client certificates both for external and built-in
9548 (auth-source): Require.
9549 (open-network-stream): Document the :client-certificate keyword.
9550 (network-stream-certificate): Change cert-cert to cert and
9553 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
9555 * net/tramp-cache.el (top): Don't load the persistency file when
9556 "emacs -Q" has been called.
9558 2011-06-21 Tim Harper <timcharper@gmail.com>
9560 * term/ns-win.el (ns-initialize-window-system):
9561 Set application-specific `ApplePressAndHoldEnabled' system
9562 resource to NO as it is not yet supported by the NS port.
9564 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
9566 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9567 (list-dynamic-libraries): ...not here.
9569 2011-06-21 Leo Liu <sdl.web@gmail.com>
9571 * subr.el (sha1): Implement sha1 using secure-hash.
9573 2011-06-21 Martin Rudalics <rudalics@gmx.at>
9575 * window.el (display-buffer-alist): In default value do not
9576 enforce searching a window on any but the selected frame.
9577 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9578 (display-buffer-select-window): Remove function.
9579 (display-buffer-in-window): When a window on another frame gets
9580 reused, do not select it any more but just raise its frame if
9581 necessary (Bug#8851) and (Bug#8856).
9582 (display-buffer-normalize-options): Handle pop-up-frames related
9583 options more faithfully.
9584 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9585 window if it is on another frame.
9586 (display-buffer-alist, display-buffer-default-specifiers):
9587 Don't make new frame unsplittable by default.
9588 (display-buffer-normalize-argument): Fix doc-string typo and use
9589 'same-frame-other-window instead of 'other-window when associating
9590 with display-buffer-macro-specifiers.
9592 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9594 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9596 (5x5-mode-map, 5x5-mode-menu): Bind them.
9597 (5x5-draw-grid): Tweak the solver's rendering.
9599 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9601 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9602 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9604 2011-06-21 Drew Adams <drew.adams@oracle.com>
9606 * menu-bar.el: Use function variable instead of switch-to-buffer.
9607 (menu-bar-select-buffer-function): New variable.
9608 (menu-bar-update-buffers): Use it (bug#8876).
9610 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9612 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9615 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9617 * x-dnd.el (x-dnd-version-from-flags)
9618 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9619 and long as number (Bug#8899).
9620 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9622 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9624 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
9625 (completion-try-completion, completion-all-completions): Compute the
9626 metadata argument if it's missing; make it optional (bug#8795).
9628 * wid-edit.el: Use lex-bind and move towards completion-at-point.
9629 (widget-complete): Use new :completion-function property.
9630 (widget-completions-at-point): New function.
9631 (default): Use :completion-function instead of :complete.
9632 (widget-default-completions): Rename from widget-default-complete;
9634 (widget-string-complete, widget-file-complete, widget-color-complete):
9636 (file, symbol, function, variable, coding-system, color):
9637 * international/mule-cmds.el (default-input-method, charset)
9638 (language-info-custom-alist):
9639 * cus-edit.el (face): Use new property :completions.
9641 * progmodes/pascal.el (pascal-completions-at-point): New function.
9642 (pascal-mode): Use it.
9643 (pascal-mode-map): Use completion-at-point.
9644 (pascal-toggle-completions): Make obsolete.
9645 (pascal-complete-word, pascal-show-completions):
9646 * progmodes/octave-mod.el (octave-complete-symbol):
9647 Redefine as obsolete alias.
9648 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9649 Signal absence of completion info for old Octave,
9650 (inferior-octave-complete): Redefine as obsolete alias.
9651 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9652 (meta-completions-at-point): Rename from meta-complete-symbol and
9653 adapt it for use on completion-at-point-functions.
9654 (meta-common-mode): Use it.
9655 (meta-looking-at-backward, meta-match-buffer): Remove.
9656 (meta-complete-symbol): Redefine as obsolete alias.
9657 (meta-common-mode-map): Use completion-at-point.
9658 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9659 (makefile-mode-map): Use completion-at-point.
9660 (makefile-completions-at-point): Rename from makefile-complete and
9661 adapt it for use on completion-at-point-functions.
9662 (makefile-mode): Use it.
9663 (makefile-complete): Redefine as obsolete alias.
9665 2011-06-20 Deniz Dogan <deniz@dogan.se>
9667 * net/rcirc.el: Delete trailing whitespaces once and for all.
9669 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9671 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9673 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
9675 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9677 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9679 2011-06-19 Martin Rudalics <rudalics@gmx.at>
9681 * window.el (display-buffer-other-window-means-other-frame):
9682 Call display-buffer-normalize-alist.
9683 (display-buffer-normalize-specifiers-1): Rename to
9684 display-buffer-normalize-argument. New argument other-frame.
9686 (display-buffer-normalize-specifiers-2): Rename to
9687 display-buffer-normalize-options.
9688 (display-buffer-normalize-alist-1): New function.
9689 (display-buffer-normalize-specifiers-3): Rename to
9690 display-buffer-normalize-alist.
9691 Call display-buffer-normalize-alist-1.
9692 (display-buffer-normalize-options-inhibit): New variable.
9693 (display-buffer-normalize-specifiers): Rewrite calling
9694 display-buffer-normalize-alist,
9695 display-buffer-normalize-argument, and
9696 display-buffer-normalize-options. Don't call the latter if
9697 display-buffer-normalize-options-inhibit is non-nil.
9698 (frame-auto-delete): New option.
9699 (window-deletable-p): Use frame-auto-delete.
9700 (window-list-no-nils, window-state-ignored-parameters)
9701 (window-state-get-1, window-state-get, window-state-put-list)
9702 (window-state-put-1, window-state-put-2, window-state-put):
9704 (display-buffer-normalize-options): Move special-display-p group
9705 after pop-up-frame group (Bug#8851) and (Bug#8856).
9707 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
9709 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9711 (rx-submatch-n): New function.
9714 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9717 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9719 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9721 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9722 anytime existing face settings are present (Bug#8889).
9724 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9725 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9726 Remove unused argument.
9728 2011-06-18 Martin Rudalics <rudalics@gmx.at>
9730 * window.el (display-buffer-default-specifiers):
9731 Remove pop-up-frame. Add pop-up-window-min-height,
9732 pop-up-window-min-width, and another reuse-window specifier
9733 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
9734 (display-buffer-normalize-specifiers-2):
9735 Handle split-height-threshold and split-width-threshold also when
9736 pop-up-windows is unset. Add a reuse-window specifier for the
9737 case popping up a new window fails.
9738 (special-display-popup-frame): Remove double quoting.
9739 (display-buffer-normalize-specifiers-1): Fix thinko.
9741 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9743 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9744 according to comint-completion-addsuffix.
9746 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9747 (pcomplete-suffix-list): Mark as obsolete.
9748 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9749 pcomplete-seen in the closure.
9750 (pcomplete-comint-setup): Setup completion-at-point as well.
9751 (pcomplete--entries): New function.
9752 (pcomplete--env-regexp): New var.
9753 (pcomplete-entries): Rewrite to work with partial-completion and
9754 without relying on pcomplete-suffix-list.
9755 (pcomplete-pare-list): Remove, unused.
9757 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9759 * window.el (display-buffer-alist): Set pop-up-window-min-height
9760 and pop-up-window-min-width in default value. Reported by
9761 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9762 other-window-means-other-frame.
9763 (display-buffer-macro-specifiers): Comment out entry for
9764 other-window specifier.
9765 (display-buffer-other-window-means-other-frame): New function.
9766 (display-buffer-normalize-specifiers-1): New arguments
9767 buffer-name and label. Treat other-window case specially.
9768 (display-buffer-normalize-specifiers-2): Treat other-window case
9770 (display-buffer-normalize-specifiers-3): New function.
9771 (display-buffer-normalize-specifiers):
9772 Call display-buffer-normalize-specifiers-3.
9774 2011-06-17 Martin Rudalics <rudalics@gmx.at>
9776 * window.el (same-window-p): Fix two typos introduced when
9777 adding with-no-warnings.
9778 (display-buffer-normalize-specifiers-1): Don't check
9779 pop-up-frames for 'unset initialization.
9780 (display-buffer-normalize-specifiers-2): Major rewrite using
9781 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9782 (pop-up-frames, display-buffer-reuse-frames)
9783 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9784 Suggested by David Engster <deng@randomsample.de>.
9785 (even-window-heights): Initialize to 'unset.
9786 (display-buffer-alist-set): Handle new 'unset initializations.
9787 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9790 2011-06-16 Martin Rudalics <rudalics@gmx.at>
9792 * window.el (display-buffer-normalize-specifiers-1):
9793 Respect current value of pop-up-frames for most reasonable values of
9794 second argument of display-buffer (Bug#8865).
9795 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9796 (switch-to-buffer-other-window-same-frame)
9797 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9799 (display-buffer): Don't check noninteractive when calling
9800 display-buffer-pop-up-frame.
9801 (display-buffer-pop-up-frame): Never pop up a frame in
9802 noninteractive mode (Bug#8857).
9803 (enlarge-window, shrink-window): Don't report an error when the
9804 window can't be resized as requested (Bug#8862).
9806 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9808 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9810 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9812 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9814 2011-06-15 Alan Mackenzie <acm@muc.de>
9816 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9817 for declarators, disable knr checking to speed up for normal files.
9818 2: Refactor, replacing a sequence of nested if forms by a cond form.
9820 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9822 * net/network-stream.el (open-network-stream): Add the keyword
9823 :always-query-capabilities for the case where you want to force a
9824 `plain' network connection, but the protocol still requires the
9825 capabilitiy command (i.e., SMTP and EHLO).
9827 * subr.el (process-live-p): Rename from `process-alive-p' for
9828 consistency with other `-live-p' functions.
9830 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9832 * window.el (same-window-buffer-names, same-window-regexps)
9833 (special-display-frame-alist, special-display-popup-frame)
9834 (special-display-function, special-display-buffer-names)
9835 (special-display-regexps, pop-up-frame-alist)
9836 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9837 (pop-up-windows, split-window-preferred-function)
9838 (split-height-threshold, split-width-threshold, even-window-heights)
9839 (display-buffer-mark-dedicated): Don't encourage the use of
9840 display-buffer-alist from Elisp code.
9842 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9844 * progmodes/python.el (python-mode): Derive from prog-mode.
9845 * progmodes/ps-mode.el (ps-mode):
9846 * progmodes/mixal-mode.el (mixal-mode):
9847 * progmodes/cfengine.el (cfengine-mode):
9848 * progmodes/ld-script.el (ld-script-mode): Likewise.
9850 2011-06-15 Martin Rudalics <rudalics@gmx.at>
9852 * window.el (display-buffer-alist): Trim default value to avoid
9853 popping up a new frame (Bug#8857) or reusing an arbitrary window
9855 (display-buffer): Do not fall back on popping up a new frame in
9856 batch mode (Bug#8857).
9858 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
9860 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9861 (custom-theme-summary): New function.
9862 (customize-themes): Use it.
9864 2011-06-13 Glenn Morris <rgm@gnu.org>
9866 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9868 2011-06-13 Martin Rudalics <rudalics@gmx.at>
9870 * help.el (help-window): Remove variable.
9871 (help-window-point-marker, temp-buffer-max-height)
9872 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9873 (help-print-return-message): Don't set help-window.
9874 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9875 (help-window-setup-finish): Remove.
9876 (help-window-display-message, help-window-setup)
9877 (with-help-window): Major rewrite based on new
9878 display-buffer-window variable.
9880 * help-mode.el (help-mode-finish): Remove help-window related
9883 * view.el (view-exits-all-viewing-windows): Remove reference to
9884 view-return-to-alist in doc-string.
9885 (view-return-to-alist): Make obsolete.
9886 (view-buffer): Call pop-to-buffer-same-window and remove
9888 (view-buffer-other-window): Call pop-to-buffer-other-window and
9889 simplify code. Ignore second argument.
9890 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9891 simplify code. Ignore second argument.
9892 (view-return-to-alist-update): Make obsolete.
9893 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9894 Rewrite using quit-restore window parameters.
9895 (view-mode-exit): Rename second argument to EXIT-ONLY.
9896 Rewrite using quit-restore-window.
9897 (View-exit, View-exit-and-edit, View-leave, View-quit)
9898 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9899 appropriate arguments.
9900 (view-end-message): Use quit-restore window parameter.
9902 * window.el (display-buffer-function): Rewrite doc-string.
9903 (display-buffer-window, display-buffer-alist): New variables.
9904 (display-buffer-split-specifiers)
9905 (display-buffer-side-specifiers)
9906 (display-buffer-macro-specifiers): New constants.
9907 (display-buffer-even-window-sizes, display-buffer-set-height)
9908 (display-buffer-set-width, display-buffer-select-window)
9909 (display-buffer-in-window, display-buffer-reuse-window)
9910 (display-buffer-split-window-1, display-buffer-split-window)
9911 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9912 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9913 (display-buffer-in-side-window, normalize-buffer-to-display)
9914 (display-buffer-normalize-specifiers-1)
9915 (display-buffer-normalize-specifiers-2)
9916 (display-buffer-normalize-specifiers, display-buffer-frame):
9918 (display-buffer): Major rewrite.
9919 (display-buffer-other-window, display-buffer-other-frame)
9920 (pop-to-buffer, switch-to-buffer-other-window)
9921 (switch-to-buffer-other-frame): Rewrite.
9922 (display-buffer-same-window, display-buffer-same-frame)
9923 (display-buffer-same-frame-other-window)
9924 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9925 (pop-to-buffer-other-window)
9926 (pop-to-buffer-same-frame-other-window)
9927 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9928 (switch-to-buffer-other-window-same-frame): New functions.
9929 (same-window-p, special-display-p): Rewrite disabling warnings.
9931 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9932 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9934 (same-window-buffer-names, same-window-regexps)
9935 (special-display-frame-alist, special-display-popup-frame)
9936 (special-display-function, special-display-buffer-names)
9937 (special-display-regexps, pop-up-frame-alist)
9938 (pop-up-frame-function, split-window-preferred-function)
9939 (split-height-threshold, split-width-threshold)
9940 (even-window-heights): Make obsolete.
9942 2011-06-12 Glenn Morris <rgm@gnu.org>
9944 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
9945 Misc simplifications.
9947 2011-06-12 Martin Rudalics <rudalics@gmx.at>
9949 * window.el (window-safely-shrinkable-p): Restore function which
9950 was inadvertently removed in change from 2011-06-11. Declare as
9953 * calendar/calendar.el (calendar-generate-window):
9954 Use window-iso-combined-p instead of combination of one-window-p and
9955 window-safely-shrinkable-p.
9957 2011-06-12 Glenn Morris <rgm@gnu.org>
9959 * progmodes/fortran.el (fortran-mode-syntax-table):
9960 * progmodes/f90.el (f90-mode-syntax-table):
9961 Set % to punctuation. (Bug#8820)
9962 (f90-find-tag-default): Remove, no longer needed.
9964 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9966 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9968 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
9970 * image.el (image-animated-p): Return animation delay in seconds.
9971 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9972 (image-animate-timeout): Remove DELAY argument. Don't assume
9973 every subimage has the same delay; get it from image-animated-p.
9974 (image-animate): Caller changed.
9976 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
9978 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9979 to ignored backtrace functions.
9981 2011-06-11 Glenn Morris <rgm@gnu.org>
9983 * calendar/appt.el (appt-disp-window-function): Doc fix.
9984 (appt-check): Handle overlapping appointments. (Bug#8337)
9986 2011-06-11 Martin Rudalics <rudalics@gmx.at>
9988 * window.el (window-tree-1, window-tree): New functions, moving
9989 the latter to window.el.
9990 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9991 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9992 (bw-refresh-edges): Remove.
9993 (balance-windows-1, balance-windows-2): New functions.
9994 (balance-windows): Rewrite in terms of window tree functions,
9995 balance-windows-1 and balance-windows-2.
9996 (bw-adjust-window): Remove.
9997 (balance-windows-area-adjust): New function with functionality of
9998 bw-adjust-window but using resize-window.
9999 (set-window-text-height): Rewrite doc-string.
10000 Use normalize-live-window and resize-window.
10001 (enlarge-window-horizontally, shrink-window-horizontally):
10002 Rename argument to DELTA.
10003 (window-buffer-height): New function.
10004 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10005 Rewrite using new window resize routines.
10006 (kill-buffer-and-window, mouse-autoselect-window-select):
10007 Use ignore-errors instead of condition-case.
10008 (quit-window): Call delete-frame instead of delete-windows-on
10009 for the only buffer on frame.
10011 2011-06-10 Martin Rudalics <rudalics@gmx.at>
10013 * loadup.el (top-level): Load window before files for the sake
10014 of replace-buffer-in-windows.
10016 * files.el (read-buffer-to-switch)
10017 (switch-to-buffer-other-window)
10018 (switch-to-buffer-other-frame, display-buffer-other-frame):
10021 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10022 (previous-buffer): Move to window.el.
10024 * bindings.el (unbury-buffer): Move to window.el.
10026 * window.el (delete-other-windows-vertically): Move after
10027 definition of delete-other-windows.
10028 (other-window, delete-windows-on, replace-buffer-in-windows):
10029 Move here from window.c.
10030 (record-window-buffer, unrecord-window-buffer)
10031 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10032 (switch-to-next-buffer): New functions.
10033 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10034 from simple.el. Call switch-to-next-buffer.
10035 (previous-buffer): Move here from simple.el.
10036 Call switch-to-prev-buffer.
10037 (bury-buffer): Move here from buffer.c. Switch to previous
10038 buffer when window cannot be deleted.
10039 (unbury-buffer): Move here from bindings.el.
10040 (ctl-x-map): Move binding for other-window from window.c to
10042 (read-buffer-to-switch, switch-to-buffer-other-window)
10043 (switch-to-buffer-other-frame): Move here from files.el.
10044 (normalize-buffer-to-switch-to): New functions.
10045 (switch-to-buffer): Move here from buffer.c.
10046 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
10048 2011-06-10 Martin Rudalics <rudalics@gmx.at>
10050 * window.el (window-min-height, window-min-width): Move here
10051 from window.c. Add defcustoms and rewrite doc-strings.
10052 (resize-mini-window, resize-window): New functions.
10053 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10054 Move here from window.c.
10055 (maximize-window, minimize-window): New functions.
10056 (delete-window, delete-other-windows, split-window): Move here
10058 (window-split-min-size): New function.
10059 (split-window-keep-point): Mention split-window-above-each-other
10060 instead of split-window-vertically.
10061 (split-window-above-each-other, split-window-vertically):
10062 Rename split-window-vertically to split-window-above-each-other
10063 and provide defalias for old definition.
10064 (split-window-side-by-side, split-window-horizontally):
10065 Rename split-window-horizontally to split-window-side-by-side
10066 and provide defalias for the old definition.
10067 (ctl-x-map): Move bindings for delete-window,
10068 delete-other-windows and enlarge-window here from window.c.
10069 Replace bindings for split-window-vertically and
10070 split-window-horizontally by bindings for
10071 split-window-above-each-other and split-window-side-by-side.
10073 * cus-start.el (all): Remove entries for window-min-height and
10074 window-min-width. Add entries for window-splits and
10077 2011-06-09 Glenn Morris <rgm@gnu.org>
10079 * calendar/appt.el (appt-mode-line): New function.
10080 (appt-check, appt-disp-window): Use it.
10082 * files.el (hack-one-local-variable-eval-safep):
10083 Allow minor-modes with explicit +/-1 arguments.
10085 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10087 * term/xterm.el (xterm): Add defgroup.
10088 (xterm-extra-capabilities): Add defcustom to supply known xterm
10089 capabilities, skip querying them, or query them (default).
10090 (terminal-init-xterm): Use it.
10091 (terminal-init-xterm-modify-other-keys): New function to set up
10092 modifyOtherKeys support to simplify `terminal-init-xterm'.
10094 2011-06-09 Martin Rudalics <rudalics@gmx.at>
10096 * window.el (resize-window-reset, resize-window-reset-1)
10097 (resize-subwindows-skip-p, resize-subwindows-normal)
10098 (resize-subwindows, resize-other-windows, resize-this-window)
10099 (resize-root-window, resize-root-window-vertically)
10100 (window-deletable-p, window-or-subwindow-p)
10101 (frame-root-window-p): New functions.
10103 2011-06-09 Glenn Morris <rgm@gnu.org>
10105 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10106 (ange-ftp-get-files): Use it.
10108 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10110 * mail/sendmail.el (mail-recover-1, mail-recover):
10111 * files.el (recover-file, recover-session):
10112 Handle dired-listing-switches not being just a single short option.
10114 2011-06-09 Glenn Morris <rgm@gnu.org>
10116 * calendar/appt.el (appt-display-message, appt-disp-window):
10117 Handle lists of appointments.
10119 2011-06-08 Martin Rudalics <rudalics@gmx.at>
10121 * window.el (one-window-p): Move down in code.
10122 Rewrite doc-string.
10123 (window-current-scroll-bars): Rewrite doc-string.
10124 Normalize live window argument.
10125 (walk-windows, get-window-with-predicate, count-windows):
10126 Rewrite doc-string. Use window-list-1.
10127 (window-in-direction-2, window-in-direction, get-mru-window):
10130 2011-06-08 Reuben Thomas <rrt@sc3d.org>
10132 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10133 Doc fix (Bug#8713).
10135 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
10137 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10139 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
10141 * loadhist.el (unload-feature-special-hooks):
10142 Add `comint-output-filter-functions'.
10144 2011-06-08 Ivan Kanis <gnu@kanis.fr>
10146 * calendar/appt.el (appt-check): Move some initializations into the let.
10148 2011-06-08 Martin Rudalics <rudalics@gmx.at>
10150 * window.el (window-height): Defalias to window-total-height.
10151 (window-width): Defalias to window-body-width.
10153 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
10155 * image-mode.el (image-toggle-animation): New command.
10156 (image-mode-map): Bind it to RET.
10157 (image-mode): Update message.
10158 (image-toggle-display-image): Avoid a spurious cache flush.
10159 (image-transform-rotation): Doc fix.
10160 (image-transform-properties): Return quickly in the normal case.
10161 (image-animate-loop): Rename from image-animate-max-time.
10163 * image.el (image-animate-max-time): Move to image-mode.el.
10164 (create-animated-image): Remove unnecessary function.
10165 (image-animate): Rename from image-animate-start. New arg.
10166 (image-animate-stop): Remove; just use image-animate-timer.
10167 (image-animate-timer): Use car-safe.
10168 (image-animate-timeout): Rename argument.
10170 2011-06-07 Martin Rudalics <rudalics@gmx.at>
10172 * window.el (get-lru-window, get-largest-window): Move here from
10173 window.c. Rename first argument to ALL-FRAMES.
10174 Rephrase doc-strings.
10175 (get-buffer-window-list): Rewrite using window-list-1.
10176 Rephrase doc-string.
10177 (window-safe-min-height, window-safe-min-width): New constants.
10178 (window-size-ignore, window-min-size, window-min-size-1)
10179 (window-sizable, window-sizable-p, window-size-fixed-1)
10180 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10181 (window-max-delta-1, window-max-delta, window-resizable)
10182 (window-resizable-p, window-total-height, window-total-width)
10183 (window-body-width): New functions.
10184 (window-full-height-p, window-full-width-p): Rewrite using
10186 (window-body-height): Rewrite using window-body-size.
10188 2011-06-06 Martin Rudalics <rudalics@gmx.at>
10190 * window.el (window-right, window-left, window-child)
10191 (window-child-count, window-last-child, window-any-p)
10192 (normalize-live-buffer, normalize-live-frame)
10193 (normalize-any-window, normalize-live-window)
10194 (window-iso-combination-p, window-iso-combined-p)
10195 (window-iso-combinations)
10196 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10197 (windows-with-parameter, window-with-parameter)
10198 (window-atom-root, make-window-atom, window-atom-check-1)
10199 (window-atom-check, window-side-check, window-check):
10201 (ignore-window-parameters, window-sides, window-sides-vertical)
10202 (window-sides-slots): New variables.
10203 (window-size-fixed): Move down in code. Minor doc-string fix.
10205 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10207 * comint.el (comint-dynamic-complete-as-filename)
10208 (comint-dynamic-complete-filename): Correctly call
10209 completion-in-region.
10211 2011-06-05 Deniz Dogan <deniz@dogan.se>
10213 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10216 2011-06-05 Deniz Dogan <deniz@dogan.se>
10218 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10219 (rcirc): Use it to prompt for encryption.
10221 2011-06-05 Roland Winkler <winkler@gnu.org>
10223 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10224 (bibtex-search-entries): New command bound to C-c C-a.
10225 (bibtex-display-entries): New function.
10227 2011-06-05 Roland Winkler <winkler@gnu.org>
10229 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10230 (bibtex-insert-kill): After yanking insert newline if necessary.
10231 (bibtex-initialize): Call bibtex-string-files-init only once.
10232 (bibtex-mode): Do not call easy-menu-add.
10233 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10234 (bibtex-yank): Set arg properly if nil.
10236 2011-06-05 Roland Winkler <winkler@gnu.org>
10238 * textmodes/bibtex.el (bibtex-search-entry-globally):
10240 (bibtex-search-entry): Use it.
10242 2011-06-05 Roland Winkler <winkler@gnu.org>
10244 * textmodes/bibtex.el (bibtex-entry-format): New option
10246 (bibtex-format-entry, bibtex-reformat): Honor this option.
10247 (bibtex-parse-entry): Return fields in proper order.
10249 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
10251 * doc-view.el (doc-view-remove-if): Move computation of result out
10252 of `dolist' to silence misleading lexical-binding warning.
10254 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
10256 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10257 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10259 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
10261 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10264 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
10266 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10267 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10268 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10269 (tramp-parse-putty):
10270 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10271 (tramp-completion-function-alist-ssh)
10272 (tramp-completion-function-alist-telnet)
10273 (tramp-completion-function-alist-su)
10274 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10277 * net/tramp-ftp.el:
10279 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10280 load "tramp.el" `tramp-set-completion-function'.
10282 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10284 * shell.el: Require and use pcomplete.
10285 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10286 (shell-completion-vars): Set pcomplete-default-completion-function.
10288 2011-06-04 Deniz Dogan <deniz@dogan.se>
10290 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10293 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10295 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10297 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
10299 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10300 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10301 * vc/log-view.el (log-view-beginning-of-defun):
10302 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10303 (smerge-refine-forward, smerge-refine-chopup-region):
10304 Silence warning for unused `dotimes' counter variables.
10306 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10308 * net/tramp.el (tramp-with-progress-reporter): Rename from
10309 with-progress-reporter. Use `declare'.
10310 * net/tramp-smb.el:
10312 * net/tramp-gvfs.el: Update all uses.
10314 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10316 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10317 buffer isn't killed before making it current.
10319 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10321 Silence various byte-compiler warnings.
10322 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10323 `access-type' and new obsolescence format.
10324 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10326 (byte-compile-check-variable): New `access-type' argument.
10327 Only warn if the access-type is obsolete.
10328 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10329 (byte-compile-variable-set): Adjust callers.
10330 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10331 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10332 setting it as obsolete.
10333 * simple.el (minibuffer-completing-symbol):
10334 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10335 access as obsolete.
10336 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10338 * international/quail.el (quail-mouse-choose-completion): Remove unused
10339 code referring to obsolete var.
10340 (quail-choose-completion-string): Remove.
10341 * server.el (server-clients-with, server-kill-buffer-query-function)
10342 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10343 * proced.el (proced-send-signal):
10344 * emacs-lisp/lisp.el (lisp-complete-symbol):
10345 Replace completion-annotate-function with completion-extra-properties.
10347 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10349 * simple.el (goto-line): Use read-number.
10350 (overriding-map-is-bound): Remove.
10351 (saved-overriding-map): Change default.
10352 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10353 Take the map as argument.
10354 (universal-argument, negative-argument, digit-argument): Use it.
10355 (restore-overriding-map): Adjust.
10356 (do-auto-fill): Use fill-forward-paragraph.
10357 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10359 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10360 (minibuffer-inactive-mode): New major mode.
10361 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10362 the *Messages* buffer" hack.
10363 (mouse-popup-menubar): Don't burp if the event is a normal key.
10365 Miscellaneous tweaks.
10366 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10367 lexical scoping as in subr.el's dolist and dotimes.
10368 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10369 Silence compiler warning.
10370 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10371 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10372 * international/ccl.el (ccl-compile): Trivial simplification.
10373 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10374 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10375 `printflag' argument.
10376 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10377 Purecopy the whole obsolescence data.
10379 2011-06-01 Leo Liu <sdl.web@gmail.com>
10381 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10382 improve doc-string as suggested by Marco Pessotto
10383 <melmothx@gmail.com>.
10384 (rcirc-print): Fix last change.
10386 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10388 * minibuffer.el (complete-with-action): Return nil for the metadata and
10389 boundaries of non-functional tables.
10390 (completion-table-dynamic): Return nil for the metadata.
10391 (completion-table-with-terminator): Add default case, using
10392 complete-with-action.
10393 (completion--metadata): New function.
10394 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10395 to try and avoid pathological performance problems.
10396 (completion--embedded-envvar-table): Return `category' metadata.
10398 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10400 * subr.el (process-alive-p): New tiny convenience function.
10402 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10404 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10405 content but also its previous major mode.
10407 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
10409 * emacs-lisp/debug.el (debug): Restore the previous content of the
10410 *Backtrace* buffer when we exit with C-M-c.
10412 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10414 * minibuffer.el: Add metadata method to completion tables.
10415 (completion-category-overrides): New defcustom.
10416 (completion-metadata, completion--field-metadata)
10417 (completion-metadata-get, completion--styles)
10418 (completion--cycle-threshold): New functions.
10419 (completion-try-completion, completion-all-completions):
10420 Add `metadata' argument to choose completion-styles.
10421 (completion--do-completion): Use metadata to choose cycling.
10422 (completion-all-sorted-completions): Use metadata for sorting.
10423 Remove :completion-cycle-penalty which is not needed any more.
10424 (completion--try-word-completion): Add `metadata' argument.
10425 (minibuffer-completion-help): Check metadata for annotation function
10427 (completion-file-name-table): Return `category' metadata.
10428 (minibuffer-completing-file-name): Make obsolete.
10429 * simple.el (minibuffer-completing-symbol): Make obsolete.
10430 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10431 completion-try-completion.
10433 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10435 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10437 2011-05-30 Leo Liu <sdl.web@gmail.com>
10439 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
10440 (rcirc-print): Decode all incoming messages (bug#8744).
10441 (rcirc-decode-coding-system): Allow value nil for automatic coding
10444 2011-06-01 Glenn Morris <rgm@gnu.org>
10446 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10448 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10450 * image.el (image-animate-max-time): Allow nil and t values.
10452 (create-animated-image): Doc fix.
10453 (image-animate-start): Remove second arg; just use
10454 image-animate-max-time.
10455 (image-animate-timeout): Doc fix. Args changed.
10457 * image-mode.el (image-toggle-display-image): Ensure that the
10458 image spec passed to the animate timer is the same object as in
10459 the buffer's display property (Bug#6981).
10460 (image-transform-properties): Doc fix.
10462 * image.el (image-animate-max-time): Default to nil.
10464 2011-05-29 Martin Rudalics <rudalics@gmx.at>
10466 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10467 entire buffer list (Bug#8184).
10469 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10471 * image.el (imagemagick-types-inhibit)
10472 (imagemagick-register-types): Doc fix.
10474 2011-05-29 Deniz Dogan <deniz@dogan.se>
10476 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10479 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
10481 * select.el: Don't perform clipboard-manager saving in hooks;
10482 leave the hooks empty.
10484 2011-05-28 Leo Liu <sdl.web@gmail.com>
10486 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10487 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10488 (occur-edit-mode): New major mode (Bug#8463).
10489 (occur-after-change-function): New function.
10490 (occur-engine): Give Occur tags a read-only property.
10492 2011-05-28 Kevin Ryde <user42@zip.com.au>
10494 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10496 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10498 * bindings.el (help-echo): Make the initial non-indicator dash
10499 empty on graphical terminals (Bug#7295).
10501 * files.el (auto-mode-alist): Move config rule after the
10502 in-stripping one (Bug#8547).
10504 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10506 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10507 setting (Bug#8740).
10509 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10511 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10512 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10515 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10517 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10519 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10521 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10522 (hs-hide-block-at-point, hs-find-block-beginning)
10523 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10526 2011-05-28 Glenn Morris <rgm@gnu.org>
10528 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10530 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
10532 * help-fns.el (describe-function-1): If the function is a derived
10533 major mode, print the parent mode.
10535 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10536 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10538 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10540 * minibuffer.el (completion--capf-wrapper): Check applicability before
10541 returning non-nil for non-exclusive completion data.
10542 * progmodes/etags.el (tags-completion-at-point-function):
10543 * info-look.el (info-lookup-completions-at-point): Mark as
10545 (info-complete): Adjust accordingly.
10547 * info-look.el: Convert to lexical-binding and completion-at-point.
10548 (info-lookup-completions-at-point): New function.
10549 (info-complete): Use it and completion-in-region.
10551 2011-05-28 Drew Adams <drew.adams@oracle.com>
10553 * isearch.el: Let M-e start with point at the first mismatched char.
10554 (isearch-fail-pos): New function.
10555 (isearch-edit-string): Use it.
10557 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10559 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10561 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
10563 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10564 traversal functions for avl-trees.
10565 (avl-tree--stack): New struct.
10566 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10567 (avl-tree-enter): Add optional `updatefun' arg.
10568 (avl-tree--do-enter): Add optional `updatefun' arg.
10569 Change return value.
10570 (avl-tree-delete): Add optional `test' and `nilflag' args.
10571 (avl-tree--do-delete): Add `test' and `nilflag' args.
10572 Change return value.
10573 (avl-tree-member): Add optional `nilflag'
10574 (avl-tree-member-p): New function.
10575 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10576 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10577 (avl-tree-stack-empty-p): New functions.
10579 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10580 avl-tree--del-balance1 and make it work both ways.
10581 (avl-tree--del-balance2): Remove.
10582 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10583 make it work both ways.
10584 (avl-tree--enter-balance2): Remove.
10585 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10587 (avl-tree--mapc, avl-tree-map): Add direction argument.
10589 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
10591 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10593 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
10595 * select.el: Support clipboard managers with built-in function
10596 x-clipboard-manager-save, via delete-frame-functions and
10598 (xselect-convert-to-targets): Add MULTIPLE target to list.
10599 (xselect-convert-to-save-targets): New function.
10601 2011-05-27 Kenichi Handa <handa@m17n.org>
10603 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10604 let-binding rfc2047-encode-encoded-words to nil.
10606 2011-05-27 Glenn Morris <rgm@gnu.org>
10608 * mail/emacsbug.el: Don't require url-util.
10610 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10612 * files.el (set-auto-mode):
10613 Also respect mode: entries at the end of the file. (Bug#8586)
10615 2011-05-26 Glenn Morris <rgm@gnu.org>
10617 * files.el (hack-local-variables-prop-line, hack-local-variables):
10618 Downcase mode names, as seems to be traditional.
10619 (hack-local-variables, hack-local-variables-apply): Doc fixes.
10621 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10622 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10624 2011-05-25 Julien Danjou <julien@danjou.info>
10626 * textmodes/rst.el (rst-define-level-faces): Do not define face
10627 symbol if it is already defined.
10629 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10631 * play/5x5.el (5x5-new-game, 5x5-randomize):
10632 Reset 5x5-solver-output to nil when a new grid is cast.
10633 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10634 these debugging traces, as defmacro breaks the compiled code.
10636 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10638 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10640 2011-05-24 Leo Liu <sdl.web@gmail.com>
10642 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10643 (vc-bzr-sha1): Adapt.
10645 * sha1.el: Remove. Function `sha1' is now builtin.
10647 * bindings.el: Provide sha1 feature.
10649 2011-05-24 Kenichi Handa <handa@m17n.org>
10651 * mail/sendmail.el: Require `rfc2047'.
10652 (mail-insert-from-field): Do not perform RFC2047 encoding.
10653 (mail-encode-header): New function.
10654 (sendmail-send-it): Set buffer-file-coding-system of the work
10655 buffer to the return value of select-message-coding-system.
10656 Call mail-encode-header.
10658 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10660 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
10662 * mail/supercite.el (sc-default-cite-frame):
10663 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
10665 2011-05-24 Glenn Morris <rgm@gnu.org>
10667 * progmodes/python.el (brm-menu): Declare.
10669 * emulation/viper.el (viper-set-hooks): Declare.
10671 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10672 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10673 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10674 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10675 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10676 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10678 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10680 Add an :exit-function for completion-at-point.
10682 * minibuffer.el (completion--done): New fun.
10683 (completion--do-completion): Use it. New arg `expect-exact'.
10684 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10685 since completion--do-completion does it for us now.
10686 (minibuffer-force-complete): Use completion--done and
10687 completion--replace. Handle sole-completion case with more care.
10688 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10689 (completion-extra-properties): New var.
10690 (completion-annotate-function): Make obsolete.
10691 (minibuffer-completion-help): Adjust accordingly.
10692 Use completion-list-insert-choice-function.
10693 (completion-at-point, completion-help-at-point):
10694 Bind completion-extra-properties.
10695 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10696 * simple.el (completion-list-insert-choice-function): New var.
10697 (completion-setup-function): Preserve it.
10698 (choose-completion): Pay attention to it, shuffle the code a bit.
10699 (choose-completion-string): New arg `insert-function'.
10701 * textmodes/bibtex.el: Convert to lexical binding.
10702 (bibtex-mode-map): Use completion-at-point.
10703 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10704 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10705 (bibtex-complete): Define as obsolete alias.
10706 (bibtex-complete-internal): Remove.
10707 (bibtex-format-entry): Remove unused sub-group in regexp.
10708 * shell.el (shell--command-completion-data)
10709 (shell-environment-variable-completion):
10710 * pcomplete.el (pcomplete-completions-at-point):
10711 * comint.el (comint--complete-file-name-data): Use :exit-function
10712 instead of completion-table-with-terminator so it also works for
10715 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10717 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10719 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10722 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10724 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10726 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10727 customization variable and implement: If non-nil, auto-fill will
10728 be inhibited while on topic's header line.
10730 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10732 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
10733 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
10734 always have a solution in grid size = 5 cases.
10735 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10736 (5x5-solver-output, 5x5-log-buffer): New vars.
10737 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10738 Make these variables buffer local to achieve 5x5 multi-session-ness.
10739 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10740 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10741 (5x5-solve-suggest): New funs.
10742 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10743 randomize a grid so that we ensure that there is always a solution.
10744 (5x5-make-random-grid): Allow other movement than flipping.
10746 2011-05-23 Kevin Ryde <user42@zip.com.au>
10748 * emacs-lisp/advice.el (ad-read-advised-function):
10749 Use `function-called-at-point' as the default, if it has
10750 advice and passes PREDICATE.
10752 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10754 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10755 byte-compile-lambda if it's actually a lambda.
10757 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10758 Fix function quoting. Use backquote better.
10760 2011-05-22 Yuanle Song <sylecn@gmail.com>
10762 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10763 matching (Bug#8516).
10765 2011-01-22 Jari Aalto <jari.aalto@cante.net>
10767 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10768 different face (Bug#8178).
10770 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
10772 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10773 defface (Bug#8144).
10775 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10777 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10778 funcall as well (bug#8712). Warn when performing those conversions.
10779 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10781 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10783 2011-05-22 Glenn Morris <rgm@gnu.org>
10785 * files.el (hack-local-variables-prop-line): Small simplifications.
10786 (hack-local-variables, hack-local-variables-prop-line):
10787 If MODE-ONLY, return the mode, rather than just `t'.
10789 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10791 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10793 2011-05-21 Glenn Morris <rgm@gnu.org>
10795 * files.el (hack-local-variables-prop-line, hack-local-variables):
10796 If only interested in the mode, don't bother doing the other stuff.
10798 * image-mode.el (image-after-revert-hook):
10799 Redraw all frames on which the image is visible. (Bug#8567)
10801 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10803 * wid-edit.el (widget-checklist-match-inline):
10804 Fix 2011-04-19 change. (Bug#8649)
10806 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10808 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10809 Also allow singlespace after single-letter capitals followed by a dot.
10811 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10812 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10814 2011-05-20 Nix <nix@esperi.org.uk>
10816 * files.el (basic-save-buffer-2):
10817 Fix handling of break-hardlink-on-save with non-existent files.
10819 2011-05-19 Deniz Dogan <deniz@dogan.se>
10821 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
10822 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
10824 2011-05-19 Glenn Morris <rgm@gnu.org>
10826 * progmodes/f90.el (f90-type-def-re):
10827 Handle "type, bind(c)". (Bug#8691)
10829 * emacs-lisp/autoload.el (batch-update-autoloads):
10830 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10832 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
10834 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10835 property for the correct connection in case of multihops.
10837 2011-05-18 Glenn Morris <rgm@gnu.org>
10839 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
10840 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10842 Rationalize calendar handling of day and month abbrev-arrays.
10843 * calendar/calendar.el (calendar-customized-p): New function.
10844 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10845 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10847 (calendar-abbrev-length, calendar-day-abbrev-array)
10848 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10849 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10850 Elements may no longer be nil.
10851 (calendar-day-name, calendar-month-name):
10852 Update for changed nature of abbrev arrays.
10853 * calendar/diary-lib.el (diary-name-pattern):
10854 Update for changed nature of abbrev arrays.
10855 (diary-mark-entries-1): Update calendar-make-alist calls.
10856 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10857 * calendar/cal-html.el (cal-html-day-abbrev-array):
10858 Simply inherit from calendar-day-abbrev-array.
10860 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10862 * progmodes/grep.el (grep-mode): Disable default
10863 compilation-directory-matcher setting (bug#8684).
10865 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
10867 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10868 instead of "head" and "tail". There were problems with SunOS 5.9,
10869 and it performs better.
10871 2011-05-17 Glenn Morris <rgm@gnu.org>
10873 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10875 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10876 Replace obsolete function.
10878 * shell.el (pcomplete-parse-arguments-function): Declare.
10880 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10881 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10882 (appt-check): Doc fixes.
10883 (appt-disp-window-function, appt-delete-window-function):
10884 Remove needless special case in custom :type.
10885 (appt-display-count): Default to 0, not nil.
10886 (appt-check): Reset appt-display-count to 0, not nil.
10888 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
10890 * progmodes/python.el (python-font-lock-keywords):
10891 Add the Python 3.X keyword "nonlocal" (bug#8639).
10893 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10895 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10897 2011-05-16 Kevin Ryde <user42@zip.com.au>
10899 * info-look.el (makefile-automake-mode): New setups, looking in
10900 automake manual, then makefile-mode.
10901 (makefile-mode): Remove automake manual, have it just in
10902 makefile-automake-mode since there's various things different or
10903 not relevant to plain make.
10904 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10905 believe a hypothetical automake-mode would go to makefile-mode,
10906 not the other way around.
10908 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
10910 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10911 hunk-end tags (Bug#8672).
10913 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10914 vc-annotate-show-diff-revision-at-line (Bug#8671).
10916 2011-05-14 Glenn Morris <rgm@gnu.org>
10918 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10919 in the middle of an existing one with multiple authors. (Bug#8645)
10920 (change-log-font-lock-keywords): Also handle multiple author lines
10921 with leading tabs. (Bug#8644)
10923 * calendar/appt.el (appt-check): Rename some local variables.
10924 Some simplification/reordering.
10926 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10927 (feedmail-sendmail-f-doesnt-sell-me-out)
10928 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10929 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10930 (feedmail-queue-runner-message-sender): Set :version.
10931 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10932 (bbdb-dwim-net-address, vm-mail): Declare.
10933 (feedmail-binmail-gnulinuxish-template):
10934 Rename from feedmail-binmail-linuxish-template.
10935 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10936 Use insert-buffer-substring.
10938 2011-05-14 Bill Carpenter <bill@carpenter.org>
10940 * mail/feedmail.el (feedmail-patch-level): Increase.
10941 (feedmail-debug): New custom group.
10942 (feedmail-confirm-outgoing-timeout)
10943 (feedmail-sendmail-f-doesnt-sell-me-out)
10944 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10945 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10946 (feedmail-sender-line, feedmail-from-line)
10947 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
10948 (feedmail-spray-this-address)
10949 (feedmail-spray-address-fiddle-plex-list)
10950 (feedmail-queue-use-send-time-for-date)
10951 (feedmail-queue-use-send-time-for-message-id)
10952 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10953 (feedmail-buffer-eating-function):
10955 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10956 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10957 (feedmail-message-action-scroll-down): New functions.
10958 (feedmail-queue-directory, feedmail-queue-draft-directory):
10959 Use expand-file-name.
10960 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10961 Remove C-v help entry.
10962 (feedmail-queue-buffer-file-name): New variable.
10963 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10964 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10965 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10966 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10967 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10968 (feedmail-message-action-toggle-spray)
10969 (feedmail-run-the-queue-no-prompts)
10970 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10971 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10972 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10973 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10974 (feedmail-envelope-deducer, feedmail-fiddle-from)
10975 (feedmail-fiddle-sender, feedmail-default-date-generator)
10976 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10977 (feedmail-fiddle-spray-address)
10978 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10979 (feedmail-fiddle-list-of-fiddle-plexes)
10980 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10981 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10982 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10983 Change default. Doc fix.
10984 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10985 (feedmail-binmail-linuxish-template): New constant.
10986 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10987 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10988 (feedmail-send-it): Add debug call.
10989 Use feedmail-queue-buffer-file-name, and
10990 feedmail-send-it-immediately-wrapper.
10991 (feedmail-message-action-send): Add debug call.
10992 Use feedmail-send-it-immediately-wrapper.
10993 (feedmail-queue-express-to-queue): Add debug call.
10994 Run feedmail-queue-express-hook.
10995 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10996 (feedmail-message-action-help-blat):
10997 Rename from feedmail-queue-send-edit-prompt-help-first.
10998 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10999 Check line-endings. Handle errors better.
11000 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11001 Doc fix. Add debug call.
11002 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
11003 Use feedmail-queue-send-edit-prompt-inner.
11004 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11005 (feedmail-queue-send-edit-prompt-inner): New function, extracted
11006 from feedmail-queue-send-edit-prompt.
11007 (feedmail-queue-send-edit-prompt-help)
11008 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11009 (feedmail-tidy-up-slug): Add debug call.
11010 Respect feedmail-queue-slug-suspect-regexp.
11011 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11012 (feedmail-dump-message-to-queue): Add debug call.
11013 Expand queue-directory.
11014 (feedmail-dump-message-to-queue): Change message slightly.
11015 Use feedmail-say-chatter.
11016 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
11017 (feedmail-send-it-immediately-wrapper): New function.
11018 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
11019 Insert empty string rather than newline. Handle full-frame case.
11020 Use catch/throw. Use feedmail-say-chatter.
11021 (feedmail-fiddle-from): Try mail-host-address.
11022 (feedmail-default-message-id-generator): Doc fix.
11023 Bind system-time-locale. Handle missing end.
11024 (feedmail-fiddle-x-mailer): Add debug call.
11025 Handle feedmail-x-mailer-line being nil.
11026 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11027 Add debug call. Use buffer-substring-no-properties.
11028 (feedmail-say-debug, feedmail-say-chatter): New functions.
11029 (feedmail-find-eoh): Give an explicit error.
11031 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
11033 * net/newst-treeview.el (newsticker-treeview-face): Change default
11034 family from helvetica to sans.
11035 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
11036 etc/images/newsticker.
11038 * net/newst-reader.el (newsticker-feed-face): Change default
11039 family from helvetica to sans.
11041 * net/newst-plainview.el (newsticker-new-item-face)
11042 (newsticker-old-item-face, newsticker-immortal-item-face)
11043 (newsticker-obsolete-item-face, newsticker-date-face)
11044 (newsticker-statistics-face): Change default family from
11046 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
11047 etc/images/newsticker.
11049 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11050 (newsticker--process-auto-mark-filter-match): Tell user about
11053 2011-05-13 Didier Verna <didier@xemacs.org>
11055 Common Lisp indentation improvements on defmethod and lambda-lists.
11056 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11058 (lisp-lambda-list-keyword-parameter-indentation)
11059 (lisp-lambda-list-keyword-parameter-alignment)
11060 (lisp-lambda-list-keyword-alignment): New customizable user options.
11061 (lisp-indent-defun-method): Improve docstring.
11062 (extended-loop-p): Fix comment.
11063 (lisp-indent-lambda-list-keywords-regexp): New variable.
11064 (lisp-indent-lambda-list): New function.
11065 (lisp-indent-259): Use it.
11066 (lisp-indent-defmethod): Support for more than one
11067 method qualifier and properly indent methods lambda-lists.
11068 (defgeneric): Provide a missing common-lisp-indent-function property.
11070 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11072 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11073 bounds for the empty string (bug#8667).
11075 2011-05-13 Glenn Morris <rgm@gnu.org>
11077 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11079 * mail/sendmail.el (sendmail-program): Try executable-find first.
11080 (sendmail-send-it): `sendmail-program' cannot be unbound.
11082 * calendar/appt.el (appt-make-list): Simplify.
11083 (appt-time-msg-list): Doc fix.
11084 (appt-check): Change mode-line message at the time of the appointment.
11086 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11088 * progmodes/ld-script.el (ld-script-keywords)
11089 (ld-script-builtins): Update keywords list.
11091 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11093 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11095 * shell.el (shell-completion-vars): New function.
11097 * simple.el (read-shell-command): Use it.
11098 (blink-matching-open): No need for " [...]" in minibuffer-message.
11100 2011-05-12 Glenn Morris <rgm@gnu.org>
11102 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11103 (appt-check): Simplify.
11105 2011-05-12 Eli Zaretskii <eliz@gnu.org>
11107 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
11108 literal "/dev/null".
11110 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11112 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11115 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
11117 * progmodes/which-func.el (which-function):
11118 Use add-log-current-defun instead of add-log-current-defun-function,
11119 which might not be defined (Bug#8260).
11121 2011-05-12 Glenn Morris <rgm@gnu.org>
11123 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11124 Let byte-compile-initial-macro-environment always take precedence.
11126 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11128 * net/rcirc.el: Add support for SSL/TLS connections.
11129 (rcirc-server-alist): New field `encryption'.
11130 (rcirc): Check `encryption' settings.
11131 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11132 Merge make-local-variable into `set'.
11133 (rcirc--connection-open-p): New function.
11134 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11135 the process is not a network process (e.g. running gnutls-cli).
11136 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11137 Make rcirc-(en|de)code-coding-system local here.
11138 (rcirc-mode): Merge make-local-variable into `set'.
11139 (rcirc-parent-buffer): Make permanent buffer-local.
11140 (rcirc-multiline-minor-mode): Don't do it here.
11141 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11142 there's no server buffer.
11144 2011-05-11 Glenn Morris <rgm@gnu.org>
11146 * newcomment.el (comment-kill): Prefix "unused" local.
11148 * term/w32console.el (get-screen-color): Declare.
11150 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11151 Handle symbol elements of byte-compile-initial-macro-environment.
11153 2011-05-10 Leo Liu <sdl.web@gmail.com>
11155 * bookmark.el (bookmark-bmenu-mode-map):
11156 Bind bookmark-bmenu-search to `/'.
11158 * mail/footnote.el: Convert to utf-8 encoding.
11159 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11160 (Footnote-unicode): New function.
11161 (footnote-style-alist): Add unicode style to the list.
11162 (footnote-style): Doc fix.
11164 2011-05-10 Jim Meyering <meyering@redhat.com>
11166 Fix doubled-word typos.
11167 * international/quail.el (quail-insert-kbd-layout): and and -> and
11168 * kermit.el: and and -> and
11169 * net/ldap.el (ldap-search-internal): to to -> to
11170 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11171 * progmodes/js.el (js-mode): and and -> and
11172 * textmodes/artist.el (artist-move-to-xy): at at -> at
11173 (artist-draw-region-trim-line-endings): if if -> if
11174 And Safetyc -> Safety.
11175 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11177 2011-05-10 Glenn Morris <rgm@gnu.org>
11178 Stefan Monnier <monnier@iro.umontreal.ca>
11180 * files.el (hack-one-local-variable-eval-safep):
11181 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11183 2011-05-10 Glenn Morris <rgm@gnu.org>
11185 * calendar/diary-lib.el (diary-list-entries-hook)
11186 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11187 (diary-nongregorian-marking-hook, diary-list-entries)
11188 (diary-include-other-diary-files, diary-mark-entries)
11189 (diary-mark-included-diary-files): Doc fixes.
11191 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
11193 * misc.el: Require tabulated-list.el during compilation.
11195 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
11197 * progmodes/compile.el (compilation-start):
11198 Run compilation-filter-hook for the async case too.
11199 (compilation-filter-hook): Doc fix.
11201 2011-05-09 Deniz Dogan <deniz@dogan.se>
11203 * wdired.el: Remove outdated installation comment. Fix usage
11206 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
11208 * misc.el: Implement new command `list-dynamic-libraries'.
11209 (list-dynamic-libraries--loaded-only-p): New variable.
11210 (list-dynamic-libraries--refresh): New function.
11211 (list-dynamic-libraries): New command.
11213 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
11215 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11216 Fix the ant regexp to handle end-line and end-column info from jikes.
11217 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11218 higher priority to avoid clobbering by gnu.
11220 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
11222 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11223 if the face has existing theme settings (Bug#8454).
11225 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11227 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11228 Only match variables declared via `my' or `our' (Bug#8261).
11230 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11231 special file names `.' and `..' (Bug#8259).
11233 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
11235 * progmodes/grep.el (grep-mode-font-lock-keywords):
11236 Remove buffer-changing entries.
11237 (grep-filter): New function.
11238 (grep-mode): Add it to compilation-filter-hook.
11240 * progmodes/compile.el (compilation-filter-hook)
11241 (compilation-filter-start): New defvars.
11242 (compilation-filter): Call compilation-filter-hook prior to
11243 updating the process mark.
11245 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11247 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11249 2011-05-07 Eli Zaretskii <eliz@gnu.org>
11251 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11252 mailclient-send-it even if window-system is nil. (Bug#8595)
11254 * term/w32console.el (terminal-init-w32console):
11255 Call get-screen-color and use its output to set the frame
11256 background-mode. (Bug#8597)
11258 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11260 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11261 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11263 (defgeneric, eieio--defmethod): Use them.
11264 (eieio-defgeneric): Remove.
11265 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11267 2011-05-07 Glenn Morris <rgm@gnu.org>
11269 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11270 Use let rather than let*.
11271 (timeclock-find-discrep): Remove unused local.
11273 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11275 * calendar/appt.el (appt-time-msg-list): Doc fix.
11277 2011-05-06 Noah Friedman <friedman@splode.com>
11279 * apropos.el (apropos-print-doc): Only use
11280 emacs-lisp-docstring-fill-column when it is bound to an integer,
11281 per that variable's documentation.
11283 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11285 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
11286 and warnings are not silently discarded (e.g. use -d instead of -P).
11288 2011-05-06 Glenn Morris <rgm@gnu.org>
11290 * calendar/appt.el (appt-message-warning-time): Doc fix.
11291 (appt-warning-time-regexp): New option.
11292 (appt-make-list): Respect appt-message-warning-time.
11294 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11296 (diary-add-to-list): Strip comments from the displayed string.
11297 (diary-mode): Set comment-start and comment-end.
11299 * vc/diff-mode.el (smerge-refine-subst): Declare.
11300 (diff-refine-hunk): Don't require smerge-mode when compiling.
11302 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
11304 * simple.el (list-processes): Return nil as the docstring says.
11306 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
11308 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11310 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11311 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11312 determining of binary transfer. (Bug#7383)
11314 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
11316 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11317 Fix port computation bug. (Bug#8618)
11319 2011-05-05 Glenn Morris <rgm@gnu.org>
11321 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11323 * simple.el (shell-dynamic-complete-functions)
11324 (comint-dynamic-complete-functions): Declare.
11326 * net/network-stream.el (gnutls-negotiate):
11327 * simple.el (tabulated-list-print): Fix declarations.
11329 * progmodes/gud.el (syntax-symbol, syntax-point):
11330 Remove unnecessary and incorrect declarations.
11332 * emacs-lisp/check-declare.el (check-declare-scan):
11333 Handle byte-compile-initial-macro-environment in bytecomp.el
11335 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11337 Fix earlier half-done eieio-defmethod change (bug#8338).
11338 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11339 Streamline and change calling convention.
11340 (defmethod): Adjust accordingly and simplify.
11341 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11342 new eieio--defmethod.
11343 (slot-boundp): Minor CSE simplification.
11345 2011-05-05 Milan Zamazal <pdm@zamazal.org>
11347 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11348 (glasses-make-readable): Use glasses-separate-capital-groups.
11350 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
11352 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11353 (warning-series): Doc fix.
11354 (display-warning): Don't try to create the buffer if we just found it.
11356 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
11358 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11359 (autoload-find-generated-file): New function.
11360 (generate-file-autoloads): Bind generated-autoload-file to
11362 (update-file-autoloads, update-directory-autoloads):
11363 Use autoload-find-generated-file. If called interactively, prompt for
11364 output file (Bug#7989).
11365 (batch-update-autoloads): Doc fix.
11367 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
11369 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11371 2011-05-04 Glenn Morris <rgm@gnu.org>
11373 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11374 function, so it follows changes in calendar-date-style.
11375 (diary-fancy-date-matcher): New function.
11376 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11377 (diary-fancy-font-lock-fontify-region-function):
11378 Use diary-fancy-date-pattern as a function.
11380 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11381 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11383 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11385 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11386 instead of positional arguments. Allow :keylist and :crlfiles
11388 (open-gnutls-stream): Call it.
11390 * net/network-stream.el (network-stream-open-starttls): Adjust to
11391 call `gnutls-negotiate' with :process and :hostname arguments.
11393 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11395 * minibuffer.el (completion--message): New function.
11396 (completion--do-completion, minibuffer-complete)
11397 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11398 (completion--do-completion): Don't ignore completion-auto-help when in
11401 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11402 internal encoding (e.g. tibetan zero is not whitespace).
11403 (global-whitespace-mode): Prefer save-current-buffer.
11404 (whitespace-trailing-regexp): Remove useless save-match-data.
11405 (whitespace-empty-at-bob-regexp): Minor simplification.
11407 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
11409 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11411 2011-05-03 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
11413 * textmodes/ispell.el (ispell-add-per-file-word-list):
11414 Use `concat' to create string for insertion.
11416 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11418 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11419 Avoid open-line which runs post-self-insert-hook.
11420 (bibtex-fill-entry): Remove unused `end' var.
11422 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11424 * textmodes/ispell.el (ispell-add-per-file-word-list):
11425 Protect against `nil' value of `comment-start' (Bug#8579).
11427 2011-05-03 Leo Liu <sdl.web@gmail.com>
11429 * isearch.el (isearch-yank-pop): New command.
11430 (isearch-mode-map): Bind it to `M-y'.
11431 (isearch-forward): Mention it.
11433 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11435 * simple.el (minibuffer-complete-shell-command): Remove.
11436 (minibuffer-local-shell-command-map): Use completion-at-point.
11437 (read-shell-command): Setup completion vars here instead.
11438 (read-expression-map): Bind TAB to symbol completion.
11440 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11441 error directly rather via storing it into `results'.
11443 2011-05-02 Leo Liu <sdl.web@gmail.com>
11445 * vc/diff.el: Fix description.
11447 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11449 * server.el (server-eval-at): New function.
11451 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11453 * net/network-stream.el (open-network-stream): Take a :nowait
11454 parameter and pass it on to `make-network-process'.
11455 (network-stream-open-plain): Ditto.
11457 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11459 * faces.el (face-spec-set-match-display): Don't match toolkit
11460 options on terminal frames.
11462 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11464 * progmodes/pascal.el: Use lexical binding.
11465 (pascal-mode-map): Remove author preferences.
11467 * pcomplete.el (pcomplete-std-complete): Don't abuse
11468 completion-at-point.
11470 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11472 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11473 removing code that has been dead since 1991 or so.
11475 * startup.el (command-line): When warning about "_emacs", use a
11476 delayed warning to allow the user to filter it out.
11478 2011-04-28 Deniz Dogan <deniz@dogan.se>
11480 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11481 user has not joined.
11483 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11485 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11486 aren't any completions at point.
11488 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
11490 * subr.el (display-delayed-warnings): New function.
11491 (delayed-warnings-hook): New variable.
11493 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11495 * minibuffer.el (completion-at-point, completion-help-at-point):
11496 Don't presume that a given completion-at-point-function will always
11497 use the same calling convention.
11499 * pcomplete.el (pcomplete-completions-at-point):
11500 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11501 pcomplete-seen is non-nil.
11502 (pcomplete-comint-setup): Also recognize the new comint/shell
11503 completion functions.
11504 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11505 pcomplete-seen is non-nil.
11507 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
11509 * calendar/icalendar.el (diary-lib): Add require statement.
11510 (icalendar--create-uid): Read out a uid from a text-property on
11511 the first character in the entry. This allows for code to add its
11512 own uid to the entry.
11513 (icalendar--convert-float-to-ical): Add export of
11514 `diary-float'-entries save for those with the optional DAY
11517 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11519 * subr.el (shell-quote-argument): Use alternate escaping strategy
11520 when we spot a variable reference in a string.
11522 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11524 * cus-start.el (all): Define customization for debug-on-event.
11526 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11528 * subr.el (shell-quote-argument): Escape correctly under Windows.
11530 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11532 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11534 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
11536 * net/tramp.el (tramp-process-actions): Add POS argument.
11537 Delete region between POS and (pos).
11539 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11540 Use `nil' position in `tramp-process-actions' call.
11541 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11543 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11544 position in `tramp-process-actions' call.
11546 * net/trampver.el: Update release number.
11548 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11550 * custom.el (defcustom): Obey lexical-binding.
11552 Fix octave-inf completion problems reported by Alexander Klimov.
11553 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11554 Inherit from octave-mode-syntax-table.
11555 (inferior-octave-mode): Set info-lookup-mode.
11556 (inferior-octave-completion-at-point): New function.
11557 (inferior-octave-complete): Use it and completion-in-region.
11558 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11559 comint-filename-completion.
11560 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11561 symbol elements which shouldn't be word elements.
11562 (octave-font-lock-keywords, octave-beginning-of-defun)
11563 (octave-function-header-regexp): Adjust regexps accordingly.
11564 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11566 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
11568 * net/gnutls.el (gnutls-errorp): Declare before first use.
11570 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11572 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11573 verify-error, and verify-hostname-error parameters. Check whether
11574 default trustfile exists before going to use it. Add missing
11575 argument to gnutls-message-maybe call. Return value.
11576 Reported by Claudio Bley <claudio.bley@gmail.com>.
11577 (open-gnutls-stream): Add usage example.
11579 * net/network-stream.el (network-stream-open-starttls): Give host
11580 parameter to `gnutls-negotiate'.
11581 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
11582 * subr.el (shell-quote-argument): Escape correctly under Windows.
11584 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
11586 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11587 Use correct match group (bug#8438).
11589 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11591 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11592 (package-menu--generate): New arg specifying packages to show.
11593 (package-menu-refresh, package-menu-execute, list-packages):
11595 (package-show-package-list): New function, replacing deleted
11596 package--list-packages (renamed because it is non-internal).
11598 * finder.el (finder-list-matches): Use package-show-package-list
11599 instead of deleted package--list-packages.
11601 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11602 Based on a previous implementation by Juanma Barranquero (Bug#8366).
11603 (vc-annotate-mode-map): Bind it to RET.
11605 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11607 * progmodes/etags.el (next-file): Don't use set-buffer to change
11608 buffers (Bug#8478).
11610 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
11612 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11614 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11615 (apropos-accumulator): Doc fix.
11616 (apropos-function, apropos-macro, apropos-command)
11617 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11618 (apropos-plist): Add face property.
11619 (apropos-symbols-internal): Fix indentation.
11620 (apropos-print): Simplify help, and recognize apropos-multi-type.
11621 (apropos-print-doc): Use button-type-get to extract the button's
11622 face property. Fill docstring (Bug#8352).
11624 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
11626 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11628 * play/mpuz.el (mpuz-silent): Doc fix.
11629 (mpuz-mode-map): Use mapc.
11630 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11631 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11632 Fix typos in docstrings.
11634 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11635 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11637 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11639 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
11641 * minibuffer.el (completion--do-completion): Avoid the "Next char
11642 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11644 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11645 mouse-2 into unread-command-events, it is interpreted correctly.
11647 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
11648 (image-toggle-display): Doc fix.
11650 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
11652 * textmodes/page.el (what-page): Use line-number-at-pos to
11653 calculate line number (Bug#6825).
11655 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11657 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11658 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11659 Pass argument NO-DEFAULT to `find-tag-interactive'.
11661 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
11663 Lexical-binding cleanup.
11665 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11666 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11667 * progmodes/ada-prj.el (ada-prj-initialize-values)
11668 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11669 (ada-prj-show-value):
11670 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11671 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11672 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11673 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11674 * progmodes/bug-reference.el (bug-reference-push-button):
11675 * progmodes/fortran.el (fortran-line-length):
11676 * progmodes/glasses.el (glasses-change):
11677 * progmodes/octave-mod.el (octave-fill-paragraph):
11678 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11679 (python-pdbtrack-grub-for-buffer, python-sentinel):
11680 * progmodes/sql.el (sql-save-connection):
11681 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11682 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11683 Mark unused parameters.
11685 * progmodes/compile.el (compilation--flush-directory-cache)
11686 (compilation--flush-parse, compile-internal): Mark unused parameters.
11687 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11688 (compilation-next-error-function): Remove unused variable `timestamp'.
11690 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11691 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11693 * progmodes/dcl-mode.el (dcl-end-of-command):
11694 Remove unused variable `start'.
11695 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11696 (dcl-option-value-basic, dcl-option-value-offset)
11697 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11698 Mark unused parameters.
11699 (dcl-save-local-variable): Remove unused variable `val'.
11702 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11703 Mark unused parameters.
11704 (delphi-ignore-changes): Move before first use.
11705 (delphi-charset-token-at): Remove unused variable `start'.
11706 (delphi-else-start): Remove unused variable `if-count'.
11707 (delphi-comment-block-start, delphi-comment-block-end):
11708 Remove unused variable `kind'.
11709 (delphi-indent-line): Remove unused variable `new-point'.
11711 * progmodes/ebrowse.el (ebrowse-files-list)
11712 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11713 Mark unused parameters. Don't quote `lambda'.
11714 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11715 Don't quote `lambda'.
11716 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11717 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11718 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11719 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11720 Use `ignore-errors'.
11721 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11722 (ebrowse-view/find-file-and-search-pattern)
11723 (ebrowse-view/find-member-declaration/definition):
11724 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11725 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11726 Rename parameter PREFIX-ARG to PREFIX.
11727 (ebrowse-tags-read-name): Remove unused variables `start' and
11729 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11732 * progmodes/etags.el (local-find-tag-hook): Declare.
11733 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11734 Mark unused parameters.
11736 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11737 (executable-interpret): Mark unused parameter.
11739 * progmodes/flymake.el (flymake-process-sentinel)
11740 (flymake-after-change-function)
11741 (flymake-create-temp-with-folder-structure)
11742 (flymake-get-include-dirs-dot): Mark unused parameters.
11743 (flymake-safe-delete-directory): Remove unused variable `err'.
11745 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11746 (speedbar-timer-fn, speedbar-line-text)
11747 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11748 (speedbar-center-buffer-smartly): Declare functions.
11749 (gdb-find-watch-expression): Remove unused variable `array'.
11750 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11751 (gdb-starting): Mark unused parameters.
11752 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11753 (gdb-table-string): Remove unused variable `res'.
11754 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11755 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11756 (gdb-display-buffer): Remove unused variable `cur-size'.
11758 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11759 allow lexical-binding compilation.
11760 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11761 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11762 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11763 Mark unused parameters.
11764 (gud-gdb-marker-filter): Remove unused variable `match'.
11765 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11766 lambda expressions and funcall them, instead of using `fset'.
11768 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11769 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11771 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11772 variable `header-beg'; use `let'.
11774 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11775 `restart', `last-sexp' and `at-do'.
11777 * progmodes/js.el (js--debug): Mark unused parameter.
11778 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11779 (js--splice-into-items): Remove unused variable `item'.
11780 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11782 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11783 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11784 (makefile-complete): Remove unused variable `try'.
11785 (makefile-fill-paragraph, makefile-match-function-end):
11786 Mark unused parameters.
11788 * progmodes/octave-inf.el (inferior-octave-complete):
11789 Remove unused variable `proc'.
11790 (inferior-octave-output-digest): Mark unused parameter.
11792 * progmodes/perl-mode.el (perl-calculate-indent):
11793 Remove unused variable `err'.
11795 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11796 (prolog-indent-line): Mark unused parameters.
11797 (prolog-indent-line): Remove unused variable `beg'.
11799 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11800 (reporter-dont-compact-list): Declare.
11802 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11803 Remove unused variable `char'.
11804 (sh-debug): Mark unused parameter.
11805 (sh-get-indent-info): Remove unused variable `start'.
11806 (sh-calculate-indent): Remove unused variable `var'.
11808 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11809 (simula-electric-keyword): Remove unused variable `null'.
11810 (simula-search-backward, simula-search-forward): Remove unused
11811 variables `begin' and `end'.
11813 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11814 Remove unused variable `pos'.
11815 (vera-electric-tab, vera-comment-uncomment-region):
11816 Mark unused parameters.
11817 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11819 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
11821 * emacs-lisp/package.el (package--builtins, package-alist)
11822 (package-load-descriptor, package-built-in-p, package-activate)
11823 (define-package, package-installed-p)
11824 (package-compute-transaction, package-buffer-info)
11825 (package--push): Doc fix. Distinguish more clearly between
11826 version strings and version lists.
11828 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
11830 Lexical-binding cleanup.
11832 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11833 (5x5-make-mutate-best):
11834 * play/fortune.el (fortune-in-buffer):
11835 * play/gomoku.el (gomoku-init-display):
11836 * play/solitaire.el (solitaire, solitaire-do-check):
11837 * play/tetris.el (tetris-default-update-speed-function):
11838 Mark unused parameters.
11840 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11841 (bubbles--shift): Remove unused variable `char-org'.
11842 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11843 (bubbles--show-images): Remove unused variable `char'.
11845 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11846 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11847 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11848 (decipher-analyze-buffer): Use ?\s.
11849 (decipher-make-checkpoint): Remove unused variable `mapping'.
11851 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11853 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11854 Remove unused variable `result'; use `let'.
11856 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11857 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11858 (gametree-children-shown-p, gametree-compute-reduced-score):
11859 Use `ignore-errors'.
11861 * play/handwrite.el (ps-lpr-switches): Declare.
11862 (handwrite): Remove unused variables `pmin' and `lastp'.
11864 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11866 * play/landmark.el (landmark-init-display)
11867 (landmark-update-naught-weights): Mark unused parameters.
11868 (landmark-y): Remove unused variable `noise'. Simplify.
11869 (landmark-human-plays): Remove unused variable `score'.
11871 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11872 (mpuz-try-proposal): Remove unused variable `game'.
11874 * play/zone.el (life-patterns): Declare.
11876 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
11878 * vc/vc.el (ediff-vc-internal): Declare function.
11880 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11882 * shell.el: Use lexical-binding and std completion UI.
11883 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11884 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11885 comint-preoutput-filter-functions rather than on
11886 comint-output-filter-functions.
11887 (shell-command-completion, shell--command-completion-data)
11888 (shell-filename-completion, shell-environment-variable-completion)
11889 (shell-c-a-p-replace-by-expanded-directory): New functions.
11890 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11891 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11892 (shell-dynamic-complete-environment-variable): Use them.
11893 (shell-dynamic-complete-as-environment-variable)
11894 (shell-dynamic-complete-as-command): Remove.
11895 (shell-match-partial-variable): Match past point.
11896 * comint.el: Clean up use of completion-at-point-functions.
11897 (comint-completion-at-point): New function.
11898 (comint-mode): Use it completion-at-point-functions.
11899 (comint-dynamic-complete): Make it obsolete.
11900 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11901 (comint-c-a-p-replace-by-expanded-history): New function.
11902 (comint-dynamic-complete-functions)
11903 (comint-replace-by-expanded-history): Use it.
11904 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11905 termination strings. Try harder to avoid second try-completion.
11906 (completion-in-region-mode-map): Disable bindings that don't work yet.
11908 * comint.el: Use lexical-binding. Require CL.
11909 (comint-dynamic-complete-functions): Use comint-filename-completion.
11910 (comint-completion-addsuffix): Tweak custom type.
11911 (comint-filename-completion, comint--common-suffix)
11912 (comint--common-quoted-suffix, comint--table-subvert)
11913 (comint--complete-file-name-data): New functions.
11914 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11915 (comint-dynamic-list-filename-completions): Use them.
11916 (comint-dynamic-simple-complete): Make obsolete.
11918 * minibuffer.el (completion-in-region-mode):
11919 Keep completion-in-region-mode--predicate global.
11920 (completion-in-region--postch):
11921 Assume completion-in-region-mode--predicate is not null.
11923 * progmodes/flymake.el (flymake-start-syntax-check-process):
11924 Obey `dir'. Simplify.
11926 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11927 we're in VC after all.
11929 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11931 * vc/vc.el (vc-diff-build-argument-list-internal)
11932 (vc-version-ediff, vc-ediff): New commands.
11933 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11935 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11937 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11940 * obsolete/erc-hecomplete.el: Make obsolete.
11941 * obsolete/: Standardize obsolescence info in the header.
11943 2011-04-20 Glenn Morris <rgm@gnu.org>
11945 * calendar/solar.el (solar-horizontal-coordinates):
11946 Use the longitude argument rather than `calendar-longitude'.
11947 (solar-date-next-longitude): Remove unused locals.
11949 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11951 * whitespace.el: New version 13.2.1.
11953 2011-04-20 felix <EmacsWiki> (tiny change)
11955 * whitespace.el (global-whitespace-mode): Keep highlight when
11956 switching between major modes on a file.
11958 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11960 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11961 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11962 multi-line comments as well.
11964 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
11966 Lexical-binding cleanup.
11968 * arc-mode.el (archive-mode-revert):
11969 * cmuscheme.el (scheme-interactively-start-process):
11970 * custom.el (custom-initialize-delay):
11971 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11972 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11973 * emacs-lock.el (emacs-lock-clear-sentinel):
11974 * ezimage.el (defezimage):
11975 * follow.el (follow-avoid-tail-recenter):
11976 * fringe.el (set-fringe-mode-1):
11977 * generic-x.el (bat-generic-mode-compile):
11978 * help-mode.el (help-info-variable, help-do-xref)
11979 (help-mode-revert-buffer):
11980 * help.el (view-emacs-todo):
11981 * iswitchb.el (iswitchb-completion-help):
11982 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11983 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11984 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11985 * locate.el (locate-update):
11986 * longlines.el (longlines-encode-region)
11987 (longlines-after-change-function):
11988 * outline.el (outline-isearch-open-invisible):
11989 * ps-def.el (declare-function, charset-dimension, char-width)
11991 * ps-mule.el (ps-mule-plot-string):
11992 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11993 (recentf-edit-list-select, recentf-edit-list-validate)
11994 (recentf-open-files-action):
11995 * rect.el (delete-whitespace-rectangle-line)
11996 (rectangle-number-line-callback):
11997 * register.el (window-configuration-to-register)
11998 (frame-configuration-to-register):
11999 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12000 * select.el (xselect-convert-to-string, xselect-convert-to-length)
12001 (xselect-convert-to-targets, xselect-convert-to-delete)
12002 (xselect-convert-to-filename, xselect-convert-to-charpos)
12003 (xselect-convert-to-lineno, xselect-convert-to-colno)
12004 (xselect-convert-to-os, xselect-convert-to-host)
12005 (xselect-convert-to-user, xselect-convert-to-class)
12006 (xselect-convert-to-name, xselect-convert-to-integer)
12007 (xselect-convert-to-atom, xselect-convert-to-identity):
12008 * subr.el (declare, ignore, process-kill-without-query)
12009 (text-clone-maintain):
12010 * terminal.el (te-get-char, te-tic-sentinel):
12011 * tool-bar.el (tool-bar-make-keymap):
12012 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12013 * type-break.el (type-break-mode, type-break-noninteractive-query):
12014 * view.el (View-back-to-mark):
12015 * wid-browse.el (widget-browse-action, widget-browse-widget)
12016 (widget-browse-widgets, widget-browse-sexp):
12017 * widget.el (define-widget-keywords):
12018 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12019 Mark unused parameters.
12021 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12022 (align-areas): Remove unused variable `look'.
12023 (align-region): Remove unused variables `real-end' and `pos-list'.
12025 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12027 * bindings.el (mode-line-modified, mode-line-remote):
12028 Mark unused parameters.
12029 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12031 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12032 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12034 * comint.el (comint-history-isearch-pop-state)
12035 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12036 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12037 (comint-substitute-in-file-name): Doc fix.
12039 * completion.el (cmpl-statistics-block): Mark unused parameter.
12040 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12041 (save-completions-to-file, load-completions-from-file):
12042 Remove unused local variable `e'.
12044 * composite.el (compose-chars): Remove unused variable `len'.
12045 (lgstring-insert-glyph): Remove unused variable `g'.
12046 (compose-glyph-string): Remove unused variables `ascent',
12047 `descent', `lbearing' and `rbearing'.
12048 (compose-glyph-string-relative): Remove unused variables
12049 `lbearing', `rbearing' and `wadjust'.
12050 (compose-gstring-for-graphic): Remove unused variables `header',
12051 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12052 (compose-gstring-for-terminal): Remove unused variables `header'
12053 and `nchars'. Use `let', not `let*'.
12055 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12056 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12057 (Custom-buffer-done, custom-buffer-create-internal)
12058 (custom-browse-visibility-action, custom-browse-group-tag-action)
12059 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12060 (widget-magic-mouse-down-action, custom-toggle-parent)
12061 (custom-add-parent-links, custom-toggle-hide-variable)
12062 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12063 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12064 (custom-face-menu-create, custom-variable-menu-create, get)
12065 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12066 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12067 (customize-apropos): Remove unused variable `tests'.
12068 (custom-group-value-create): Remove unused variable `hidden-p'.
12069 (sort-fold-case): Declare.
12071 * cus-theme.el (custom-reset-standard-faces-list)
12072 (custom-reset-standard-variables-list): Declare.
12073 (customize-create-theme, custom-theme-revert, custom-theme-write)
12074 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12075 Mark unused parameters.
12077 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12079 * delim-col.el (delimit-columns-max): Move defvar before first use.
12081 * descr-text.el (describe-char-categories): Don't quote `lambda'.
12082 (describe-char): Don't quote `lambda'. Mark unused parameter.
12084 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12085 (auto-insert): Declare.
12086 (desktop-restore-file-buffer): Rename desktop-* parameters;
12088 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12089 (desktop-buffer): Rename desktop-* parameters.
12091 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12092 (dframe-reposition-frame-xemacs, dframe-help-echo)
12093 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12094 Mark unused parameters.
12096 * dired-aux.el (backup-extract-version-start, overwrite-query)
12097 (overwrite-backup-query, rename-regexp-query)
12098 (rename-non-directory-query): Declare.
12099 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12100 (dired-add-entry): Remove unused variable `orig-file-name'.
12101 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12102 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12103 `dired-copy-preserve-time' directly.
12104 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12105 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12107 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12108 (dired-virtual-revert, dired-make-relative-symlink):
12109 Mark unused parameters.
12110 (manual-program): Declare.
12111 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12112 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12113 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12115 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12117 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12119 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12122 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12124 * electric.el (Electric-command-loop): Rename parameter
12125 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12127 * expand.el (expand-in-literal): Remove unused variable `here'.
12129 * facemenu.el (facemenu-add-new-color):
12130 Remove unused variable `docstring'.
12132 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12133 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12134 (face-attr-construct): Mark unused parameter. Doc fix.
12135 (read-color): Remove unused variable `hex-string'.
12137 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12138 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12139 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12140 (display-buffer-other-frame): Remove unused variable `old-window'.
12141 (kill-buffer-hook): Declare.
12142 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12143 Mark unused parameters.
12144 (after-find-file): Pass 1 to `auto-save-mode', not t.
12146 * files-x.el (auto-insert): Declare.
12147 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12149 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
12150 variable `buf'. Mark unused parameter.
12151 (find-lisp-insert-directory): Mark unused parameter.
12153 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12154 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12155 (format-common-tail): Remove, unused.
12156 (format-deannotate-region): Remove unused variable `loc'.
12157 (format-annotate-region): Remove unused variable `p'.
12158 (format-annotate-single-property-change): Remove unused variables
12159 `default' and `tail'.
12161 * forms.el (read-file-filter): Declare.
12162 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12164 * frame.el (frame-creation-function-alist): Mark unused parameter.
12165 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12167 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12168 Remove unused parameters.
12169 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12170 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12172 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12173 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12174 (hfy-prepare-tag-map): Mark unused parameters.
12175 (htmlfontify-buffer): Use `called-interactively-p'.
12177 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12178 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12179 (ibuffer-do-occur): Mark unused parameters.
12180 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12181 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12183 * ibuffer.el: Don't quote `lambda'.
12184 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12185 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12186 Mark unused parameters.
12188 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12189 (ido-completing-read): Mark unused parameters.
12190 (ido-copy-current-word): Mark unused parameters;
12191 remove unused variable `name'.
12192 (ido-sort-merged-list): Remove unused parameter `dirs'.
12194 * ielm.el (ielm-input-sender): Mark unused parameter.
12195 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12196 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12197 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12198 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12199 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12201 * image-dired.el (image-dired-display-thumbs): Remove unused
12202 variables `curr-file' and `count'.
12203 (image-dired-remove-tag): Remove unused variable `start'.
12204 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12205 variable `curr-file'
12206 (image-dired-rotate-original): Remove unused variable `temp-file'.
12207 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12208 Remove unused variable `file'.
12209 (image-dired-gallery-generate): Remove unused variable `curr'.
12210 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12212 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12214 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12216 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12218 * isearch.el (minibuffer-history-symbol): Declare.
12219 (isearch-edit-string): Remove unused variable `err'.
12220 (isearch-message-prefix, isearch-message-suffix):
12221 Mark unused parameters.
12223 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12225 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12227 * makesum.el (double-column): Remove unused variable `cnt'.
12229 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12230 (ido-ignore-item-temp-list): Declare.
12232 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12233 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12234 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12235 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12238 * mouse-sel.el (mouse-extend-internal):
12239 Remove unused variable `orig-window-frame'.
12241 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12242 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12243 Move declarations before first use.
12244 (pcomplete-opt): Mark unused parameters; doc fix.
12246 * proced.el (proced-revert): Mark unused parameter.
12247 (proced-send-signal): Remove unused variable `err'.
12249 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12250 Rename parameter PREFIX-ARG to ARG.
12251 (ps-basic-plot-string, ps-basic-plot-whitespace):
12252 Mark unused parameters.
12254 * replace.el (replace-count): Define.
12255 (occur-revert-function): Mark unused parameters.
12256 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12257 (isearch-case-fold-search, isearch-string): Declare.
12258 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12259 bind `case-fold-search'. Remove unused variables `beg' and `end',
12261 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12262 COUNT and bind `replace-count'.
12263 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12266 * savehist.el (print-readably, print-string-length): Declare.
12268 * shadowfile.el (shadow-expand-cluster-in-file-name):
12269 Remove unused variable `cluster'.
12270 (shadow-copy-file): Remove unused variable `i'.
12271 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12272 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12273 (shadow-define-literal-group, shadow-define-regexp-group)
12274 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12276 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12277 (shell): Use `called-interactively-p'.
12278 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12280 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12281 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12282 (delete-backward-char): Remove unused variable `ocol'.
12283 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12284 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12285 (event-apply-hyper-modifier, event-apply-shift-modifier)
12286 (event-apply-control-modifier, event-apply-meta-modifier):
12287 Mark unused parameters.
12288 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12289 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12291 * speedbar.el (speedbar-ignored-directory-expressions)
12292 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12293 (speedbar-find-file, speedbar-dir-follow)
12294 (speedbar-directory-buttons-follow, speedbar-tag-find)
12295 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12296 (speedbar-buffers-line-directory, speedbar-buffer-click):
12297 Mark unused parameters.
12298 (speedbar-tag-file): Remove unused variable `mode'.
12299 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12301 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12303 * talk.el (talk): Remove unused variable `display'.
12305 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12306 (tar-write-region-annotate): Mark unused parameter.
12308 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12309 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12310 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12311 warning by another.
12313 * time-stamp.el (time-stamp-string-preprocess):
12314 Remove unused variable `require-padding'.
12316 * tree-widget.el (widget-glyph-enable): Declare.
12317 (tree-widget-action): Mark unused parameter.
12319 * w32-fns.el (x-get-selection): Mark unused parameter.
12320 (autoload-make-program, generated-autoload-file): Declare.
12322 * wdired.el (wdired-revert): Mark unused parameters.
12323 (wdired-xcase-word): Remove unused variable `err'.
12325 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12326 (whitespace-help-scroll): Remove unused variable `data-help'.
12328 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12329 (widget-image-insert, widget-after-change, default)
12330 (widget-default-format-handler, widget-default-notify)
12331 (widget-default-prompt-value, widget-info-link-action)
12332 (widget-url-link-action, widget-function-link-action)
12333 (widget-variable-link-action, widget-file-link-action)
12334 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12335 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12336 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12337 (widget-insert-button-action, widget-delete-button-action, visibility)
12338 (widget-documentation-link-action, widget-documentation-string-action)
12339 (widget-const-prompt-value, widget-regexp-match, symbol)
12340 (widget-coding-system-prompt-value)
12341 (widget-key-sequence-value-to-external, sexp)
12342 (widget-sexp-value-to-internal, character, vector, cons)
12343 (widget-choice-prompt-value, widget-boolean-prompt-value)
12344 (widget-color--choose-action): Mark unused parameters.
12345 (widget-item-match-inline, widget-choice-match-inline)
12346 (widget-checklist-match, widget-checklist-match-inline)
12347 (widget-group-match): Rename parameter VALUES to VALS.
12348 (widget-field-value-set): Remove unused variable `size'.
12349 (widget-color-action): Remove unused variables `value' and `start'.
12351 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
12352 variable `dir'. Doc fix.
12353 (windmove-find-other-window): Don't pass it.
12355 * window.el (count-windows): Mark unused parameter.
12356 (bw-adjust-window): Remove unused variable `err'.
12358 * woman.el (woman-file-name): Remove unused variable `default'.
12359 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12360 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12361 (global-font-lock-mode): Declare.
12362 (woman-decode-region): Mark unused parameter.
12363 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12365 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12366 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12367 (x-dnd-handle-moz-url): Remove unused variable `title'.
12368 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12370 * xml.el (xml-parse-tag, xml-parse-attlist):
12371 Remove unused variable `pos'.
12373 2011-04-19 Glenn Morris <rgm@gnu.org>
12375 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12376 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12377 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12378 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12379 * calendar/cal-html.el (cal-html-insert-minical):
12380 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12381 (calendar-mark-date-pattern):
12382 Prefix "unused" locals.
12384 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12385 optional argument `style'.
12387 * calendar/appt.el (appt-make-list):
12388 * calendar/cal-china.el (calendar-chinese-date-string):
12389 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12390 (diary-hebrew-yahrzeit):
12391 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12392 * calendar/calendar.el (calendar-generate-window):
12393 * calendar/time-date.el (time-to-days):
12394 Remove unused local variables.
12396 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
12398 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12399 glyphless-char-display table.
12400 (tabulated-list-glyphless-char-display): New var.
12402 2011-04-18 Sam Steingold <sds@gnu.org>
12404 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12405 to acknowledgments.
12407 2011-04-17 Glenn Morris <rgm@gnu.org>
12409 * calendar/diary-lib.el (diary-sexp-entry):
12410 * calendar/holidays.el (holiday-sexp):
12411 Set debug-on-error rather than the removed stack-trace-on-error.
12413 2011-04-16 Glenn Morris <rgm@gnu.org>
12415 * progmodes/f90.el: Use lexical-binding.
12416 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12418 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12420 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12421 (mail-mode): Setup mailalias completion here instead.
12422 * mail/mailalias.el: Use lexical-binding.
12423 (pattern, mailalias-done): Declare dynamic.
12424 (mail-completion-at-point-function): New function, from mail-complete.
12425 (mail-complete): Use it.
12426 (mail-completion-expand): New function.
12427 (mail-get-names): Use it.
12428 (mail-directory, mail-directory-process, mail-directory-stream):
12429 Don't use `pattern' for lexically bound arg.
12431 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12433 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12434 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12435 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12437 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12438 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12439 (byte-interactive-p): Define them again, for use when inlining
12442 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
12444 * loadup.el: Use `string-to-number', not `string-to-int'.
12446 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12448 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12449 gud-gdb-complete-command.
12450 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12451 (gud-gdb-completion-at-point): New function.
12452 (gud-gdb-completions): Remove.
12454 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
12456 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12457 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12458 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12459 whether `executable-find' is bound.
12461 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12463 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12465 * minibuffer.el (completion-in-region-mode-predicate)
12466 (completion-in-region-mode--predicate): New vars.
12467 (completion-in-region, completion-in-region--postch)
12468 (completion-in-region-mode): Use them.
12469 (completion--capf-wrapper): Also return the hook function.
12470 (completion-at-point, completion-help-at-point):
12471 Adjust and provide a predicate.
12473 Preserve arg names for advice of subr and lexical functions (bug#8457).
12474 * help-fns.el (help-function-arglist): Consolidate the subr and
12475 new-byte-code cases. Add argument `preserve-names' to extract names
12476 from the docstring when needed.
12477 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12478 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12479 (ad-arglist): Use help-function-arglist's new arg.
12480 (ad-definition-type): Use cond.
12482 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
12484 * autorevert.el (auto-revert-handler):
12485 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12486 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12487 Don't quote lambda.
12489 * image-mode.el (image-transform-set-scale):
12490 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12492 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12494 * net/network-stream.el (network-stream-open-starttls): Only do
12495 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
12496 Upgrades via gnutls-cli are too slow to be done opportunistically.
12498 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
12500 * dframe.el (dframe-current-frame): Remove spurious quote.
12502 2011-04-12 Glenn Morris <rgm@gnu.org>
12504 * calendar/cal-tex.el (cal-tex-end-document):
12505 Try to automatically use latin1 input if needed.
12507 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12508 Don't try to cons a mark onto an empty element.
12510 2011-04-11 Leo Liu <sdl.web@gmail.com>
12512 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12514 (ido-kill-buffer-at-head): Support killing virtual buffers.
12516 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
12518 * minibuffer.el (completion-show-inline-help): New var.
12519 (completion--do-completion, minibuffer-complete)
12520 (minibuffer-force-complete, minibuffer-complete-word):
12521 Inhibit minibuffer messages if completion-show-inline-help is nil.
12523 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12524 to avoid interference from inline help (Bug#5849).
12526 2011-04-10 Leo Liu <sdl.web@gmail.com>
12528 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12531 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
12533 * image-mode.el (image-toggle-display-image): Signal an error if
12535 (image-transform-mode, image-transform-resize)
12536 (image-transform-set-rotation): Doc fix.
12537 (image-transform-set-resize): Delete.
12538 (image-transform-set-scale, image-transform-fit-to-height)
12539 (image-transform-fit-to-width): Handle image-toggle-display-image
12540 and image-transform-resize directly.
12542 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
12544 * doc-view.el (doc-view-fit-width-to-window)
12545 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12546 New functions for fitting the shown image to the Emacs window size.
12547 (doc-view-mode-map): Add bindings for the new functions.
12549 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
12551 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
12552 Fix typo in docstring.
12554 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12556 * files.el (file-size-human-readable): Produce one digit after
12557 decimal, like "ls -lh" does.
12559 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12560 the file size representation.
12562 * simple.el (list-processes): If async subprocesses are not
12563 available, error out with a clear error message.
12565 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
12567 * help.el (help-form-show): New function, to be called from C.
12568 Put help-form output in a buffer named differently than *Help*.
12570 2011-04-08 Eli Zaretskii <eliz@gnu.org>
12572 * files.el (file-size-human-readable): New function.
12574 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12575 computing the representation inline. Don't require `cl'.
12577 2011-04-08 Glenn Morris <rgm@gnu.org>
12579 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12581 * net/browse-url.el (browse-url-firefox):
12582 Test system-type, not system-configuration.
12584 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12585 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12586 Use log-edit-empty-buffer-p. (Bug#7598)
12588 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12589 (rlogin-mode-map): Initialize in the defvar.
12590 (rlogin): Use ignore-errors.
12592 * replace.el (occur-mode-map): Some fixes for menu items.
12594 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12596 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12598 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12600 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12601 issuing unused warnings.
12603 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12606 * simple.el: Lisp reimplement of list-processes. Based on an
12607 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12608 (process-menu-mode): New major mode.
12609 (list-processes--refresh, list-processes):
12610 (process-menu-visit-buffer): New functions.
12612 * files.el (save-buffers-kill-emacs): Don't assume any return
12613 value of list-processes, which is undocumented anyway.
12615 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
12617 * emacs-lisp/tabulated-list.el: New file.
12619 * emacs-lisp/package.el: Use Tabulated List mode.
12620 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12621 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12622 table format using Tabulated List mode variables.
12623 (package--push): New macro, replacing package-list-maybe-add.
12624 (package-menu--generate): Use package--push. Renamed from
12625 package--generate-package-list.
12626 (package-menu-refresh, list-packages): Use it.
12627 (package-menu--print-info): Rename from package-print-package.
12628 Return insertion data instead of inserting it directly.
12629 (package-menu-describe-package, package-menu-execute):
12630 Use tabulated-list-get-id.
12631 (package-menu-mark-delete, package-menu-mark-install)
12632 (package-menu-mark-unmark, package-menu-backup-unmark)
12633 (package-menu-mark-obsolete-for-deletion):
12634 Use tabulated-list-put-tag.
12635 (package--list-packages, package-menu-revert)
12636 (package-menu-get-package, package-menu-get-version)
12637 (package-menu-sort-by-column): Functions deleted.
12638 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12639 (package-menu--status-predicate, package-menu--version-predicate)
12640 (package-menu--name-predicate)
12641 (package-menu--description-predicate): Handle arguments in the
12642 Tabulated List format.
12643 (package-list-packages-no-fetch): Call list-packages.
12645 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
12647 * files.el (after-find-file-from-revert-buffer): Remove variable.
12648 (after-find-file): Don't bind it.
12649 (revert-buffer-in-progress-p): New variable.
12650 (revert-buffer): Bind it.
12651 Pass nil for `after-find-file-from-revert-buffer'.
12653 * saveplace.el (save-place-find-file-hook): Use new variable
12654 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12656 2011-04-06 Glenn Morris <rgm@gnu.org>
12658 * Makefile.in (AUTOGEN_VCS): New variable.
12659 (autoloads): Use $AUTOGEN_VCS.
12661 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12662 * calendar/calendar.el (calendar-mode-map):
12663 Check for toolkit scroll bars. (Bug#8305)
12665 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12667 * minibuffer.el (completion-in-region--postch)
12668 (completion-in-region-mode): Remove unnecessary messages.
12670 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
12672 * font-lock.el (font-lock-refresh-defaults):
12673 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12674 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12676 * info.el (Info-directory-list, Info-read-node-name-2)
12677 (Info-split-parameter-string): Doc fixes.
12678 (Info-virtual-nodes): Reflow docstring.
12679 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12680 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12681 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12682 Fix typos in docstrings.
12683 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12684 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12685 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12686 (Info-restore-desktop-buffer): Mark unused parameters.
12687 (Info-directory-find-file, Info-directory-find-node)
12688 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12689 (Info-virtual-index-find-node, Info-apropos-find-file)
12690 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
12691 Mark unused parameters; fix typos in docstrings.
12692 (Info-virtual-index): Remove unused local variable `nodename'.
12694 2011-04-05 Deniz Dogan <deniz@dogan.se>
12696 * net/rcirc.el: Update my e-mail address.
12697 (rcirc-mode-map): Remove M-o binding.
12699 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
12701 * startup.el (command-line): Save the cursor's theme-face
12702 directly, instead of using face-override-spec.
12704 * custom.el (load-theme): Minor optimization in assigning faces.
12706 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12708 * help-fns.el (describe-variable): Complete all variables having
12709 documentation, including keywords.
12710 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12712 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
12714 Convert to lexical-binding.
12716 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12717 (bs--get-marked-string, bs--get-modified-string)
12718 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12719 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12720 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12722 * ehelp.el (electric-help-execute-extended)
12723 (electric-help-ctrl-x-prefix):
12724 * hexl.el (hexl-revert-buffer-function):
12725 * linum.el (linum-after-change, linum-after-scroll):
12726 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12728 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12730 2011-04-04 Daiki Ueno <ueno@unixuser.org>
12737 * epg.el: Use lexical binding.
12739 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
12741 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12743 * textmodes/flyspell.el (flyspell-word): Recognize default
12744 dictionary case for flyspell-mark-duplications-exceptions.
12745 Use regexp matching for languages.
12746 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12747 default dictionary (Bug#7926).
12749 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
12751 * emacs-lisp/package.el (package--with-work-buffer):
12752 Recognize https URLs.
12754 * net/network-stream.el: Move from gnus/proto-stream.el.
12755 Change prefix to network-stream throughout.
12756 (open-protocol-stream): Merge into open-network-stream, leaving
12757 open-protocol-stream as an alias. Handle nil BUFFER args.
12759 * subr.el (open-network-stream): Move to net/network-stream.el.
12761 2011-04-02 Glenn Morris <rgm@gnu.org>
12763 * find-dired.el (find-exec-terminator): New option.
12764 (find-ls-option): Test for -ls support.
12765 (find-ls-subdir-switches): Test for -b in find-ls-option.
12766 (find-dired, find-grep-dired): Doc fixes.
12767 (find-dired): Use find-exec-terminator.
12769 * find-dired.el (find-ls-option, find-ls-subdir-switches)
12770 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12771 (find-name-arg): Remove purecopy.
12773 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12774 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12775 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12776 accordingly. Don't add the null-device if not needed.
12778 * files.el (save-some-buffers): Doc fix.
12780 2011-04-02 Eli Zaretskii <eliz@gnu.org>
12782 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12784 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
12786 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12787 Use `dolist' rather than `mapcar'.
12789 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12791 Add lexical binding.
12793 * subr.el (apply-partially): Use new closures rather than CL.
12794 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12795 (dolist, dotimes): Use slightly different expansion for lexical code.
12796 (functionp): Move to C.
12797 (letrec): New macro.
12798 (with-wrapper-hook): Use it and apply-partially instead of CL.
12799 (eval-after-load): Preserve lexical-binding.
12800 (save-window-excursion, with-output-to-temp-buffer): Turn them
12803 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12805 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12807 (help-add-fundoc-usage): Don't add `Not documented'.
12808 (help-function-arglist): Handle closures, subroutines, and new
12809 byte-code-functions.
12810 (help-make-usage): Remove leading underscores.
12811 (describe-function-1): Handle closures.
12812 (describe-variable): Use special-variable-p for completion.
12814 * files.el (lexical-binding): Declare safe.
12816 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12817 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12818 (pcase): Add `let' pattern.
12819 Change memoization so it actually works.
12820 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12821 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12824 * emacs-lisp/macroexp.el: Use lexical binding.
12825 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12826 Don't convert ' to #' without checking that it's indeed quoting
12829 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
12830 Use eval-sexp-add-defvars.
12831 (eval-sexp-add-defvars): New fun.
12833 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12835 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12837 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12838 than the internal `byte-compile-lambda'.
12839 (defmethod): Don't hide code under quotes.
12840 (eieio-defmethod): New `code' argument.
12842 * emacs-lisp/eieio-comp.el: Remove.
12844 * emacs-lisp/edebug.el (edebug-eval-defun)
12845 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12846 (edebug-toggle): Avoid `eval'.
12848 * emacs-lisp/disass.el (disassemble-internal): Handle new
12850 (disassemble-1): Handle new byte codes.
12852 * emacs-lisp/cl.el (pushnew): Silence warning.
12854 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12855 (cl-byte-compile-throw): Remove.
12856 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12858 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12861 * emacs-lisp/cconv.el: New file.
12863 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12864 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12865 (byte-compile-initial-macro-environment):
12866 Handle declare-function here.
12867 (byte-compile--lexical-environment): New var.
12868 (byte-stack-ref, byte-stack-set, byte-discardN)
12869 (byte-discardN-preserve-tos): New lap codes.
12870 (byte-interactive-p): Don't use any more.
12871 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12873 (byte-compile-lapcode): Use them and handle new lap codes.
12874 (byte-compile-obsolete): Remove.
12875 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12876 (byte-compile-arglist-warn): Check late def of inlinable funs.
12877 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12878 since they should have been expanded by now.
12879 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12880 (byte-compile-from-buffer): Remove unused second arg.
12881 (byte-compile-preprocess): New function.
12882 (byte-compile-toplevel-file-form): New function to distinguish
12883 file-form calls from outside from file-form calls from hunk-handlers.
12884 (byte-compile-file-form): Simplify.
12885 (byte-compile-file-form-defsubst): Remove.
12886 (byte-compile-file-form-defmumble): Simplify now that
12887 byte-compile-lambda always returns a byte-code-function.
12888 (byte-compile): Preprocess.
12889 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12890 Remove, not used any more.
12891 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12892 (byte-compile-make-args-desc): New funs.
12893 (byte-compile-lambda): Handle lexical functions. Always return
12894 a byte-code-function.
12895 (byte-compile-reserved-constants): New var, to make up room for
12896 closed-over variables.
12897 (byte-compile-constants-vector): Obey it.
12898 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12899 (byte-compile-macroexpand-declare-function): New function.
12900 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12901 byte-code-functions.
12902 (byte-compile-form): Check obsolescence here.
12903 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12904 (byte-compile-variable-ref): Remove.
12905 (byte-compile-dynamic-variable-op): New fun.
12906 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12907 (byte-compile-variable-set): New funs.
12908 (byte-compile-discard): Add 2 args.
12909 (byte-compile-stack-ref, byte-compile-stack-set)
12910 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12911 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12912 macroexpand-all instead.
12913 (byte-compile-quote-form): Remove.
12914 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12915 (byte-compile-bind, byte-compile-unbind): New funs.
12916 (byte-compile-let): Handle let* and lexical binding.
12917 (byte-compile-let*): Remove.
12918 (byte-compile-catch, byte-compile-unwind-protect)
12919 (byte-compile-track-mouse, byte-compile-condition-case):
12920 Handle a new :fun-body form, used for lexical scoping.
12921 (byte-compile-save-window-excursion)
12922 (byte-compile-with-output-to-temp-buffer): Remove.
12923 (byte-compile-defun): Simplify.
12924 (byte-compile-stack-adjustment): New fun.
12925 (byte-compile-out): Use it.
12926 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12928 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12931 * emacs-lisp/byte-opt.el: Use lexical binding.
12932 (byte-inline-lapcode): Remove (to bytecomp).
12933 (byte-compile-inline-expand): Pay attention to inlining to/from
12934 lexically bound code.
12935 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12937 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12938 any more and don't call compiler-macros.
12939 (byte-compile-splice-in-already-compiled-code): Remove.
12940 (byte-code): Don't inline any more.
12941 (disassemble-offset): Receive `bytes' as argument rather than via
12943 (byte-compile-tag-number): Declare before first use.
12944 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12945 `return' even if make-spliceable.
12946 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12947 obsolete interactive-p.
12948 (byte-optimize-lapcode): Optimize new lap-codes.
12949 Don't trip up on new form of `byte-constant' lap code.
12951 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12953 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12955 * custom.el (custom-initialize-default, custom-declare-variable):
12958 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12960 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12961 (COMPILE_FIRST): Add macroexp and cconv.
12962 * makefile.w32-in: Mirror changes in Makefile.in.
12964 * vc/cvs-status.el:
12968 * vc/smerge-mode.el:
12969 * textmodes/bibtex-style.el:
12970 * textmodes/css.el:
12978 * emacs-lisp/smie.el:
12981 * abbrev.el: Use lexical binding.
12983 2011-04-01 Eli Zaretskii <eliz@gnu.org>
12985 * info.el (info-display-manual): New function.
12987 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12989 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12991 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12993 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
12994 an entry for that server in rcirc-authinfo. (Bug#8385)
12996 2011-03-31 Glenn Morris <rgm@gnu.org>
12998 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13000 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13002 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13004 * progmodes/python.el (python-default-interpreter)
13005 (python-python-command-args, python-jython-command-args)
13006 (python-which-shell, python-which-args, python-which-bufname)
13007 (python-file-queue, python-comint-output-filter-function)
13008 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13009 variables and functions.
13011 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13013 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13014 (completion-in-region-mode): New minor mode.
13015 (completion-in-region): Use it.
13016 (completion-in-region--data, completion-in-region-mode-map): New vars.
13017 (completion-in-region--postch): New function.
13018 (completion--capf-misbehave-funs, completion--capf-safe-funs):
13020 (completion--capf-wrapper): New function.
13021 (completion-at-point): Use it to track well-behavedness of
13023 (completion-help-at-point): New command.
13025 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13027 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13028 syntax class to search for whitespace on a single line
13029 (Message-ID: <4D938140.4030905@redhat.com>).
13031 2011-03-30 Leo Liu <sdl.web@gmail.com>
13033 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13035 (edit-abbrevs-map): Bind them here.
13036 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13038 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13040 * allout.el (allout-hide-by-annotation, allout-flag-region):
13041 Reduce possibility of overlay leakage by making them volatile.
13043 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13044 hash is not shared between buffers. Mode initialization is
13045 responsible for giving it a useful starting value.
13046 (allout-item-span): Reduce possibility of overlay leakage by
13047 making them volatile.
13048 (allout-widgets-count-buttons-in-region): Add diagnostic function
13049 for tracking down button overlay leaks.
13051 2011-03-29 Leo Liu <sdl.web@gmail.com>
13053 * ido.el (ido-read-internal): Use the default history var
13054 minibuffer-history if no HISTORY is specified.
13056 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13058 * net/imap.el (imap-shell-open, imap-process-connection-type):
13059 Use imap-process-connection-type for 'shell' streams as well as
13060 Kerberos, SSL, other subprocesses.
13062 2011-03-28 Leo Liu <sdl.web@gmail.com>
13064 * abbrev.el (abbrev-table-empty-p): New function.
13065 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13066 nonempty ones. (Bug#5937)
13068 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13070 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13072 2011-03-27 Leo Liu <sdl.web@gmail.com>
13074 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13075 for foreground and background colors.
13076 (ansi-color-make-color-map): Adapt.
13078 2011-03-25 Leo Liu <sdl.web@gmail.com>
13080 * midnight.el (midnight-time-float): Remove. Note it calculates
13081 the microsecond component incorrectly and seconds-to-time does the
13083 Remove redundant (require 'timer).
13085 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13086 (ido-completions): Remove unused arguments. (Bug#8329)
13088 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13090 * minibuffer.el (completion--flush-all-sorted-completions):
13091 Remove itself from hook.
13092 (completion-at-point): Let the functions perform the completion
13093 immediately and return nil or t.
13094 * comint.el (comint-dynamic-complete-functions): Now identical to
13095 completion-at-point-functions.
13096 (comint-dynamic-list-input-ring): Remove unused var `index'.
13097 (comint--match-partial-filename, comint--unquote&expand-filename):
13098 New funs, split from comint-match-partial-filename.
13099 (comint-dynamic-complete): Use completion-at-point.
13100 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13102 2011-03-24 Drew Adams <drew.adams@oracle.com>
13104 * thingatpt.el: Support `defun'.
13106 2011-03-23 Leo Liu <sdl.web@gmail.com>
13108 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13110 * help-mode.el (help-mode-finish): Tweak regexp.
13112 2011-03-23 Glenn Morris <rgm@gnu.org>
13114 * eshell/esh-opt.el (eshell-eval-using-options):
13115 Do not bind unused local variable `eshell-option-stub'.
13117 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13119 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
13121 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13122 keymap variable in `with-no-warnings' to avoid a warning when the
13123 keymap has been already `defconst'ed.
13125 2011-03-22 Leo Liu <sdl.web@gmail.com>
13127 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13128 encode all chars in abbrevs; otherwise use emacs-mule or
13129 utf-8-emacs. (Bug#8308)
13131 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
13133 * simple.el (backward-delete-char-untabify):
13134 Avoid warning about using `delete-backward-char'.
13136 * image.el (image-type-file-name-regexps): Make it variable.
13137 `imagemagick-register-types' modifies it, and the user may want
13138 to add new extensions for known image types.
13139 (imagemagick-register-types): Throw error if not using ImageMagick.
13141 2011-03-22 Leo Liu <sdl.web@gmail.com>
13143 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13144 located before rcirc-prompt-end-marker.
13145 (rcirc-complete): Error if point is not after rcirc prompt.
13146 Handle the case when table is nil.
13147 (rcirc-user-authenticated): Define to fix compiler warning.
13149 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
13151 * custom.el (custom--inhibit-theme-enable): Make it affect only
13152 custom-theme-set-variables and custom-theme-set-faces.
13153 (provide-theme): Ignore custom--inhibit-theme-enable.
13154 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13155 (custom-enabling-themes): Delete variable.
13156 (enable-theme): Accept only loaded themes as arguments.
13157 Ignore the special custom-enabled-themes variable.
13158 (custom-enabled-themes): Forbid themes from setting this.
13159 Eliminate use of custom-enabling-themes.
13160 (custom-push-theme): Quote "changed" custom var entry.
13162 2011-03-21 Leo Liu <sdl.web@gmail.com>
13164 * ido.el (ido-read-internal): Add ido-selected to history instead
13167 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13169 * subr.el (deferred-action-list, deferred-action-function):
13172 2011-03-21 Leo Liu <sdl.web@gmail.com>
13174 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13175 change on 2011-02-13 (bug#8309).
13177 * minibuffer.el (read-file-name-function): Change default value.
13178 (read-file-name--defaults): Rename from read-file-name-defaults.
13179 (read-file-name-default): Rename from read-file-name.
13180 (read-file-name): Call read-file-name-function.
13182 2011-03-21 Glenn Morris <rgm@gnu.org>
13184 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13187 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
13189 * cus-theme.el: Add missing provide statement.
13190 (customize-create-theme): Extract theme value correctly.
13191 (custom-theme-visit-theme): Autoload.
13192 (customize-create-theme): Prompt before inserting default faces.
13194 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13196 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13197 units and musical notes.
13199 2011-03-20 Leo Liu <sdl.web@gmail.com>
13201 * ido.el (ido-read-internal): Use completing-read-default.
13202 (ido-completing-read): Fix compatibility with completing-read.
13204 2011-03-20 Christian Ohler <ohler@gnu.org>
13206 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13207 (ert-delete-all-tests): Use `called-interactively-p' rather than
13209 (ert--make-xrefs-region): Respect END.
13211 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
13213 * dired-aux.el (dired-create-directory): Signal an error if the
13214 directory already exists (Bug#8246).
13216 * facemenu.el (list-colors-display): Call list-faces-display
13217 inside with-help-window.
13218 (list-colors-print): Use display property to align the final
13219 column, instead of checking window-width.
13221 2011-03-19 Eli Zaretskii <eliz@gnu.org>
13223 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
13224 windows-nt systems.
13225 (emerge-protect-metachars): Quote correctly for ms-dos and
13226 windows-nt systems.
13228 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
13230 * info.el (info-initialize): Replace all uses of `:' with
13231 path-separator for compatibility with non-Unix systems.
13232 Cache quoting of path-separator. (Bug#8258)
13234 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
13236 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13237 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13238 (mouse-avoidance-mode): Fix typos in docstrings.
13240 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
13242 * startup.el (package-subdirectory-regexp): Move from package.el.
13243 Omit \\` and \\', and let callers add them.
13245 * emacs-lisp/package.el (package-strip-version)
13246 (package-load-all-descriptors): Add \\` and \\' to
13247 package-subdirectory-regexp before using it.
13248 (package-untar-buffer): New arg DIR; ensure that file untars only
13249 into this expected directory. Remove superfluous delete-region.
13250 (package-unpack): Caller changed.
13251 (package-tar-file-info): Use package-subdirectory-regexp.
13253 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13255 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13256 diff-mode-shared-map (bug#8284).
13257 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
13259 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13261 * calendar/time-date.el (format-seconds): Use assoc instead of
13262 assoc-string, since assoc-string doesn't exist in XEmacs.
13264 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
13266 * custom.el (custom-known-themes): Reflow docstring.
13267 (custom-theme-load-path): Fix typo in docstring.
13268 (load-theme): Fix typo in error message.
13269 (custom-available-themes, custom-variable-theme-value):
13270 Use `let', not `let*'.
13272 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13274 * calc/README: Mention inclusion of musical notes.
13276 * calc/calc-units.el (calc-lu-quant): Rename from
13277 `calc-logunits-quantity'.
13278 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13279 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13280 (calc-db): Rename from `calc-dblevel'.
13281 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13282 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13283 (calc-np): Rename from `calc-nplevel'.
13284 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13285 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13286 (calc-lu-plus): Rename from `calc-logunits-add'.
13287 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13288 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13289 (calc-lu-minus): Rename from `calc-logunits-sub'.
13290 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13291 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13292 (calc-lu-times): Rename from `calc-logunits-mul'.
13293 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13294 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13295 (calc-lu-divide): Rename from `calc-logunits-div'.
13296 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13297 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13299 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13300 functions being autoloaded.
13302 * calc/calc.el (calc-lu-power-reference): Rename from
13303 `calc-logunits-power-reference'.
13304 (calc-lu-field-reference): Rename from
13305 `calc-logunits-field-reference'.
13307 * calc/calc-help.el (calc-l-prefix-help):
13308 Mention musical note functions.
13310 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13312 * minibuffer.el (completion-all-sorted-completions):
13313 Use :completion-cycle-penalty text property if present.
13315 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13317 * allout.el (allout-yank-processing): Adjust for new rebulleting
13318 regime so bullet being yanked is used without prompting the user
13321 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
13323 * startup.el (command-line): Warn the user that _emacs is deprecated.
13325 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
13327 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13328 (delphi-verbose, delphi-comment-face, delphi-string-face)
13329 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13330 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13331 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13332 (delphi-new-comment-line, delphi-font-lock-defaults)
13333 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13334 Fix typos in docstrings.
13336 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13338 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
13339 Invert the roles of character and string values for INSTEAD, so a
13340 string is used for the more common case of a defaulting prompt.
13342 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13344 * progmodes/ruby-mode.el (ruby-backward-sexp):
13345 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13346 * play/gamegrid.el (gamegrid-make-face):
13347 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13348 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13349 * notifications.el (notifications-notify):
13350 * net/xesam.el (xesam-search-engines):
13351 * net/quickurl.el (quickurl-list-insert):
13352 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13354 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
13356 * startup.el (command-line): Update package subdirectory regexp.
13358 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13360 * allout.el (allout-abbreviate-flattened-numbering)
13361 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13363 * subr.el (read-char-choice): Only show the cursor after the prompt,
13364 not after the answer.
13366 2011-03-15 Kevin Ryde <user42@zip.com.au>
13368 * help-fns.el (variable-at-point): Skip leading quotes, if any
13371 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13373 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13376 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
13378 * shell.el (shell): When called interactively, offer to change the
13379 shell file name on remote hosts.
13381 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13383 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13384 integration for LDAP parameters. The host, base, user or binddn,
13385 and secret tokens can be specified in a netrc file, for instance.
13386 This is optional because an `auth-source' parameter must be
13387 specified in the search attributes.
13389 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
13391 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13393 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13395 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13396 into declaration. Remove redundant and harmful binding.
13398 2011-03-12 Eli Zaretskii <eliz@gnu.org>
13400 * files.el (file-ownership-preserved-p): Pass `integer' as an
13401 explicit 2nd argument to `file-attributes'. If the file's owner
13402 is the Administrators group on Windows, and the current user is
13403 Administrator, consider that a match.
13405 * server.el (server-ensure-safe-dir): Consider server directory
13406 safe on MS-Windows if its owner is the Administrators group while
13407 the current Emacs user is Administrator. Use `=' to compare
13408 numerical UIDs, since they could be integers or floats.
13410 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
13412 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13414 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
13416 Sync with Tramp 2.2.1.
13418 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13420 * net/trampver.el: Update release number.
13422 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13424 * progmodes/compile.el (compilation--previous-directory): Fix up
13425 various nil/dead-marker mismatches (bug#8014).
13426 (compilation-directory-properties, compilation-error-properties):
13427 Don't call it at a position past the one we're about to change.
13429 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13430 Disable obsolescence warnings in the file that declares it.
13432 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13434 * allout-widgets.el (allout-widgets-tally):
13435 Initialize allout-widgets-tally as a hash table rather than nil to
13436 prevent mode-line redisplay warnings. Also, clarify the module
13437 description and fix a comment typo.
13439 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
13441 * help-fns.el (describe-variable): Don't complete keywords.
13442 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13444 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
13446 * emacs-lisp/package.el (package-version-join): Impose a standard
13447 string representation for pre/alpha/beta version lists.
13448 (package-unpack-single): Standardize the directory name by passing
13449 it through package-version-join.
13450 (package-strip-rcs-id): Accept any version string that does not
13451 signal an error in version-to-list.
13453 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
13455 * simple.el (delete-trailing-whitespace): Return nil for the
13456 benefit of `write-file-functions'.
13458 2011-03-10 Glenn Morris <rgm@gnu.org>
13460 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13462 * vc/vc-git.el (vc-git-program): New option.
13463 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13464 (vc-git--call): Use it.
13466 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13468 * cus-edit.el (Custom-newline): If no button at point, look
13469 for a subgroup button at start-of-line. (Bug#2298)
13471 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13473 2011-03-10 Julien Danjou <julien@danjou.info>
13475 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13476 `cursor-type' is nil.
13478 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13480 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13482 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13484 * allout.el: Change so yank of distinctive-bullet items
13485 preserves the existing header prefix, rebulleting it if necessary,
13486 rather than replacing it. This is necessary for proper operation
13487 of cooperative addons like allout-widgets.
13488 (allout-make-topic-prefix, allout-rebullet-heading):
13489 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13490 value as alternate bullet to be used, instead of prompting the user
13491 for a bullet character.
13493 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
13495 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13496 Do not use `tramp-file-name-port', because this returns also
13497 `tramp-default-port'.
13499 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13501 * net/rcirc.el (rcirc-handler-001): Remove useless
13502 with-rcirc-process-buffer.
13503 (rcirc-check-auth-status): Swap arguments to string-match.
13505 2011-03-09 Glenn Morris <rgm@gnu.org>
13507 * shell.el (shell-mode):
13508 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13510 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13511 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13513 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13515 * emacs-lisp/package.el (package-refresh-contents)
13516 (package-menu-execute): Use condition-case-no-debug.
13518 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
13520 * simple.el (shell-command-to-string): Use `process-file'.
13522 * emacs-lisp/package.el (package-tar-file-info): Handle also
13525 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13526 Use `equal' for upload base check.
13528 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13530 * textmodes/texinfo.el (texinfo-environments):
13531 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13533 2011-03-08 Glenn Morris <rgm@gnu.org>
13535 * cus-start.el (cursor-in-non-selected-windows):
13536 Fix :set quoting oddness. (Bug#8192)
13538 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13539 in some setf expressions. (Bug#2159)
13541 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
13543 * custom.el (custom-available-themes): Return themes in
13544 alphabetical order.
13546 See ChangeLog.15 for earlier changes.
13548 ;; Local Variables:
13552 Copyright (C) 2011-2012 Free Software Foundation, Inc.
13554 This file is part of GNU Emacs.
13556 GNU Emacs is free software: you can redistribute it and/or modify
13557 it under the terms of the GNU General Public License as published by
13558 the Free Software Foundation, either version 3 of the License, or
13559 (at your option) any later version.
13561 GNU Emacs is distributed in the hope that it will be useful,
13562 but WITHOUT ANY WARRANTY; without even the implied warranty of
13563 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13564 GNU General Public License for more details.
13566 You should have received a copy of the GNU General Public License
13567 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.