* progmodes/octave.el (inferior-octave-directory-tracker-resync):
[bpt/emacs.git] / lisp / ChangeLog
1 2013-05-27 Leo Liu <sdl.web@gmail.com>
2
3 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
4 New variable.
5 (inferior-octave-directory-tracker): Automatically re-sync
6 default-directory.
7 (octave-help): Improve handling of 'See also'.
8
9 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10
11 * doc-view.el: Minor naming convention tweaks.
12 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13
14 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
15 even if there's no `display' property yet (bug#14435).
16
17 2013-05-25 Eli Zaretskii <eliz@gnu.org>
18
19 * subr.el (unmsys--file-name): Rename from reveal-filename.
20
21 * Makefile.in (custom-deps, finder-data, autoloads)
22 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
23 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
24 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
25
26 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
27
28 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
29 error-completion on the first 2 args of condition-case (bug#14446).
30 Don't burp at EOB.
31
32 2013-05-25 Leo Liu <sdl.web@gmail.com>
33
34 * comint.el (comint-previous-matching-input): Do not flood the
35 *Messages* buffer with trivial messages.
36
37 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
38
39 * progmodes/flymake.el (flymake-nop): Don't return a string.
40 (flymake-set-at): Fix typo.
41
42 * simple.el (read--expression): New function, extracted from
43 eval-expression. Set completion-at-point-functions (bug#14465).
44 (eval-expression, eval-minibuffer): Use it.
45
46 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
47
48 * progmodes/flymake.el (flymake-save-buffer-in-file)
49 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
50 (flymake-selected-frame, flymake-log, flymake-ins-after)
51 (flymake-set-at, flymake-get-buildfile-from-cache)
52 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
53 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
54 Refine the doc string.
55 (flymake-get-file-name-mode-and-masks): Reformat.
56 (flymake-get-real-file-name-function): Fix a minor bug.
57
58 2013-05-24 Juri Linkov <juri@jurta.org>
59
60 * progmodes/grep.el (grep-mode-font-lock-keywords):
61 Support =linenumber= format used by git-grep for lines with
62 function names. (Bug#13549)
63
64 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
65
66 * progmodes/octave.el (octave-smie-rules): Return nil rather than
67 0 after a semi-colon; it works better for smie-auto-fill.
68 (octave--indent-new-comment-line): New function.
69 (octave-indent-new-comment-line): Use it (indirectly).
70 (octave-mode): Don't disable smie-auto-fill. Use add-function to
71 modify comment-line-break-function.
72
73 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
74 (smie-setup): Use add-function to set it.
75
76 2013-05-24 Sam Steingold <sds@gnu.org>
77
78 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
79 argument (before the `interactive' argument).
80
81 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
82
83 * image-mode.el (image-mode-winprops): Add winprops to
84 image-mode-winprops-alist before running
85 image-mode-new-window-functions.
86 * doc-view.el (doc-view-new-window-function): Don't delay
87 doc-view-goto-page via timers (bug#14435).
88
89 2013-05-24 Tassilo Horn <tsdh@gnu.org>
90
91 * doc-view.el: Integrate with desktop.el. (Bug#14435)
92 (doc-view-desktop-save-buffer): New function.
93 (doc-view-restore-desktop-buffer): New function.
94 (desktop-buffer-mode-handlers):
95 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
96 handler.
97 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
98 `desktop-save-buffer' function.
99
100 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
101
102 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
103 (tramp-gvfs-file-name-handler): Raise a user error when
104 `tramp-gvfs-enabled' is nil.
105 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
106 Do not raise a user error when loading package. (Bug#14447)
107
108 * net/xesam.el: Move to obsolete/.
109
110 2013-05-24 Glenn Morris <rgm@gnu.org>
111
112 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
113
114 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
115
116 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
117 (Info-find-node, Man-getpage-in-background): Declare.
118
119 * mail/unrmail.el (unrmail):
120 Replace obsolete detect-coding-with-priority.
121
122 * net/socks.el (socks-split-string): Use this rather than split-string.
123 (socks-nslookup-host): Update for above change.
124 (dynamic-choice, s5-dynamic-choice-match)
125 (s5-dynamic-choice-match-inline, s5-widget-value-create):
126 Comment out unused code.
127
128 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
129 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
130 (gud-tooltip-echo-area): Make obsolete.
131 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
132
133 * progmodes/js.el (js--optimize-arglist): Declare.
134
135 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
136
137 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
138 (ediff-window-C): Declare.
139
140 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
141 Tweak requires to silence compiler.
142
143 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
144 (he-search-string, he-tried-table, he-expand-list)
145 (he-init-string, he-string-member, he-substitute-string)
146 (he-reset-string): Declare.
147
148 * obsolete/options.el (list-options): Use custom-variable-p,
149 rather than obsolete alias.
150
151 2013-05-23 Sam Steingold <sds@gnu.org>
152
153 * simple.el (shell-command-on-region): Pass the `replace' argument
154 down to `call-process-region' to comply with the doc as reported on
155 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
156
157 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
158
159 * emacs-lisp/smie.el (smie-indent-forward-token)
160 (smie-indent-backward-token): Handle string tokens (bug#14381).
161
162 2013-05-23 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
163
164 * ielm.el (ielm-menu): New menu.
165 (inferior-emacs-lisp-mode): Set comment-start.
166
167 2013-05-23 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
168
169 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
170 Fix deactivate action.
171
172 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
173 Add cleveref macros.
174
175 * lisp/textmodes/reftex-parse.el
176 (reftex-locate-bibliography-files): Accept options for
177 bibliography commands.
178 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
179 Add addbibresource. Basic Biblatex support.
180
181 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
182
183 * net/tramp-gvfs.el (top):
184 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
185 when loading package. (Bug#14447)
186
187 2013-05-23 Glenn Morris <rgm@gnu.org>
188
189 * progmodes/js.el: No need to load comint when compiling.
190 (ring-insert, comint-send-string, comint-send-input)
191 (comint-last-input-end, ido-chop): Declare.
192
193 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
194 * vc/ediff-mult.el: Adjust requires.
195 (ediff-directories-internal, ediff-directory-revisions-internal)
196 (ediff-patch-file-internal): Declare.
197 * vc/ediff-ptch.el: Adjust requires.
198 (ediff-use-last-dir, ediff-buffers-internal): Declare.
199 (ediff-find-file): Autoload.
200 * vc/ediff-util.el: No need to load ediff when compiling.
201 (ediff-regions-internal): Declare.
202 * vc/ediff-wind.el: Adjust requires.
203 (ediff-compute-toolbar-width): Define when compiling.
204 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
205 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
206 (dired-get-filename, dired-get-marked-files)
207 (ediff-last-dir-patch, ediff-patch-default-directory)
208 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
209 (ediff-patch-buffer-internal): Declare.
210
211 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
212 (ispell-process, ispell-buffer-local-words, lm-summary)
213 (lm-section-start, lm-section-end): Declare.
214 (checkdoc-ispell-init): Simplify.
215
216 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
217 (he-string-member, he-reset-string, he-substitute-string): Declare.
218
219 * eshell/em-ls.el: Adjust requires.
220 (eshell-glob-regexp): Declare.
221 * eshell/em-tramp.el: Adjust requires.
222 (eshell-parse-command): Autoload.
223 * eshell/em-xtra.el: Adjust requires.
224 (eshell-parse-command): Autoload.
225 * eshell/esh-ext.el: Adjust requires.
226 (eshell-parse-command, eshell-close-handles): Autoload.
227 * eshell/esh-io.el: Adjust requires.
228 (eshell-output-filter): Autoload.
229 * eshell/esh-util.el: No need to load tramp when compiling.
230 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
231 Declare.
232 (eshell-parse-ange-ls): Require ange-ftp and tramp.
233 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
234 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
235 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
236 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
237 * eshell/esh-opt.el, eshell/esh-proc.el:
238 * eshell/esh-var.el: Adjust requires.
239 * eshell/eshell.el: Do not require esh-util twice.
240 (eshell-add-input-to-history): Declare.
241 (eshell-command): Check history module is active before using it.
242
243 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
244
245 2013-05-22 Leo Liu <sdl.web@gmail.com>
246
247 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
248
249 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
250
251 * autorevert.el (auto-revert-notify-add-watch)
252 (auto-revert-notify-handler): Add `attrib' for the inotify case,
253 it indicates changes in file modification time.
254
255 2013-05-22 Glenn Morris <rgm@gnu.org>
256
257 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
258 Always delete the autoloaded function from the noruntime and
259 unresolved functions lists.
260
261 * allout.el: No need to load epa, epg, overlay when compiling.
262 (epg-context-set-passphrase-callback, epg-list-keys)
263 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
264 (epg-key-user-id-list): Declare.
265
266 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
267 (viper-set-parsing-style-toggling-macro)
268 (viper-set-emacs-state-searchstyle-macros):
269 Use called-interactively-p on Emacs.
270 (viper-looking-back): Make it an obsolete alias. Update callers.
271 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
272 Use looking-back rather than viper-looking-back.
273 (viper-tmp-insert-at-eob, viper-enlarge-region)
274 (viper-read-string-with-history, viper-register-to-point)
275 (viper-append-to-register, viper-change-state-to-vi)
276 (viper-backward-char-carefully, viper-forward-char-carefully)
277 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
278 (viper-change-state-to-emacs): Declare.
279 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
280 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
281 * emulation/viper-mous.el: Do not load viper-cmd.
282 (viper-backward-char-carefully, viper-forward-char-carefully)
283 (viper-forward-word, viper-adjust-window): Declare.
284
285 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
286
287 * progmodes/idlw-help.el (idlwave-help-fontify):
288 Use called-interactively-p.
289
290 * term/w32console.el (w32-get-console-codepage)
291 (w32-get-console-output-codepage): Declare.
292
293 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
294 Remove unnecessary declarations.
295 (dframe-message): Doc fix.
296
297 * info.el (dframe-select-attached-frame, dframe-current-frame):
298 Declare.
299
300 * speedbar.el (speedbar-message): Make it an obsolete alias.
301 Update all callers.
302 (speedbar-with-attached-buffer)
303 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
304 (speedbar-with-writable): Use backquote.
305 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
306 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
307 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
308 rather than speedbar- aliases.
309 * mail/rmail.el: Load dframe rather than speedbar when compiling.
310 (speedbar-make-specialized-keymap, speedbar-insert-button)
311 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
312 (speedbar-do-function-pointer): Declare.
313 (rmail-speedbar-button, rmail-speedbar-find-file)
314 (rmail-speedbar-move-message):
315 Use dframe-with-attached-buffer rather than speedbar- alias.
316 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
317 (dframe-message, speedbar-make-specialized-keymap)
318 (speedbar-add-expansion-list, speedbar-mode-functions-list)
319 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
320 (speedbar-insert-button, dframe-select-attached-frame)
321 (dframe-maybee-jump-to-attached-frame)
322 (speedbar-change-initial-expansion-list)
323 (speedbar-previously-used-expansion-list-name): Declare.
324 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
325 Use dframe-message, dframe-with-attached-buffer rather than
326 speedbar- aliases.
327 (gud-sentinel): Silence compiler.
328 * progmodes/vhdl-mode.el (speedbar-refresh)
329 (speedbar-do-function-pointer, speedbar-add-supported-extension)
330 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
331 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
332 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
333 (speedbar-file-lists, speedbar-make-tag-line)
334 (speedbar-line-directory, speedbar-goto-this-file)
335 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
336 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
337 (speedbar-make-button, speedbar-reset-scanners)
338 (speedbar-files-item-info, speedbar-line-text)
339 (speedbar-find-file-in-frame, speedbar-set-timer)
340 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
341 (speedbar-with-writable): Do not (re)define it.
342 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
343 rather than speedbar- alias.
344
345 2013-05-21 Leo Liu <sdl.web@gmail.com>
346
347 * progmodes/octave.el (octave-mode-menu): Update and re-organize
348 menu items.
349 (octave-mode): Tweak fill-nobreak-predicate.
350 (inferior-octave-startup): Check process to avoid infinite loop.
351 (inferior-octave): Pop to buffer first to show abornmal process
352 exit information.
353
354 2013-05-21 Glenn Morris <rgm@gnu.org>
355
356 * printing.el (pr-menu-bar): Define when compiling.
357
358 2013-05-21 Leo Liu <sdl.web@gmail.com>
359
360 * progmodes/octave.el (octave-auto-fill): Remove.
361 (octave-indent-new-comment-line): Improve.
362 (octave-mode): Use auto fill mode through
363 comment-line-break-function and fill-nobreak-predicate
364 (octave-goto-function-definition): Support DEFUN_DLD.
365 (octave-beginning-of-defun): Small Tweak
366 (octave-help): Show parent directory.
367
368 2013-05-21 Glenn Morris <rgm@gnu.org>
369
370 * files.el (dired-unmark):
371 * progmodes/gud.el (gdb-input): Update declarations.
372
373 * calculator.el (electric, ehelp): No need to load when compiling.
374 (Electric-command-loop, electric-describe-mode): Declare.
375
376 * doc-view.el (doc-view-current-converter-processes): Move before use.
377
378 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
379 Move MODE-set-explicitly definition before use.
380
381 * international/mule-diag.el (mule-diag):
382 Don't use obsolete window-system-version.
383
384 * mail/feedmail.el (smtpmail): No need to load when compiling.
385 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
386
387 * mail/mail-utils.el (rfc822): No need to load when compiling.
388 (rfc822-addresses): Autoload it.
389 (mail-strip-quoted-names): Trivial simplification.
390
391 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
392 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
393
394 * net/snmp-mode.el (tempo): Don't duplicate requires.
395
396 * progmodes/prolog.el (info): No need to load when compiling.
397 (comint): Require before shell requires it.
398 (Info-goto-node): Autoload it.
399 (Info-follow-nearest-node): Declare.
400 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
401
402 * textmodes/artist.el (picture-mode-exit): Declare.
403
404 * textmodes/reftex-parse.el (reftex-parse-from-file):
405 Trivial rewrite so the compiler can parse it better.
406
407 2013-05-20 Leo Liu <sdl.web@gmail.com>
408
409 * progmodes/octave.el (octave-help-mode-map)
410 (octave-help-mode-finish-hook): New variables.
411 (octave-help-mode, octave-help-mode-finish): New functions.
412 (octave-help): Use octave-help-mode.
413
414 2013-05-20 Glenn Morris <rgm@gnu.org>
415
416 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
417
418 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
419
420 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
421 start at point, so that expansion starting right after opening
422 slash in a regexp is recognized.
423 (ruby-syntax-before-regexp-re): New defvar, extracted from
424 ruby-syntax-propertize-function. Since the value of this regexp
425 is looked up at runtime now, we should be able to turn
426 `ruby-syntax-methods-before-regexp' into a defcustom later.
427 (ruby-syntax-propertize-function): Split regexp matching into two
428 parts, for opening and closing slashes. That allows us to skip
429 over string interpolations and support multiline regexps.
430 Don't call `ruby-syntax-propertize-expansions', instead use another rule
431 for them, which calls `ruby-syntax-propertize-expansion'.
432 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
433 call to `ruby-syntax-propertize-function'.
434 (ruby-syntax-propertize-expansion): Extracted from
435 `ruby-syntax-propertize-expansions'. Handles one expansion.
436 (ruby-syntax-propertize-percent-literal): Leave point right after
437 the percent symbol, so that the expression expansion rule can
438 propertize the contents.
439 (ruby-syntax-propertize-heredoc): Leave point at bol following the
440 heredoc openers.
441 (ruby-syntax-propertize-expansions): Remove.
442
443 2013-05-18 Juri Linkov <juri@jurta.org>
444
445 * man.el (Man-default-man-entry): Remove `-' from the end
446 of the default value. (Bug#14400)
447
448 2013-05-18 Glenn Morris <rgm@gnu.org>
449
450 * comint.el (comint-password-prompt-regexp):
451 Allow "password for XXX" where XXX contains colons (eg https://...).
452
453 2013-05-18 Leo Liu <sdl.web@gmail.com>
454
455 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
456 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
457 (octave-source-directories): Don't check process.
458 (octave-source-directories, octave-find-definition): Doc fix.
459
460 2013-05-18 Glenn Morris <rgm@gnu.org>
461
462 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
463 Remove backspace/delete bindings. (Bug#14392)
464
465 * cus-dep.el (custom-make-dependencies): Sort the output.
466 (custom-versions-load-alist): Convert comment to doc.
467
468 2013-05-17 Leo Liu <sdl.web@gmail.com>
469
470 * newcomment.el (comment-search-backward): Stricter in finding
471 comment start. (Bug#14303)
472
473 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
474 (octave-comment-start-skip): Properly anchored.
475
476 2013-05-17 Leo Liu <sdl.web@gmail.com>
477
478 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
479 Clean up when turned off. (Bug#14395)
480 (smie--highlight-matching-block-overlay): No longer buffer-local.
481 (smie-highlight-matching-block): Adjust.
482
483 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
484
485 Doc string fix for "nanoseconds" (Bug#14406).
486 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
487 Fix doc string typo that had "nanoseconds" instead of "microseconds".
488
489 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
490
491 * calc/calc-units.el (math-extract-units): Preserve powers
492 of units.
493
494 2013-05-17 Leo Liu <sdl.web@gmail.com>
495
496 * subr.el (delete-consecutive-dups): New function.
497 * ido.el (ido-set-matches-1): Use it.
498 * progmodes/octave.el (inferior-octave-completion-table): Use it.
499 * ido.el (ido-remove-consecutive-dups): Remove.
500
501 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
502
503 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
504 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
505 regexp-opt's `words'.
506
507 2013-05-16 Leo Liu <sdl.web@gmail.com>
508
509 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
510 (smie--highlight-matching-block-overlay)
511 (smie--highlight-matching-block-lastpos)
512 (smie--highlight-matching-block-timer): New variables.
513 (smie-highlight-matching-block): New function.
514 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
515 (smie-setup): Conditionally enable smie-blink-matching-open.
516
517 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
518
519 Sync with upstream verilog-mode r840.
520 * progmodes/verilog-mode.el (verilog-mode-version)
521 (verilog-mode-release-date): Update.
522 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
523 (verilog-sig-tieoff): Fix string error on
524 AUTORESET with colon define, bug594. Reported by Andrew Hou.
525 (verilog-read-decls): Fix parameters confusing
526 AUTOINST interfaces, bug565. Reported by Leith Johnson.
527
528 2013-05-16 Eli Zaretskii <eliz@gnu.org>
529
530 * subr.el (reveal-filename): New function.
531
532 * loadup.el: Compute Emacs executable versions on MS-Windows,
533 where executables have the .exe extension. Add a hard link
534 emacs-XX.YY.ZZ.exe on MS-Windows.
535
536 * Makefile.in (XARGS_LIMIT): New variable.
537 (custom-deps, finder-data, autoloads)
538 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
539 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
540 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
541 (compile-main): Limit xargs according to $(XARGS_LIMIT).
542
543 2013-05-16 Leo Liu <sdl.web@gmail.com>
544
545 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
546 (octave-mode-menu, octave-mode-map): Remove its uses.
547
548 2013-05-16 Reto Zimmermann <reto@gnu.org>
549
550 Sync with upstream vhdl mode v3.34.2.
551 * progmodes/vhdl-mode.el: Use `push' throughout.
552 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
553 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
554 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
555 (vhdl-actual-generic-name): New option to derive actual generic name.
556 (vhdl-port-paste-signals): Replace formal by actual generics.
557 (vhdl-beautify): New name for old group vhdl-align. Update users.
558 (vhdl-beautify-options): New option.
559 (vhdl-last-input-event): New compat alias. Use throughout.
560 (vhdl-goto-line): Replace user level function `goto-line'.
561 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
562 vhdl-fix-statement-buffer.
563 (vhdl-create-mode-menu): Add some entries.
564 (vhdl-align-region-groups): Respect vhdl-beautify-options.
565 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
566 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
567 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
568 to force statements on one line.
569 (vhdl-remove-trailing-spaces-region):
570 New, split from vhdl-remove-trailing-spaces.
571 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
572 Respect vhdl-beautify-options.
573 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
574 (vhdl-update-sensitivity-list): Not add with index if exists without.
575 Not include array index with signal. Ignore keywords in comments.
576 (vhdl-get-visible-signals): Regexp tweaks.
577 (vhdl-template-component-inst): Handle empty library.
578 (vhdl-template-type): Add template for 'enum' type.
579 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
580 Use vhdl-replace-string.
581 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
582 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
583 (vhdl-speedbar-initialize): Update for above name change.
584 (vhdl-compose-wire-components): Fix in handling of constants.
585 (vhdl-error-regexp-emacs-alist): New variable.
586 (vhdl-error-regexp-add-emacs): New function;
587 adds support for new compile.el (Emacs 22+)
588 (vhdl-generate-makefile-1): Change target order for single lib. units.
589 Allow use of absolute file names.
590
591 2013-05-16 Leo Liu <sdl.web@gmail.com>
592
593 * simple.el (prog-indent-sexp): Indent enclosing defun.
594
595 2013-05-15 Glenn Morris <rgm@gnu.org>
596
597 * cus-start.el (show-trailing-whitespace): Move to editing basics.
598 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
599 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
600 (whitespace-highlight): Move to whitespace group.
601
602 * comint.el (comint-source):
603 * pcmpl-linux.el (pcmpl-linux):
604 * shell.el (shell-faces):
605 * eshell/esh-opt.el (eshell-opt):
606 * international/ccl.el (ccl): Remove empty custom groups.
607
608 * completion.el (dynamic-completion-mode):
609 * jit-lock.el (jit-lock-debug-mode):
610 * minibuffer.el (completion-in-region-mode):
611 * type-break.el (type-break-mode-line-message-mode)
612 (type-break-query-mode):
613 * emulation/tpu-edt.el (tpu-edt-mode):
614 * progmodes/subword.el (global-subword-mode, global-superword-mode):
615 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
616 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
617
618 * term/xterm.el (xterm): Change parent group to terminals.
619
620 * master.el (master): Remove empty custom group.
621 (master-mode): Remove unused :group argument.
622 * textmodes/refill.el (refill): Remove empty custom group.
623 (refill-mode): Remove unused :group argument.
624
625 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
626
627 * cus-dep.el: Provide a feature.
628 (custom-make-dependencies): Ignore dotfiles (dir-locals).
629 Don't mistakenly ignore files whose basenames match a basename
630 from preloaded-file-list (eg cedet/ede/simple.el).
631 Add a fallback method for getting :group.
632
633 2013-05-15 Juri Linkov <juri@jurta.org>
634
635 * isearch.el (isearch-char-by-name): Rename from
636 `isearch-insert-char-by-name'. Doc fix.
637 (isearch-forward): Mention `isearch-char-by-name' in
638 the docstring. (Bug#13348)
639
640 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
641 `exit-minibuffer' instead of
642 `isearch-nonincremental-exit-minibuffer'.
643 (isearch-edit-string): Remove mention of
644 `isearch-nonincremental-exit-minibuffer' from docstring.
645 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
646 (isearch-forward-exit-minibuffer)
647 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
648
649 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
650
651 * loadup.el: Just use unversioned DOC.
652
653 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
654 literals as extending to EOB.
655 (nxml-last-fontify-end): Remove unused variable.
656 (nxml-after-change1): Use with-silent-modifications.
657 (nxml-extend-after-change-region): Simplify.
658 (nxml-extend-after-change-region1): Remove function.
659 (nxml-after-change1): Don't adjust for dependent regions.
660 (nxml-fontify-matcher): Simplify.
661 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
662 (xmltok-add-dependent): Remove function.
663 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
664 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
665 (xmltok-scan-prolog-after-processing-instruction-open): Treat
666 unclosed <[[, <?, comment, and other literals as extending to EOB.
667 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
668 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
669 Remove functions.
670 (rng-do-some-validation-1): Don't mark dependent regions.
671 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
672 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
673 (nxml-clear-dependent-regions): Remove functions.
674 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
675 (nxml-ensure-scan-up-to-date):
676 Don't clear&mark dependent regions.
677
678 2013-05-15 Leo Liu <sdl.web@gmail.com>
679
680 * progmodes/octave.el (octave-goto-function-definition):
681 Improve and fix callers.
682
683 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
684
685 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
686 the setter (bug#14387).
687
688 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
689 surrounding group (bug#14402).
690
691 2013-05-14 Juri Linkov <juri@jurta.org>
692
693 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
694 (Bug#14390)
695
696 2013-05-14 Glenn Morris <rgm@gnu.org>
697
698 * progmodes/f90.el (f90-imenu-generic-expression):
699 Fix typo in 2013-05-08 change. (Bug#14402)
700
701 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
702
703 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
704 Remove signals for which replies are never received.
705
706 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
707
708 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
709 (gdb-handler-alist, gdb-handler-number): Remove variables.
710 (gdb-handler-list): New variable.
711 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
712 (gdb-pending-handler-p, gdb-handle-reply)
713 (gdb-remove-all-pending-triggers): New functions.
714 (gdb-discard-unordered-replies): New defcustom.
715 (gdb-handler): New defstruct.
716 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
717 instead of gdb-pending-triggers. Update docstring.
718 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
719 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
720 (gdb-var-update-handler, def-gdb-auto-update-trigger)
721 (def-gdb-auto-update-handler, gdb-get-changed-registers)
722 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
723 (gdb-frame-handler): Pending triggers are now automatically managed.
724 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
725 Remove argument.
726 (gdb-input): Automatically handles pending triggers. Update docstring.
727 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
728 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
729 Update comments.
730 (gdb-done-or-error): Now use gdb-handle-reply.
731
732 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
733
734 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
735 gdb-debug-log.
736
737 2013-05-14 Glenn Morris <rgm@gnu.org>
738
739 * subr.el (user-emacs-directory-warning): New option.
740 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
741
742 2013-05-14 Leo Liu <sdl.web@gmail.com>
743
744 * progmodes/octave.el (octave-font-lock-keywords): Fix error
745 during redisplay.
746 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
747 (octave-font-lock-texinfo-comment): Fix invalid search bound
748 error: wrong side of point.
749
750 2013-05-14 Glenn Morris <rgm@gnu.org>
751
752 * progmodes/flymake.el (flymake-xml-program): New option.
753 (flymake-xml-init): Use it.
754
755 * term/xterm.el: Provide a feature.
756
757 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
758
759 2013-05-13 Glenn Morris <rgm@gnu.org>
760
761 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
762 Add compat aliases as a hack workaround. (Bug#14384)
763
764 2013-05-13 Leo Liu <sdl.web@gmail.com>
765
766 * progmodes/octave.el (octave-indent-comment): Fix indentation for
767 ###, and %!.
768 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
769 C-M-q.
770 (octave-comment-start-skip): Include %!.
771 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
772
773 2013-05-12 Leo Liu <sdl.web@gmail.com>
774
775 * progmodes/octave.el (inferior-octave-startup): Store the value
776 of __octave_srcdir__ for octave-source-directories.
777 (inferior-octave-check-process): New function refactored out of
778 inferior-octave-send-list-and-digest.
779 (octave-source-directories)
780 (octave-find-definition-filename-function): New variables.
781 (octave-source-directories)
782 (octave-find-definition-default-filename): New functions.
783 (octave-find-definition): Improve to find functions implemented in C++.
784
785 2013-05-12 Glenn Morris <rgm@gnu.org>
786
787 * calendar/diary-lib.el (diary-outlook-format-1):
788 Don't include dayname in the output. (Bug#14349)
789
790 2013-05-11 Glenn Morris <rgm@gnu.org>
791
792 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
793
794 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
795 Treat cc-provide like provide.
796
797 2013-05-11 Kevin Ryde <user42@zip.com.au>
798
799 * cus-dep.el (custom-make-dependencies):
800 Use generated-autoload-load-name for the sake of files such
801 such cedet/semantic/bovine/c.el, where the base file name
802 is not in load-path. (Bug#5277)
803
804 2013-05-11 Glenn Morris <rgm@gnu.org>
805
806 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
807 Provide features.
808
809 2013-05-11 Leo Liu <sdl.web@gmail.com>
810
811 * progmodes/octave.el (octave-indent-comment): Improve.
812 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
813 (octave-eldoc-function-signatures, octave-eldoc-function):
814 New functions.
815 (octave-mode, inferior-octave-mode): Add eldoc support.
816
817 2013-05-11 Richard Stallman <rms@gnu.org>
818
819 * epa.el (epa-decrypt-file): Take output file name as argument
820 and read it using `interactive'.
821
822 2013-05-11 Leo Liu <sdl.web@gmail.com>
823
824 * progmodes/octave.el (octave-beginning-of-line)
825 (octave-end-of-line): Check before using up-list because it jumps
826 out of more syntactic contructs since moving to smie.
827 (octave-indent-comment): New function.
828 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
829 (octave-begin-keywords, octave-end-keywords)
830 (octave-reserved-words, octave-smie-bnf-table)
831 (octave-smie-rules): Add new keywords from Octave 3.6.4.
832
833 2013-05-11 Glenn Morris <rgm@gnu.org>
834
835 * faces.el (internal-face-x-get-resource):
836 * frame.el (ns-display-monitor-attributes-list):
837 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
838
839 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
840
841 * calc/calc-menu.el: Make it loadable in isolation.
842
843 * net/eudcb-bbdb.el: Make it loadable without bbdb.
844 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
845 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
846 (eudc-bbdb-query-internal): Require 'bbdb.
847
848 * lpr.el (lpr-headers-switches):
849 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
850
851 * progmodes/sql.el (sql-login-params): Fix and improve :type.
852
853 * emulation/edt-mapper.el: In batch mode, error rather than hang.
854
855 * term.el (term-set-escape-char): Make it idempotent.
856
857 2013-05-10 Leo Liu <sdl.web@gmail.com>
858
859 * progmodes/octave.el (inferior-octave-completion-table):
860 No longer a function and all uses changed. Use cache to speed up
861 completion due to bug#11906.
862 (octave-beginning-of-defun): Re-write to be more general.
863
864 2013-05-10 Glenn Morris <rgm@gnu.org>
865
866 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
867
868 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
869
870 * comint.el (comint-redirect-send-command-to-process): Use :around
871 rather than :override for comint-redirect-filter.
872 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
873 Call it instead of comint-redirect-original-filter-function (which
874 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
875
876 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
877
878 * frame.el (display-monitor-attributes-list): Add NS case.
879 (ns-display-monitor-attributes-list): Declare.
880
881 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
882
883 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
884
885 2013-05-09 Glenn Morris <rgm@gnu.org>
886
887 * international/fontset.el (vertical-centering-font-regexp):
888 Set standard-value.
889
890 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
891
892 * bookmark.el (bookmark-search-delay):
893 * cus-start.el (vertical-centering-font-regexp):
894 * ps-mule.el (ps-mule-font-info-database-default):
895 * ps-print.el (ps-default-fg, ps-default-bg):
896 * type-break.el (type-break-good-break-interval):
897 * whitespace.el (whitespace-indentation-regexp)
898 (whitespace-space-after-tab-regexp):
899 * emacs-lisp/testcover.el (testcover-1value-functions)
900 (testcover-noreturn-functions, testcover-progn-functions)
901 (testcover-prog1-functions):
902 * emulation/viper-init.el (viper-emacs-state-cursor-color):
903 * eshell/em-glob.el (eshell-glob-translate-alist):
904 * play/tetris.el (tetris-tty-colors):
905 * progmodes/cpp.el (cpp-face-default-list):
906 * progmodes/flymake.el (flymake-allowed-file-name-masks):
907 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
908 (idlwave-help-browser-generic-args):
909 * progmodes/make-mode.el (makefile-special-targets-list):
910 * progmodes/python.el (python-shell-virtualenv-path):
911 * progmodes/verilog-mode.el (verilog-active-low-regexp)
912 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
913 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
914 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
915 * textmodes/reftex-vars.el (reftex-format-label-function):
916 * textmodes/remember.el (remember-diary-file): Fix custom types.
917
918 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
919 Add :version.
920
921 2013-05-09 Leo Liu <sdl.web@gmail.com>
922
923 * progmodes/octave.el (inferior-octave-completion-at-point):
924 Restore file completion. (Bug#14300)
925 (inferior-octave-startup): Fix incorrect highlighting for the
926 first prompt.
927
928 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
929
930 * progmodes/ruby-mode.el: First cut at SMIE support.
931 (ruby-use-smie): New var.
932 (ruby-smie-grammar): New constant.
933 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
934 (ruby-smie--forward-token, ruby-smie--backward-token)
935 (ruby-smie-rules): New functions.
936 (ruby-mode-variables): Setup SMIE if applicable.
937
938 2013-05-08 Eli Zaretskii <eliz@gnu.org>
939
940 * simple.el (line-move-visual): Signal beginning/end of buffer
941 only if vertical-motion moved less than it was requested. Avoids
942 silly incorrect error messages when there are display strings with
943 multiple newlines at EOL.
944
945 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
946
947 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
948 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
949 (prolog-char-quote-workaround):
950 * progmodes/cperl-mode.el (cperl-under-as-char):
951 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
952 Mark as obsolete.
953 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
954 their declaration.
955 (vhdl-mode-syntax-table-init): Remove.
956
957 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
958 last change.
959
960 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
961 syntax for "_".
962 (ld-script-font-lock-keywords):
963 Change regexps to use things like \_< and \_>.
964
965 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
966 Change all regexps to use things like \_< and \_>.
967
968 * progmodes/autoconf.el (autoconf-definition-regexp)
969 (autoconf-font-lock-keywords, autoconf-current-defun-function):
970 Handle a _ with symbol syntax.
971 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
972
973 * progmodes/ada-mode.el (ada-mode-abbrev-table):
974 Consolidate declaration.
975 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
976 the declaration.
977 (ada-create-syntax-table): Remove.
978 (ada-capitalize-word): Don't mess with the syntax of "_" since it
979 already has the right syntax nowadays.
980 (ada-goto-next-word): Don't change the syntax of "_".
981
982 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
983 with-wrapper-hook.
984
985 2013-05-08 Sam Steingold <sds@gnu.org>
986
987 * thingatpt.el (thing-at-point): Accept optional second argument
988 NO-PROPERTIES to strip the text properties from the return value.
989 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
990 to `thing-at-point' instead of stripping the properties ourselves.
991 Also, when `thing-at-point' fails to find a url, prepend "http://"
992 to the filename at point on the assumption that the user is
993 pointing at something like gnu.org/gnu.
994
995 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
996
997 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
998 * faces.el (crm-separator):
999 Silence byte-compiler.
1000
1001 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
1002 (tool-bar-map): Remove unneeded defvars.
1003
1004 2013-05-08 Leo Liu <sdl.web@gmail.com>
1005
1006 Re-work a fix for bug#10994 based on Le Wang's patch.
1007 * ido.el (ido-remove-consecutive-dups): New helper.
1008 (ido-completing-read): Use it.
1009 (ido-chop): Revert fix for bug#10994.
1010
1011 2013-05-08 Adam Spiers <emacs@adamspiers.org>
1012
1013 * cus-edit.el (custom-save-variables):
1014 Pretty-print long values. (Bug#14187)
1015
1016 2013-05-08 Glenn Morris <rgm@gnu.org>
1017
1018 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
1019 (m4-mode-syntax-table): Init in the defvar.
1020 (m4-mode-abbrev-table): Let define-derived-mode define it.
1021
1022 2013-05-08 Tom Tromey <tromey@redhat.com>
1023
1024 * progmodes/m4-mode.el (m4-mode-syntax-table):
1025 Do not treat "_" as word constituent. (Bug#14167)
1026
1027 2013-05-07 Glenn Morris <rgm@gnu.org>
1028
1029 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
1030 Remove explicit eshell-isearch-cancel-map.
1031
1032 * progmodes/f90.el (f90-smart-end-names): New option.
1033 (f90-smart-end): Doc fix.
1034 (f90-end-block-optional-name): New constant.
1035 (f90-block-match): Respect f90-smart-end-names.
1036
1037 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1038
1039 * progmodes/octave.el (octave-smie-forward-token): Be more careful
1040 about implicit semi-colons (bug#14218).
1041
1042 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1043
1044 * frame.el (display-monitor-attributes-list)
1045 (frame-monitor-attributes): New functions.
1046
1047 2013-05-06 Leo Liu <sdl.web@gmail.com>
1048
1049 * progmodes/octave.el (octave-syntax-propertize-function): Change
1050 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
1051 (octave-font-lock-keywords): Use octave-operator-regexp.
1052 (octave-completion-at-point): Rename from
1053 octave-completion-at-point-function.
1054 (inferior-octave-directory-tracker): Robustify.
1055 (octave-text-functions): Remove and fix its uses. No such things
1056 any more.
1057
1058 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1059
1060 * emacs-lisp/trace.el (trace--display-buffer): New function.
1061 (trace-make-advice): Use it.
1062
1063 2013-05-06 Juri Linkov <juri@jurta.org>
1064
1065 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
1066 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
1067 Doc fix.
1068 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
1069 in the help string. (Bug#12985)
1070
1071 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1072
1073 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
1074
1075 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1076
1077 * progmodes/perl-mode.el: Add support for here documents.
1078 (perl-syntax-propertize-function): Match here-doc markers.
1079 (perl-syntax-propertize-special-constructs): Find their end.
1080 (perl-imenu-generic-expression): Use [:alnum:].
1081
1082 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
1083 (advice--add-function): Refresh the advice if already present
1084 (bug#14317).
1085
1086 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
1087
1088 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
1089
1090 2013-05-06 Glenn Morris <rgm@gnu.org>
1091
1092 * w32-fns.el (w32-charset-info-alist): Declare.
1093
1094 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
1095 of its defcustom properties.
1096 (eshell-cmpl-initialize): No need to load pcomplete.
1097
1098 * generic-x.el: No need to require comint when compiling.
1099
1100 * net/eudc-export.el: Make it loadable without bbdb.
1101 (top-level): Use require rather than load-library.
1102 (eudc-create-bbdb-record, eudc-bbdbify-phone)
1103 (eudc-batch-export-records-to-bbdb)
1104 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
1105 Require bbdb.
1106
1107 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1108
1109 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
1110 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
1111 some tweaks, instead.
1112
1113 2013-05-05 Leo Liu <sdl.web@gmail.com>
1114
1115 * progmodes/octave.el (octave-font-lock-keywords)
1116 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
1117 (inferior-octave-send-list-and-digest): Improve error message.
1118 (octave-mode, inferior-octave-mode): Use setq-local.
1119 (octave-help): Set info-lookup-mode.
1120
1121 2013-05-05 Richard Stallman <rms@gnu.org>
1122
1123 * vc/compare-w.el (compare-windows-whitespace):
1124 Treat no-break space as whitespace.
1125
1126 * mail/rmailsum.el (rmail-summary-rmail-update):
1127 Detect empty summary and don't change selected message.
1128 (rmail-summary-goto-msg): Likewise.
1129
1130 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
1131 Doc fixes, rename args.
1132
1133 2013-05-05 Alan Mackenzie <acm@muc.de>
1134
1135 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
1136
1137 2013-05-05 Juri Linkov <juri@jurta.org>
1138
1139 * info.el (Info-read-subfile): Use (point-min) instead of (point)
1140 to not add the length of the summary segment to the return value.
1141 (Bug#14125)
1142
1143 2013-05-05 Leo Liu <sdl.web@gmail.com>
1144
1145 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
1146 (inferior-octave-output-filter): Remove.
1147 (octave-send-region, inferior-octave-startup): Fix callers.
1148 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
1149 (octave-binary-file-extensions): New user variable.
1150 (octave-find-definition): Confirm if opening binary files.
1151 (octave-help-file): Use octave-find-definition to get the binary
1152 confirmation.
1153 (octave-help): Adjust for octave-help-file change.
1154
1155 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1156
1157 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
1158 Merge the two entries that handle function definitions.
1159 (pascal--syntax-propertize): New const.
1160 (pascal-mode): Use it. Use setq-local.
1161
1162 2013-05-04 Glenn Morris <rgm@gnu.org>
1163
1164 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
1165 (diary-from-outlook): Respect diary-from-outlook-function.
1166
1167 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1168
1169 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
1170 Move the declaration from C.
1171 (read-minibuffer, eval-minibuffer): Move from C.
1172 (completion-setup-function): Avoid minibuffer-completion-contents.
1173
1174 2013-05-03 Leo Liu <sdl.web@gmail.com>
1175
1176 * progmodes/octave.el (octave-font-lock-keywords): Do not
1177 dehighlight 'end' in comments or strings.
1178 (octave-completing-read, octave-goto-function-definition):
1179 New helpers.
1180 (octave-help-buffer): New user variable.
1181 (octave-help-file, octave-help-function): New button types.
1182 (octave-help): New command and bind it to C-h ;.
1183 (octave-find-definition): New command and bind it to M-.
1184 (user-error): Alias to error if not defined.
1185
1186 2013-05-02 Leo Liu <sdl.web@gmail.com>
1187
1188 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
1189 for \. (bug#14332)
1190 (octave-font-lock-keywords): Include [ and {.
1191
1192 2013-05-02 Leo Liu <sdl.web@gmail.com>
1193
1194 * progmodes/octave.el (inferior-octave-startup-file): Change default.
1195 (inferior-octave): Remove calling comint-mode and return the buffer.
1196 (inferior-octave-startup): Cosmetic changes.
1197
1198 2013-05-02 Leo Liu <sdl.web@gmail.com>
1199
1200 * progmodes/octave.el (octave-syntax-propertize-function):
1201 Include the case when ' is at line beginning. (Bug#14336)
1202
1203 2013-05-02 Glenn Morris <rgm@gnu.org>
1204
1205 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
1206 * desktop.el (vc-dir-mode): Just autoload it here.
1207
1208 2013-05-02 Alan Mackenzie <acm@muc.de>
1209
1210 Eliminate variable c-standard-font-lock-fontify-region-function.
1211 * progmodes/cc-mode.el
1212 (c-standard-font-lock-fontify-region-function): Remove.
1213 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
1214
1215 2013-05-01 Leo Liu <sdl.web@gmail.com>
1216
1217 * progmodes/octave.el: Compatible with older emacs-24 releases.
1218 (inferior-octave-has-built-in-variables): Remove. Built-in
1219 variables were removed from Octave in 2007.
1220 (inferior-octave-startup): Fix uses.
1221 (comint-line-beginning-position): Remove compatibility code for
1222 emacs 21.
1223
1224 2013-05-01 Juri Linkov <juri@jurta.org>
1225
1226 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
1227
1228 2013-05-01 Juri Linkov <juri@jurta.org>
1229
1230 * comint.el (comint-previous-matching-input): Don't print message
1231 "History item: %d" when `isearch-mode' is active.
1232 (comint-history-isearch-message): Print message "History item: %d"
1233 when `comint-input-ring-index' is not empty and this function is
1234 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
1235
1236 2013-05-01 Leo Liu <sdl.web@gmail.com>
1237
1238 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
1239 definitions. Use completion-at-point to insert keywords.
1240 (octave-abbrev-start): Remove.
1241 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
1242
1243 2013-04-30 Leo Liu <sdl.web@gmail.com>
1244
1245 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
1246 change.
1247
1248 2013-04-30 Alan Mackenzie <acm@muc.de>
1249
1250 Handle arbitrarily long C++ member initialisation lists.
1251 * progmodes/cc-engine.el (c-back-over-member-initializers):
1252 new function.
1253 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
1254 (most) member init lists.
1255
1256 2013-04-30 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
1257
1258 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
1259 variable.
1260
1261 2013-04-30 Leo Liu <sdl.web@gmail.com>
1262
1263 * progmodes/octave.el (octave-variables): Remove. No builtin
1264 variables any more. All converted to functions.
1265 (octave-font-lock-keywords, octave-completion-at-point-function):
1266 Fix uses.
1267 (octave-font-lock-texinfo-comment): New user variable.
1268 (octave-texinfo-font-lock-keywords): New variable for texinfo
1269 comment block.
1270 (octave-function-comment-block): New face.
1271 (octave-font-lock-texinfo-comment): New function.
1272 (octave-mode): Font lock texinfo comment block.
1273
1274 2013-04-29 Leo Liu <sdl.web@gmail.com>
1275
1276 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
1277 indexing expression.
1278 (octave-continuation-string): Do not use \.
1279 (inferior-octave-complete-impossible): Remove.
1280 (inferior-octave-completion-table)
1281 (inferior-octave-completion-at-point): Remove its uses.
1282 (inferior-octave-startup): completion_matches was introduced to
1283 Octave in 1996 so safe to assume it.
1284 (octave-function-file-comment): Improve to follow how Octave does it.
1285 (octave-update-function-file-comment): Tweak.
1286
1287 2013-04-29 Leo Liu <sdl.web@gmail.com>
1288
1289 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
1290 (inferior-octave-startup): Remove inferior-octave-startup-hook.
1291 (octave-function-file-comment): Fix typo.
1292 (octave-sync-function-file-names): Use read-char-choice.
1293
1294 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
1295
1296 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
1297 to t for the less important warnings.
1298
1299 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1300
1301 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
1302
1303 2013-04-27 Glenn Morris <rgm@gnu.org>
1304
1305 * vc/log-view.el (log-view-current-entry):
1306 Treat "---" separator lines as part of the following rev. (Bug#14169)
1307
1308 2013-04-27 Juri Linkov <juri@jurta.org>
1309
1310 * subr.el (read-number): Doc fix about using it by interactive
1311 code letter `n'. (Bug#14254)
1312
1313 2013-04-27 Juri Linkov <juri@jurta.org>
1314
1315 * desktop.el (desktop-auto-save-timeout): New option.
1316 (desktop-file-checksum): New variable.
1317 (desktop-save): Add optional arg `auto-save' and don't auto-save
1318 if nothing changed.
1319 (desktop-auto-save-timer): New variable.
1320 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
1321 (after-init-hook): Call `desktop-auto-save-set-timer'.
1322 Suggested by Reuben Thomas <rrt@sc3d.org> in
1323 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
1324
1325 2013-04-27 Leo Liu <sdl.web@gmail.com>
1326
1327 * progmodes/octave.el (octave-function-file-p)
1328 (octave-skip-comment-forward, octave-function-file-comment)
1329 (octave-update-function-file-comment): New functions.
1330 (octave-mode-map): Bind C-c ; to
1331 octave-update-function-file-comment.
1332 (octave-mode-menu): Add octave-update-function-file-comment.
1333 (octave-mode, inferior-octave-mode): Fix doc-string.
1334 (octave-insert-defun): Conform to Octave's coding convention.
1335 (Bug#14285)
1336
1337 * files.el (basic-save-buffer): Don't let errors in
1338 before-save-hook prevent saving buffer.
1339
1340 2013-04-20 Roland Winkler <winkler@gnu.org>
1341
1342 * faces.el (read-face-name): Use completing-read if arg multiple
1343 is nil.
1344
1345 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
1346
1347 * ls-lisp.el (ls-lisp-insert-directory): If no files are
1348 displayed, move point to after the totals line.
1349 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
1350 for the details.
1351
1352 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1353
1354 * emacs-lisp/package.el (package-autoload-ensure-default-file):
1355 Add current dir to the load-path.
1356 (package-generate-autoloads): Don't rely on
1357 autoload-ensure-default-file.
1358
1359 2013-04-26 Reuben Thomas <rrt@sc3d.org>
1360
1361 * textmodes/remember.el (remember-store-in-files): Document that
1362 the file name format is passed to `format-time-string'.
1363
1364 2013-04-26 Leo Liu <sdl.web@gmail.com>
1365
1366 * progmodes/octave.el (octave-sync-function-file-names): New function.
1367 (octave-mode): Use it in before-save-hook.
1368
1369 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1370
1371 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
1372 (bug#14274).
1373
1374 * progmodes/octave.el (octave-smie-forward-token): Properly skip
1375 \n and comment, even if it's not an implicit ; (bug#14218).
1376
1377 2013-04-26 Glenn Morris <rgm@gnu.org>
1378
1379 * subr.el (read-number): Once more use `read' rather than
1380 `string-to-number', to trap non-numeric input. (Bug#14254)
1381
1382 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
1383
1384 * emacs-lisp/syntax.el (syntax-propertize-multiline):
1385 Use `syntax-multiline' text property consistently instead of
1386 `font-lock-multiline'. (bug#14237).
1387
1388 2013-04-26 Glenn Morris <rgm@gnu.org>
1389
1390 * emacs-lisp/shadow.el (list-load-path-shadows):
1391 No longer necessary to check for duplicate simple.el, since
1392 2012-07-07 change to init_lread to not include installation lisp
1393 directories in load-path when running uninstalled. (Bug#14270)
1394
1395 2013-04-26 Leo Liu <sdl.web@gmail.com>
1396
1397 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
1398 (octave-mode, inferior-octave-mode): Use setq-local.
1399 (octave-not-in-string-or-comment-p): Rename to
1400 octave-in-string-or-comment-p.
1401 (octave-in-comment-p, octave-in-string-p)
1402 (octave-in-string-or-comment-p): Replace defsubst with defun.
1403
1404 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
1405
1406 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
1407
1408 2013-04-25 Bastien Guerry <bzg@gnu.org>
1409
1410 * textmodes/remember.el (remember-data-directory)
1411 (remember-directory-file-name-format): Fix custom types.
1412
1413 2013-04-25 Leo Liu <sdl.web@gmail.com>
1414
1415 * progmodes/octave.el (octave-completion-at-point-function):
1416 Make use of inferior octave process.
1417 (octave-initialize-completions): Remove.
1418 (inferior-octave-completion-table): New function.
1419 (inferior-octave-completion-at-point): Use it.
1420 (octave-completion-alist): Remove.
1421
1422 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1423
1424 * progmodes/opascal.el: Use font-lock and syntax-propertize.
1425 (opascal-mode-syntax-table): New var.
1426 (opascal-literal-kind, opascal-is-literal-end)
1427 (opascal-literal-token-at): Rewrite.
1428 (opascal--literal-start-re, opascal-font-lock-keywords)
1429 (opascal--syntax-propertize): New constants.
1430 (opascal-font-lock-defaults): Adjust.
1431 (opascal-mode): Use them. Set comment-<foo> variables as well.
1432 (delphi-comment-face, opascal-comment-face, delphi-string-face)
1433 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
1434 (delphi-other-face, opascal-other-face): Remove face variables.
1435 (opascal-save-state): Remove macro.
1436 (opascal-fontifying-progress-step): Remove constant.
1437 (opascal--ignore-changes): Remove var.
1438 (opascal-set-token-property, opascal-parse-next-literal)
1439 (opascal-is-stable-literal, opascal-complete-literal)
1440 (opascal-is-literal-start, opascal-face-of)
1441 (opascal-parse-region, opascal-parse-region-until-stable)
1442 (opascal-fontify-region, opascal-after-change)
1443 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
1444 (opascal-debug-parse-region, opascal-debug-parse-window)
1445 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
1446 (opascal-debug-fontify-buffer): Remove.
1447 (opascal-debug-mode-map): Adjust accordingly.
1448
1449 2013-04-25 Leo Liu <sdl.web@gmail.com>
1450
1451 Merge octave-mod.el and octave-inf.el into octave.el with some
1452 cleanups.
1453 * progmodes/octave.el: New file renamed from octave-mod.el.
1454 * progmodes/octave-inf.el: Merged into octave.el.
1455 * progmodes/octave-mod.el: Renamed to octave.el.
1456
1457 2013-04-25 Tassilo Horn <tsdh@gnu.org>
1458
1459 * textmodes/reftex-vars.el
1460 (reftex-label-ignored-macros-and-environments): New defcustom.
1461
1462 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
1463
1464 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1465
1466 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
1467 (smie-indent-keyword): Improve the check to ensure that the next
1468 comment is really on the same line.
1469 (smie-indent-comment): Don't align with a subsequent closer (or eob).
1470
1471 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
1472 semi-colons if the line is not otherwise empty (bug#14218).
1473
1474 2013-04-25 Glenn Morris <rgm@gnu.org>
1475
1476 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
1477
1478 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1479
1480 * progmodes/opascal.el (opascal-set-token-property): Rename from
1481 opascal-set-text-properties and only set `token' (bug#14134).
1482 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
1483 (opascal-literal-text-properties): Remove.
1484 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
1485 Adjust callers.
1486
1487 2013-04-24 Reuben Thomas <rrt@sc3d.org>
1488
1489 * textmodes/remember.el (remember-handler-functions): Add an
1490 option for a new handler `remember-store-in-files'.
1491 (remember-data-directory, remember-directory-file-name-format):
1492 New options.
1493 (remember-store-in-files): New function to store remember notes
1494 as separate files within a directory.
1495
1496 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
1497
1498 * progmodes/compile.el (compilation-next-error-function):
1499 Pass "formats" to compilation-find-file (bug#11777).
1500
1501 2013-04-24 Glenn Morris <rgm@gnu.org>
1502
1503 * vc/vc-bzr.el (vc-bzr-print-log):
1504 * vc/vc-hg.el (vc-hg-print-log):
1505 * vc/vc-svn.el (vc-svn-print-log):
1506 Fix START-REVISION with LIMIT != 1. (Bug#14168)
1507
1508 * vc/vc-bzr.el (vc-bzr-print-log):
1509 * vc/vc-cvs.el (vc-cvs-print-log):
1510 * vc/vc-git.el (vc-git-print-log):
1511 * vc/vc-hg.el (vc-hg-print-log):
1512 * vc/vc-mtn.el (vc-mtn-print-log):
1513 * vc/vc-rcs.el (vc-rcs-print-log):
1514 * vc/vc-sccs.el (vc-sccs-print-log):
1515 * vc/vc-svn.el (vc-svn-print-log):
1516 * vc/vc.el (vc-print-log-internal): Doc fixes.
1517
1518 2013-04-23 Glenn Morris <rgm@gnu.org>
1519
1520 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
1521 Remove venerable code attempting to avoid substitute-command-keys.
1522
1523 2013-04-23 Tassilo Horn <tsdh@gnu.org>
1524
1525 * textmodes/reftex-vars.el (reftex-label-regexps):
1526 Call `reftex-compile-variables' after changes to this variable.
1527
1528 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1529
1530 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
1531 Use lexical-binding.
1532 (jit-lock-force-redisplay): Use markers, check buffer's continued
1533 existence and beware narrowed buffers.
1534 (jit-lock-fontify-now): Adjust call accordingly.
1535
1536 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1537
1538 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
1539 to avoid misleading the user.
1540
1541 2013-04-22 Leo Liu <sdl.web@gmail.com>
1542
1543 * info-look.el: Prefer latex2e.info. (Bug#14240)
1544
1545 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
1546
1547 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
1548
1549 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
1550 * net/tramp.el (tramp-call-process): ... here
1551 (tramp-set-completion-function, tramp-parse-putty):
1552 * net/tramp-adb.el (tramp-adb-execute-adb-command):
1553 * net/tramp-gvfs.el (tramp-gvfs-send-command):
1554 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1555 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
1556 (tramp-call-local-coding-command): Use `tramp-call-process'
1557 instead of `tramp-compat-call-process'.
1558
1559 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
1560 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
1561 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
1562 (tramp-find-inline-compress): Improve traces.
1563 (tramp-maybe-send-script): Check for Perl binary.
1564 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
1565
1566 2013-04-22 Daiki Ueno <ueno@gnu.org>
1567
1568 * epg.el (epg-context-pinentry-mode): New function.
1569 (epg-context-set-pinentry-mode): New function.
1570 (epg--start): Pass --pinentry-mode option to gpg command.
1571
1572 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
1573
1574 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
1575 `comint-dynamic-complete' is obsolete since 24.1, replaced by
1576 `completion-at-point'. (Bug#13774)
1577
1578 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
1579 default key binding for `describe-distribution' has been moved to
1580 `C-h C-o'. (Bug#13970)
1581
1582 2013-04-21 Glenn Morris <rgm@gnu.org>
1583
1584 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
1585 Add doc strings.
1586 (vc-print-log): Clarify interactive prompt.
1587
1588 2013-04-20 Glenn Morris <rgm@gnu.org>
1589
1590 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1591 No longer include timestamp etc information.
1592
1593 2013-04-20 Roland Winkler <winkler@gnu.org>
1594
1595 * faces.el (read-face-name): Bug fix, return just one face if arg
1596 multiple is nil. (Bug#14209)
1597
1598 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1599
1600 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
1601 (remove-function): Autoload.
1602
1603 * comint.el (comint-redirect-original-filter-function): Remove.
1604 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
1605 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
1606 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
1607 * progmodes/prolog.el (prolog-consult-compile):
1608 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
1609 Use add/remove-function instead.
1610 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
1611 (gud-tooltip-process-output, gud-tooltip-tips):
1612 Use add/remove-function instead.
1613 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
1614 (scheme-interaction-mode, exit-scheme-interaction-mode):
1615 Use add/remove-function instead.
1616
1617 * vc/vc-dispatcher.el: Use lexical-binding.
1618 (vc--process-sentinel): Rename from vc-process-sentinel.
1619 Change last arg to be the code to run. Don't use vc-previous-sentinel
1620 and vc-sentinel-commands any more.
1621 (vc-exec-after): Allow code to be a function. Use add/remove-function.
1622 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
1623
1624 2013-04-19 Masatake YAMATO <yamato@redhat.com>
1625
1626 * progmodes/sh-script.el (sh-imenu-generic-expression):
1627 Handle function names with a single character. (Bug#14111)
1628
1629 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
1630
1631 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
1632 for subroutines defined in an eval (bug#14182).
1633
1634 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1635
1636 * bookmark.el (bookmark-completing-read): Improve handling of empty
1637 string (bug#14176).
1638
1639 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1640
1641 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
1642
1643 2013-04-19 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1644
1645 New faster Imenu implementation (bug#14058).
1646 * progmodes/python.el:
1647 (python-imenu-prev-index-position):
1648 (python-imenu-format-item-label-function)
1649 (python-imenu-format-parent-item-label-function)
1650 (python-imenu-format-parent-item-jump-label-function):
1651 New vars.
1652 (python-imenu-format-item-label)
1653 (python-imenu-format-parent-item-label)
1654 (python-imenu-format-parent-item-jump-label)
1655 (python-imenu--put-parent, python-imenu--build-tree)
1656 (python-imenu-create-index, python-imenu-create-flat-index)
1657 (python-util-popn): New functions.
1658 (python-mode): Set imenu-create-index-function to
1659 python-imenu-create-index.
1660
1661 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1662
1663 * winner.el (winner-active-region): Use region-active-p, activate-mark
1664 and deactivate-mark (bug#14225).
1665
1666 * simple.el (deactivate-mark): Don't inline it.
1667
1668 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
1669
1670 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
1671
1672 2013-04-18 Tassilo Horn <tsdh@gnu.org>
1673
1674 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
1675 file extensions from the archive-mode entry in order to prefer
1676 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
1677
1678 2013-04-18 Leo Liu <sdl.web@gmail.com>
1679
1680 * bindings.el (help-event-list): Add ?\?.
1681
1682 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1683
1684 * subr.el (with-wrapper-hook): Declare obsolete.
1685 * simple.el (filter-buffer-substring-function): New hook.
1686 (filter-buffer-substring): Use it.
1687 (filter-buffer-substring-functions): Mark obsolete.
1688 * minibuffer.el (completion-in-region-function): New hook.
1689 (completion-in-region): Use it.
1690 (completion-in-region-functions): Mark obsolete.
1691 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
1692 * abbrev.el (abbrev-expand-function): New hook.
1693 (expand-abbrev): Use it.
1694 (abbrev-expand-functions): Mark obsolete.
1695 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
1696 and :filter-return.
1697
1698 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1699
1700 * progmodes/python.el (python-nav--syntactically): Fix cornercases
1701 and do not care about match data.
1702
1703 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1704
1705 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
1706 completion tables when completing error conditions and
1707 `declare' arguments.
1708 (lisp-complete-symbol, field-complete): Mark as obsolete.
1709 (check-parens): Unmatched parens are user errors.
1710 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
1711
1712 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
1713
1714 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
1715 command changed buffer (ie. `flyspell-pre-buffer' is not current
1716 buffer), which prevents making decisions based on invalid value of
1717 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
1718 cause an error when `flyspell-pre-point' was nil after switching
1719 buffers.
1720 (flyspell-post-command-hook): No longer needs to change buffers when
1721 checking pre-word. While at it remove unnecessary progn.
1722
1723 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1724
1725 * textmodes/ispell.el (ispell-add-per-file-word-list):
1726 Fix `flyspell-correct-word-before-point' error when accepting
1727 words and `coment-padding' is an integer by using
1728 `comment-normalize-vars' (Bug #14214).
1729
1730 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1731
1732 New defun movement commands.
1733 * progmodes/python.el (python-nav--syntactically)
1734 (python-nav--forward-defun, python-nav-backward-defun)
1735 (python-nav-forward-defun): New functions.
1736
1737 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1738
1739 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
1740 (python-syntax-context): Use named compiler-macro for backwards
1741 compatibility with Emacs 24.x.
1742
1743 2013-04-17 Leo Liu <sdl.web@gmail.com>
1744
1745 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
1746 octave-hide-process-buffer.
1747
1748 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1749
1750 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
1751 (bug#14216).
1752
1753 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
1754
1755 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
1756 Fix adjustment of offset when receiving incomplete responses from GDB
1757 (bug#14129).
1758
1759 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1760
1761 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
1762 python-mode-abbrev-table.
1763 (python-skeleton-define): Adjust accordingly.
1764 (python-mode-abbrev-table): New table that inherits from it so that
1765 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
1766
1767 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
1768 (abbrev-symbol): Use it.
1769 (abbrev--before-point): Use it since we already handle inheritance.
1770
1771 2013-04-16 Leo Liu <sdl.web@gmail.com>
1772
1773 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
1774 binding to info-lookup-symbol.
1775
1776 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
1777
1778 * minibuffer.el (completion--twq-all):
1779 * term/ns-win.el (ns-initialize-window-system):
1780 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
1781
1782 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1783
1784 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
1785 global bindings.
1786
1787 * doc-view.el (doc-view-start-process): Handle url-handler directories.
1788
1789 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
1790
1791 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
1792 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
1793 to nil.
1794 (ruby-end-of-defun): Remove the unused arg, change the docstring
1795 to reflect that this function is only used as the value of
1796 `end-of-defun-function'.
1797 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
1798 to reflect an earlier change that beginning/end-of-defun functions
1799 jump between methods in a class definition, as well as top-level
1800 functions.
1801
1802 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1803
1804 * minibuffer.el (minibuffer-complete): Don't just scroll
1805 a *Completions* that's been iconified.
1806 (minibuffer-force-complete): Make sure repetitions do cycle when going
1807 through completion-in-region -> minibuffer-complete.
1808
1809 2013-04-15 Alan Mackenzie <acm@muc.de>
1810
1811 Correct the placement of c-cpp-delimiters when there're #s not at
1812 col 0.
1813
1814 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
1815 place a submatch around the #.
1816 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
1817 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
1818 on the #, not BOL.
1819
1820 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1821
1822 * emacs-lisp/nadvice.el: Properly test names when adding advice.
1823 (advice--member-p): New arg `name'.
1824 (advice--add-function, advice-member-p): Use it (bug#14202).
1825
1826 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
1827
1828 Reformulate java imenu-generic-expression.
1829 The old expression contained ill formed regexps.
1830
1831 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
1832 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
1833 (cc-imenu-java-method-arg-regexp): New defconsts.
1834 (cc-imenu-java-build-type-args-regex): New defun.
1835 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
1836 handling of spaces in the regexp.
1837
1838 2013-03-15 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
1839
1840 * textmodes/ispell.el (ispell-command-loop): Remove
1841 flyspell highlight of a word when ispell accepts it (bug #14178).
1842
1843 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
1844
1845 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
1846 uses code from the previous `ange-ftp-run-real-handler'.
1847 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
1848 only in case that function exist. This is needed for proper
1849 unloading of Tramp.
1850
1851 2013-04-15 Tassilo Horn <tsdh@gnu.org>
1852
1853 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
1854
1855 * textmodes/reftex.el (reftex-compile-variables): Use it.
1856
1857 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1858
1859 * files.el (normal-mode): Only use default major-mode if no other mode
1860 was specified.
1861
1862 * emacs-lisp/trace.el (trace-values): New function.
1863
1864 * files.el: Allow : in local variables (bug#14089).
1865 (hack-local-variable-regexp): New var.
1866 (hack-local-variables-prop-line, hack-local-variables): Use it.
1867
1868 2013-04-13 Roland Winkler <winkler@gnu.org>
1869
1870 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
1871 data before it gets modified by bibtex-beginning-of-entry.
1872
1873 2013-04-13 Roland Winkler <winkler@gnu.org>
1874
1875 * textmodes/bibtex.el (bibtex-url): Doc fix.
1876
1877 2013-04-13 Roland Winkler <winkler@gnu.org>
1878
1879 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
1880 does not visit a BibTeX file, exclude it from the list of buffers
1881 returned by bibtex-initialize.
1882
1883 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
1884
1885 * window.el (split-window): Remove interactive form, since as a
1886 command this function is a special case of split-window-below.
1887 Correct doc string.
1888
1889 2013-04-12 Roland Winkler <winkler@gnu.org>
1890
1891 * faces.el (read-face-name): Do not override value of arg default.
1892 Allow single faces and strings as default values. Remove those
1893 elements from return value that are not faces.
1894 (describe-face): Simplify.
1895 (face-at-point): New optional args thing and multiple so that this
1896 function can provide the same functionality previously provided by
1897 read-face-name.
1898 (make-face-bold, make-face-unbold, make-face-italic)
1899 (make-face-unitalic, make-face-bold-italic, invert-face)
1900 (modify-face, read-face-and-attribute): Use face-at-point.
1901
1902 * cus-edit.el (customize-face, customize-face-other-window)
1903 * cus-theme.el (custom-theme-add-face)
1904 * face-remap.el (buffer-face-set)
1905 * facemenu.el (facemenu-set-face): Use face-at-point.
1906
1907 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
1908
1909 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
1910
1911 2013-04-10 Tassilo Horn <tsdh@gnu.org>
1912
1913 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
1914 off leading { and trailing } from field values.
1915
1916 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1917
1918 * emacs-lisp/timer.el (timer--check): New function.
1919 (timer--time, timer-set-function, timer-event-handler): Use it.
1920 (timer-set-idle-time): Simplify.
1921 (timer--activate): CSE.
1922 (timer-event-handler): Give more info in error message.
1923 (internal-timer-start-idle): New function, moved from C.
1924
1925 * mpc.el (mpc-proc): Add `restart' argument.
1926 (mpc-proc-cmd): Use it.
1927 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
1928 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
1929 less often.
1930
1931 2013-04-10 Masatake YAMATO <yamato@redhat.com>
1932
1933 * progmodes/sh-script.el: Implement `sh-mode' own
1934 `add-log-current-defun-function' (bug#14112).
1935 (sh-current-defun-name): New function.
1936 (sh-mode): Use the function.
1937
1938 2013-04-09 Bastien Guerry <bzg@gnu.org>
1939
1940 * simple.el (choose-completion-string): Fix docstring (bug#14163).
1941
1942 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1943
1944 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
1945
1946 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
1947 timer (bug#14156).
1948
1949 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
1950
1951 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
1952 declaration.
1953
1954 2013-04-07 Leo Liu <sdl.web@gmail.com>
1955
1956 * pcmpl-x.el: New file.
1957
1958 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
1959
1960 Do not set x-display-name until X connection is established.
1961 This is needed to prevent from weird situation described at
1962 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
1963 * frame.el (make-frame): Set x-display-name after call to
1964 window system initialization function, not before.
1965 * term/x-win.el (x-initialize-window-system): Add optional
1966 display argument and use it.
1967 * term/w32-win.el (w32-initialize-window-system):
1968 * term/ns-win.el (ns-initialize-window-system):
1969 * term/pc-win.el (msdos-initialize-window-system):
1970 Add compatible optional display argument.
1971
1972 2013-04-06 Eli Zaretskii <eliz@gnu.org>
1973
1974 * files.el (normal-backup-enable-predicate): On MS-Windows and
1975 MS-DOS compare truenames of temporary-file-directory and of the
1976 file, so that 8+3 aliases (usually found in $TEMP on Windows)
1977 don't fail comparison by compare-strings. Also, compare file
1978 names case-insensitively on MS-Windows and MS-DOS.
1979
1980 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1981
1982 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
1983 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
1984
1985 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
1986
1987 * whitespace.el (whitespace-color-on, whitespace-color-off):
1988 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
1989
1990 2013-04-05 Jacek ChrzÄ…szcz <chrzaszcz@mimuw.edu.pl> (tiny change)
1991
1992 * ispell.el (ispell-set-spellchecker-params):
1993 Really set `ispell-args' for all equivs.
1994
1995 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1996
1997 * ido.el (ido-completions): Use extra elements of ido-decorations
1998 (bug#14143).
1999 (ido-decorations): Update docstring.
2000
2001 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
2002
2003 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2004 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
2005 nil during initialization, in order not to miss changes since the
2006 file was opened. (Bug#14140)
2007
2008 2013-04-05 Leo Liu <sdl.web@gmail.com>
2009
2010 * kmacro.el (kmacro-call-macro): Fix bug#14135.
2011
2012 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
2013
2014 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
2015
2016 2013-04-04 Glenn Morris <rgm@gnu.org>
2017
2018 * electric.el (electric-pair-inhibit-predicate): Add :version.
2019
2020 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2021
2022 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
2023 when a package is required several times (bug#14082).
2024
2025 2013-04-04 Roland Winkler <winkler@gnu.org>
2026
2027 * faces.el (read-face-name): Behave as promised by the docstring.
2028 Assume that arg default is a list of faces.
2029 (describe-face): Call read-face-name with list of default faces.
2030
2031 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2032
2033 * bookmark.el: Fix deletion of bookmarks (bug#13972).
2034 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
2035 (bookmark-bmenu-execute-deletions): Only skip first line if it's
2036 the header.
2037 (bookmark-exit-hook-internal): Save even if list is empty.
2038
2039 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
2040
2041 * emacs-lisp/package.el (package-pinned-packages): New var.
2042 (package--add-to-archive-contents): Obey it (bug#14118).
2043
2044 2013-04-03 Alan Mackenzie <acm@muc.de>
2045
2046 Handle `parse-partial-sexp' landing inside a comment opener
2047 (Bug#13244). Also adapt to the new values of element 7 of a parse
2048 state.
2049
2050 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
2051 parameter `not-in-delimiter'. Handle being inside comment opener.
2052 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
2053 character in case we're typing a '*' after a '/'.
2054 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
2055 instead by passing the parameter to c-state-pp-to-literal.
2056
2057 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
2058 for elt. 7 of a parse state.
2059
2060 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
2061
2062 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
2063 * international/latin1-disp.el, international/mule-util.el:
2064 * language/cyril-util.el, language/european.el, language/ind-util.el:
2065 * language/lao-util.el, language/thai.el, language/tibet-util.el:
2066 * language/tibetan.el, language/viet-util.el:
2067 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
2068
2069 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
2070
2071 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
2072 (electric-pair-post-self-insert-function): Use it.
2073 (electric-pair-default-inhibit): New function, extracted from
2074 electric-pair-post-self-insert-function.
2075
2076 2013-03-31 Roland Winkler <winkler@gnu.org>
2077
2078 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
2079
2080 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
2081
2082 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
2083
2084 2013-03-30 FabiĂ¡n Ezequiel Gallina <fabian@anue.biz>
2085
2086 Un-indent after "pass" and "return" statements (Bug#13888)
2087 * progmodes/python.el (python-indent-block-enders): New var.
2088 (python-indent-calculate-indentation): Use it.
2089
2090 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
2091
2092 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
2093 defun. Defining it as defalias could introduce too eager
2094 byte-compiler optimization. (Bug#14030)
2095
2096 2013-03-30 Chong Yidong <cyd@gnu.org>
2097
2098 * iswitchb.el (iswitchb-read-buffer): Fix typo.
2099
2100 2013-03-30 Leo Liu <sdl.web@gmail.com>
2101
2102 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
2103 (kmacro-execute-from-register): Pass the keyboard macro to
2104 kmacro-call-macro or repeating won't work correctly.
2105
2106 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
2107
2108 * progmodes/subword.el: Back to using `forward-symbol'.
2109
2110 * subr.el (forward-whitespace, forward-symbol)
2111 (forward-same-syntax): Move from thingatpt.el.
2112
2113 2013-03-29 Leo Liu <sdl.web@gmail.com>
2114
2115 * kmacro.el (kmacro-to-register): New command.
2116 (kmacro-execute-from-register): New function.
2117 (kmacro-keymap): Bind to 'x'. (Bug#14071)
2118
2119 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
2120
2121 * mpc.el: Use defvar-local and setq-local.
2122 (mpc--proc-connect): Connection failures are not bugs.
2123 (mpc-mode-map): `follow-link' only applies to the buffer's content.
2124 (mpc-volume-map): Bind to the up-events.
2125
2126 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
2127
2128 * progmodes/subword.el (superword-mode): Use `forward-sexp'
2129 instead of `forward-symbol'.
2130
2131 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2132
2133 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
2134 (edebug--recursive-edit): Use it.
2135 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
2136 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
2137
2138 2013-03-28 Leo Liu <sdl.web@gmail.com>
2139
2140 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
2141
2142 2013-03-27 Eli Zaretskii <eliz@gnu.org>
2143
2144 * facemenu.el (list-colors-callback): New defvar.
2145 (list-colors-redisplay): New function.
2146 (list-colors-display): Install list-colors-redisplay as the
2147 revert-buffer-function. (Bug#14063)
2148
2149 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2150
2151 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
2152 and suffixes don't overlap (bug#14061).
2153
2154 * case-table.el: Use lexical-binding.
2155 (case-table-get-table): New function.
2156 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
2157
2158 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
2159
2160 * progmodes/subword.el: Add `superword-mode' to do word motion
2161 over symbol_words (parallels and leverages `subword-mode' which
2162 does word motion inside MixedCaseWords).
2163
2164 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
2165
2166 * eshell/em-unix.el: Move su and sudo to...
2167 * eshell/em-tramp.el: ...Eshell tramp module.
2168
2169 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2170
2171 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
2172 Change return value to be a sexp. Delay `get-buffer' to after
2173 restoring the desktop (bug#13951).
2174
2175 2013-03-26 Leo Liu <sdl.web@gmail.com>
2176
2177 * register.el: Move semantic tag handling back to
2178 cedet/semantic/senator.el. (Bug#14052)
2179
2180 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2181
2182 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
2183 into the prompt either (bug#13963).
2184
2185 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
2186
2187 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
2188 part of "(error-foo)".
2189
2190 2013-03-24 Juri Linkov <juri@jurta.org>
2191
2192 * replace.el (list-matching-lines-prefix-face): New defcustom.
2193 (occur-1): Pass `list-matching-lines-prefix-face' to the function
2194 `occur-engine' if `face-differs-from-default-p' returns t.
2195 (occur-engine): Add `,' inside backquote construct to evaluate
2196 `prefix-face'. Propertize the prefix with the `prefix-face' face.
2197 Pass `prefix-face' to the functions `occur-context-lines' and
2198 `occur-engine-add-prefix'.
2199 (occur-engine-add-prefix, occur-context-lines): Add optional arg
2200 `prefix-face' and propertize the prefix with `prefix-face'.
2201 (Bug#14017)
2202
2203 2013-03-24 Leo Liu <sdl.web@gmail.com>
2204
2205 * nxml/rng-valid.el (rng-validate-while-idle)
2206 (rng-validate-quick-while-idle): Guard against deleted buffer.
2207 (Bug#13999)
2208
2209 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
2210 is the last entry in kill-buffer-hook.
2211
2212 * files.el (kill-buffer-hook): Doc fix.
2213
2214 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
2215
2216 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
2217 Make it safe-local.
2218
2219 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
2220
2221 2013-03-23 Leo Liu <sdl.web@gmail.com>
2222
2223 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
2224 Remove.
2225
2226 * nxml/rng-valid.el (rng-validate-mode)
2227 (rng-after-change-function, rng-do-some-validation):
2228 * nxml/rng-maint.el (rng-validate-buffer):
2229 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
2230 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
2231 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
2232 (nxml-extend-after-change-region): Use with-silent-modifications.
2233
2234 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
2235 timer-idle-list.
2236
2237 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
2238 (rng-next-error-1, rng-previous-error-1): Do not let-bind
2239 timer-idle-list. (Bug#13999)
2240
2241 2013-03-23 Juri Linkov <juri@jurta.org>
2242
2243 * info.el (info-index-match): New face.
2244 (Info-index, Info-apropos-matches): Add a nested subgroup to the
2245 main pattern and add text properties with the new face to matches
2246 in index entries relative to the beginning of the index entry.
2247 (Bug#14015)
2248
2249 2013-03-21 Eric Ludlam <zappo@gnu.org>
2250
2251 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
2252 Inhibit read only while inserting objects.
2253
2254 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
2255
2256 * progmodes/cfengine.el: Update docs to mention
2257 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
2258 symbol motion. Remove "_" from the word syntax.
2259
2260 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
2261
2262 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
2263 syntax for both `cfengine2-mode' and `cfengine3-mode'.
2264
2265 2013-03-20 Juri Linkov <juri@jurta.org>
2266
2267 * info.el (Info-next-reference-or-link)
2268 (Info-prev-reference-or-link): New functions.
2269 (Info-next-reference, Info-prev-reference): Use them.
2270 (Info-try-follow-nearest-node): Handle footnote navigation.
2271 (Info-fontify-node): Fontify footnotes. (Bug#13989)
2272
2273 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2274
2275 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
2276 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
2277
2278 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
2279
2280 Suppress unnecessary non-ASCII chatter during build process.
2281 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
2282 (batch-skkdic-convert): Suppress most of the chatter.
2283 It's not needed so much now that machines are faster,
2284 and its non-ASCII component was confusing; see Dmitry Gutov in
2285 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
2286
2287 2013-03-20 Leo Liu <sdl.web@gmail.com>
2288
2289 * ido.el (ido-chop): Fix bug#10994.
2290
2291 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2292
2293 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
2294 Remove vars.
2295 (whitespace-color-on, whitespace-color-off):
2296 Use `font-lock-fontify-buffer' (Bug#13817).
2297
2298 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
2299
2300 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
2301 remapping in mode-line.
2302 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
2303
2304 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2305
2306 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
2307 value for `whitespace-line' face (Bug#13875).
2308 (whitespace-font-lock-keywords): Change description.
2309 (whitespace-color-on): Don't save `font-lock-keywords' value, save
2310 the constructed keywords instead.
2311 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
2312
2313 2013-03-19 Leo Liu <sdl.web@gmail.com>
2314
2315 * progmodes/compile.el (compilation-display-error): New command.
2316 (compilation-mode-map, compilation-minor-mode-map): Bind it to
2317 C-o. (Bug#13992)
2318
2319 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2320
2321 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
2322
2323 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
2324
2325 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
2326
2327 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
2328
2329 * net/tramp-compat.el (tramp-compat-user-error): New defun.
2330
2331 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2332 * net/tramp-gvfs.el (top):
2333 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
2334 (tramp-handle-shell-command): Use it.
2335 (tramp-dissect-file-name): Raise an error when hostname is a
2336 method name, and neither method nor user is specified.
2337
2338 * net/trampver.el: Update release number.
2339
2340 2013-03-18 Leo Liu <sdl.web@gmail.com>
2341
2342 Make sure eldoc can be turned off properly.
2343 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
2344 eldoc-mode.
2345 (eldoc-display-message-p): Revert last change.
2346 (eldoc-display-message-no-interference-p)
2347 (eldoc-print-current-symbol-info): Tweak.
2348
2349 2013-03-18 Tassilo Horn <tsdh@gnu.org>
2350
2351 * doc-view.el (doc-view-new-window-function): Check the new window
2352 overlay's display property instead the char property of the
2353 buffer's first char. Use `with-selected-window' instead of
2354 `save-window-excursion' with `select-window'.
2355 (doc-view-document->bitmap): Check the current doc-view overlay's
2356 display property instead the char property of the buffer's first char.
2357
2358 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2359
2360 Automate the build of ja-dic.el (Bug#13984).
2361 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
2362 from the input, rather than assume that it's been done for us by the
2363 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
2364 the current date into a ja-dic.el comment, as that complicates
2365 regression testing.
2366
2367 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2368
2369 * whitespace.el: Fix double evaluation.
2370 (whitespace-space, whitespace-hspace, whitespace-tab)
2371 (whitespace-newline, whitespace-trailing, whitespace-line)
2372 (whitespace-space-before-tab, whitespace-indentation)
2373 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
2374 obsolete defvars.
2375 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
2376 (whitespace-color-on): Use a single font-lock-add-keywords call.
2377 Fix double-evaluation of face variables.
2378
2379 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
2380
2381 * net/tramp-adb.el (tramp-adb-parse-device-names):
2382 Use `start-process' instead of `call-process'. Otherwise, the
2383 function might be blocked under MS Windows. (Bug#13299)
2384
2385 2013-03-17 Leo Liu <sdl.web@gmail.com>
2386
2387 Extend eldoc to display info in the mode-line. (Bug#13978)
2388 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
2389 (eldoc-mode-line-string): New variable.
2390 (eldoc-minibuffer-message): New function.
2391 (eldoc-message-function): New variable.
2392 (eldoc-message): Use it.
2393 (eldoc-display-message-p)
2394 (eldoc-display-message-no-interference-p):
2395 Support eldoc-post-insert-mode.
2396
2397 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
2398 (eval-expression): Run it.
2399
2400 2013-03-17 Roland Winkler <winkler@gnu.org>
2401
2402 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
2403 strings in the list of return values.
2404
2405 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2406
2407 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
2408 radix before checking for HMS forms.
2409
2410 2013-03-16 Leo Liu <sdl.web@gmail.com>
2411
2412 * progmodes/scheme.el: Add indentation and font-locking for λ.
2413 (Bug#13975)
2414
2415 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
2416
2417 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
2418 token before point (bug#13942).
2419
2420 2013-03-16 Leo Liu <sdl.web@gmail.com>
2421
2422 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
2423
2424 2013-03-16 Eli Zaretskii <eliz@gnu.org>
2425
2426 * startup.el (command-line-normalize-file-name): Fix handling of
2427 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
2428 <xfq.free@gmail.com> in
2429 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
2430
2431 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
2432
2433 Sync with Tramp 2.2.7.
2434
2435 * net/trampver.el: Update release number.
2436
2437 2013-03-14 Tassilo Horn <tsdh@gnu.org>
2438
2439 * doc-view.el Fix bug#13887.
2440 (doc-view-insert-image): Don't modify overlay associated to
2441 non-live windows, and implement horizontal centering of image in
2442 case it's smaller than the window.
2443 (doc-view-new-window-function): Force redisplay of new windows on
2444 doc-view buffers.
2445
2446 2013-03-13 Karl Fogel <kfogel@red-bean.com>
2447
2448 * saveplace.el (save-place-alist-to-file): Don't sort
2449 `save-place-alist', just pretty-print it (bug#13882).
2450
2451 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
2452
2453 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
2454 whether `default-file-name-coding-system' is bound. It isn't in
2455 XEmacs.
2456
2457 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
2458
2459 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
2460 backquotes for `obsolete' (bug#13929).
2461
2462 * international/mule.el (find-auto-coding): Include file name in
2463 obsolescence warning (bug#13922).
2464
2465 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
2466
2467 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
2468 for CFEngine 3-specific indentation.
2469 (cfengine3-indent-line): Use it. Fix up category regex.
2470 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
2471
2472 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2473
2474 * type-break.el (type-break-file-name):
2475 * textmodes/remember.el (remember-data-file):
2476 * strokes.el (strokes-file):
2477 * shadowfile.el (shadow-initialize):
2478 * saveplace.el (save-place-file):
2479 * ps-bdf.el (bdf-cache-file):
2480 * progmodes/idlwave.el (idlwave-config-directory):
2481 * net/quickurl.el (quickurl-url-file):
2482 * international/kkc.el (kkc-init-file-name):
2483 * ido.el (ido-save-directory-list-file):
2484 * emulation/viper.el (viper-custom-file-name):
2485 * emulation/vip.el (vip-startup-file):
2486 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2487 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
2488
2489 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
2490
2491 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
2492 * language/thai-word.el: Switch to UTF-8.
2493
2494 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2495
2496 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
2497
2498 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2499
2500 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
2501 Use with-current-buffer and don't move point.
2502 (net-utils-run-simple): Remove useless code.
2503 (net-utils-remove-ctl-m): Remove unused custom.
2504
2505 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
2506
2507 * international/characters.el (glyphless-set-char-table-range): New fun.
2508 (update-glyphless-char-display): Use it (bug#13744).
2509
2510 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
2511
2512 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
2513 namespaces in the syntax, indent closer for hanging brace
2514 correctly, allow single-quote delimited 'strings', and make
2515 `cfengine3-mode' the default.
2516
2517 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
2518
2519 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
2520 Use lexical-binding. Fix up docstring according to conventions.
2521 (gdbmi-debug-mode): New var.
2522 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
2523 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
2524 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
2525 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
2526 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
2527 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
2528 (gdbmi-bnf-incomplete-record-result): New functions.
2529 (gdb-car<): Remove function.
2530 (gdbmi-record-list): Remove variable.
2531 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
2532 (gdbmi-bnf-result-state-configs): New const.
2533 (gud-gdbmi-marker-filter): Rewrite.
2534 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
2535 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
2536 Add `token' argument.
2537 (gdb-done, gdb-error): New functions.
2538 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
2539
2540 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2541
2542 * term/xterm.el (xterm--report-background-handler): Don't burp
2543 upon timeout.
2544 (xterm--version-handler): Extract from terminal-init-xterm.
2545 (xterm--query): Don't mishandle timeout. Remove debugging messages.
2546 Allow multiple handlers.
2547 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
2548
2549 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
2550 (xterm--report-background-handler, xterm--query): New functions.
2551 (terminal-init-xterm): Use them.
2552
2553 2013-03-11 Michael R. Mauger <michael@mauger.com>
2554
2555 * progmodes/sql.el Version 3.2
2556 Please note that my address changed to <michael@mauger.com>;
2557 the <mmaug@yahoo.com> address remains active.
2558 (sql-connection-alist): Updates documentation to fix bug#13715.
2559 (sql-connect): Handle missing `sql-connection-alist' correctly.
2560 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
2561 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
2562 property.
2563 (sql-default-value): New function.
2564 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
2565 values were not used.
2566 (sql-rename-buffer): Make sure alternate buffer name has no text
2567 properties.
2568 (sql-input-sender, sql-execute-feature): Fetch variable with
2569 `buffer-local-value' rather than `with-current-buffer'.
2570 (sql-*): Use #' function syntax consistently.
2571 (sql-*): Use message/error/user-error consistently.
2572
2573 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2574
2575 * xt-mouse.el (xterm-mouse-event-read): Remove.
2576 (xterm-mouse--read-event-sequence-1000)
2577 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
2578
2579 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2580
2581 * term/xterm.el (xterm-function-map): Support format used with
2582 formatOtherKeys=1 (bug#13839).
2583
2584 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
2585 (with-no-warnings): Use `declare'.
2586
2587 * whitespace.el (whitespace-enable-predicate): New variable.
2588 (whitespace-enable-predicate): Use it.
2589
2590 * comint.el (comint-send-input, comint-snapshot-last-prompt)
2591 (comint-output-filter, comint-update-fence):
2592 Use with-silent-modifications.
2593
2594 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
2595
2596 * replace.el (occur-read-regexp-defaults-function): New var.
2597 (occur-read-regexp-defaults): New defun.
2598 (occur-read-primary-args): Propagate above change (bug#13892).
2599
2600 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2601
2602 * mouse.el (mouse-drag-track): Remove left-over debugging code.
2603
2604 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
2605
2606 Major rewrite due to changed D-Bus interface of GVFS 1.14.
2607
2608 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
2609 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
2610 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
2611 New defconst.
2612 (tramp-gvfs-file-name-handler-alist) [directory-files]
2613 [directory-files-and-attributes, file-exists-p, file-modes]:
2614 Use Tramp default handler.
2615 [file-acl, file-selinux-context, process-file, set-file-acl]:
2616 [set-file-modes, set-file-selinux-context, shell-command]:
2617 [start-file-process]: Remove handler.
2618 [verify-visited-file-modtime]: New handler.
2619 (tramp-gvfs-dbus-string-to-byte-array)
2620 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
2621 calls of `dbus-string-to-byte-array' and
2622 `tramp-gvfs-dbus-byte-array-to-string'.
2623 (tramp-gvfs-handle-copy-file)
2624 (tramp-gvfs-handle-delete-directory)
2625 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
2626 (tramp-gvfs-handle-file-directory-p)
2627 (tramp-gvfs-handle-file-executable-p)
2628 (tramp-gvfs-handle-file-name-all-completions)
2629 (tramp-gvfs-handle-file-readable-p)
2630 (tramp-gvfs-handle-file-writable-p)
2631 (tramp-gvfs-handle-insert-directory)
2632 (tramp-gvfs-handle-insert-file-contents)
2633 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
2634 (tramp-gvfs-handle-set-visited-file-modtime)
2635 (tramp-gvfs-handle-write-region): Rewrite.
2636 (tramp-gvfs-handle-file-acl)
2637 (tramp-gvfs-handle-file-selinux-context)
2638 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
2639 (tramp-gvfs-handle-set-file-modes)
2640 (tramp-gvfs-handle-set-file-selinux-context)
2641 (tramp-gvfs-handle-shell-command)
2642 (tramp-gvfs-handle-start-file-process)
2643 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
2644 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
2645 over the symlinks. Fix user handling.
2646 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
2647 of the D-Bus signals.
2648 (tramp-gvfs-connection-mounted-p): Handle different names of the
2649 D-Bus methods.
2650 (tramp-gvfs-mount-spec-entry): New defun.
2651 (tramp-gvfs-mount-spec): Use it.
2652 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
2653 there is a share name. Handle different names of the D-Bus
2654 signals and methods. Set connection properties needed for
2655 `tramp-check-cached-permissions'.
2656 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
2657 Return t or nil.
2658
2659 * net/tramp.el (tramp-backtrace): Move up.
2660 (tramp-error): Dump a backtrace into the debug buffer when
2661 `tramp-verbose > 9.
2662 (tramp-file-mode-type-map, tramp-file-mode-from-int)
2663 (tramp-file-mode-permissions, tramp-get-local-uid)
2664 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
2665 tramp-sh.el.
2666
2667 * net/tramp-sh.el (tramp-file-mode-type-map)
2668 (tramp-check-cached-permissions, tramp-file-mode-from-int)
2669 (tramp-file-mode-permissions, tramp-get-local-uid)
2670 (tramp-get-local-gid): Move to tramp.el.
2671
2672 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2673
2674 Separate mouse-1-click-follows-link from mouse-drag-region.
2675 * mouse.el (mouse--down-1-maybe-follows-link): New function.
2676 (key-translation-map): Use it to implement mouse-1-click-follows-link.
2677 (mouse-drag-line, mouse-drag-track):
2678 Remove mouse-1-click-follows-link code.
2679 (mouse--remap-link-click-p): Remove.
2680
2681 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
2682
2683 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
2684 (hi-lock-read-regexp-defaults): New defun.
2685 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2686 (hi-lock-face-phrase-buffer): Propagate above change.
2687 Update docstring (bug#13892).
2688
2689 * subr.el (find-tag-default-as-regexp): New defun.
2690 * replace.el (read-regexp): Propagate above change.
2691
2692 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
2693
2694 * calc/calc-units.el (calc-convert-units): Fix the way that default
2695 new units are stored.
2696
2697 2013-03-07 Matthias Meulien <orontee@gmail.com>
2698
2699 * bookmark.el: Define a face to highlight bookmark names in
2700 bookmark menu buffers, where the default is a bold face similarly
2701 to buffer names in buffer menu buffers.
2702 (bookmark-menu-bookmark): New face to highlight bookmark names.
2703 (bookmark-insert-location): Remove duplicated text property to
2704 conform to buffer list (see `list-buffers').
2705 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
2706 `bookmark-menu-bookmark' to bookmark names.
2707
2708 2013-03-07 Matthias Meulien <orontee@gmail.com>
2709 Karl Fogel <kfogel@red-bean.com>
2710
2711 * bookmark.el: Display the bookmark list header similarly to the
2712 buffer list header (see `list-buffers'), where the default is now
2713 an immovable/immutable header line.
2714 (bookmark-bmenu-use-header-line): New variable.
2715 (bookmark-bmenu-inline-header-height): New name for
2716 `bookmark-bmenu-header-height', to avoid confusion with the code
2717 for the new immovable header. All references changed.
2718 (bookmark-bmenu-set-header): New function.
2719 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
2720 Conditionalize header construction accordingly.
2721 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
2722 the inline header height.
2723 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
2724 Conditionalize the skipping of the inline header height.
2725
2726 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
2727
2728 * progmodes/js.el (js--multi-line-declaration-indentation):
2729 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
2730
2731 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
2732
2733 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2734 Only propertize regexp when not inside a string (Bug#13885).
2735
2736 2013-03-06 Alan Mackenzie <acm@muc.de>
2737
2738 Correct the position of point in some line-up functions.
2739 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
2740 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
2741 point at column 0 rather than at a random place in the line.
2742
2743 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
2744
2745 * net/tramp-compat.el (tramp-compat-delete-directory):
2746 Implement TRASH argument.
2747
2748 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
2749
2750 Keep pre-existing highlighting in completion candidates (Bug#13250).
2751 * minibuffer.el (completions-first-difference): State that the
2752 face is "added" in the docstring.
2753 (completions-common-part): Same. And don't inherit from default.
2754 (completion-hilit-commonality): Prepend 'completions-common-part
2755 and 'completion-first-difference faces to the 'face property,
2756 instead of replacing the value(s).
2757 (completion--insert-strings): Same with 'completions-annotations face.
2758 (completion-hilit-commonality): Use 'face instead of
2759 'font-lock-face, because it gets priority if the completion
2760 strings already have 'face set.
2761
2762 2013-03-04 Alan Mackenzie <acm@muc.de>
2763
2764 Replace `last-command-event' by `last-command-char' in XEmacs.
2765 * progmodes/cc-defs.el (c-last-command-char): New macro.
2766 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
2767 (c-semi&comma-no-newlines-before-nonblanks)
2768 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
2769 in place of `last-command-event'.
2770 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
2771 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
2772 (c-electric-paren, c-electric-continued-statement): Use the new
2773 macro in place of `last-command-event'.
2774
2775 2013-03-04 Glenn Morris <rgm@gnu.org>
2776
2777 * files.el (inhibit-local-variables-regexps):
2778 Add .diff and .patch. (Bug#13862)
2779
2780 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
2781
2782 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
2783 whether the "su" command is available on the device.
2784
2785 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2786
2787 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
2788 (tramp-adb-handle-process-file): Remove superfluous setting.
2789 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
2790 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
2791 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
2792
2793 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
2794
2795 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
2796 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
2797 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
2798 Use dict-key rather than dict-name for the error message.
2799
2800 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2801
2802 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
2803 when reverting (bug#13831).
2804
2805 2013-03-01 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2806
2807 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2808 Always expand affix-file before storing to protect against changed
2809 `default-directory'.
2810 (ispell-print-if-debug): Make sure message is printed at the end
2811 of the debug buffer.
2812
2813 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2814
2815 * net/tramp.el (tramp-obsolete-methods): New defconst.
2816 (tramp-warned-obsolete-methods): New defvar.
2817 (tramp-find-method): Check for obsolete methods. Map them to a
2818 replacement method if appropriate.
2819
2820 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
2821 Remove methods.
2822 (top): Remove completion functions for "scp1", "scp2", "ssh1",
2823 "ssh2" and "plink1".
2824
2825 2013-02-28 Dale Sedivec <dale@codefu.org>
2826
2827 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
2828 Return valid syntax-table property value when converting
2829 quotes within text from string syntax to punctuation syntax (bug#13844).
2830
2831 2013-02-28 Juri Linkov <juri@jurta.org>
2832
2833 * dired-aux.el (dired-diff): If file at point is a backup file,
2834 use its original as the default value, and reverse the order
2835 of arguments to the `diff' call. Doc fix. (Bug#13772)
2836
2837 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
2838
2839 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
2840 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
2841
2842 2013-02-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2843
2844 Initial support for hunspell dictionaries auto-detection (Bug#13639)
2845
2846 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2847 Ask hunspell about available and default dictionaries.
2848 (ispell-parse-hunspell-affix-file): Extract relevant info from
2849 hunspell affix file.
2850 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
2851 `ispell-dictionary-alist' entry for given dictionary after info
2852 provided by `ispell-parse-hunspell-affix-file'.
2853 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
2854 of parsed hunspell dicts and associated affix files.
2855 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
2856 of parsed hunspell dicts and associated parameters.
2857 (ispell-set-spellchecker-params):
2858 Call `ispell-find-hunspell-dictionaries' if hunspell and not
2859 previously done.
2860 (ispell-start-process):
2861 Call `ispell-hunspell-fill-dictionary-entry' for current
2862 dictionary if it is not initialized.
2863
2864 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2865
2866 * imenu.el: Comment nitpicks.
2867
2868 2013-02-28 Sam Steingold <sds@gnu.org>
2869
2870 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
2871 See <http://stackoverflow.com/questions/14720205>.
2872
2873 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2874
2875 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
2876 (net-utils-mode): Use it.
2877 (net-utils--revert-cmd): New var.
2878 (net-utils-run-simple): Set it, and remove bogus interactive spec.
2879 (traceroute): Use net-utils-run-simple.
2880
2881 2013-02-28 Glenn Morris <rgm@gnu.org>
2882
2883 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
2884
2885 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2886
2887 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
2888 (doc-view-fallback-mode): Remove overlays here.
2889 (doc-view-toggle-display): Instead of here. Don't throw away
2890 image-mode-winprops-alist.
2891 (doc-view-goto-page): Don't mess with hscroll.
2892
2893 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2894
2895 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
2896 &optional (bug#13819).
2897
2898 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
2899
2900 * net/tramp-adb.el (tramp-adb-parse-device-names)
2901 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
2902
2903 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
2904
2905 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2906 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
2907 defined. POSIX environments fall back to the "C" locale then and
2908 emit a warning, which shall be suppressed.
2909
2910 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
2911
2912 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
2913 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
2914
2915 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2916
2917 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
2918
2919 2013-02-25 Juri Linkov <juri@jurta.org>
2920
2921 * replace.el (read-regexp): Let-bind `default' to the first
2922 element of `defaults' if it's a list, otherwise it should be
2923 a string or nil. Let-bind `suggestions' to `defaults' if it's
2924 a list, otherwise make a list with the string value. Doc fix.
2925 (Bug#13805)
2926
2927 2013-02-25 Eli Zaretskii <eliz@gnu.org>
2928
2929 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
2930 that match "\`\.#", to avoid compiling lock files, even if they
2931 are readable (as they are on MS-Windows).
2932
2933 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2934
2935 * files.el (basic-save-buffer): Remove redundant directory-creation.
2936
2937 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
2938
2939 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
2940 Add option to force `pi' to remain symbolic.
2941 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
2942 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
2943 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
2944 derivatives, when necessary.
2945
2946 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
2947
2948 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
2949 (ps-mode-octal-region): Use string-make-unibyte.
2950
2951 2013-02-23 Glenn Morris <rgm@gnu.org>
2952
2953 * emulation/viper-cmd.el (viper-submit-report):
2954 * progmodes/ps-mode.el (ps-mode-maintainer-address):
2955 * progmodes/vera-mode.el (vera-mode-help-address):
2956 * textmodes/artist.el (artist-maintainer-address):
2957 * textmodes/reftex.el (reftex-report-bug):
2958 * vc/ediff-util.el (ediff-submit-report):
2959 Add bug-gnu-emacs to bug report address.
2960
2961 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
2962 Remove bug report entries.
2963 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
2964
2965 * emacs-lisp/bytecomp.el (byte-compile-level): New.
2966 (byte-compile-file, byte-compile-from-buffer):
2967 Use separate input/output buffers for each level of recursive
2968 byte-compile-file calls. (Bug#13787)
2969
2970 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
2971
2972 * net/tramp.el (tramp-methods): Fix docstring.
2973 (tramp-ssh-controlmaster-options): Rename it from
2974 `tramp-ssh-controlmaster-template'. Return a string.
2975 (tramp-default-method): Adapt check for
2976 `tramp-ssh-controlmaster-options'.
2977
2978 * net/tramp-sh.el (tramp-methods):
2979 Replace `tramp-ssh-controlmaster-template' by "%c".
2980 (tramp-do-copy-or-rename-file-out-of-band)
2981 (tramp-maybe-open-connection): Use it in format spec. Ensure,
2982 that it is applied for the first hop only.
2983
2984 2013-02-22 Juri Linkov <juri@jurta.org>
2985
2986 * isearch.el (isearch-lazy-highlight-new-loop):
2987 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
2988 to `isearch-other-end' if it is not nil. (Bug#13402)
2989
2990 * replace.el (replace-highlight): Let-bind `isearch-other-end'
2991 to `match-beg'.
2992
2993 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
2994 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
2995 and `isearch-error' to nil.
2996
2997 2013-03-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2998
2999 * progmodes/python.el (python-info-current-defun):
3000 Enhance match-data cluttering prevention.
3001
3002 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
3003
3004 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
3005
3006 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3007 Handle multibyte file names.
3008
3009 2013-02-22 Glenn Morris <rgm@gnu.org>
3010
3011 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
3012 (sgml-transformation-function): Give it a :set function.
3013 (sgml-tag): Doc fix.
3014
3015 * cmuscheme.el (scheme-buffer):
3016 * progmodes/inf-lisp.el (inferior-lisp-buffer):
3017 * progmodes/tcl.el (inferior-tcl-buffer):
3018 * textmodes/tex-mode.el (tex-command): Doc fixes.
3019
3020 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
3021
3022 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
3023
3024 2013-02-21 Bastien Guerry <bzg@gnu.org>
3025
3026 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
3027
3028 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3029
3030 * progmodes/python.el (python-info-current-defun):
3031 Enhance match-data cluttering prevention.
3032
3033 2013-02-21 Glenn Morris <rgm@gnu.org>
3034
3035 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
3036 loaded while outline-regexp is let bound. (Bug#9584)
3037
3038 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3039
3040 * progmodes/python.el (python-info-current-defun): Fix failed
3041 defun name retrieval because of unwanted match-data cluttering.
3042
3043 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
3044
3045 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
3046 defconst. Apply independent check for ControlPersist.
3047
3048 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
3049 temporarily, via "env".
3050
3051 2013-02-21 Glenn Morris <rgm@gnu.org>
3052
3053 * info.el (Info-enable-edit): Remove.
3054 (Info-edit): Disable it rather than using Info-enable.
3055 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
3056 (Info-cease-edit): Make editing of Info files obsolete.
3057
3058 * informat.el (Info-tagify):
3059 Handle buffers not visiting files. (Bug#13763)
3060
3061 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
3062
3063 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
3064
3065 2013-02-21 Glenn Morris <rgm@gnu.org>
3066
3067 * files.el (basic-save-buffer): Move check for existing parent
3068 directory after hooks. (Bug#13773)
3069
3070 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
3071
3072 * simple.el (command-execute): Move from C. Add obsolete check.
3073 (extended-command-history): Move from C.
3074
3075 2013-02-20 Ulrich MĂ¼ller <ulm@gentoo.org>
3076
3077 * jka-cmpr-hook.el (jka-compr-compression-info-list)
3078 (jka-compr-mode-alist-additions): Handle .txz suffix for
3079 XZ-compressed tar archives (bug#13770).
3080
3081 2013-02-20 Bastien Guerry <bzg@gnu.org>
3082
3083 * outline.el (outline-regexp, outline-heading-end-regexp):
3084 Make variables, not options (bug#13731).
3085
3086 2013-02-20 Glenn Morris <rgm@gnu.org>
3087
3088 * image.el (image-current-frame): Change from variable to function.
3089 (image-show-frame): Rename from image-nth-frame. Update callers.
3090 * image-mode.el (image-multi-frame): New variable.
3091 (image-mode-map, image-mode, image-goto-frame):
3092 Use image-multi-frame rather than image-current-frame.
3093 (image-mode, image-goto-frame): Use image-current-frame as
3094 function rather than as variable.
3095
3096 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
3097 * emacs-lisp/cl-macs.el (cl--make-type-test)
3098 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
3099
3100 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3101
3102 * net/tramp-cache.el (tramp-get-hash-table): New defun.
3103 (tramp-get-file-property, tramp-set-file-property)
3104 (tramp-get-connection-property, tramp-set-connection-property): Use it.
3105 (tramp-flush-file-property, tramp-flush-directory-property):
3106 Rename argument to KEY.
3107 (tramp-flush-connection-property): Simplify a little bit.
3108 (tramp-connection-property-p): New defun.
3109 (top): Reapply saved values only if there isn't a corresponding
3110 entry in `tramp-connection-properties'.
3111
3112 2013-02-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3113
3114 * progmodes/python.el (python-indent-context):
3115 Fix python-info-line-ends-backslash-p call.
3116 (python-info-line-ends-backslash-p)
3117 (python-info-beginning-of-backslash): Respect line-number argument.
3118 (python-info-current-line-comment-p):
3119 Fix behavior when not at beginning-of-line.
3120 (python-util-position): Remove function.
3121 (python-util-goto-line): New function.
3122
3123 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3124
3125 * eshell/em-unix.el (eshell/su): Require tramp.
3126 (eshell/sudo): Require tramp. Remove now unnecessary check.
3127
3128 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
3129 `tramp-current-connection' in order to avoid an error when several
3130 commands are invoked in a short time in eshell and friends.
3131
3132 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
3133
3134 Cleanup some of EIEIO's namespace.
3135 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
3136 Use it to define all the class-* and object-* field accessors (renamed
3137 to eieio--class-* and eieio--object-*). Update all uses.
3138 (eieio--class-num-slots, eieio--object-num-slots): Rename from
3139 class-num-slots and object-num-slots.
3140 (eieio--check-type): New macro.
3141 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
3142 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
3143 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
3144 (object-assoc-list-safe): Use it.
3145 (eieio-defclass): Tighten regexp.
3146 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
3147 Remove unreachable code.
3148 (object-class-fast): Declare obsolete.
3149 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
3150 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
3151 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
3152 Rename from class-name, object-name, object-set-name-string,
3153 object-class, object-class-name, class-parents, class-children,
3154 class-precedence-list, class-parent; with obsolete alias.
3155 (class-of, class-direct-superclasses, class-direct-subclasses):
3156 Declare obsolete.
3157 (eieio-defmethod): Use `memq'; remove unreachable code.
3158 * emacs-lisp/eieio-base.el (eieio-persistent-read):
3159 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
3160 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
3161
3162 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
3163
3164 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
3165 commentary.
3166
3167 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
3168
3169 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
3170 Use font-lock-keyword-face for macros and special forms (bug#8345).
3171
3172 2013-02-17 Didier Verna <didier@didierverna.net>
3173
3174 * net/network-stream.el (network-stream-open-starttls):
3175 Check that response to the starttls-command is non-nil. (Bug#13706)
3176
3177 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3178
3179 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
3180 Don't assume all identifier chars have syntax word.
3181 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3182 Remove bar-not-symbol. Adjust callers.
3183 (lisp-mode-variables): Don't set a font-lock-syntax-table.
3184
3185 2013-02-17 Leo Liu <sdl.web@gmail.com>
3186
3187 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
3188
3189 2013-02-17 Glenn Morris <rgm@gnu.org>
3190
3191 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
3192
3193 * image-mode.el (image-mode-map): Add image-dired menu entry.
3194
3195 * image-dired.el (tumme): Make this alias obsolete.
3196
3197 2013-02-16 Glenn Morris <rgm@gnu.org>
3198
3199 * image.el (image-animated-types): Remove.
3200 (image-multi-frame-p): Rename from image-animated-p, and generalize.
3201 (image-animated-p): Make obsolete alias.
3202 (image-animate, image-nth-frame, image-animate-timeout):
3203 Use image-multi-frame-p.
3204 (image-animate-timeout): If no delay, use image-default-frame-delay.
3205 * image-mode.el (image-mode, image-toggle-animation):
3206 Use image-multi-frame-p. (Bug#763, bug#10739)
3207 (image-mode): Adjust startup message for a multi-frame image.
3208
3209 * image-mode.el (image-mode-map): Give it a menu.
3210
3211 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
3212
3213 * net/tramp-cache.el (tramp-connection-properties): New customer
3214 option.
3215 (tramp-get-connection-property): Use it.
3216
3217 * net/tramp-compat.el (top): Require 'trampver.
3218
3219 * net/tramp-sh.el (tramp-remote-process-environment):
3220 Set tramp-autoload cookie.
3221
3222 2013-02-16 Kevin Ryde <user42@zip.com.au>
3223
3224 * info-look.el (info-lookup-select-mode): If major-mode has no
3225 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
3226
3227 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
3228
3229 * replace.el (read-regexp): Tighten the regexp that matches tag.
3230 When tag is retrieved with `find-tag-default', use regexp that
3231 matches tag at point. Also update docstring (Bug#13687).
3232
3233 2013-02-16 Eli Zaretskii <eliz@gnu.org>
3234
3235 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
3236 add watch for the file, not its parent directory, since w32notify
3237 sets up the watch for the directory internally. (Bug#13725)
3238
3239 2013-02-16 Glenn Morris <rgm@gnu.org>
3240
3241 * image.el (image-default-frame-delay): New variable.
3242 (image-animated-p): Use image-default-frame-delay.
3243 (image-minimum-frame-delay): New constant.
3244 (image-animate-timeout): Use image-minimum-frame-delay.
3245
3246 * image.el (image-nth-frame): New, split from image-animate-timeout.
3247 (image-animate-timeout): Use image-nth-frame.
3248 * image-mode.el (image-goto-frame, image-next-frame)
3249 (image-previous-frame): New commands.
3250 (image-mode-map): Add new frame commands.
3251
3252 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
3253
3254 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
3255 If col-desc already has help-echo, use it. (Bug#13563)
3256
3257 2013-02-16 Glenn Morris <rgm@gnu.org>
3258
3259 * image.el (image-current-frame): New variable.
3260 (image-animate-timeout): Set image-current-frame.
3261 * image-mode.el (image-mode): For animated images,
3262 display a frame counter via mode-line-process.
3263
3264 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
3265
3266 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3267
3268 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
3269
3270 2013-02-15 Alan Mackenzie <acm@muc.de>
3271
3272 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
3273 global minor mode has been enabled, call the minor mode function
3274 for a new buffer once only, after the major mode hook, whilst
3275 allowing that hook explicitly to disable the minor mode.
3276 (MODE-disable-in-buffer): New (generated) function.
3277 (disable-MODE): New (generated) buffer local variable.
3278
3279 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
3280
3281 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
3282 `iswitchb-next-match' and `iswitchb-prev-match' resply.
3283 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
3284 `ido-next-match' and `ido-prev-match' resply.
3285 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
3286 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
3287 `icomplete-backward-completions' (Bug#13708).
3288
3289 2013-02-15 Glenn Morris <rgm@gnu.org>
3290
3291 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3292
3293 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3294
3295 * net/goto-addr.el (goto-address-fontify): Add start and end args.
3296 (goto-address-fontify-region): Use them instead of narrowing, so
3297 syntax-ppss has access to the whole buffer.
3298
3299 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3300
3301 * progmodes/python.el: Explain how to restore "cc-mode"-like
3302 forward-sexp movement in header documentation (Bug#13642).
3303 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
3304 comments and strings (GH bug 114).
3305
3306 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3307
3308 * progmodes/python.el (python-info-current-defun): Fix current
3309 defun detection (Bug#13618).
3310
3311 2013-02-15 Chong Yidong <cyd@gnu.org>
3312
3313 * xml.el (xml-parse-string): Fix typo in handling of bad character
3314 references.
3315
3316 2013-02-15 Glenn Morris <rgm@gnu.org>
3317
3318 * play/fortune.el (fortune-compile): Simplify and fix previous change.
3319
3320 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
3321
3322 * net/tramp.el (tramp-debug-message):
3323 Add `tramp-condition-case-unless-debug'.
3324 (tramp-debug-on-error): New defvar.
3325 (tramp-condition-case-unless-debug): New defun.
3326 (tramp-file-name-handler): Use it.
3327
3328 2013-02-14 Juri Linkov <juri@jurta.org>
3329
3330 * info.el (Info-isearch-filter): Treat non-nil values of
3331 `search-invisible' including its default value `open'
3332 like the value `t' to match hidden text. (Bug#13402)
3333
3334 2013-02-14 Glenn Morris <rgm@gnu.org>
3335
3336 * help-fns.el (find-lisp-object-file-name): Give special treatment
3337 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
3338
3339 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
3340
3341 * net/quickurl.el (quickurl-save-urls):
3342 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
3343
3344 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
3345
3346 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
3347 depth for unfinished percent literal. Not using it in the caller.
3348 (ruby-move-to-block): Jump over multiline literals of all types,
3349 ignoring code-looking contents inside them.
3350 (ruby-add-log-current-method): Improve performance at the expense
3351 of accuracy. `ruby-block-contains-point' is relatively slow, so
3352 only use it for method and singleton class blocks.
3353
3354 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3355
3356 Use ControlMaster where applicable. (Bug#13677)
3357
3358 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
3359 replacing `tramp-detect-ssh-controlmaster'.
3360 (tramp-default-method): Use it.
3361
3362 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
3363 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
3364 arguments.
3365 [scpc, rsyncc]: Remove methods.
3366 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
3367 and "ssh2_old".
3368 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
3369 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
3370
3371 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3372
3373 * emacs-lisp/package.el (package--initialized): Move before first use.
3374
3375 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
3376
3377 * icomplete.el (icomplete-hide-common-prefix): New user option.
3378 (icomplete-first-match): New face.
3379 (icomplete-completions): Correct handling of "complete but not
3380 unique" (Bug#12638).
3381
3382 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
3383
3384 * descr-text.el (describe-char): Display the script (bug#13698).
3385
3386 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3387
3388 * tmm.el: Use lexical-binding and current-active-maps.
3389 (tmm-menubar): Use map-keymap and pcase.
3390 (tmm--completion-table): New function.
3391 (tmm-prompt): Use it to fix the menu order.
3392 (tmm-get-keybind): Use current-active-maps.
3393
3394 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
3395
3396 Add dired-hide-details-mode. (Bug#6799)
3397
3398 * locate.el (locate-mode): Set parent mode property to dired-mode.
3399
3400 * find-dired.el (find-dired): Call dired-insert-set-properties on
3401 initial information line. Set process mark on end of buffer.
3402 (find-dired-sentinel):
3403 Call dired-insert-set-properties on summary.
3404
3405 * dired.el (dired-hide-details-hide-symlink-targets)
3406 (dired-hide-details-hide-information-lines): New options.
3407 (dired-insert-directory):
3408 Set properties after final treatment of output.
3409 (dired-insert-set-properties):
3410 Set dired-hide-details-* properties.
3411 (dired-mode-map): Bind dired-hide-details-mode.
3412 (dired-mode): Set buffer-invisibility-spec to a list.
3413 (dired-next-line): Skip hidden lines.
3414 (dired-previous-line): Use dired-next-line.
3415 (dired-hide-details-mode): New minor mode.
3416 (dired-hide-details-update-invisibility-spec): New function.
3417
3418 2013-02-13 Glenn Morris <rgm@gnu.org>
3419
3420 * play/yow.el: Move to obsolete/. (Bug#9384)
3421
3422 2013-02-13 Juri Linkov <juri@jurta.org>
3423
3424 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
3425 to select `ediff-control-frame' and set input focus correctly on Xfce.
3426 (Bug#12218)
3427
3428 2013-02-13 Juri Linkov <juri@jurta.org>
3429
3430 * image-mode.el (image-mode-map):
3431 * doc-view.el (doc-view-mode-map):
3432 * vc/ediff-util.el (ediff-setup-keymap):
3433 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3434
3435 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
3436
3437 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
3438 performance. Instead of recalculating indentation fully for each
3439 line, sum up indentation depth based only on visited lines.
3440 (ruby-parse-partial): Increase the depth after "do" even when END
3441 is right after it.
3442 (ruby-parse-partial): When END is in the middle of a percent
3443 literal, increase the depth if the delimiter chars belong to the
3444 paren syntax class.
3445
3446 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
3447
3448 * play/fortune.el (fortune-compile): Also make the compiled file
3449 if it does not exist at all, not just if it is old. (Bug#5338)
3450
3451 2013-02-13 Glenn Morris <rgm@gnu.org>
3452
3453 * emacs-lisp/package.el (package-menu-execute): Doc fix.
3454
3455 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
3456
3457 * lisp/emacs-lisp/package.el (package-menu-execute):
3458 Add optional noquery argument. (Bug#13625)
3459
3460 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3461
3462 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
3463 if DIR exists and PARENTS is non-nil.
3464
3465 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
3466
3467 * progmodes/js.el (js--multi-line-declaration-indentation):
3468 Silence byte-compiler warning.
3469
3470 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
3471
3472 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
3473
3474 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
3475 only if it doesn't exist.
3476
3477 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3478 Set process marker.
3479
3480 2013-02-12 Tassilo Horn <tsdh@gnu.org>
3481
3482 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
3483 UserInstallation when calling soffice to work around LibreOffice
3484 bug 37531.
3485
3486 2013-02-12 Glenn Morris <rgm@gnu.org>
3487
3488 * files.el (basic-save-buffer):
3489 Offer to create a non-existing directory. (Bug#3016)
3490
3491 * calc/calc-graph.el (calc-graph-show-dumb):
3492 * calendar/calendar.el (calendar-mode-map):
3493 * cus-edit.el (custom-mode-map):
3494 * ehelp.el (electric-help-map):
3495 * emulation/vip.el (vip-mode-map):
3496 * epa.el (epa-key-list-mode-map):
3497 * info.el (Info-mode-map):
3498 * mail/rmail.el (rmail-mode-map):
3499 * mail/rmailsum.el (rmail-summary-mode-map):
3500 * man.el (Man-mode-map):
3501 * net/newst-plainview.el (newsticker-mode-map):
3502 * progmodes/cpp.el (cpp-edit-mode-map):
3503 * progmodes/grep.el (grep-mode-map):
3504 * progmodes/idlw-help.el (idlwave-help-mode-map):
3505 * simple.el (special-mode-map):
3506 * startup.el (splash-screen-keymap):
3507 * view.el (view-mode-map):
3508 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3509
3510 2013-02-11 Elias Pipping <pipping@lavabit.com>
3511
3512 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
3513 (bug#13679).
3514
3515 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
3516
3517 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
3518
3519 2013-02-11 Glenn Morris <rgm@gnu.org>
3520
3521 * vc/diff.el (diff-use-labels): New variable.
3522 (diff-no-select): Use --label rather than -L, and first
3523 check that it is supported. (Bug#11067)
3524
3525 * files.el (enable-dir-local-variables): New variable.
3526 (hack-dir-local-variables): Respect enable-dir-local-variables.
3527 * tutorial.el (help-with-tutorial):
3528 Ignore directory-local variables. (Bug#11127)
3529
3530 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
3531 (vc-svn-global-switches): ... to here. (Bug#13513)
3532
3533 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
3534
3535 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
3536 Handle "foo (bar, default: xxx): " prompts.
3537
3538 2013-02-10 Chong Yidong <cyd@gnu.org>
3539
3540 * files.el (basic-save-buffer-1): Do not set
3541 buffer-file-coding-system-explicit (Bug#4533).
3542
3543 * mail/emacsbug.el (report-emacs-bug): Change binding of
3544 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
3545
3546 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
3547
3548 * calc/calc.el (calc-allow-units-as-numbers): New variable.
3549 * calc/calc-units.el (calc-convert-units): Use new variable.
3550
3551 2013-02-09 Eli Zaretskii <eliz@gnu.org>
3552
3553 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
3554
3555 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
3556 buffer-file-type.
3557
3558 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
3559 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
3560 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
3561 coding-system-for-write instead.
3562
3563 * jka-compr.el (jka-compr-write-region): Don't bind
3564 buffer-file-type.
3565
3566 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
3567 buffer-file-type.
3568
3569 * files.el (file-name-buffer-file-type-alist): Remove defvar.
3570 (insert-file-contents-literally): Remove reference to
3571 file-name-buffer-file-type-alist.
3572
3573 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
3574 make-obsolete.
3575 (find-buffer-file-type-match, find-buffer-file-type): Remove.
3576 (find-buffer-file-type-coding-system): Remove references to
3577 find-buffer-file-type-match, find-buffer-file-type, and
3578 buffer-file-type.
3579 Don't put find-buffer-file-type-coding-system into
3580 file-coding-system-alist.
3581 (find-file-binary, find-file-text): Bind coding-system-for-read
3582 instead of file-name-buffer-file-type-alist.
3583
3584 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
3585
3586 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
3587 converter (Bug#13622).
3588 (doc-view-unoconv-program): Make obsolete alias.
3589 (doc-view-odf->pdf-converter-program): New variable.
3590 (doc-view-odf->pdf-converter-function): New variable.
3591 (doc-view-mode-p): Use it.
3592 (doc-view-odf->pdf-converter-unoconv):
3593 Rename from `doc-view-odf->pdf-converter-unoconv'.
3594 (doc-view-odf->pdf-converter-soffice): New function.
3595 (doc-view-convert-current-doc):
3596 Use `doc-view-odf->pdf-converter-function'.
3597
3598 2013-02-09 Chong Yidong <cyd@gnu.org>
3599
3600 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
3601 view-echo-area-messages (Bug#13340).
3602
3603 * help.el (view-echo-area-messages): Use display-buffer.
3604
3605 * dired-x.el (dired-do-run-mail): Prompt for confirmation
3606 (Bug#13561).
3607
3608 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
3609
3610 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
3611 Eval body right away, now that we do eager macroexpansion (bug#13605).
3612
3613 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
3614 (fundamental-mode): Use run-mode-hooks.
3615
3616 * eshell/esh-proc.el (eshell/kill): Fix last change.
3617 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
3618
3619 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
3620
3621 * eshell/esh-proc.el (eshell/kill): Rewrite.
3622
3623 * eshell/em-ls.el (show-almost-all): Declare.
3624 (eshell-do-ls): Add support for -A argument.
3625
3626 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
3627
3628 * icomplete.el (icomplete-forward-completions)
3629 (icomplete-backward-completions): Handle corner case (bug#13602).
3630
3631 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
3632
3633 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
3634 be nil. Handle this. (Bug#13636)
3635
3636 2013-02-07 Richard Stallman <rms@gnu.org>
3637
3638 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
3639 `save-buffer-coding-system'.
3640
3641 2013-02-07 Alan Mackenzie <acm@muc.de>
3642
3643 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
3644 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
3645 (c-parse-state-get-strategy): Don't return 'BOD any more.
3646 (c-append-lower-brace-pair-to-state-cache):
3647 Extra parameter HERE instead of narrowing.
3648 Widen to top of buffer before searching backwards for a brace pair.
3649 (c-state-push-any-brace-pair): Add HERE parameter to function call.
3650 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
3651 Narrow to parameter HERE, in place of being called narrowed.
3652 (c-remove-stale-state-cache): Extra parameter HERE in place of
3653 narrowing. Check there's an open brace in the cache before
3654 searching for its match.
3655 (c-invalidate-state-cache-1): Add HERE parameter to function call.
3656 (c-parse-state-1): Don't narrow here for 'forward strategy,
3657 instead passing extra parameter HERE to several functions.
3658 Remove 'BOD strategy.
3659
3660 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
3661
3662 * emacs-lisp/package.el (describe-package-1): Tell what archive is
3663 used to install the package.
3664
3665 2013-02-06 Glenn Morris <rgm@gnu.org>
3666
3667 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
3668 if we can't get user input. (Bug#6567)
3669
3670 * startup.el (command-line): If simple.el is missing,
3671 test and warn about for some possible causes.
3672
3673 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
3674
3675 * cus-start.el (all): Add ns-use-native-fullscreen.
3676
3677 2013-02-05 Glenn Morris <rgm@gnu.org>
3678
3679 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
3680
3681 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3682 Fix directory creation in fallback case.
3683
3684 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3685
3686 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
3687 (vc-update-change-log): Use dolist.
3688
3689 2013-02-04 Chong Yidong <cyd@gnu.org>
3690
3691 * thingatpt.el: Rewrite the URL detection routines, absorbing some
3692 code from ffap.el.
3693 (thing-at-point-beginning-of-url-regexp): New var.
3694 (thing-at-point-uri-schemes): Update list of URI schemes.
3695 (thing-at-point-url-regexp): Variable deleted.
3696 (thing-at-point-markedup-url-regexp): Disallow newlines.
3697 (thing-at-point-newsgroup-regexp)
3698 (thing-at-point-newsgroup-heads)
3699 (thing-at-point-default-mail-uri-scheme): New variables.
3700 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
3701 method to find the possible bounds of the URI at point.
3702 New optional argument to find ill-formed URIs.
3703 (thing-at-point-url-at-point): Rewrite. New arguments for finding
3704 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
3705 the scheme-adding heuristics from ffap-url-at-point.
3706 (thing-at-point--bounds-of-well-formed-url): New function.
3707 Do parens matching to decide whether to include parens in the URI
3708 (Bug#9153).
3709
3710 * ffap.el: Require thingatpt.
3711 (ffap-url-at-point): Delegate URI detection to thing-at-point.
3712 All URI-valid characters are now recognized (Bug#5673).
3713 (ffap-string-at-point): Use use-region-p.
3714 (ffap-url-regexp): Extra character is handled by thing-at-point.
3715 (ffap-string-at-point-mode-alist): Allow parentheses.
3716 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
3717 Convert to aliases; code moved to thingatpt.el.
3718 (ffap-gnus-hook): Use setq-local.
3719
3720 2013-02-04 Glenn Morris <rgm@gnu.org>
3721
3722 * emacs-lisp/ert.el (ert--explain-format-atom):
3723 Don't try to print non-characters as characters. (Bug#13543)
3724
3725 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
3726
3727 * net/tramp.el (tramp-debug-message): Extend function exclude list.
3728 (tramp-backtrace): New defun.
3729 (tramp-handle-insert-file-contents): Use `visit' when inserting
3730 the local copy.
3731
3732 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
3733 Use `remote-file-name-inhibit-cache'.
3734
3735 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
3736
3737 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
3738 (bug#13614).
3739
3740 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
3741 current-load-list (bug#13366).
3742
3743 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
3744
3745 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3746 Identify g++ template instantiation trace. (Bug#12287)
3747 (compilation-mode-hook, compilation-start-hook)
3748 (compilation-window-height): Simplify docstrings. (Bug#13379)
3749
3750 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3751
3752 * mouse.el (mouse-drag-track): Always deactivate the mark before
3753 running the final event's command since that command is in charge of
3754 activating the mark if needed (bug#13523).
3755
3756 2013-02-02 Juri Linkov <juri@jurta.org>
3757
3758 * replace.el (perform-replace): Move let-bindings of isearch-*
3759 variables deeper to the loop that searches for the next match.
3760 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
3761 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
3762 (Bug#13579)
3763
3764 * isearch.el (isearch-search-fun-default): Check for null
3765 first element of isearch-cmds as a precaution when it's used
3766 with inactive isearch.
3767
3768 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
3769
3770 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
3771 error when buffer in question is narrowed so position 1 is out of
3772 visible part.
3773
3774 2013-02-02 Glenn Morris <rgm@gnu.org>
3775
3776 * textmodes/remember.el (remember-clipboard): Doc fix.
3777
3778 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3779
3780 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
3781 properties (bug#13179).
3782
3783 2013-02-02 Juri Linkov <juri@jurta.org>
3784
3785 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
3786 instead of hard-coded default face `match'. (Bug#9438)
3787
3788 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
3789
3790 * vc/vc-arch.el (vc-arch-registered):
3791 * vc/vc-bzr.el (vc-bzr-registered):
3792 * vc/vc-cvs.el (vc-cvs-registered):
3793 * vc/vc-git.el (vc-git-registered):
3794 * vc/vc-hg.el (vc-hg-registered):
3795 * vc/vc-mtn.el (vc-mtn-registered):
3796 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
3797 (Bug#13139)
3798
3799 * info.el (Info-next-reference, Info-prev-reference): Add numeric
3800 prefix argument. (Bug#11656)
3801
3802 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
3803
3804 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
3805
3806 2013-02-01 Glenn Morris <rgm@gnu.org>
3807
3808 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
3809 if the backend is known not to support it.
3810
3811 * imenu.el (imenu-default-create-index-function):
3812 Tweak infinite loop test to check for forward motion as well as none.
3813
3814 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
3815
3816 * net/soap-client.el (soap-invoke): Encode the string for
3817 `url-request-data' as UTF-8.
3818 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
3819
3820 2013-02-01 Glenn Morris <rgm@gnu.org>
3821
3822 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
3823
3824 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
3825
3826 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
3827
3828 * net/tramp.el (tramp-tramp-file-p): Comment check for
3829 `string-as-unibyte'. The function does not exist on XEmacs, and
3830 likely we need another approach.
3831
3832 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
3833 `tramp-gw-*' variables are bound.
3834
3835 2013-01-31 Glenn Morris <rgm@gnu.org>
3836
3837 * files.el (basic-save-buffer-2): Choose coding system for
3838 writing the file before backing it up, to reduce delay between
3839 backing up and writing the new version. (Bug#13522)
3840
3841 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
3842
3843 * simple.el (cycle-spacing): New command.
3844 (just-one-space): Use it.
3845
3846 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
3847
3848 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
3849 (opascal-newline-always-indents): Remove custom.
3850 (opascal-tab, opascal-newline): Remove commands.
3851 (opascal-new-comment-line): Insert "\n" instead of calling newline.
3852 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
3853 (opascal-save-match-data): Remove, use save-match-data instead.
3854 (opascal-save-state): Use with-silent-modifications.
3855
3856 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
3857 (bug#13585).
3858
3859 2013-01-30 Juri Linkov <juri@jurta.org>
3860
3861 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
3862 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
3863 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
3864
3865 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3866
3867 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
3868 column if we're just deleting the backslashes.
3869 (makefile-fill-paragraph): Use eolp.
3870
3871 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3872
3873 * autorevert.el (auto-revert-use-notify): Fix docstring.
3874
3875 2013-01-30 Leo Liu <sdl.web@gmail.com>
3876
3877 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
3878
3879 2013-01-30 Glenn Morris <rgm@gnu.org>
3880
3881 * mouse.el (mouse-drag-line): Avoid pushing same event onto
3882 unread-command-events twice in some cases. This tries to implement
3883 the 2012-07-26 changes in a different way. (Bug#13560)
3884
3885 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3886
3887 * progmodes/python.el
3888 (python-pdbtrack-comint-output-filter-function): Enhancements on
3889 stacktrace detection. (thanks @gnovak)
3890
3891 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3892
3893 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
3894 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
3895 Use defvar-local.
3896 (jit-lock-register): Use setq-local.
3897
3898 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
3899
3900 * calc-units.el (math-default-units-table): Remove initial value.
3901 (calc-convert-units): Treat expressions where all the units cancel as
3902 if they didn't have units.
3903
3904 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3905
3906 * net/tramp.el (tramp-process-connection-type): Fix docstring.
3907 (tramp-completion-reread-directory-timeout): Fix type.
3908 (tramp-connection-min-time-diff): New defcustom.
3909
3910 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3911
3912 2013-01-30 Glenn Morris <rgm@gnu.org>
3913
3914 * imenu.el (imenu-default-create-index-function):
3915 Put back a version of the infinite loop test removed 2013-01-23.
3916
3917 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3918
3919 * progmodes/python.el (python-shell-parse-command):
3920 Find python-shell-interpreter with modified environment.
3921
3922 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3923
3924 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
3925
3926 2013-01-29 Alan Mackenzie <acm@muc.de>
3927
3928 Amend to fontify /regexp/s in actions correctly.
3929 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
3930 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
3931 are no longer included.
3932 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
3933 What used to be these variables without "-line" in the name.
3934 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
3935 (c-awk-non-arith-op-bra-re): Now also matches {.
3936 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
3937 "return", and "case".
3938 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
3939 by /.
3940 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
3941 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
3942
3943 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
3944
3945 * autorevert.el (auto-revert-use-notify):
3946 Use `custom-initialize-default' for initialization. (Bug#13583)
3947
3948 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
3949
3950 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3951 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
3952 in `tramp-file-name-handler'.
3953 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
3954 compatibility.
3955 (tramp-compute-multi-hops): Check, whether
3956 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
3957
3958 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
3959
3960 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
3961 (bug#13297).
3962
3963 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
3964
3965 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
3966 checks made superfluous by the \_< operator.
3967 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
3968 temporarily) broken indentation.
3969 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3970 Highlight nested constants, too. \_< broke that.
3971
3972 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
3973
3974 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
3975 instead of "\\b".
3976
3977 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
3978
3979 * autorevert.el (auto-revert-handler): Notifications which result
3980 from a saved file shall not be taken into account. (Bug#13557)
3981
3982 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
3983
3984 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
3985 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
3986 (lisp-mode): Pass t for it. (Bug#13556)
3987
3988 2013-01-25 Alan Mackenzie <acm@muc.de>
3989
3990 AWK Mode: Fix indentation bug at top level. Bug #12274.
3991
3992 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
3993 just before CASE 5D.
3994
3995 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
3996
3997 * net/socks.el (socks-nslookup-host): Use string-to-number.
3998
3999 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
4000
4001 * autorevert.el (auto-revert-remote-files)
4002 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
4003 (auto-revert-notify-enabled, auto-revert-use-notify)
4004 (auto-revert-notify-watch-descriptor-hash-list)
4005 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
4006 (auto-revert-notify-event-descriptor)
4007 (auto-revert-notify-event-action)
4008 (auto-revert-notify-event-file-name): Doc fix.
4009 (global-auto-revert-mode): Reorder checks.
4010 (auto-revert-notify-rm-watch): Respect changed values of
4011 `auto-revert-notify-watch-descriptor-hash-list'.
4012 (auto-revert-notify-add-watch): Check for
4013 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
4014 `inotify-add-watch'. Watch `default-directory' instead of
4015 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
4016 has a changed meaning now. (Bug#13540)
4017 (auto-revert-notify-handler): Change implementation wrt events
4018 returning from a directory.
4019 (auto-revert-handler): Reorder implementation for checks of remote
4020 files.
4021 (auto-revert-buffers): Fix parentheses error.
4022
4023 2013-01-25 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4024
4025 * progmodes/python.el: Enhancements to header documentation about
4026 skeletons. (Bug#5716)
4027
4028 * imenu.el (imenu-default-create-index-function): Remove useless
4029 infinite loop check. (Bug#13438)
4030
4031 2013-01-25 Alan Mackenzie <acm@muc.de>
4032
4033 Fix a bug in the state cache mechanism. Refactor this a bit.
4034
4035 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
4036 `cache-pos' element from the return value.
4037 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
4038 buffer to enable proper searching from beyond HERE. Amend the
4039 test for detecting the sought brace pair. Amend the value written
4040 to the "brace desert cache" when the brace isn't found.
4041 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
4042 and several other variables analogously.
4043 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
4044 parameter to a locally calculated variable.
4045 (c-parse-state-1): Change the calling conventions to the two
4046 defuns involving `cache-pos'.
4047
4048 2013-01-25 Chong Yidong <cyd@gnu.org>
4049
4050 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
4051
4052 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
4053
4054 * paren.el (show-paren-function): Make sure to set 'priority and
4055 'face only if the overlay does exist.
4056
4057 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
4058
4059 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
4060
4061 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
4062 basic attributes.
4063 (tramp-sh-handle-set-file-acl): Improve error checking.
4064
4065 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
4066
4067 * doc-view.el (doc-view-display): Force mode line update until all
4068 document is converted. Suggested by Stefan Monnier (Bug#13164).
4069
4070 2013-01-23 Bastien Guerry <bzg@gnu.org>
4071
4072 * paren.el (show-paren-function): Make sure an overlay exists
4073 before trying to delete it. Also use `pos' as a position only
4074 when it is an integer.
4075
4076 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
4077
4078 * play/gametree.el (gametree-break-line-here): Use point-marker.
4079
4080 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
4081
4082 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4083 Mark descriptive parts with `display' property.
4084
4085 2013-01-21 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
4086
4087 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
4088 New variable to map standard dict names to hunspell ones.
4089 (ispell-set-spellchecker-params): Make sure specific dict names
4090 are used for standard dicts with hunspell.
4091
4092 2013-01-21 Tassilo Horn <tsdh@gnu.org>
4093
4094 * textmodes/reftex-cite.el (reftex-format-citation): Add format
4095 chars for note (%N) and url (%U).
4096 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
4097
4098 2013-01-21 Juri Linkov <juri@jurta.org>
4099
4100 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
4101 in addition to existing separate binding `meta f10' in `global-map'.
4102 (Bug#13484)
4103
4104 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
4105
4106 Improve XEmacs compatibility.
4107
4108 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
4109
4110 * net/tramp-adb.el (top): Require `time-date'.
4111 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
4112 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
4113 Use `tramp-file-name-handler'.
4114 (tramp-adb-maybe-open-connection):
4115 Use `tramp-compat-set-process-query-on-exit-flag'.
4116
4117 * net/tramp-sh.el (tramp-sh-handle-file-acl):
4118 Use `tramp-compat-funcall'.
4119
4120 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
4121 `tramp-compat-funcall'.
4122
4123 2013-01-21 JĂ¼rgen Hötzel <juergen@archlinux.org>
4124
4125 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
4126 reimplementation using "adb shell command ..." instead of running
4127 remote shell interactively.
4128
4129 2013-01-20 Glenn Morris <rgm@gnu.org>
4130
4131 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
4132 Add native profiler menu entries.
4133
4134 * profiler.el (profiler-running-p): New function.
4135 (profiler-cpu-profile): Use profiler-running-p.
4136 (profiler-report-mode-map): Add some more menu entries.
4137
4138 2013-01-19 Glenn Morris <rgm@gnu.org>
4139
4140 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
4141 fixes 2012-12-07 change. (Bug#13499)
4142
4143 2013-01-19 Leo Liu <sdl.web@gmail.com>
4144
4145 * dired.el (dired-get-marked-files): Prune erroneous values due to
4146 last change. (Bug#13152)
4147
4148 2013-01-19 Glenn Morris <rgm@gnu.org>
4149
4150 * progmodes/etags.el (tags-table-check-computed-list):
4151 Preserve point in tags buffer. (Bug#13412)
4152
4153 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
4154
4155 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
4156 Chong Yidong <cyd@gnu.org>
4157
4158 * image-mode.el (image-next-file, image-previous-file):
4159 New commands (Bug#8453).
4160 (image-mode-map): Bind them to n and p.
4161 (image-mode--images-in-directory): New helper function.
4162
4163 2013-01-19 Chong Yidong <cyd@gnu.org>
4164
4165 * image-mode.el (image-mode-fit-frame): Add a frame argument.
4166 Suggested by Drew Adams (Bug#7730). Handle window decorations;
4167 save and restore the old window configuration.
4168
4169 2013-01-18 Leo Liu <sdl.web@gmail.com>
4170
4171 * progmodes/js.el: Tweak autoload cookie for alias.
4172
4173 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4174
4175 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
4176 buffer local, again. This was lost with the fix on 2013-01-12.
4177
4178 2013-01-17 JĂ¼rgen Hötzel <juergen@archlinux.org>
4179
4180 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
4181 order to support several eshell buffers in parallel.
4182
4183 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4184
4185 * autorevert.el (auto-revert-use-notify): In the :set function, do
4186 not modify `kill-buffer-hook'.
4187 (auto-revert-notify-rm-watch):
4188 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
4189 (auto-revert-notify-add-watch): Do not call
4190 `auto-revert-notify-rm-watch', but add it to a buffer local
4191 `kill-buffer-hook'.
4192
4193 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4194
4195 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
4196 call to `eval' rather than a backquoted lambda.
4197
4198 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
4199
4200 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
4201 to return an explicit nil.
4202 (advice--remove-function): Change accordingly.
4203
4204 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
4205 the use of nadvice.el.
4206
4207 * progmodes/which-func.el (which-function): Silence imenu errors
4208 (bug#13433).
4209
4210 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4211
4212 * progmodes/sql.el (sql-imenu-generic-expression):
4213 (sql-mode-font-lock-object-name): Match schema qualified names.
4214 (sql-connect): Use string keys.
4215 (sql-product-interactive): Wait for interpreter prompt.
4216 (sql-comint-oracle): Set process coding based on NLS_LANG.
4217
4218 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4219
4220 * progmodes/sql.el (sql-output-to-send): Remove, unused.
4221 (sql-interactive-remove-continuation-prompt):
4222 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
4223
4224 2013-01-14 Leo Liu <sdl.web@gmail.com>
4225
4226 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
4227 (Bug#13420)
4228
4229 2013-01-14 Glenn Morris <rgm@gnu.org>
4230
4231 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4232 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
4233
4234 2013-01-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4235
4236 * progmodes/python.el (python-nav-end-of-statement):
4237 Fix cornercase when handling multiline strings.
4238
4239 2013-01-13 Richard Stallman <rms@gnu.org>
4240
4241 * mail/sendmail.el (mail-position-on-field): Add doc string.
4242
4243 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4244 Get current message boundaries and pass them to
4245 message-forward-make-body-mime. Minor style changes.
4246
4247 2013-01-13 Eli Zaretskii <eliz@gnu.org>
4248
4249 * cus-start.el (all): Avoid warnings about
4250 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
4251
4252 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
4253
4254 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
4255
4256 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4257
4258 * jit-lock.el (jit-lock-debug-mode): New minor mode.
4259 (jit-lock--debug-fontifying): New var.
4260 (jit-lock--debug-fontify): New function.
4261 * subr.el (condition-case-unless-debug): Don't prevent catching the
4262 error, just let the debbugger run.
4263 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
4264 timer code and don't drop errors silently.
4265
4266 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
4267
4268 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
4269 `permanent-local' property.
4270 (auto-revert-notify-handler): Use `file-equal-p'.
4271
4272 2013-01-12 Eli Zaretskii <eliz@gnu.org>
4273
4274 * autorevert.el (auto-revert-notify-handler): Fix filtering of
4275 file notification by ACTION. For filtering by file name, compare
4276 only the non-directory part of the file name.
4277
4278 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4279
4280 * autorevert.el: Use cl-lib instead of cl.
4281
4282 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
4283 (vc-bzr-checkin): Use it.
4284 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
4285 will preserve match-data.
4286
4287 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
4288
4289 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
4290 (js--declaration-keyword-re): New var.
4291 (js--multi-line-declaration-indentation): New function.
4292 (js--proper-indentation): Use it.
4293
4294 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
4295
4296 * calc/calc.el (calc-highlight-selections-with-faces)
4297 (calc-dispatch):
4298 * comint.el (comint-history-isearch-message):
4299 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
4300 * ffap.el (ffap-string-at-point-region, ffap-next)
4301 (ffap-string-at-point, ffap-string-around)
4302 (ffap-copy-string-as-kill, ffap-highlight-overlay)
4303 (ffap-literally):
4304 * font-lock.el (font-lock-keywords-alist)
4305 (font-lock-removed-keywords-alist):
4306 * help-mode.el (help-xref-symbol-regexp):
4307 * info.el (Info-find-emacs-command-nodes):
4308 * international/mule.el (add-to-coding-system-list):
4309 * isearch.el (isearch-message-function, isearch-fail-pos):
4310 * misearch.el (multi-isearch-next-buffer-function):
4311 * newcomment.el (comment-box):
4312 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
4313 (pr-setting-database):
4314 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
4315 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
4316 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
4317 (pike-font-lock-keywords-3):
4318 * progmodes/compile.el (compile):
4319 * progmodes/etags.el (tags-table-files)
4320 (tags-table-files-function, tags-included-tables-function):
4321 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
4322 (gdb-restore-windows):
4323 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
4324 (ps-n-up-filling-database):
4325 * server.el (server-buffer, server-log):
4326 * simple.el (newline, delete-backward-char, delete-forward-char)
4327 (minibuffer-history-isearch-message, kill-line, track-eol)
4328 (temporary-goal-column):
4329 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
4330 (flyspell-default-deplacement-commands):
4331 * textmodes/ispell.el (ispell-accept-output):
4332 * textmodes/sgml-mode.el (html-tag-help):
4333 * vc/compare-w.el (compare-ignore-whitespace)
4334 (compare-ignore-case, compare-windows-dehighlight):
4335 * vc/diff.el (diff):
4336 * whitespace.el (whitespace-point)
4337 (whitespace-font-lock-refontify, whitespace-bob-marker)
4338 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
4339
4340 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
4341
4342 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
4343 (auto-revert-notify-rm-watch): Ignore errors.
4344 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
4345 inotify, and '(size last-write-time) for w32notify.
4346 Set buffer-local `auto-revert-use-notify' to nil when adding a file
4347 watch fails - this is a fallback to the file modification check.
4348 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
4349 (auto-revert-notify-event-action)
4350 (auto-revert-notify-event-file-name): New defuns.
4351 (auto-revert-notify-handler): Use them. Implement first
4352 plausibility checks.
4353 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
4354
4355 2013-01-11 Julien Danjou <julien@danjou.info>
4356
4357 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
4358 max are almost equal. Also return the correct value for V which is
4359 already between 0 and 1.
4360
4361 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
4362
4363 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
4364
4365 2013-01-11 Eli Zaretskii <eliz@gnu.org>
4366
4367 * autorevert.el (auto-revert-notify-rm-watch)
4368 (auto-revert-notify-add-watch): Fix typos in w32notify function
4369 names.
4370
4371 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4372
4373 * autorevert.el (auto-revert-notify-enabled): Move up.
4374 (auto-revert-use-notify): New defcustom.
4375 (auto-revert-mode, global-auto-revert-mode)
4376 (auto-revert-notify-add-watch, auto-revert-handler)
4377 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
4378 `auto-revert-notify-enabled'.
4379
4380 2013-01-10 Elias Pipping <pipping@exherbo.org>
4381
4382 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
4383 * doc-view.el (doc-view-document->bitmap):
4384 Use doc-view-single-page-converter-function instead of
4385 single-page-converter arg; adjust callers.
4386
4387 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
4388
4389 * progmodes/which-func.el (which-function): Understand Semantic's use
4390 of overlays in imenu--index-alist.
4391
4392 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
4393
4394 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
4395 (Man-man-k-use-anchor): New var.
4396 (Man-parse-man-k): New function.
4397 (Man-completion-table): Use it.
4398 (man): Flush the completion cache between uses.
4399
4400 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4401
4402 * autorevert.el: Add file watch support.
4403 (auto-revert-notify-enabled): New defconst.
4404 (auto-revert-notify-watch-descriptor-hash-list)
4405 (auto-revert-notify-watch-descriptor)
4406 (auto-revert-notify-modified-p): New defvars.
4407 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4408 (auto-revert-notify-handler): New defuns.
4409 (auto-revert-mode, global-auto-revert-mode): Remove file watches
4410 when mode is disabled.
4411 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
4412 (auto-revert-buffers): Add file watches for active buffers.
4413
4414 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
4415
4416 * cus-start.el (toplevel): Only allow float values for
4417 scroll-up-aggressively and scroll-down-aggressively.
4418 Allow any number for line-spacing.
4419
4420 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4421
4422 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
4423 (doc-view-pdf->png-converter-function): Use mupdf if available.
4424 (doc-view-djvu->png-converter-function)
4425 (doc-view-ps->png-converter-function): Remove.
4426 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
4427 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
4428 (doc-view-already-converted-p): Adjust accordingly.
4429 (doc-view-mode-p): Simplify.
4430 (doc-view-enlarge): Use setq-local.
4431 (doc-view-pdf->png-converter-ghostscript)
4432 (doc-view-djvu->png-converter-ddjvu)
4433 (doc-view-pdf->png-converter-mupdf): Rework to call
4434 doc-view-start-process directly.
4435 (doc-view-pdf/ps->png): Simplify accordingly.
4436 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
4437 (doc-view-document->bitmap): Rename from doc-view-document->png.
4438 (doc-view-convert-current-doc): Merge pdf and djvu cases.
4439 (doc-view-set-slice-from-bounding-box): Fix completion table.
4440 (doc-view-mode): Use add-hook for after-revert-hook.
4441
4442 2013-01-10 Glenn Morris <rgm@gnu.org>
4443
4444 * emacs-lisp/authors.el (authors-ignored-files)
4445 (authors-valid-file-names, authors-renamed-files-alist):
4446 Add some more entries.
4447
4448 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4449
4450 * image-mode.el (image-mode-winprops): Don't throw away the fallback
4451 `t' pseudo-window entry.
4452
4453 2013-01-10 Alan Mackenzie <acm@muc.de>
4454
4455 Fix bugs in the c-parse-state mechanism. Reuse some markers
4456 instead of continually generating new ones.
4457
4458 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
4459 (c-state-old-cpp-end-marker): New variables.
4460 (c-append-lower-brace-pair-to-state-cache): Start a backward
4461 search for "}" definitively outside CPP constructs.
4462 (c-remove-stale-state-cache): Inform the caller of a need to
4463 search back for a brace pair in certain circumstances.
4464 (c-state-maybe-marker): New macro.
4465 (c-parse-state): Reuse markers when appropriate.
4466
4467 2013-01-10 Glenn Morris <rgm@gnu.org>
4468
4469 * simple.el (execute-extended-command): Doc fix.
4470 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
4471
4472 2013-01-10 Chong Yidong <cyd@gnu.org>
4473
4474 * faces.el (read-face-name): Doc fix.
4475
4476 2013-01-10 Roland Winkler <winkler@gnu.org>
4477
4478 * emacs-lisp/crm.el: Allow any regexp for separators.
4479 (crm-default-separator): All spaces around the default comma separator.
4480 (crm--completion-command): New macro.
4481 (crm-completion-help, crm-complete, crm-complete-word): Use it.
4482 (crm-complete-and-exit): Handle non-single-char separators.
4483
4484 2013-01-09 Elias Pipping <pipping@lavabit.com>
4485
4486 * doc-view.el: Add support for DjVu (bug#13164).
4487 (doc-view-djvu->png-converter-function): New config var.
4488 (doc-view-single-page-converter-function, doc-view--image-type)
4489 (doc-view--image-file-extension): New vars.
4490 (doc-view-mode): Initialize them.
4491 (doc-view-goto-page): Use them.
4492 (doc-view-mode-p): Add support for ddjvu.
4493 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
4494 (doc-view-set-up-single-converter): New funs.
4495 (doc-view-pdf/ps->png): Extend for djvu.
4496 (doc-view-document->png): Rename from doc-view-pdf->png.
4497 (doc-view-convert-current-doc): Handle djvu.
4498 (doc-view-insert-image, doc-view-display)
4499 (doc-view-already-converted-p): Don't hardcode png.
4500 (doc-view-set-doc-type): Recognize djvu docs.
4501
4502 2013-01-09 Elias Pipping <pipping@lavabit.com>
4503
4504 * doc-view.el: Add support for mupdf converter (bug#13164).
4505 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
4506 (doc-view-ps->png-converter-function): New config vars.
4507 (doc-view-pdf->png-converter-ghostscript)
4508 (doc-view-ps->png-converter-ghostscript)
4509 (doc-view-pdf->png-converter-mupdf): New functions.
4510 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
4511
4512 2013-01-09 JĂ¼rgen Hötzel <juergen@archlinux.org>
4513
4514 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
4515 first in session cache: When `tramp-own-remote-path' is in
4516 `tramp-remote-path', the remote path is only set in the session
4517 cache.
4518
4519 2013-01-09 Glenn Morris <rgm@gnu.org>
4520
4521 * emacs-lisp/trace.el (trace-function-foreground)
4522 (trace-function-background): Doc fix.
4523
4524 2013-01-09 Juri Linkov <juri@jurta.org>
4525
4526 * international/mule-cmds.el (read-char-by-name): Move let-binding
4527 of completion-ignore-case around completing-read to fix regression
4528 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
4529 `string-match-p' using the nil value of `case-fold-search' and
4530 `completion-ignore-case' in `completion-pcm--all-completions'.
4531 (Bug#12615).
4532
4533 2013-01-09 Glenn Morris <rgm@gnu.org>
4534
4535 * progmodes/compile.el (compilation-parse-errors):
4536 Fix typo. (Bug#13369)
4537
4538 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4539
4540 * comint.el (comint-send-input): Check size of buffer before
4541 waiting for process output, in case already accepted. (Bug#13290)
4542
4543 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
4544
4545 Spelling fixes.
4546 * net/tramp-adb.el (tramp-adb-get-toolbox):
4547 Fix misspelling of 'unknown'.
4548
4549 2013-01-08 Juri Linkov <juri@jurta.org>
4550
4551 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4552 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4553 Use underline style wave on terminals that support it. (Bug#13000)
4554
4555 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4556
4557 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
4558 the predicate returns nil.
4559
4560 * simple.el: Use lexical-binding.
4561 (primitive-undo): Use pcase.
4562 (minibuffer-history-isearch-push-state): Use a closure.
4563
4564 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4565
4566 * simple.el (primitive-undo): Move from undo.c.
4567
4568 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4569
4570 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
4571 (cvs-mode-remove-handled): Use it (bug#13380).
4572
4573 * emacs-lisp/nadvice.el (advice--tweak): New function.
4574 (advice--remove-function, advice--subst-main): Use it.
4575
4576 * emacs-lisp/advice.el: Update commentary.
4577
4578 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
4579
4580 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4581 Remove spurious entry.
4582
4583 2013-01-08 Glenn Morris <rgm@gnu.org>
4584
4585 * net/tramp.el (tramp-default-host-alist): Add :version.
4586
4587 2013-01-08 Juri Linkov <juri@jurta.org>
4588
4589 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
4590 single completion. (Bug#12456)
4591 (info--manual-names): Expand node completions into an explicit list
4592 before appending it to another list. Filter out internal buffers
4593 with the leading space in the buffer name. (Bug#10771)
4594
4595 2013-01-08 Juri Linkov <juri@jurta.org>
4596
4597 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
4598 that defaults to the Top node.
4599 (Info-goto-node, Info-read-node-name): Doc fix to mention that
4600 the short format (FILENAME) goes to the Top node.
4601 (Info-build-node-completions): Rename arg `file' to `filename'.
4602 (Bug#13365)
4603
4604 2013-01-07 Bastien Guerry <bzg@gnu.org>
4605
4606 * menu-bar.el (menu-bar-search-documentation-menu):
4607 Use `apropos-user-option' and fix the help message.
4608
4609 2013-01-07 Bastien Guerry <bzg@gnu.org>
4610
4611 * apropos.el (apropos-do-all): Update docstring.
4612 (apropos-user-option-button): New face.
4613 (apropos-user-option): Rename from `apropos-variable' and update
4614 docstring.
4615 (apropos-variable): Rewrite, now show all variables by default.
4616 (apropos-print): Mention "User option" instead of "Variable" when
4617 printing doc for user options. (Bug#13276)
4618
4619 2013-01-07 JĂ¼rgen Hötzel <juergen@archlinux.org>
4620
4621 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4622 Handle filename correctly, when parsing "source -> target" symlink
4623 output.
4624 (tramp-adb-handle-set-file-times): New defun.
4625
4626 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
4627
4628 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
4629 advice list when the interactive-spec of ad-Advice-* changes.
4630
4631 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
4632
4633 * wid-edit.el (widget-default-get): Work for inlined elements.
4634 (Bug#12670)
4635
4636 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
4637
4638 * net/tramp.el (tramp-default-host-alist): New defcustom.
4639 (tramp-find-host): Use it.
4640 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
4641 `eshell-directory-change-hook'.
4642
4643 * net/tramp-adb.el (top): Add adb specific entry in
4644 `tramp-default-host-alist'.
4645 (tramp-adb-file-name-host): Remove function.
4646 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4647 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
4648
4649 * net/tramp-sh.el: Move eshell integration code to tramp.el.
4650
4651 2013-01-06 JĂ¼rgen Hötzel <juergen@archlinux.org>
4652
4653 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
4654
4655 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
4656
4657 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
4658 consist of more than one digit.
4659 (tramp-adb-file-name-handler-alist):
4660 Use `tramp-handle-file-exists-p' consistently.
4661 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
4662 (tramp-adb-handle-file-exists-p): Remove function.
4663 (tramp-adb-file-name-host): New defun.
4664 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4665 Use it.
4666 (tramp-adb-maybe-open-connection): Set "remote-path" property.
4667
4668 2013-01-06 Chong Yidong <cyd@gnu.org>
4669
4670 * vc/vc.el (vc-next-action): Detect buffer modifications
4671 conflicting with locking VCS operation (Bug#11490).
4672
4673 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
4674
4675 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
4676
4677 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4678 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
4679
4680 2013-01-05 JĂ¼rgen Hötzel <juergen@archlinux.org>
4681
4682 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
4683 parsing of ls output using regular expression (handle filenames
4684 with spaces). Use virtual device number.
4685 (tramp-do-parse-file-attributes-with-ls): New defun (Code
4686 cleanup).
4687
4688 2013-01-04 Daiki Ueno <ueno@gnu.org>
4689
4690 * epg.el: Silence byte-compiler warnings.
4691 (epg--start): Use delete-char instead of delete-backward-char.
4692 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
4693
4694 2013-01-04 Daiki Ueno <ueno@gnu.org>
4695
4696 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
4697 Suggested by Eli Zaretskii <eliz@gnu.org>.
4698
4699 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
4700
4701 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
4702 non-negative integers. Otherwise, the default values are used.
4703 (tramp-convert-file-attributes): Convert uid and gid to integers.
4704
4705 2013-01-04 Glenn Morris <rgm@gnu.org>
4706
4707 * term.el (term-handle-colors-array): Ensure face attributes
4708 are fully specified, not nil. (Bug#13337)
4709
4710 * term.el (term-default-fg-color, term-default-bg-color):
4711 Fix custom type.
4712
4713 * progmodes/etags.el (tags-compression-info-list): Doc fix.
4714 (tag-find-file-of-tag-noselect): Check auto-compression-mode
4715 rather than 'jka-compr being loaded. (Bug#13338)
4716
4717 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
4718
4719 * icomplete.el (icomplete-completions):
4720 Honor icomplete-prospects-height once more following
4721 2012-11-29 changes. (Bug#13224)
4722
4723 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
4724
4725 * subr.el (internal--called-interactively-p--get-frame): Find aliases
4726 of called-interactively-p as well (bug#13237).
4727
4728 * view.el (view--enable, view--disable): Rename from view-mode-enable
4729 and view-mode-disable and assume it's called from view-mode.
4730 (view-mode-enable, view-mode-disable): Redefine as obsolete
4731 compatibility layer above view-mode.
4732 (view-mode-enter): Call `view-mode'.
4733
4734 * files.el (after-find-file): Call `view-mode'.
4735
4736 * doc-view.el (doc-view-scale-internally): New var.
4737 (doc-view-enlarge, doc-view-insert-image): Obey it.
4738
4739 2013-01-03 Daiki Ueno <ueno@gnu.org>
4740
4741 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
4742 exist. (Bug#13344)
4743
4744 2013-01-03 Glenn Morris <rgm@gnu.org>
4745
4746 * mail/rmail.el (rmail-set-header-1): Ignore case.
4747 Handle multi-line headers. (Bug#13330)
4748
4749 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
4750 Handle paragraph starting at beginning of buffer.
4751
4752 * subr.el (eval-after-load): Don't purecopy the form, so that it
4753 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
4754
4755 * emacs-lisp/byte-run.el (defun): Place cl declarations
4756 after any interactive spec. (Bug#13265)
4757
4758 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4759
4760 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
4761 defun. Don't check for DECL if DOCSTRING isn't a string.
4762 (defun): Likewise.
4763
4764 2013-01-02 Glenn Morris <rgm@gnu.org>
4765
4766 * eshell/em-cmpl.el (eshell-pcomplete):
4767 More thoroughly imitate pcomplete. (Bug#13293)
4768
4769 * files.el (parse-colon-path): Doc fix. (Bug#12351)
4770 Return nil for empty path elements. (Bug#13296)
4771
4772 2013-01-02 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4773
4774 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
4775 order to improve efficiency (Based on Daniel Colascione's
4776 <dancol@dancol.org> patch). (Bug#13182)
4777
4778 2013-01-02 Glenn Morris <rgm@gnu.org>
4779
4780 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
4781
4782 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4783
4784 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
4785 neither DOCSTRING nor DECL was given. (Bug#13316)
4786
4787 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
4788
4789 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
4790 `error' call.
4791 (tramp-do-copy-or-rename-file): Ignore errors when calling
4792 `set-file-extended-attributes'.
4793
4794 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4795 Add handler for `file-acl'.
4796 (tramp-smb-handle-file-acl): New defun.
4797
4798 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
4799
4800 * calc/README: Mention ISO 8601 week-numbering dates.
4801
4802 2013-01-01 Martin Rudalics <rudalics@gmx.at>
4803
4804 * view.el (view-mode-enable): New argument run-view-mode-hook.
4805 Run view-mode-hook only when it's non-nil (Bug#13315).
4806 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
4807 argument t.
4808
4809 2012-12-31 JĂ¼rgen Hötzel <juergen@archlinux.org>
4810
4811 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
4812 (No device connected, invalid device name). (Bug #13299)
4813
4814 2012-12-31 Martin Rudalics <rudalics@gmx.at>
4815
4816 * window.el (window-resizable--p): Rename to window-resizable-p.
4817 (window-resize-no-error): New function.
4818
4819 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
4820 broken in fix from 2012-12-28.
4821
4822 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
4823
4824 * subr.el (special-form-p): Don't signal errors on undef aliases.
4825
4826 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
4827
4828 * calc/calc-forms.el (math-parse-date): Try using
4829 `math-parse-iso-date' when it looks like it might be needed.
4830 Allow times of 24:00.
4831 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
4832 of 24:00.
4833
4834 2012-12-30 Glenn Morris <rgm@gnu.org>
4835
4836 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
4837 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
4838 (rmail-summary-displayed, rmail-summary): Declare.
4839 (mairix-rmail-display): Just require rmail.
4840
4841 2012-12-30 Chong Yidong <cyd@gnu.org>
4842
4843 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
4844 check for the tarball contents.
4845
4846 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
4847
4848 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
4849 tarfile content listings (Bug#13136).
4850
4851 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
4852
4853 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4854 Insert the undecoded text of the message being forwarded. (Bug#9521)
4855
4856 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
4857
4858 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
4859 integers, if they are real numbers. (Bug#13282)
4860
4861 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
4862 Return `t' on success.
4863
4864 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4865 Add handler for `set-file-selinux-context'.
4866
4867 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
4868
4869 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
4870 (tramp-sh-handle-set-file-acl): Return `t' on success.
4871
4872 2012-12-29 Eli Zaretskii <eliz@gnu.org>
4873
4874 * files.el (backup-buffer-copy, basic-save-buffer-2):
4875 If set-file-extended-attributes fails, fall back on set-file-modes
4876 instead of signaling an error. (Bug#13298)
4877 (basic-save-buffer): Likewise.
4878
4879 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4880
4881 * progmodes/python.el: Support other commands triggering
4882 python-indent-line so indentation cycling continues to work.
4883 (python-indent-trigger-commands): New defcustom.
4884 (python-indent-line): Use it.
4885
4886 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4887
4888 * progmodes/python.el (python-shell-send-region): Add blank lines
4889 for non sent code so backtraces remain correct.
4890
4891 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4892
4893 * progmodes/python.el: Remove cl dependency.
4894 (python-syntax-count-quotes): Replace incf call.
4895 (python-fill-string): Replace setf call.
4896
4897 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
4898
4899 * info.el (info-other-window): New arg, for consistency with info.
4900
4901 2012-12-28 Martin Rudalics <rudalics@gmx.at>
4902
4903 * mail/rmail.el (rmail-maybe-display-summary):
4904 Rewrite (Bug#13066).
4905
4906 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
4907
4908 * epg.el (epg--start): Modify process-environment locally.
4909
4910 2012-12-28 Daiki Ueno <ueno@gnu.org>
4911
4912 * epg.el: Support pinentry-curses.
4913 Suggested by Werner Koch in
4914 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
4915 (epg-agent-file, epg-agent-mtime): New variable.
4916 (epg--start): Record the modified time of gpg-agent socket file,
4917 to restore Emacs frame after pinentry-curses termination.
4918 (epg-wait-for-completion): Restore Emacs frame here.
4919
4920 2012-12-27 Juri Linkov <juri@jurta.org>
4921
4922 * info.el (Info-file-completions): New variable.
4923 (Info-read-node-name-1): Complete node names in the Info file
4924 when a file name is given. Call `Info-build-node-completions'
4925 with a file name.
4926 (Info-build-node-completions): Add new arg `file'. When it is
4927 non-nil, visit it in a temporary buffer and cache its completions in
4928 `Info-current-file-completions'. Move most of the function body to
4929 `Info-build-node-completions-1'.
4930 (Info-build-node-completions-1): New function with the body from
4931 `Info-build-node-completions'. (Bug#12456)
4932
4933 2012-12-27 Juri Linkov <juri@jurta.org>
4934
4935 * frame.el (frame-maximization-style): Remove user option.
4936 (cycle-frame-maximized): Remove function.
4937 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
4938 (toggle-frame-fullscreen): New command bound to <f11> instead of
4939 `toggle-frame-maximized'.
4940 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
4941
4942 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
4943
4944 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
4945
4946 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4947 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4948 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4949 for `file-accessible-directory-p'. (Bug#13275)
4950
4951 2012-12-27 Sam Steingold <sds@gnu.org>
4952
4953 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
4954 continuations, see <http://stackoverflow.com/questions/3582436>.
4955
4956 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
4957
4958 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
4959 "module" and "def" to have indentation before them.
4960 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
4961
4962 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
4963
4964 2012-12-27 Alan Mackenzie <acm@muc.de>
4965
4966 Speed up fontification where there's large brace blocks.
4967 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
4968 to a call of c-beginning-of-decl-1.
4969
4970 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4971
4972 * comint.el (comint-adjust-window-point): New function.
4973 (comint-postoutput-scroll-to-bottom):
4974 Call comint-adjust-window-point (Bug#13248).
4975
4976 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
4977
4978 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
4979 Rakefile regexp.
4980 (auto-mode-alist): Associate .gemspec files with ruby-mode
4981 (https://bugs.ruby-lang.org/issues/5453).
4982
4983 2012-12-26 JĂ¼rgen Hötzel <juergen@archlinux.org>
4984
4985 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
4986 Suppress coloring, if possible (required for BusyBox based systems like
4987 CyanogenMod).
4988 (tramp-adb-handle-file-attributes)
4989 (tramp-adb-handle-insert-directory)
4990 (tramp-adb-handle-file-name-all-completions): Use it.
4991 (tramp-adb-get-toolbox): New defun. Check for remote shell
4992 implementation (BusyBox or Toolbox).
4993
4994 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
4995
4996 * startup.el (initial-buffer-choice): Allow function as value
4997 (Bug#13251).
4998 (command-line-1): Handle case where initial-buffer-choice
4999 specifies a function.
5000 * server.el (server-execute): Handle case where
5001 initial-buffer-choice specifies a function.
5002
5003 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5004
5005 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
5006 its own function.
5007 (smtpmail-try-auth-methods): Forget the user name/password if the
5008 login is unsuccessful (bug#12424).
5009
5010 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
5011
5012 * notifications.el (notifications-notify): Protect body with
5013 `with-demoted-errors'.
5014
5015 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5016 Check properties of remote device. Restart connection, if there is a
5017 change.
5018
5019 2012-12-21 Chong Yidong <cyd@gnu.org>
5020
5021 * sort.el (sort-subr): Doc fix (Bug#13056).
5022
5023 2012-12-21 Bastien Guerry <bzg@gnu.org>
5024
5025 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
5026
5027 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
5028
5029 * simple.el (process-file): Overwrite stderr file, if exists.
5030
5031 2012-12-21 Daiki Ueno <ueno@gnu.org>
5032
5033 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
5034 (epg-error): Set `error-message' property.
5035
5036 2012-12-21 Chong Yidong <cyd@gnu.org>
5037
5038 * international/mule-cmds.el (read-char-by-name): Signal an error
5039 if the user does not supply a valid character (Bug#13177).
5040
5041 * simple.el (transpose-subr-1): Preserve marker positions by
5042 changing the insertion sequence (Bug#13122).
5043
5044 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5045
5046 * simple.el (kill-region): Deactivate mark even for empty regions
5047 (Bug#13169).
5048
5049 2012-12-21 Chong Yidong <cyd@gnu.org>
5050
5051 * help-fns.el (describe-variable): Make sure we get the right
5052 buffer name (Bug#13105). Suggested by Kelly Dean.
5053
5054 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
5055
5056 * comint.el (comint-redirect-previous-input-string): New variable.
5057 (comint-redirect-setup, comint-redirect-cleanup)
5058 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
5059 (comint-redirect-preoutput-filter): Fix verbose message.
5060
5061 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
5062
5063 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
5064 is too long for Tramp. See discussion in
5065 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
5066
5067 * progmodes/compile.el (compilation-start): Remove line escape
5068 template.
5069
5070 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
5071
5072 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
5073 Adjust comment.
5074
5075 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
5076
5077 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
5078 following non-comment text (bug#13207).
5079 (lm-header-multiline): Continuation lines need to be indented more than
5080 the first line.
5081 (lm-homepage): New function.
5082 (lm-with-file): Don't be confused if narrowing is in effect.
5083
5084 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5085
5086 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
5087 very beginning of a hunk (e.g. killing the first line).
5088
5089 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
5090
5091 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
5092 and text properties from returned ACL string.
5093 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
5094 for "setfacl" command.
5095
5096 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
5097
5098 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
5099 `tramp-cleanup-this-connection', when the process has died.
5100 (Bug#13151)
5101
5102 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5103
5104 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
5105
5106 2012-12-17 Kevin Ryde <user42@zip.com.au>
5107
5108 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
5109
5110 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
5111
5112 Add support for preserving ACL entries of files.
5113
5114 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
5115 `set-file-acl' handlers.
5116
5117 * net/tramp-adb.el (tramp-adb-handle-copy-file):
5118 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5119
5120 * net/tramp-compat.el (tramp-compat-copy-file):
5121 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5122
5123 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5124 Add `file-acl' and `set-file-acl' handlers.
5125 (tramp-gvfs-handle-copy-file):
5126 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5127 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
5128 New defuns.
5129
5130 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5131 Add `file-acl' and `set-file-acl' handlers.
5132 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
5133 (tramp-sh-handle-set-file-acl): New defuns.
5134 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
5135 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5136
5137 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5138 Add `file-acl' and `set-file-acl' handlers.
5139 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
5140
5141 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5142
5143 * help-macro.el (make-help-screen): Instead of switch-to-buffer
5144 use pop-to-buffer with NORECORD argument t. As buffer name, use
5145 *Metahelp* with a leading space (Bug#13190).
5146
5147 2012-12-16 Romain Francoise <romain@orebokech.com>
5148
5149 * files.el (file-extended-attributes)
5150 (set-file-extended-attributes): New functions.
5151 (backup-buffer): Use them to handle both SELinux context and ACL
5152 entries.
5153 (backup-buffer-copy): Work with an alist of extended attributes,
5154 rather than an SELinux context.
5155 (basic-save-buffer-2): Ditto.
5156
5157 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
5158
5159 * battery.el (battery-bsd-apm): New function.
5160
5161 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
5162
5163 * calc/calc.el (calc-standard-date-formats): Adjust one of the
5164 standard date formats.
5165
5166 2012-12-15 Juri Linkov <juri@jurta.org>
5167
5168 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
5169 `isearch-insert-char-by-name'.
5170 (with-isearch-suspended): New defmacro with body mostly from
5171 `isearch-edit-string' except the part that sets
5172 `isearch-new-string' and `isearch-new-message'.
5173 (isearch-edit-string): Use new macro `with-isearch-suspended' with
5174 body that sets `isearch-new-string' and `isearch-new-message'.
5175 (isearch-insert-char-by-name): New command.
5176 * international/mule-cmds.el (read-char-by-name): Let-bind
5177 `enable-recursive-minibuffers' to t.
5178 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
5179
5180 2012-12-15 Juri Linkov <juri@jurta.org>
5181
5182 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
5183 (Bug#13175)
5184
5185 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
5186
5187 * dired-x.el (dired-guess-shell-command): Put colon at the end of
5188 the prompt. (Bug#13045)
5189
5190 2012-12-14 Glenn Morris <rgm@gnu.org>
5191
5192 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
5193 Try to include filename in non-bytecomp warning. (Bug#13132)
5194
5195 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
5196
5197 Fix permissions bugs with setgid directories etc. (Bug#13125)
5198 * files.el (backup-buffer): Don't rely on 9th output of
5199 file-attributes, as it's now a placeholder. Instead, use the new
5200 optional arg of file-ownership-preserved-p.
5201 (file-ownership-preserved-p): New optional arg GROUP.
5202 Fix mishandling of setuid directories that would cause this
5203 function to return t when it should have returned nil.
5204 Document what happens if the file does not exist, and when
5205 it's not known whether the ownership will be preserved.
5206 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
5207 Likewise.
5208 (tramp-get-local-gid): Use group-gid for integer, as that's
5209 faster and more reliable.
5210
5211 2012-12-14 Julien Danjou <julien@danjou.info>
5212
5213 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
5214 Update keywords list, data type and PL/pgSQL.
5215
5216 2012-12-14 Dave Abrahams <dave@boostpro.com>
5217
5218 * vc/ediff-util.el (ediff-buffer-type): New function.
5219 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
5220 rather than taking it as as argument.
5221 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
5222
5223 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
5224
5225 * json.el: Add pretty-print option (bug#12634).
5226 (json-encoding-separator, json-encoding-default-indentation)
5227 (json--encoding-current-indentation, json-encoding-pretty-print)
5228 (json-encoding-lisp-style-closings): New vars.
5229 (json--with-indentation): New macro.
5230 (json-encode-hash-table, json-encode-alist, json-encode-plist)
5231 (json-encode-array): Use it to obey json-encoding-pretty-print.
5232 (json-pretty-print-buffer, json-pretty-print): New commands.
5233
5234 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
5235
5236 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5237 Extract `ruby-syntax-propertize-expansions'.
5238 (ruby-syntax-propertize-expansions): Only change syntax on
5239 certain string delimiters, to punctuation. This way the common
5240 functions like forward-word and thing-at-point still work.
5241 (ruby-match-expression-expansion): Improve readability.
5242 (ruby-block-contains-point): New function.
5243 (ruby-add-log-current-method): Handle several edge cases.
5244
5245 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5246
5247 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
5248 unload-feature finishes even when aborting an ongoing edebug session.
5249 Also, do not worry about edebug-mode, unload-feature takes care of it.
5250
5251 2012-12-13 Andreas Schwab <schwab@suse.de>
5252
5253 * net/tls.el (tls-program): Update customize type.
5254
5255 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5256
5257 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
5258 (edebug-setup-hook, cl-read-load-hooks): Use it.
5259 (edebug-unload-function): New function. (Bug#13163)
5260
5261 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
5262
5263 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
5264 Otherwise, there could be errors in autoloading. (Bug#13151)
5265
5266 2012-12-13 JĂ¼rgen Hötzel <juergen@archlinux.org>
5267
5268 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
5269 sequences.
5270
5271 2012-12-13 Alan Mackenzie <acm@muc.de>
5272
5273 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
5274 * progmodes/cc-engine.el (c-backward-comments): Add code to work
5275 around `forward-comment' not recognizing ^M as whitespace.
5276
5277 2012-12-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5278
5279 * progmodes/python.el (python-skeleton-class)
5280 (python-skeleton-def): Do not add space after defun name.
5281
5282 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5283
5284 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
5285 (cl--symbol-function): Remove (now that funbound is like nil).
5286
5287 2012-12-12 Glenn Morris <rgm@gnu.org>
5288
5289 * button.el (button--area-button-p): Fix typo.
5290
5291 2012-12-12 Sam Steingold <sds@gnu.org>
5292
5293 * frame.el (frame-maximization-style): New user option.
5294 (toggle-frame-maximized): Toggle frame maximization according to
5295 `frame-maximization-style', bound to <f11>.
5296 (cycle-frame-maximized): Cycle between all maximization styles and
5297 non-maximized frame, bound to shift-<f11>.
5298
5299 2012-12-12 David Cadé <codename68@gmail.com>
5300
5301 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
5302
5303 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
5304
5305 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
5306 (eieio-override-prin1): Don't quote kewords and booleans.
5307 (object-write) <eieio-default-superclass>: Don't put closing parens
5308 on new line, avoid needless empty lines, align values that are objects
5309 with the slot keyword (instead of beginning on the same line).
5310 (eieio-list-prin1): Align value with slot keyword; increase
5311 eieio-print-depth before printing members of the list.
5312
5313 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5314
5315 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
5316 a display text-property.
5317 (report-emacs-bug-hook): Don't bother deleting it any more.
5318
5319 * hilit-chg.el (highlight-save-buffer-state): Delete.
5320 Use with-silent-modifications instead.
5321 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
5322
5323 * button.el: Handle buttons in display text-properties.
5324 (button--area-button-p, button--area-button-string):
5325 Use (STRING . STRING-POS) representation instead of just STRING.
5326
5327 2012-12-11 Eli Zaretskii <eliz@gnu.org>
5328
5329 * makefile.w32-in (compile4-SH): Fix a typo that caused term
5330 subdirectory be skipped.
5331
5332 2012-12-11 Glenn Morris <rgm@gnu.org>
5333
5334 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
5335
5336 * progmodes/f90.el (f90-line-continued, f90-indent-region):
5337 Treat preprocessor lines embedded in continuations like comments.
5338 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
5339
5340 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
5341
5342 * calc/calc.el (calc-standard-date-formats): Add more date
5343 formats.
5344 * calc/calc-forms.el (math-parse-iso-date): New function.
5345 (math-parse-date): Use `math-parse-iso-date' when appropriate.
5346 (math-parse-iso-date-validate): Add extra error checking.
5347 (calc-date-notation): Add ability to access new date formats.
5348
5349 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5350
5351 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
5352 font-lock as well as when there's no text-property.
5353
5354 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
5355
5356 * hi-lock.el: Refine the choice of default face.
5357 (hi-lock-keyword->face): New function. Use it wherever we used
5358 cadadadr instead.
5359 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
5360 (hi-lock--last-face): Remove var.
5361 (hi-lock--unused-faces): New var to replace it.
5362 (hi-lock-read-face-name): Use/maintain it.
5363 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
5364 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
5365 if it has another face.
5366
5367 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5368
5369 * subr.el (w32notify-handle-event): New function.
5370 (inotify-handle-event): Doc fix.
5371
5372 2012-12-10 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
5373
5374 * subr.el (inotify-event-p, inotify-handle-event): New functions.
5375
5376 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
5377
5378 * simple.el (just-one-space): Doc fix.
5379
5380 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5381
5382 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
5383
5384 2012-12-10 Le Wang <l26wang@gmail.com>
5385
5386 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
5387 narrowed buffer (bug#12361).
5388
5389 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
5390
5391 * vc/vc-hooks.el (vc-state): Doc fix.
5392
5393 2012-12-10 Glenn Morris <rgm@gnu.org>
5394
5395 * mail/rmail.el (rmail-maybe-display-summary):
5396 Preserve buffer, in case select-window changes it. (Bug#13066)
5397
5398 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5399
5400 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
5401 cl-load-hook where they belong.
5402
5403 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5404
5405 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
5406
5407 2012-12-09 Eli Zaretskii <eliz@gnu.org>
5408
5409 Parallelize byte compilation on MS-Windows.
5410 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
5411 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
5412 (WINS_BASIC): Define as concatenation of the above.
5413 (compile): Subdivide into 4 separate and independent jobs that can
5414 be run in parallel.
5415 (compile0-CMD, compile0-SH): New targets for compiling
5416 COMPILE_FIRST files, which are prerequisites for the rest of the
5417 byte-compilation.
5418 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
5419 New targets for parallel compilation with cmd.exe.
5420 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
5421 compiling under a Unixy shell.
5422
5423 2012-12-09 Chong Yidong <cyd@gnu.org>
5424
5425 * simple.el (set-mark-default-inactive): Delete this
5426 accidentally-introduced option.
5427 (set-mark-command, exchange-point-and-mark): Remove calls.
5428
5429 2012-12-09 Glenn Morris <rgm@gnu.org>
5430
5431 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
5432 Respect a defcustom's :set function, if appropriate. (Bug#109)
5433 (eval-defun): Doc fix.
5434
5435 2012-12-08 Juri Linkov <juri@jurta.org>
5436
5437 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
5438 (Info-fontify-node, Info-bookmark-make-record): Remove the
5439 file extension from Info-current-file (Bug#13016).
5440
5441 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5442
5443 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
5444 point, still provide some default.
5445 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
5446 names, since we don't use it right now. Actually return the list.
5447 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
5448
5449 2012-12-07 Chong Yidong <cyd@gnu.org>
5450
5451 * novice.el (disabled-command-function): Remove a spurious help
5452 xref (Bug#13043). Suggested by Kelly Dean.
5453
5454 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
5455 syntax is specified (Bug#13025).
5456
5457 * info.el (Info-set-mode-line): Remove the file extension from
5458 Info-current-file if there is one (Bug#13016).
5459
5460 2012-12-07 Glenn Morris <rgm@gnu.org>
5461
5462 * mail/rmail.el (rmail-mime-decoded): New permanent local.
5463 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
5464 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
5465 and rmail-mime-decoded. (Bug#9841)
5466
5467 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
5468 (batch-unrmail, unrmail): Doc fixes.
5469 (unrmail): Respect unrmail-mbox-format.
5470 * mail/rmail.el (rmail-mbox-format): New option.
5471 (rmail-show-message-1): Respect rmail-mbox-format.
5472
5473 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5474
5475 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
5476
5477 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5478
5479 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
5480 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
5481 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
5482 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
5483 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
5484 (cl-progv): Don't rely on dynamic scoping to find the body.
5485 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
5486 (cl--proclaims-deferred): Rename from the "cl-" prefix.
5487 (cl-declaim): Use backquotes.
5488 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
5489 Use "cl--" prefix for the object's tag.
5490
5491 * ses.el: Use advice-add/remove.
5492 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
5493 (copy-region-as-kill, yank): Use advice-add.
5494 (ses-unload-function): Use advice-remove.
5495
5496 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
5497
5498 * button.el: Make them work in header-lines (bug#12817).
5499 (button-map): Add bindings for header-line and mode-line use.
5500 (button-get, button-put, button-label): `button' may now be a string.
5501 (button-activate): Don't make it a defsubst.
5502 (button--area-button-p, button--area-button-string): New functions.
5503 (make-text-button): Fix the return value when `beg' was a string.
5504 (push-button): Handle the mode-line case.
5505
5506 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5507
5508 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
5509 (sql-signum): Remove. Use `cl-signum' instead.
5510 (sql-read-passwd): Remove; use read-passwd instread.
5511 (sql-get-login-ext): Use read-string.
5512 (sql-get-login): Use dolist and pcase.
5513 (sql--completion-table): Rename from sql-try-completion.
5514 Use complete-with-action.
5515 (sql-mode): Don't change abbrev-all-caps globally.
5516 (sql-connect): Don't rely on dynamic scoping for `new-name'.
5517 (sql-postgres-completion-object): Initialize vars in their `let'.
5518 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
5519 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
5520 (sql-comint-interbase): Use a single append, without setq.
5521 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
5522
5523 * hi-lock.el: Rework the default face and the serialize regexp code.
5524 (hi-lock--auto-select-face-defaults): Remove.
5525 (hi-lock-string-serialize-serial): Remove.
5526 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
5527 make weak.
5528 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
5529 equal string.
5530 (hi-lock-set-pattern): Adjust accordingly.
5531 (hi-lock--regexps-at-point): Simplify accordingly.
5532 (hi-lock--auto-select-face-defaults): Remove.
5533 (hi-lock--last-face): New var to replace it.
5534 (hi-lock-read-face-name): Rewrite (bug#11095).
5535 (hi-lock-unface-buffer): Arrange for the face to be the next default.
5536
5537 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
5538
5539 * net/tramp.el (tramp-replace-environment-variables):
5540 Hide compiler warning.
5541 (tramp-file-name-for-operation): Remove `executable-find',
5542 `start-process', `call-process' and `call-process-region'.
5543
5544 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5545
5546 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
5547 compatibility.
5548
5549 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
5550
5551 2012-12-06 Chong Yidong <cyd@gnu.org>
5552
5553 * ffap.el (ffap-replace-file-component): Fix typo.
5554
5555 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5556
5557 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
5558 fix open-paren-like token test (bug#12785).
5559
5560 2012-12-06 Glenn Morris <rgm@gnu.org>
5561
5562 * mail/rmailsum.el (rmail-new-summary): Tweak for
5563 rmail-maybe-display-summary changing buffer. (Bug#13066)
5564
5565 2012-12-06 Juri Linkov <juri@jurta.org>
5566
5567 * info.el (Info-fontify-node): Don't hide the last newline.
5568 (Bug#12272)
5569
5570 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
5571
5572 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
5573 so as to enable message-read-from-minibuffer to expand mail aliases.
5574
5575 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5576
5577 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
5578 the `intangible' property.
5579 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
5580
5581 2012-12-05 Deniz Dogan <deniz@dogan.se>
5582
5583 * net/rcirc.el (rcirc-urls): Update documentation.
5584 (rcirc-condition-filter): New function.
5585 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
5586 and exclude consecutive duplicate URLs (Bug#6082).
5587
5588 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
5589
5590 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5591 Check return code of copy command.
5592
5593 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
5594 Use group `tramp'. Add version.
5595
5596 2012-12-05 Chong Yidong <cyd@gnu.org>
5597
5598 * ffap.el (ffap-url-regexp): Don't require matching at front of
5599 string (Bug#4952).
5600 (ffap-url-p): If only a substring matches, return that.
5601 (ffap-url-at-point): Use the return value of ffap-url-p.
5602 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
5603 (find-file-at-point, dired-at-point, dired-at-point-prompter)
5604 (ffap-guess-file-name-at-point): Likewise.
5605 (ffap-replace-file-component): Fix typo.
5606
5607 * info.el (info-display-manual): Add existing Info buffers, whose
5608 files may not be in Info-directory-list, to the completion.
5609 (info--manual-names): New helper function.
5610
5611 2012-12-05 Glenn Morris <rgm@gnu.org>
5612
5613 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
5614 New functions, for detecting and resolving conflicts. (Bug#10709)
5615
5616 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
5617
5618 * hi-lock.el (hi-lock-auto-select-face): New user variable.
5619 (hi-lock-auto-select-face-defaults): New buffer local variable.
5620 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
5621 (hi-lock-unface-buffer): Prompt user with useful defaults.
5622 With prefix arg, unhighlight all hi-lock patterns in buffer.
5623
5624 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5625
5626 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
5627
5628 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
5629
5630 * Makefile.in (TRAMP_SRC):
5631 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
5632
5633 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
5634
5635 * net/tramp-adb.el: New package.
5636
5637 2012-12-04 Chong Yidong <cyd@gnu.org>
5638
5639 * terminal.el: Move to obsolete/.
5640
5641 * longlines.el: Move to obsolete/.
5642
5643 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
5644 Remove code referring to longlines mode.
5645
5646 2012-12-03 Juri Linkov <juri@jurta.org>
5647
5648 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
5649
5650 2012-12-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
5651
5652 * textmodes/ispell.el (ispell-init-process)
5653 (ispell-start-process, ispell-internal-change-dictionary):
5654 Make sure personal dictionary name is expanded after initial
5655 `default-directory' value. Use expanded strings for
5656 keep/restart checks and for value (Bug#13019).
5657
5658 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5659
5660 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
5661
5662 2012-12-03 Leo Liu <sdl.web@gmail.com>
5663
5664 * files.el (dir-locals-read-from-file): Check file non-empty
5665 before reading. (Bug#13038)
5666
5667 2012-12-03 Glenn Morris <rgm@gnu.org>
5668
5669 * jka-cmpr-hook.el (jka-compr-get-compression-info):
5670 Remove any version extension before checking filename. (Bug#13006)
5671 (jka-compr-compression-info-list): Belated :version bump.
5672
5673 2012-12-03 Chong Yidong <cyd@gnu.org>
5674
5675 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
5676
5677 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
5678 (buffer-menu): Doc fix (Bug#12294).
5679
5680 2012-12-03 Roland Winkler <winkler@gnu.org>
5681
5682 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
5683 of diary-show-all-entries in the diary buffer (Bug#12994).
5684
5685 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
5686
5687 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
5688 "<STDIN>". This is binary safe.
5689
5690 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5691
5692 * calc/calc-forms.el (math-absolute-from-iso-dt)
5693 (math-date-to-iso-dt, math-parse-iso-date-validate)
5694 (math-iso-dt-to-date): New functions.
5695 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
5696 (math-fd-isoweekday): New variables.
5697 (calc-date-notation, math-parse-standard-date, math-format-date)
5698 (math-format-date-part): Add support for more formatting codes.
5699
5700 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
5701
5702 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
5703 current buffer's file name when called interactively (Bug#12488).
5704
5705 2012-12-02 Juri Linkov <juri@jurta.org>
5706
5707 * info.el (info-display-manual): Don't clobber an existing Info
5708 buffer (Bug#10770). Add completion (Bug#10771).
5709
5710 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
5711
5712 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
5713 before using it for comparison (Bug#5297).
5714
5715 2012-12-01 Jari Aalto <jari.aalto@cante.net>
5716
5717 * textmodes/css-mode.el (css-current-defun-name): New function.
5718 (css-mode): Use it.
5719
5720 * textmodes/sgml-mode.el (html-current-defun-name): New function.
5721 (html-mode): Use it.
5722
5723 2012-12-01 Chong Yidong <cyd@gnu.org>
5724
5725 Modularize add-log-current-defun (Bug#2224).
5726 Suggested by Jari Aalto.
5727
5728 * vc/add-log.el (add-log-current-defun-function): Doc fix.
5729 (add-log-current-defun): Move mode-specific code to other files.
5730 (add-log-lisp-like-modes, add-log-c-like-modes)
5731 (add-log-tex-like-modes): Variables deleted.
5732
5733 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
5734 (lisp-mode-variables): Use it.
5735
5736 * progmodes/cc-mode.el (c-common-init):
5737 * progmodes/cperl-mode.el (cperl-mode): Set a value for
5738 add-log-current-defun-function.
5739
5740 * progmodes/m4-mode.el (m4-current-defun-name): New function.
5741 (m4-mode): Use it.
5742
5743 * progmodes/perl-mode.el (perl-current-defun-name): New.
5744 (perl-mode): Use it.
5745
5746 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
5747 Use lisp-current-defun-name.
5748
5749 * textmodes/tex-mode.el (tex-current-defun-name): New.
5750 (tex-common-initialization): Use it.
5751
5752 * textmodes/texinfo.el (texinfo-current-defun-name): New.
5753 (texinfo-mode): Use it.
5754
5755 2012-12-01 Chong Yidong <cyd@gnu.org>
5756
5757 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
5758 * progmodes/autoconf.el (autoconf-mode):
5759 * progmodes/js.el (js-mode):
5760 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
5761 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
5762 * progmodes/perl-mode.el (perl-mode):
5763 * progmodes/sh-script.el (sh-mode, sh-set-shell):
5764 * textmodes/css-mode.el (css-mode):
5765 * textmodes/sgml-mode.el (html-mode, sgml-mode)
5766 (sgml-tags-invisible, sgml-guess-indent):
5767 * textmodes/tex-mode.el (tex-common-initialization)
5768 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
5769 (doctex-mode, plain-tex-mode, latex-mode):
5770 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
5771
5772 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
5773
5774 * vc/vc-hg.el (vc-hg-next-revision):
5775 Ensure use of default "tip" output format. (Bug#6968)
5776
5777 2012-12-01 Kim F. Storm <storm@cua.dk>
5778
5779 * startup.el (fancy-startup-tail): Add a clickable link
5780 (Bug#2176).
5781
5782 2012-12-01 Chong Yidong <cyd@gnu.org>
5783
5784 * startup.el (fancy-startup-tail): Improve the message about
5785 auto-save files (Bug#2176).
5786
5787 * files.el (recover-session): Improve the descriptive message, and
5788 use substitute-command-keys.
5789
5790 2012-12-01 Glenn Morris <rgm@gnu.org>
5791
5792 * ido.el (ido-file-internal):
5793 Handle other-window, other-frame for dired. (Bug#13036)
5794
5795 2012-11-30 Glenn Morris <rgm@gnu.org>
5796
5797 * icomplete.el (icomplete-separator): Fix :version.
5798
5799 2012-11-30 Chong Yidong <cyd@gnu.org>
5800
5801 * shell.el (shell): For C-u M-x shell, use an inactive shell
5802 buffer as the default (Bug#1975).
5803 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
5804 (shell-mode): Use them to reapply ansi colorization if Shell mode
5805 is re-enabled.
5806
5807 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
5808
5809 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
5810
5811 2012-11-30 Samuel Bronson <naesten@gmail.com>
5812
5813 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
5814 flag to xargs, for compatibility with BSD xargs (Bug#11703).
5815
5816 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5817
5818 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
5819 by move-to-column (Bug#3234).
5820
5821 2012-11-30 Chong Yidong <cyd@gnu.org>
5822
5823 * longlines.el (longlines-wrap-line, longlines-encode-region):
5824 Preserve text properties (Bug#1425).
5825
5826 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5827
5828 * vc/vc.el (vc-register): Allow registering a file which is
5829 already registered with a different backend (Bug#10589).
5830
5831 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
5832 Stefan Monnier <monnier@iro.umontreal.ca>
5833
5834 * icomplete.el: Change separator; add ido-style commands.
5835 (icomplete-show-key-bindings): Remove custom var.
5836 (icomplete-get-keys): Remove function.
5837 (icomplete-forward-completions, icomplete-backward-completions):
5838 New commands.
5839 (icomplete-minibuffer-map): New var.
5840 (icomplete-minibuffer-setup): Use it.
5841 (icomplete-exhibit): Don't delay if the list of completions is known.
5842 (icomplete-separator): New custom.
5843 (icomplete-completions): Use it.
5844 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
5845 (minibuffer-force-complete-and-exit): New command.
5846 (minibuffer--complete-and-exit): New function extracted from
5847 minibuffer-complete-and-exit.
5848 (minibuffer-complete-and-exit): Use it.
5849
5850 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
5851 error message when the file doesn't exist (bug#12974).
5852
5853 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5854
5855 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
5856
5857 2012-11-29 Glenn Morris <rgm@gnu.org>
5858
5859 * files.el (hack-dir-local-variables): Warn if try to set
5860 coding via dir-locals, since it doesn't work. (Bug#7169)
5861
5862 Add desktop support for restoring vc-dir buffers. (Bug#10606)
5863 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
5864 Set buffer-local value of desktop-save-buffer.
5865 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
5866 New functions.
5867 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
5868 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
5869
5870 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
5871 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
5872 Doc fix.
5873 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
5874 Doc fixes.
5875
5876 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
5877
5878 * calc/calc-forms.el (calc-date-notation): Fix regexp
5879 used to find time codes. Fix symbol for seconds.
5880
5881 2012-11-27 Glenn Morris <rgm@gnu.org>
5882
5883 * emacs-lisp/derived.el (derived-mode-make-docstring):
5884 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
5885
5886 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5887
5888 * textmodes/table.el (table-insert): Don't use `symbol-name' on
5889 lexically scoped variables (bug#13005).
5890
5891 2012-11-27 Glenn Morris <rgm@gnu.org>
5892
5893 * vc/vc-hooks.el (vc-mistrust-permissions):
5894 Default to t, to avoid data-loss. (Bug#11490)
5895
5896 2012-11-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5897
5898 * progmodes/python.el (python-indent-guess-indent-offset):
5899 If indentation is guessed make python-indent-offset buffer-local.
5900
5901 Fix Imenu regression.
5902 * progmodes/python.el (python-nav-beginning-of-defun):
5903 Fix forward movement when statement(s) separates point from defun.
5904 (python-imenu-prev-index-position): New function.
5905
5906 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5907
5908 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
5909
5910 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
5911 Don't set buffer-file-type. Return nil. (Bug#12989)
5912
5913 2012-11-27 Glenn Morris <rgm@gnu.org>
5914
5915 * hippie-exp.el (hippie-expand-try-functions-list):
5916 Re-autoload it. (Bug#12982)
5917
5918 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5919
5920 * descr-text.el (describe-char-padded-string):
5921 Call internal-char-font only on GUI frames. (Bug#11964)
5922
5923 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
5924
5925 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
5926 and obsoletion message.
5927
5928 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5929
5930 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
5931 the constructs to keep outside of the `cl-block' (bug#12977).
5932
5933 2012-11-27 Chong Yidong <cyd@gnu.org>
5934
5935 * mouse.el (mouse-drag-line): Even if the line is not draggable,
5936 keep reading until we get the up-event anyway, in order to process
5937 the up-event for mouse-1-click-follows-link (Bug#12971).
5938
5939 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
5940
5941 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
5942 base function is not yet defined (bug#12965).
5943 (ad-activate-advised-definition): Use ad-compile-function.
5944 (ad-activate): Use cond.
5945
5946 2012-11-25 Leo Liu <sdl.web@gmail.com>
5947
5948 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
5949 (Bug#12979)
5950
5951 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5952
5953 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
5954 reftex-section-info-function in order to be compatible with
5955 Texinfo integration.
5956
5957 * textmodes/reftex.el (reftex-section-pre-regexp)
5958 (reftex-section-post-regexp, reftex-section-info-function):
5959 New variable.
5960 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
5961 reftex-section-post-regexp, and reftex-section-info-function in order
5962 to be compatible with Texinfo integration.
5963
5964 * textmodes/reftex-toc.el (reftex-toc-promote-action):
5965 use reftex-section-pre-regexp variable in order to be compatible with
5966 Texinfo integration.
5967
5968 2012-11-25 Chong Yidong <cyd@gnu.org>
5969
5970 * faces.el: Make face-spec-set more analogous to setq.
5971 (face-spec-set): Change the third arg to specify whether this
5972 function is being called via defface, customize, or a third party.
5973 Set the appropriate symbol properties. Clear the override spec if
5974 setting via Custom. Initialize face if necessary. (Bug#4988)
5975 (face-spec-recalc): Allow theme faces to completely replace the
5976 defface spec, in the same way as custom faces (Bug#8454).
5977
5978 * cus-face.el (custom-declare-face): Move face initialization to
5979 face-spec-set.
5980 (custom-theme-set-faces): Don't initialize the face name here, as
5981 that is now done in face-spec-set.
5982
5983 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
5984 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
5985 Simplify by using the new arg to face-spec-set.
5986
5987 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
5988 reset face-override-spec too, and use custom-declare-face.
5989
5990 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
5991
5992 * term/ns-win.el (ns-initialize-window-system): Move creation of
5993 fontsets here (Bug#11964).
5994
5995 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5996
5997 * ses.el (ses-rename-cell): Correct bug on mode-line update after
5998 cell renaming.
5999
6000 2012-11-24 Chong Yidong <cyd@gnu.org>
6001
6002 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
6003 obsolete.
6004
6005 * custom.el (custom-theme-set-variables): Use a topological sort
6006 for ordering by custom dependencies (Bug#12952).
6007 (custom--sort-vars, custom--sort-vars-1): New functions.
6008
6009 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
6010
6011 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
6012 lexical-binding (bug#12938).
6013
6014 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
6015
6016 * image-mode.el (image-transform-check-size): Use assertions only
6017 for images of type imagemagick.
6018
6019 Otherwise no error, image-transform-fit-to-{width,height} is
6020 silently ignored, as before. Doc fix.
6021
6022 2012-11-24 Chong Yidong <cyd@gnu.org>
6023
6024 * faces.el (color-defined-p): Doc fix (Bug#12853).
6025
6026 2012-11-24 Juri Linkov <juri@jurta.org>
6027
6028 * dired.el (dired-mark): Add optional arg `interactive'.
6029 Check for `use-region-p' if `interactive' is non-nil.
6030 (dired-unmark, dired-flag-file-deletion): Add optional arg
6031 `interactive'. Call `dired-mark' with the arg `interactive'.
6032 (Bug#10624)
6033
6034 * wdired.el: Revert 2012-10-17 change partly and replace it with
6035 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
6036 (wdired-finish-edit): Add marks for new file names to
6037 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
6038 after `revert-buffer'.
6039 (wdired-do-renames): Remove calls to `dired-remove-file',
6040 `dired-add-file', `dired-add-entry'. (Bug#11795)
6041
6042 2012-11-24 Alan Mackenzie <acm@muc.de>
6043
6044 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
6045
6046 Fix bugs in the state cache. Enhance a debugging mechanism.
6047 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
6048 "brace at column zero" strategy for C++.
6049 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
6050 (c-parse-state-point): New variable.
6051 (c-record-parse-state-state): Record old parse state with
6052 `copy-tree'. Record previous value of point.
6053 (c-debug-parse-state-double-cons): New debugging function.
6054 (c-debug-parse-state): Call the above new function.
6055 (c-toggle-parse-state-debug): Output a confirmatory message.
6056
6057 * progmodes/cc-mode.el (c-before-change, c-after-change):
6058 Call c-invalidate-state-cache from `c-before-change' instead of
6059 `c-after-change'.
6060
6061 2012-11-23 Chong Yidong <cyd@gnu.org>
6062
6063 * find-cmd.el (find-constituents): Add executable, ipath,
6064 readable, samefile, writable, daystart, regextype (Bug#12856).
6065
6066 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
6067
6068 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
6069
6070 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
6071
6072 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
6073 definition. This fixes a bootstrap failure.
6074 (calc-gregorian-switch): In menu, put dates before regions.
6075 This is easier to follow, lines up better in the menu, and lets us
6076 coalesce regions that switch at the same time. Give country
6077 names, not "Vatican", as that's better for non-expert users.
6078 Use names that are stable between the date of switch and now, e.g.,
6079 Bohemia and Moravia (which existed then and now) and not
6080 Czechoslovakia (which didn't exist then and doesn't exist now).
6081 What is now the U.S. mostly did not switch at the same time as
6082 Britain, so omit the U.S. Correct spelling of "Britain".
6083 Catholic Switzerland was too much of a mess, so omit it.
6084
6085 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
6086
6087 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
6088 after the variable is changed.
6089
6090 2012-11-21 Daniel Colascione <dancol@dancol.org>
6091
6092 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
6093 in SQL declarations for font-lock.
6094 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
6095
6096 2012-11-21 Glenn Morris <rgm@gnu.org>
6097
6098 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
6099 (face-italic-p): Add optional argument "inherit".
6100
6101 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
6102 Remove -p suffix from names, for consistency with other set-face-*.
6103 (set-face-inverse-video): Fix interactive spec.
6104 * play/gamegrid.el (gamegrid-make-mono-tty-face):
6105 * textmodes/table.el (table--update-cell-face):
6106 Use set-face-inverse-video rather than now obsolete alias.
6107
6108 2012-11-21 Eli Zaretskii <eliz@gnu.org>
6109
6110 * simple.el (line-move): Don't call line-move-partial if
6111 scroll-conservatively is in effect. (Bug#12927)
6112
6113 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6114
6115 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
6116 Fallback on completion-at-point rather than
6117 pcomplete-expand-and-complete, and only if pcomplete actually failed.
6118 (eshell-cmpl-initialize): Setup completion-at-point.
6119
6120 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
6121
6122 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
6123
6124 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
6125
6126 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
6127 are remote, check out-of-band property for both.
6128
6129 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6130
6131 * window.el (switch-to-buffer): Re-add the warning that was lost in the
6132 code rewrite.
6133
6134 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
6135
6136 More minor time fixes.
6137 * calendar/time-date.el: Commentary fix.
6138 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
6139 too much other code depends on (0 0) time stamps.
6140 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
6141 Add a couple of FIXME comments.
6142
6143 Minor cleanup for times as lists of four integers.
6144 * files.el (dir-locals-directory-cache):
6145 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
6146 Doc fixes.
6147 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
6148 * ps-bdf.el (bdf-file-newer-than-time):
6149 Process four-integers time stamps, not two. Doc fixes.
6150
6151 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6152
6153 * uniquify.el (uniquify-managed): Use defvar-local.
6154 (rename-buffer, create-file-buffer): Advise with advice-add.
6155 (uniquify-unload-function): Unadvise accordingly.
6156
6157 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
6158 (trace-buffer): Don't purecopy.
6159 (trace-entry-message, trace-exit-message): Add `context' arg.
6160 (trace--timer): New var.
6161 (trace-make-advice): Adjust for use in nadvice.
6162 Add `context' argument. Delay `display-buffer' via a timer.
6163 (trace-function-internal): Use advice-add.
6164 (trace--read-args): New function.
6165 (trace-function-foreground, trace-function-background): Use it.
6166 (trace-function): Rename to trace-function-foreground and redefine as
6167 an alias to that new name.
6168 (untrace-function, untrace-all): Adjust to the use of nadvice.
6169
6170 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
6171
6172 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
6173
6174 * subr.el (called-interactively-p-functions): New var.
6175 (internal--called-interactively-p--get-frame): New macro.
6176 (called-interactively-p, interactive-p): Rewrite in Lisp.
6177 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
6178 (called-interactively-p-functions): Use it.
6179 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
6180 (called-interactively-p-functions): Use it.
6181 * allout.el (allout-called-interactively-p): Don't assume
6182 called-interactively-p is a subr.
6183
6184 2012-11-20 Glenn Morris <rgm@gnu.org>
6185
6186 * profiler.el (profiler-report-mode-map): Add a menu.
6187 No need to bind `q' because we derive from special-mode.
6188 (profiler-report-find-entry): Handle calls from the menu-bar.
6189
6190 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
6191
6192 * emacs-lisp/byte-run.el (defun-declarations-alist):
6193 Allow a compiler-macro to be a lambda expression.
6194
6195 * progmodes/python.el: Use cl-lib. Move var declarations outside of
6196 eval-when-compile.
6197 (python-syntax-context): Add compiler-macro.
6198 (python-font-lock-keywords): Simplify with De Morgan.
6199
6200 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
6201
6202 * files.el (load-file): Require match in minibuffer selection, as was
6203 the case in Emacs-20 before we changed the spec to allow .elc files
6204 (bug#12935).
6205
6206 * json.el: Don't require cl since we don't use it.
6207 * color.el: Don't require cl.
6208 (color-complement): `caddr' -> `nth 2'.
6209
6210 * calendar/time-date.el (time-to-seconds): De-obsolete.
6211
6212 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
6213
6214 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
6215 year numbers.
6216 (math-date-to-julian-dt): Adjust the initial approximation for the
6217 year to deal with the new definition of the DATE.
6218
6219 2012-11-19 Daniel Colascione <dancol@dancol.org>
6220
6221 * term/w32-win.el (cygwin-convert-path-from-windows):
6222 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6223
6224 2012-11-18 Chong Yidong <cyd@gnu.org>
6225
6226 * filecache.el (file-cache--read-list): New function.
6227 (file-cache-add-directory-list, file-cache-add-file-list)
6228 (file-cache-delete-file-list, file-cache-delete-directory-list):
6229 Use it to read a list of files or directories (Bug#12846).
6230 (file-cache-add-file, file-cache-add-directory)
6231 (file-cache-delete-file-list, file-cache-delete-file-regexp)
6232 (file-cache-delete-directory): Print an message.
6233
6234 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
6235
6236 * calc/calc-forms.el (math-date-to-dt): Use integer date when
6237 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
6238
6239 2012-11-18 Glenn Morris <rgm@gnu.org>
6240
6241 * image.el (insert-image, insert-sliced-image): Doc fix.
6242
6243 2012-11-18 Chong Yidong <cyd@gnu.org>
6244
6245 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
6246 (Bug#12810).
6247
6248 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6249
6250 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
6251 response when the target file is in a subdirectory (Bug#12757).
6252
6253 2012-11-18 Chong Yidong <cyd@gnu.org>
6254
6255 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
6256
6257 2012-11-18 Glenn Morris <rgm@gnu.org>
6258
6259 * emacs-lisp/cl-lib.el (face-underline-p):
6260 Use set-face-underline rather than the alias set-face-underline-p.
6261
6262 * window.el (with-temp-buffer-window): Doc fix.
6263 * subr.el (with-output-to-temp-buffer):
6264 Add doc xref to with-temp-buffer-window.
6265
6266 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
6267
6268 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
6269 * calc/calc.el (math-format-date-cache): Declare.
6270
6271 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
6272
6273 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
6274 It also uses January 1, 1 AD as its day number 1.
6275 * calc/calc-forms.el (math-julian-date-beginning)
6276 (math-julian-date-beginning-int): Implement this.
6277
6278 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
6279
6280 * descr-text.el (quail-find-key):
6281 * dired.el (desktop-file-name):
6282 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
6283 * generic-x.el (comint-mode, comint-exec):
6284 * image-dired.el (widget-forward):
6285 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
6286 (speedbar-change-expand-button-char)
6287 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
6288 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
6289 * printing.el (easy-menu-add-item, easy-menu-remove-item)
6290 (widget-field-action, widget-value-set):
6291 * speedbar.el (imenu--make-index-alist):
6292 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
6293 (ring-length, ring-insert):
6294 * vcursor.el (compare-windows-skip-whitespace):
6295 * woman.el (dired-get-filename):
6296 Declare functions.
6297
6298 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
6299
6300 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6301
6302 * calc/calc.el (calc-gregorian-switch): New variable.
6303
6304 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
6305 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
6306 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
6307 (math-leap-year-p): Add option to distinguish between Julian
6308 and Gregorian calendars.
6309 (math-day-number): Use `math-day-in-year' to do the computations.
6310 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
6311 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
6312 to do the computations.
6313 (math-date-to-dt): Use `math-date-to-julian-dt' and
6314 `math-date-to-gregorian-dt' to do the computations.
6315 (calcFunc-weekday, math-format-date-part): Use the new version of
6316 the DATE to determine the weekday.
6317 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
6318 when necessary.
6319
6320 2012-11-17 Eli Zaretskii <eliz@gnu.org>
6321
6322 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
6323 Cygwin; otherwise use 'file:'. (Bug#12914)
6324 (cygwin-convert-path-from-windows): Declare, to avoid
6325 byte-compiler warnings.
6326
6327 2012-11-17 Andreas Politz <politza@fh-trier.de>
6328
6329 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
6330 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
6331 prefix and negative numeric prefix args (Bug#12795).
6332
6333 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
6334
6335 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
6336 Don't signal an error with a score that is too low to add to the
6337 list of top scores. (Bug#12779)
6338
6339 2012-11-17 Chong Yidong <cyd@gnu.org>
6340
6341 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
6342
6343 * filecache.el (file-cache-add-file): Handle relative file name in
6344 the argument (Bug#12694).
6345
6346 2012-11-16 JĂ¼rgen Hötzel <juergen@archlinux.org> (tiny change)
6347
6348 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
6349
6350 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6351
6352 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
6353
6354 * emacs-lisp/cl-lib.el: Set more meaningful version number.
6355
6356 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6357
6358 * window.el (enlarge-window, shrink-window): Don't mention return
6359 value in doc-string (Bug#12896).
6360 (window--display-buffer): Don't resize frames - it won't work
6361 with all window managers and defeat pop-up-frame-alist.
6362 (display-buffer-alist): In doc-string explain that CONDITION can
6363 be a function and which arguments are passed to it (Bug#12854).
6364 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
6365 expressions (Bug#12854).
6366 (display-buffer): Pass ACTION argument to
6367 display-buffer-assq-regexp.
6368
6369 2012-11-16 Glenn Morris <rgm@gnu.org>
6370
6371 * window.el (fit-frame-to-buffer-bottom-margin)
6372 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
6373
6374 * faces.el (face-underline-p): Use face-attribute-specified-or.
6375
6376 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
6377
6378 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
6379
6380 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6381
6382 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
6383
6384 2012-11-16 Glenn Morris <rgm@gnu.org>
6385
6386 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
6387 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
6388
6389 * faces.el (face-underline-p): Doc fix. Handle :underline being
6390 things other than `t' (a string, a list).
6391 (face-inverse-video-p): Doc fix.
6392 (set-face-underline): Rename it back from set-face-underline-p.
6393 Doc fix. Allow interactive input of values other than t.
6394 (read-face-attribute): Apply formatting to :underline,
6395 since like :box and :stipple it can take list values.
6396
6397 * term.el (ansi-term): Don't let C-x escape-char binding
6398 clobber the more standard C-c binding. (Bug#12842)
6399
6400 * subr.el (set-temporary-overlay-map): Doc fix.
6401
6402 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6403
6404 * window.el (record-window-buffer)
6405 (display-buffer-record-window): When copying the markers to
6406 window-point preserve window-point-insertion-type. (Bug#12588)
6407
6408 2012-11-16 Glenn Morris <rgm@gnu.org>
6409
6410 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
6411 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
6412 Use new names for hooks rather than obsolete aliases.
6413
6414 2012-11-15 Daniel Colascione <dancol@dancol.org>
6415
6416 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
6417 prefix instead of "file:" so that when FILE-NAME begins with "//",
6418 as it does when the target file is on a network share, url-handler
6419 isn't confused.
6420
6421 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6422
6423 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
6424 a preactivated advice from an old advice.el; they're not compatible!
6425
6426 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
6427
6428 * emacs-lisp/nadvice.el (advice--make-interactive-form):
6429 Fix string-spec case.
6430
6431 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
6432
6433 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6434
6435 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
6436 (advice--buffer-local-function-sample): New var.
6437 (advice--set-buffer-local, advice--buffer-local): New functions.
6438 (add-function, remove-function): Use them.
6439
6440 2012-11-15 Drew Adams <drew.adams@oracle.com>
6441
6442 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
6443
6444 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6445
6446 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
6447 potential binding of print-gensym to t, and prettify (back)quotes in
6448 case they appear in args's default values (bug#12884).
6449
6450 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6451
6452 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
6453 (advice-eval-interactive-spec): New function.
6454 (advice--make-interactive-form): Support around advice (bug#12844).
6455
6456 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
6457
6458 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
6459 more strict. Add docstring.
6460 (ruby-expression-expansion-re): Extract from
6461 `ruby-match-expression-expansion'.
6462 (ruby-syntax-propertize-function): After everything else, search
6463 for expansions in string literals, mark their insides as
6464 whitespace syntax and save match data for font-lock.
6465 (ruby-font-lock-keywords): Use the 2nd group from expression
6466 expansion matches.
6467 (ruby-match-expression-expansion): Use the match data saved to the
6468 text property in ruby-syntax-propertize-function.
6469
6470 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6471
6472 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
6473 (bug#12879).
6474
6475 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6476
6477 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
6478 start/end keyword a bit harder. Works with different values of N.
6479 Add more comments.
6480 (ruby-end-of-block): Update accordingly.
6481
6482 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6483
6484 * woman.el (woman-file-name): Don't mess with unread-command-events
6485 (bug#12861).
6486
6487 * emacs-lisp/advice.el: Layer on top of nadvice.el.
6488 Remove out of date self-require hack.
6489 (ad-do-advised-functions): Use simple `dolist'.
6490 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
6491 (ad-advice-definition): Redefine as functions.
6492 (ad-advice-classes): Move before first use.
6493 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
6494 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
6495 (ad--defalias-fset): Remove functions.
6496 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
6497 (ad-get-orig-definition): Rewrite.
6498 (ad-make-advised-definition-docstring): Change base docstring.
6499 (ad-real-orig-definition): Rewrite.
6500 (ad-map-arglists): Change name of called function.
6501 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
6502 (ad-make-advised-definition): Simplify.
6503 (ad-assemble-advised-definition): Tweak for new calling context.
6504 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
6505 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
6506 function and call ad-activate if needed.
6507 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
6508 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
6509 (ad-compile-function): Compile ad-Advice-*.
6510 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
6511 (ad-start-advice, ad-stop-advice): Remove.
6512
6513 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6514
6515 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
6516 period before class method names, not after. Remove handling of
6517 one impossible case. Add comments.
6518
6519 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6520
6521 * emacs-lisp/advice.el: Remove support for freezing.
6522 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
6523 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
6524 Remove support for `freeze'.
6525
6526 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
6527 override the default.
6528 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
6529 cl--dotimes/dolist.
6530 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
6531 `cl' is loaded.
6532
6533 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
6534 from add-advice.
6535 (advice--strip-macro): New function.
6536 (advice--defalias-fset): Use them to handle macros.
6537 (advice-add): Use them.
6538 (advice-member-p): Correctly handle macros.
6539
6540 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6541
6542 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6543 Never font-lock the beginning of singleton class as heredoc.
6544
6545 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6546
6547 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
6548
6549 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
6550
6551 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
6552 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
6553 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
6554
6555 2012-11-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6556
6557 Fix end-of-defun misbehavior.
6558 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
6559 python-beginning-of-defun-function. Handle nested defuns
6560 correctly.
6561 (python-nav-end-of-defun): Rename from
6562 python-end-of-defun-function. Ensure forward movement.
6563 (python-info-current-defun): Reimplement to work as intended
6564 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
6565 parent defuns as soon as possible.
6566
6567 2012-11-13 Glenn Morris <rgm@gnu.org>
6568
6569 * progmodes/flymake.el (flymake-error-bitmap)
6570 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
6571 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
6572
6573 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6574
6575 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
6576 backward, always stop at indentation. Reverts the change from
6577 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
6578
6579 2012-11-13 Glenn Morris <rgm@gnu.org>
6580
6581 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
6582 Add ibuffer-filter-by-derived-mode.
6583
6584 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
6585 the same name shadowing each other.
6586
6587 * window.el (with-temp-buffer-window): Doc tweak.
6588
6589 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
6590
6591 * help.el (temp-buffer-max-height):
6592 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
6593 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
6594
6595 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
6596
6597 * emacs-lisp/nadvice.el: New package.
6598 * subr.el (special-form-p): New function.
6599 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
6600 (elp-all-instrumented-list): Remove var.
6601 (elp-not-profilable): Remove elp-wrapper.
6602 (elp-profilable-p): Use autoloadp and special-form-p.
6603 (elp--advice-name): New const.
6604 (elp-instrument-function): Use advice-add.
6605 (elp--instrumented-p): New predicate.
6606 (elp-restore-function): Use advice-remove.
6607 (elp-restore-all, elp-reset-all): Use mapatoms.
6608 (elp-set-master): Use elp--instrumented-p.
6609 (elp--make-wrapper): Rename from elp-wrapper, return a function
6610 suitable for advice-add. Use cl-inf.
6611 (elp-results): Use mapatoms+elp--instrumented-p.
6612 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
6613 (debug-function-list): Remove var.
6614 (debug): Rename arg, and then let-bind it explicitly inside.
6615 (debugger-setup-buffer): Rename arg.
6616 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
6617 (debugger-frame-number): Adjust to new debug-on-entry setup.
6618 (debug--implement-debug-on-entry): Rename from
6619 implement-debug-on-entry, add argument.
6620 (debugger-special-form-p): Remove, use special-form-p instead.
6621 (debug-on-entry): Use advice-add.
6622 (debug--function-list): New function.
6623 (cancel-debug-on-entry): Use it, along with advice-remove.
6624 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
6625 (debugger-list-functions): Use debug--function-list instead of
6626 debug-function-list.
6627 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
6628 (ad-special-form-p): Remove, use special-form-p instead.
6629 (ad-set-advice-info): Use add-function and remove-function.
6630 (ad--defalias-fset): Adjust accordingly.
6631
6632 2012-11-10 Glenn Morris <rgm@gnu.org>
6633
6634 * mail/emacsbug.el (report-emacs-bug-tracker-url)
6635 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
6636 (report-emacs-bug-create-existing-bugs-buffer)
6637 (report-emacs-bug-parse-query-results)
6638 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
6639
6640 * term.el (term-default-fg-color, term-default-bg-color):
6641 Make obsolete, rather than just saying "deprecated" in the doc.
6642
6643 * term.el (term): Rename from `term-face'.
6644 (term-current-face, ansi-term-color-vector)
6645 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
6646 Update all users.
6647
6648 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
6649
6650 * server.el (server-create-window-system-frame): Handle Nextstep
6651 specially (Bug#12780).
6652
6653 2012-11-10 Glenn Morris <rgm@gnu.org>
6654
6655 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
6656 Unautoload, and make obsolete. (Bug#7449)
6657
6658 2012-11-10 Chong Yidong <cyd@gnu.org>
6659
6660 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
6661 rename from diff-remove-trailing-whitespace (Bug#12831).
6662
6663 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6664
6665 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
6666 miscompilation of trace.el.
6667
6668 2012-11-10 Glenn Morris <rgm@gnu.org>
6669
6670 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
6671
6672 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6673
6674 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
6675 (bug#12812).
6676
6677 2012-11-10 Chong Yidong <cyd@gnu.org>
6678
6679 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
6680 a defcustom with an appropriate :set function.
6681 (minibuffer-default--in-prompt-regexps): New function.
6682
6683 2012-11-10 Glenn Morris <rgm@gnu.org>
6684
6685 * emacs-lisp/cl.el (define-setf-expander, defsetf)
6686 (define-modify-macro): Doc fixes.
6687
6688 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
6689 (gv-define-simple-setter): Update doc of `fix-return'.
6690
6691 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6692
6693 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
6694 twice when `fix-return' is set (bug#12813).
6695
6696 * emacs-lisp/cl.el (defsetf): Pass the third arg to
6697 gv-define-simple-setter (bug#12812).
6698
6699 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
6700 (bug#12756).
6701
6702 2012-11-10 Glenn Morris <rgm@gnu.org>
6703
6704 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
6705
6706 * emacs-lisp/cl-extra.el (cl-prettyexpand):
6707 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
6708 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
6709 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
6710
6711 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
6712
6713 2012-11-10 Leo Liu <sdl.web@gmail.com>
6714
6715 * ido.el (ido-set-matches-1): Improve flex matching performance by
6716 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
6717
6718 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6719
6720 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
6721 (ad--defalias-fset): New function.
6722 (ad-safe-fset): Remove.
6723 (ad-make-freeze-definition): Use cl-letf*.
6724
6725 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6726
6727 * subr.el (dolist): Don't bind VAR in RESULT.
6728
6729 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
6730 (fset, documentation): Don't save real def since we don't advise.
6731 (ad-do-advised-functions): Remove problematic `result-form'.
6732 (ad-safe-fset): `ad-real-fset' => `fset'.
6733 (ad-read-advised-function): Don't assume that ad-do-advised-functions
6734 uses CL's dolist internally.
6735 (ad-arglist): Remove unused arg `name'.
6736 (ad-docstring, ad-make-advised-docstring):
6737 `ad-real-documentation' => `documentation'.
6738 (warning-suppress-types): Declare.
6739 (ad-set-arguments): Simple CSE.
6740 (ad-recover-normality): Sanity check.
6741
6742 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
6743 (funcall '(lambda ..) ..) into ((lambda ..) ..).
6744
6745 2012-11-09 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6746
6747 * ses.el: symbol to coordinate mapping is made by symbol property
6748 `ses-cell'. This means that the same mapping is done for all SES
6749 sheets. That is good enough for cells with standard A1 names, but
6750 not for named cell. So a hash map is added for the latter.
6751 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
6752 (ses-sym-rowcol): Use hashmap for named cell.
6753 (ses-is-cell-sym-p): New defun.
6754 (ses-decode-cell-symbol): New defun.
6755 (ses-create-cell-variable): Add cell to hashmap when name is not
6756 A1-like.
6757 (ses-rename-cell): Check that cell new name is not already in
6758 spreadsheet with the use of ses-is-cell-sym-p
6759 (ses-rename-cell): Use hash map for named cells, but accept also
6760 renaming back to A1-like.
6761
6762 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6763
6764 * emacs-lisp/advice.el: Use new dynamic docstrings.
6765 (ad-make-advised-definition-docstring, ad-advised-definition-p):
6766 Use dynamic-docstring-function instead of ad-advice-info.
6767 (ad--make-advised-docstring): New function extracted from
6768 ad-make-advised-docstring.
6769 (ad-make-advised-docstring): Use it.
6770 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
6771 from sql-help.
6772 (sql-help): Use it with dynamic-docstring-function.
6773
6774 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
6775
6776 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6777
6778 * files.el (hack-one-local-variable--obsolete): New function.
6779 (hack-one-local-variable): Use it for obsolete settings.
6780
6781 * subr.el (locate-user-emacs-file): If both old and new name exist, use
6782 the new name.
6783
6784 * progmodes/js.el (js--filling-paragraph): New var.
6785 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
6786 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
6787 less sneaky.
6788
6789 2012-11-08 Julien Danjou <julien@danjou.info>
6790
6791 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
6792 `auto-mode-alist' (Bug#12835).
6793
6794 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6795
6796 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
6797 (perl--prettify-symbols-alist): New const.
6798 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
6799 New functions.
6800 (perl-font-lock-keywords-2): Use them.
6801 (perl-electric-noindent-p): New function.
6802 (perl-mode): Use it to set up electric-indent-mode.
6803 (perl-electric-terminator, perl-indent-command): Mark obsolete.
6804 (perl-mode-map): Remove bindings for them.
6805 (perl-imenu-generic-expression, perl-outline-level):
6806 Match functions&packages in column>0.
6807
6808 * env.el (env--substitute-vars-regexp): New const.
6809 (substitute-env-vars): Use it. Add `only-defined' arg.
6810 * net/tramp.el (tramp-replace-environment-variables): Use it.
6811
6812 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
6813 Byte-compile *before* eval in eval-and-compile.
6814 (byte-compile-log-warning): Remove redundant inhibit-read-only.
6815 (byte-compile-file-form-autoload): Don't hide actual definition.
6816 (byte-compile-maybe-guarded): Accept `functionp' as well.
6817
6818 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
6819
6820 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
6821
6822 * notifications.el (notifications-get-server-information-method):
6823 New defconst.
6824 (notifications-get-capabilities): Fix docstring.
6825 (notifications-get-server-information): New defun.
6826
6827 2012-11-06 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6828
6829 * textmodes/ispell.el (ispell-region): Standard re-indent for better
6830 readability.
6831
6832 * textmodes/ispell.el: Experimental support for support debugging.
6833 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
6834 buffer for ispell.
6835 (ispell-print-if-debug): New function to print stuff to
6836 `ispell-debug-buffer' if debugging is enabled.
6837 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
6838 show some debugging info.
6839 (ispell-buffer-with-debug): New function that creates a debugging
6840 buffer and calls `ispell-buffer' with debugging enabled.
6841
6842 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
6843 comment in autoconf mode. (Bug#12768)
6844
6845 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
6846
6847 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
6848 frame-first-window, frame-root-window, frame-selected-window,
6849 minibuffer-selected-window, minibuffer-window,
6850 window-absolute-pixel-edges, window-at, window-body-height,
6851 window-body-width, window-display-table, window-combination-limit,
6852 window-frame, window-fringes, window-inside-absolute-pixel-edges,
6853 window-inside-edges, window-inside-pixel-edges, window-left-child,
6854 window-left-column, window-margins, window-next-buffers,
6855 window-next-sibling, window-new-normal, window-new-total,
6856 window-normal-size, window-parameter, window-parameters, window-parent,
6857 window-pixel-edges, window-point, window-prev-buffers,
6858 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
6859 window-start, window-text-height, window-top-child, window-top-line,
6860 window-total-height, window-total-width and window-use-time to the list
6861 of functions without side-effects.
6862 (toplevel): Add window-valid-p to the list of error-free functions
6863 without side-effects.
6864
6865 2012-11-05 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6866
6867 * textmodes/ispell.el (ispell-program-name):
6868 Update spellchecker parameters when customized.
6869
6870 2012-11-04 Glenn Morris <rgm@gnu.org>
6871
6872 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
6873
6874 2012-11-04 Chong Yidong <cyd@gnu.org>
6875
6876 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
6877 same-window-* variables.
6878
6879 2012-11-04 Juri Linkov <juri@jurta.org>
6880
6881 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
6882 (isearch-describe-key, isearch-describe-mode): Use a display
6883 action instead of binding same-window-* variables (Bug#10040).
6884
6885 2012-11-03 Glenn Morris <rgm@gnu.org>
6886
6887 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
6888 Rename handler properties back from cl-- to cl-. (Bug#12788)
6889
6890 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
6891
6892 2012-11-03 Eli Zaretskii <eliz@gnu.org>
6893
6894 * term/pc-win.el: Don't load term/internal from here.
6895
6896 * loadup.el: Load term/internal from here.
6897
6898 2012-11-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6899
6900 * progmodes/python.el (inferior-python-mode): Fix hang in
6901 jit-lock (Bug#12645).
6902
6903 2012-11-03 Martin Rudalics <rudalics@gmx.at>
6904
6905 * window.el (switch-to-visible-buffer)
6906 (switch-to-buffer-preserve-window-point): Fix doc-strings.
6907
6908 2012-11-03 Glenn Morris <rgm@gnu.org>
6909
6910 * emacs-lisp/cl-lib.el (cl--random-time):
6911 Rename from cl-random-time. (Bug#12773)
6912 (cl--gensym-counter, cl--random-state): Update callers.
6913 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
6914
6915 2012-11-03 Chong Yidong <cyd@gnu.org>
6916
6917 * cus-start.el: Make cursor-type customizable (Bug#11633).
6918
6919 2012-11-02 Glenn Morris <rgm@gnu.org>
6920
6921 * filecache.el: No need to load find-lisp when compiling.
6922 (find-lisp-find-files): Autoload it.
6923 (file-cache-add-directory-recursively): Don't require find-lisp.
6924
6925 * image.el (image-type-from-file-name): Trivial simplification.
6926
6927 * emacs-lisp/bytecomp.el (byte-compile-eval):
6928 Decouple "noruntime" and "cl-functions" warnings.
6929
6930 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
6931
6932 * play/gomoku.el (gomoku-display-statistics): Update mode line
6933 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
6934
6935 2012-10-31 Martin Rudalics <rudalics@gmx.at>
6936
6937 * window.el (quit-restore-window): If the window has been
6938 created on an existing frame and ended up as the sole window on
6939 that frame, do not delete it (Bug#12764).
6940
6941 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
6942
6943 * progmodes/sh-script.el (sh--inside-noncommand-expression):
6944 Rename from sh--inside-arithmetic-expression, handle more cases
6945 (bug#11263).
6946
6947 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
6948 (sh-font-lock-open-heredoc): Use it (bug#12770).
6949
6950 2012-10-30 Glenn Morris <rgm@gnu.org>
6951
6952 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
6953
6954 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
6955
6956 2012-10-29 Chong Yidong <cyd@gnu.org>
6957
6958 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
6959 function key is stored in a keyboard macro (Bug#4894).
6960
6961 * thingatpt.el (number-at-point): Apply a thing-at-point property.
6962
6963 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6964
6965 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
6966 header comments".
6967 (diff-unified->context, diff-context->unified)
6968 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
6969
6970 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
6971
6972 * files.el (find-alternate-file): Only ask one question (bug#12487).
6973
6974 2012-10-29 Chong Yidong <cyd@gnu.org>
6975
6976 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
6977 Suggested by Dan Nicolaescu (Bug#6326).
6978
6979 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
6980
6981 * startup.el (fancy-about-screen): Don't message (Bug#12680).
6982
6983 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
6984
6985 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
6986
6987 * face-remap.el (face-remap-add-relative): Handle the case where a
6988 face-remapping-alist entry is a cons cell (Bug#12762).
6989
6990 2012-10-29 Kevin Ryde <user42@zip.com.au>
6991
6992 * woman.el (woman-parse-numeric-value): Handle picas correctly
6993 (Bug#12639).
6994
6995 2012-10-29 Glenn Morris <rgm@gnu.org>
6996
6997 * emacs-lisp/cl.el (defsetf): Doc fix.
6998
6999 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7000
7001 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
7002 syntax to the matching opener, if any (bug#12547).
7003 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
7004 matching open as a "case-(".
7005 (sh-smie-rc-grammar): Add a corresponding rule for it.
7006
7007 2012-10-28 Daniel Hackney <dan@haxney.org>
7008
7009 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
7010 "PKGNAME-autoloads.el" in case we created it.
7011
7012 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7013
7014 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
7015 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
7016 (completion--twq-all): Disable too-strict assertions.
7017
7018 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
7019
7020 2012-10-27 Eli Zaretskii <eliz@gnu.org>
7021
7022 * profiler.el (profiler-report-make-entry-part): Fix help-echo
7023 text to match the real keybindings.
7024
7025 2012-10-27 Juri Linkov <juri@jurta.org>
7026
7027 * wdired.el (wdired-keep-marker-rename): New defcustom.
7028 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
7029 (Bug#11795)
7030
7031 * dired.el (dired-keep-marker-rename): Add reference to
7032 `wdired-keep-marker-rename' in the docstring.
7033 Add default character value ?R to display initially in
7034 Customization UI instead of ?@.
7035
7036 2012-10-27 Martin Rudalics <rudalics@gmx.at>
7037
7038 * window.el (display-buffer): In doc-string describe
7039 window-height and window-width alist entries.
7040
7041 * time.el (display-time-world): Restore fit-window-to-buffer
7042 behavior.
7043
7044 2012-10-27 Chong Yidong <cyd@gnu.org>
7045
7046 * subr.el (insert-buffer-substring-as-yank): Doc fix.
7047
7048 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
7049
7050 * minibuffer.el (completion-category-overrides): New completion
7051 category `bookmark' (bug#11131).
7052
7053 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7054
7055 * emacs-lisp/advice.el (ad-assemble-advised-definition):
7056 Silence bogus compiler warnings for ad-do-it.
7057
7058 * bookmark.el (bookmark-completing-read): Set the completion category
7059 to `bookmark' (bug#11131).
7060
7061 2012-10-26 Bastien <bzg@altern.org>
7062 Stefan Monnier <monnier@iro.umontreal.ca>
7063
7064 * face-remap.el: Use lexical-binding.
7065 (text-scale-adjust): Improve docstring. Use itself for the temporary
7066 overlay-map bindings, so as to repeat the "Use..." message each time.
7067
7068 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7069
7070 * emacs-lisp/macroexp.el (macroexp--expand-all):
7071 Obey byte-compile-warning-enabled-p (bug#12486).
7072
7073 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
7074 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
7075
7076 2012-10-26 Martin Rudalics <rudalics@gmx.at>
7077
7078 * mouse.el (mouse-drag-line): Move last form into preceding when
7079 clause (Bug#12731).
7080
7081 * help.el (resize-temp-buffer-window): Fix doc-string.
7082
7083 2012-10-25 David Engster <deng@randomsample.de>
7084
7085 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
7086 Remove. This feature is already integrated in imenu.
7087
7088 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
7089 always loaded. Require `speedbar' unconditionally.
7090
7091 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7092
7093 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
7094
7095 * minibuffer.el (minibuffer-force-complete): Fix thinko.
7096
7097 * net/ldap.el (ldap-search-internal): The official ldif format starts
7098 with a "version: 1" header (bug#12724).
7099
7100 * emacs-lisp/package.el (package-installed-p): Warn if not ready
7101 (bug#12721).
7102
7103 2012-10-25 Glenn Morris <rgm@gnu.org>
7104
7105 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
7106
7107 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7108
7109 * minibuffer.el (minibuffer-force-complete): Use one more marker
7110 for the temporary-overlay-map command (bug#12619).
7111
7112 2012-10-24 Chong Yidong <cyd@gnu.org>
7113
7114 * time.el (display-time-world-mode): Derive from special-mode.
7115 (display-time-world): Use display-buffer (Bug#12708).
7116 (display-time-world-mode-map): Variable deleted.
7117 (display-time-world-display): Wrap the final delete-char inside
7118 inhibit-read-only.
7119
7120 2012-10-24 Chong Yidong <cyd@gnu.org>
7121
7122 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
7123 Doc fix.
7124
7125 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
7126
7127 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7128
7129 * minibuffer.el (completion--all-sorted-completions-location): New var.
7130 (completion--cache-all-sorted-completions)
7131 (completion--flush-all-sorted-completions): Use it.
7132 (completion-in-region, completion-in-region--postch)
7133 (completion-at-point, completion-help-at-point): Use markers in
7134 completion-in-region--data (bug#12619).
7135
7136 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7137
7138 * progmodes/compile.el (compilation-start): Try to handle common
7139 quoting of `cd' argument (bug#12640).
7140
7141 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
7142 (bug#12671).
7143
7144 2012-10-23 Glenn Morris <rgm@gnu.org>
7145
7146 * progmodes/gud.el (gud-menu-map):
7147 Check gdb-active-process is bound. (Bug#12358)
7148
7149 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7150
7151 * repeat.el (repeat): Set real-this-command (bug#12232).
7152
7153 * htmlfontify.el (hfy-post-html-hook):
7154 * filesets.el (filesets-cache-fill-content-hook):
7155 * arc-mode.el (archive-extract-hook):
7156 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
7157 * net/rcirc.el (rcirc-sentinel-functions)
7158 (rcirc-receive-message-functions, rcirc-activity-functions)
7159 (rcirc-print-functions):
7160 * net/dbus.el (dbus-event-error-functions):
7161 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
7162 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
7163 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
7164 * term/sun.el (sun-raw-prefix-hooks):
7165 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
7166
7167 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
7168
7169 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7170 Set `tramp-chunksize' to 1. This improves the performance.
7171 (tramp-smb-wait-for-output): Add timeout to
7172 `tramp-accept-process-output' calls.
7173
7174 2012-10-23 Chong Yidong <cyd@gnu.org>
7175
7176 * faces.el (font-list-limit): Define as an obsolete variable.
7177
7178 * startup.el (command-line):
7179 * cus-start.el: Don't refer to font-list-limit.
7180
7181 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
7182
7183 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7184
7185 * subr.el (internal-temp-output-buffer-show): Rename from
7186 temp-output-buffer-show, since previously compiled files expect this name.
7187
7188 2012-10-23 Glenn Morris <rgm@gnu.org>
7189
7190 * image.el (image-type-from-file-name): If multiple types match,
7191 return the first one that is supported. (Bug#9045)
7192
7193 2012-10-22 Glenn Morris <rgm@gnu.org>
7194
7195 * image.el (imagemagick-enabled-types): Doc fix.
7196
7197 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
7198
7199 * progmodes/which-func.el (which-func-current): The hash-table may have
7200 an explicit nil (bug#12338).
7201
7202 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7203
7204 * electric.el (electric-pair-delete-selection-self-insert-function):
7205 Rename to electric-pair-will-use-region, return a boolean.
7206 (electric-pair-mode): Adjust accordingly. Don't require delsel.
7207
7208 * delsel.el (delete-selection-helper): Use a function instead of a hook.
7209 (delete-selection-pre-hook): Use use-region-p.
7210 (delete-selection-self-insert-function): Remove.
7211 (self-insert-command): Obey self-insert-uses-region-functions.
7212 (self-insert-iso): Revert to previous setting, since we don't actually
7213 know what that command does.
7214 (delete-selection-self-insert-hooks): Remove.
7215
7216 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
7217
7218 * delsel.el (delete-selection-helper): New function, extracted from
7219 delete-selection-pre-hook.
7220 (delete-selection-pre-hook): Use it.
7221 (delete-selection-self-insert-function): New function.
7222 (delete-selection-self-insert-hooks): New hook.
7223 (self-insert-command, self-insert-iso): Use it.
7224 * electric.el (electric-pair-syntax): New function, extracted from
7225 electric-pair-post-self-insert-function.
7226 (electric-pair-post-self-insert-function): Use it.
7227 (electric-pair-delete-selection-self-insert-function): New function.
7228 (electric-pair-mode): Require delsel and setup
7229 delete-selection-self-insert-hooks (bug#11520).
7230
7231 2012-10-20 Chong Yidong <cyd@gnu.org>
7232
7233 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
7234 no changes to show (Bug#12586).
7235
7236 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
7237 list explicitly (Bug#12571).
7238
7239 2012-10-20 Arne Jørgensen <arne@arnested.dk>
7240
7241 * progmodes/flymake.el (flymake-create-temp-inplace):
7242 Use file-truename.
7243
7244 2012-10-20 Eli Zaretskii <eliz@gnu.org>
7245
7246 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
7247
7248 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
7249
7250 * calc/calc-units.el (math-extract-units): Properly extract powers
7251 of units.
7252
7253 2012-10-20 Daniel Colascione <dancol@dancol.org>
7254
7255 * frame.el (make-frame): Set x-display-name as we used to in order
7256 to unbreak creating an X11 frame from an Emacs daemon started
7257 without a display.
7258
7259 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7260
7261 * minibuffer.el (minibuffer-force-complete): Make the next completion use
7262 the same completion-field (bug#12221).
7263
7264 2012-10-19 Martin Rudalics <rudalics@gmx.at>
7265
7266 * emacs-lisp/debug.el (debug): Record height of debugger window
7267 also when debugger will be back (Bug#8789).
7268
7269 2012-10-18 Chong Yidong <cyd@gnu.org>
7270
7271 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7272 Convert to defcustom.
7273 (gdb-get-source-file): Don't bind pop-up-windows.
7274
7275 * progmodes/gud.el (gud-display-line): Don't specially re-use
7276 other frames for the gdb-mi case (Bug#12648).
7277
7278 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7279
7280 * emacs-lisp/advice.el: Clean up commentary a bit.
7281 (ad-do-advised-functions, ad-with-originals): Use `declare'.
7282 (byte-code-function-p): Never redefine.
7283
7284 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
7285
7286 2012-10-18 Glenn Morris <rgm@gnu.org>
7287
7288 * dired.el (dired-sort-toggle): Some ls implementations only allow
7289 a single option string. (Bug#12666)
7290
7291 * minibuffer.el (completion-cycle-threshold): Doc fix.
7292
7293 2012-10-17 Kenichi Handa <handa@gnu.org>
7294
7295 * international/mule.el (set-keyboard-coding-system):
7296 Recover input meta mode when the new coding system doesn not use 8-bit.
7297 Supply TERMINAL arg to set-input-meta-mode.
7298
7299 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7300
7301 * wdired.el (wdired-old-marks): New variable.
7302 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
7303 (wdired-do-renames): Move point with renamed file and don't lose
7304 mark status (Bug#11795).
7305
7306 2012-10-16 Juri Linkov <juri@jurta.org>
7307
7308 * replace.el (query-replace-help): Mention multi-buffer replacement
7309 keys in the Help message. (Bug#12655)
7310
7311 2012-10-15 Chong Yidong <cyd@gnu.org>
7312
7313 * emacs-lisp/byte-run.el (defsubst): Doc fix.
7314
7315 2012-10-14 Eli Zaretskii <eliz@gnu.org>
7316
7317 * window.el (display-buffer): Doc fix.
7318
7319 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7320 Adjust the msft regexp to the output of Studio 2010, and move msft
7321 before edg-1. See the discussion on emacs-devel,
7322 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
7323 for the details.
7324
7325 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7326
7327 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
7328 (oset): Move uses of object-class-fast macro after its definition.
7329
7330 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
7331
7332 2012-10-13 Chong Yidong <cyd@gnu.org>
7333
7334 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
7335 enabled, re-enable it (Bug#11963).
7336
7337 2012-10-13 Martin Rudalics <rudalics@gmx.at>
7338
7339 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
7340 non-nil, restore window configuration (Bug#12623).
7341
7342 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7343
7344 * help-fns.el (describe-variable, describe-function-1):
7345 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
7346
7347 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
7348
7349 2012-10-12 Glenn Morris <rgm@gnu.org>
7350
7351 * mail/rmailsum.el (rmail-header-summary):
7352 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
7353
7354 2012-10-12 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7355
7356 * progmodes/python.el (python-mode-map):
7357 Replace subtitute-key-definition with proper command remapping.
7358 (python-nav--up-list): Fix behavior for blocks on the same level.
7359
7360 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7361
7362 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
7363
7364 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
7365 changes to the format of load-history.
7366
7367 * international/mule-cmds.el (read-char-by-name): Move let-binding of
7368 completion-ignore-case in case that var is buffer-local (bug#12615).
7369
7370 2012-10-11 Kenichi Handa <handa@gnu.org>
7371
7372 * international/eucjp-ms.el: Re-generated.
7373
7374 2012-10-10 Kenichi Handa <handa@gnu.org>
7375
7376 * select.el (xselect--encode-string): If a coding is specified for
7377 selection, and that is compatible with COMPOUND_TEXT, use it.
7378
7379 2012-10-10 Martin Rudalics <rudalics@gmx.at>
7380
7381 * window.el (switch-to-buffer-preserve-window-point): New option.
7382 (switch-to-buffer):
7383 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
7384
7385 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7386
7387 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
7388 Don't document nil as a useful value (bug#12583).
7389
7390 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
7391
7392 * net/tramp.el (tramp-debug-message):
7393 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
7394 (with-tramp-progress-reporter): Rename from
7395 `tramp-with-progress-reporter'.
7396 (with-tramp-file-property, with-tramp-connection-property):
7397 Move from tramp-cache.el, rename from `with-file-property' and
7398 `with-connection-property', respectively.
7399
7400 * net/tramp-cache.el: Remove `with-file-property' and
7401 `with-connection-property'.
7402
7403 * net/tramp.el:
7404 * net/tramp-gvfs.el:
7405 * net/tramp-sh.el:
7406 * net/tramp-smb.el: Adapt callees.
7407
7408 * net/trampver.el: Update release number.
7409
7410 2012-10-09 Glenn Morris <rgm@gnu.org>
7411
7412 * w32-fns.el (set-message-beep):
7413 * term/w32-win.el (set-message-beep): Update declarations.
7414
7415 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7416
7417 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
7418 (mode-line-widen, mode-line-input-method-map)
7419 (mode-line-coding-system-map, mode-line-remote)
7420 (mode-line-unbury-buffer, mode-line-bury-buffer)
7421 (mode-line-next-buffer, mode-line-previous-buffer):
7422 Replace save-selected-window+select-window => with-selected-window.
7423
7424 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
7425 * progmodes/cc-vars.el (bq-process): Remove, unused.
7426
7427 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
7428
7429 2012-10-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7430
7431 Implemented `backward-up-list'-like navigation.
7432 * progmodes/python.el (python-nav-up-list)
7433 (python-nav-backward-up-list): New functions.
7434 (python-mode-map): Define substitute key for backward-up-list to
7435 python-nav-backward-up-list.
7436
7437 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7438
7439 * progmodes/python.el (python-fill-paragraph): Rename from
7440 python-fill-paragraph-function. Fixed fill-paragraph for
7441 decorators (Bug#12605).
7442
7443 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7444
7445 * progmodes/python.el (python-shell-output-filter): Handle extra
7446 carriage return in OSX (Bug#12409).
7447
7448 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7449
7450 Fix shell handling of unbalanced quotes and parens in output.
7451 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
7452 (python-syntax-propertize-function): Use it.
7453 (python-shell-output-syntax-table): New var.
7454 (inferior-python-mode): Prevent unbalanced parens/quotes from
7455 previous output mess with current input context.
7456
7457 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
7458
7459 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
7460 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
7461
7462 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
7463
7464 * ffap.el (ffap-replace-file-component): Support Tramp file name
7465 syntax, not only ange-ftp's one.
7466
7467 2012-10-08 Glenn Morris <rgm@gnu.org>
7468
7469 * cus-start.el (message-log-max): Set :version.
7470
7471 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
7472
7473 2012-10-08 Martin Rudalics <rudalics@gmx.at>
7474
7475 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
7476 the minibuffer window (Bug#10851).
7477
7478 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7479
7480 Enhancements on forward-sexp movement.
7481 * progmodes/python.el (python-nav-beginning-of-statement)
7482 (python-nav-end-of-statement): Return point-marker.
7483 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
7484 (python-info-current-symbol)
7485 (python-info-statement-starts-block-p): Rename from
7486 python-info-beginning-of-block-p.
7487 (python-info-statement-ends-block-p): Rename from
7488 python-info-end-of-block-p.
7489 (python-info-beginning-of-statement-p)
7490 (python-info-end-of-statement-p)
7491 (python-info-beginning-of-block-p, python-info-end-of-block-p):
7492 New functions.
7493
7494 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7495
7496 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
7497 frame-selected-windows.
7498
7499 2012-10-08 Daniel Colascione <dancol@dancol.org>
7500
7501 * battery.el (battery-status-function): Check for
7502 w32-battery-status itself, not system-time windows-nt.
7503
7504 * frame.el: Require cl-lib.
7505 (display-format-alist): New variable mapping frame types to
7506 functions that initialize them.
7507 (window-system-for-display): New function: interprets
7508 display-format-alist.
7509 (make-frame-on-display): Remove existing display-selection logic
7510 and just forward to make-frame, which will now DTRT.
7511 (make-frame): Restructure to use window-system-for-display to
7512 figure out how to create a frame on a given display.
7513 (display-mouse-p): Look for frame-type w32, not a particular
7514 system-type.
7515
7516 * loadup.el: Load w32 lisp code when we have the w32 feature.
7517
7518 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
7519 system-type windows-nt.
7520
7521 * server.el (server-create-window-system-frame): Look for window
7522 type.
7523 (server-proces-filter): Only force a window system when windows-nt
7524 _and_ w32. Explain why.
7525
7526 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
7527 of window systems we configure for the mode.
7528
7529 * startup.el (command-line): Mark window system is initialized
7530 after we've done it.
7531
7532 * common-win.el (x-select-text): Look for w32, not windows-nt.
7533
7534 * ns-win.el: Require cl-lib. Add ourselves to
7535 display-format-alist.
7536 (ns-initialize-window-system): Assert we're not initialized twice.
7537
7538 * w32-win.el: Enable lexical binding; require cl-lib; add
7539 ourselves to display-format-alist.
7540 (w32-handle-dropped-file): Convert incoming dropped files from
7541 Windows paths to Cygwin ones before passing them on to the rest of
7542 Emacs.
7543 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
7544 (w32-initialize-window-system): Assert we're not initialized twice.
7545
7546 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
7547 (x-initialize-window-system): Assert we're not initialized twice.
7548
7549 * w32-common-fns.el: New File.
7550 (w32-version, w32-using-nt, w32-get-clipboard-data)
7551 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7552 (w32-charset-info-alist, x-last-selected, text)
7553 (x-get-selection-value, x-selection-value): Move here.
7554
7555 * w32-fns.el: Require w32-common-fns.
7556 (w32-version, w32-using-nt, w32-get-clipboard-data)
7557 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7558 (w32-charset-info-alist, x-last-selected, text)
7559 (x-get-selection-value, x-selection-value): Move to
7560 w32-common-fns.
7561
7562 * w32-vars.el:
7563 (w32-allow-system-shell, w32-system-shells): Define only in
7564 non-cygwin case.
7565
7566 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7567
7568 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
7569 (read-passwd): Remove a few more potential sources of leaks.
7570
7571 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7572
7573 * progmodes/python.el (inferior-python-mode)
7574 (python-shell-make-comint): Fix initialization of local
7575 variables copied from parent buffer.
7576
7577 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
7578
7579 * term/ns-win.el (ns-read-file-name): Update declaration to match
7580 nsfns.m.
7581 (ns-respond-to-change-font): Change fontsize separately so we are sure
7582 it is set when font is acted upon.
7583
7584 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7585
7586 Enhancements to indentation.
7587 * progmodes/python.el (python-indent-context): Give priority to
7588 inside-string context. Make comments indentation markers.
7589 (python-indent-region): Do not mess with strings, unless it's the
7590 enclosing set of quotes.
7591
7592 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7593
7594 * window.el (internal--before-save-selected-window)
7595 (internal--after-save-selected-window): New functions extracted from
7596 save-selected-window. Make sure we return the `alist' we construct.
7597 (save-selected-window): Use them.
7598
7599 * textmodes/tex-mode.el (tex-recenter-output-buffer):
7600 Use with-selected-window.
7601
7602 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
7603 forms that define macros (bug#12593).
7604
7605 2012-10-07 Kenichi Handa <handa@gnu.org>
7606
7607 * international/mule-conf.el (compound-text-with-extensions):
7608 Add :mime-charset property as x-ctext.
7609
7610 2012-10-07 Stefan Merten <smerten@oekonux.de>
7611
7612 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7613 (rst-indent-literal-normal, rst-indent-literal-minimized)
7614 (rst-indent-comment): Correct :version tag.
7615 (rst-official-cvs-rev): Correct version string.
7616
7617 2012-10-07 Glenn Morris <rgm@gnu.org>
7618
7619 * mail/rmailmm.el (rmail-mime-process-multipart):
7620 Do not confuse a multipart message with an epilogue
7621 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
7622
7623 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7624
7625 Fix shell output retrieval and comint-prompt-regexp init.
7626 * progmodes/python.el (inferior-python-mode):
7627 (python-shell-make-comint): Fix initialization of
7628 comint-prompt-regexp from copied file local variables.
7629 (python-shell-fetched-lines): Remove var.
7630 (python-shell-output-filter-in-progress): Rename from
7631 python-shell-fetch-lines-in-progress.
7632 (python-shell-output-filter-buffer): Rename from
7633 python-shell-fetch-lines-string.
7634 (python-shell-fetch-lines-filter): Delete function.
7635 (python-shell-output-filter): New function.
7636 (python-shell-send-string-no-output): Use them.
7637
7638 2012-10-07 Glenn Morris <rgm@gnu.org>
7639
7640 * hi-lock.el (hi-lock-process-phrase):
7641 Try to make it less fragile. (Bug#7161)
7642
7643 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
7644
7645 2012-10-06 Glenn Morris <rgm@gnu.org>
7646
7647 * ehelp.el (electric-help-mode): Use help-mode rather than
7648 non-existent mode `help'.
7649 (electric-help-map): Use button-buffer-map. (Bug#10917)
7650
7651 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
7652 (reftex-create-bibtex-footer): Fix custom types.
7653
7654 * progmodes/sh-script.el (sh-indent-after-continuation):
7655 Add explicit :group.
7656
7657 * textmodes/rst.el (rst-preferred-decorations)
7658 (rst-shift-basic-offset): Clarify obsolescence versions.
7659
7660 * profiler.el (profiler): Add missing group :version tag.
7661 * avoid.el (mouse-avoidance-banish-position):
7662 * proced.el (proced-renice-command):
7663 * calc/calc.el (calc-ensure-consistent-units):
7664 * calendar/icalendar.el (icalendar-import-format-uid):
7665 * net/tramp.el (tramp-save-ad-hoc-proxies):
7666 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7667 * progmodes/flymake.el (flymake-error-bitmap)
7668 (flymake-warning-bitmap, flymake-fringe-indicator-position):
7669 * progmodes/sh-script.el (sh-indent-after-continuation):
7670 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
7671 (verilog-before-save-font-hook, verilog-after-save-font-hook):
7672 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
7673 (vhdl-array-index-record-field-in-sensitivity-list)
7674 (vhdl-indent-comment-like-next-code-line):
7675 * textmodes/reftex-vars.el (reftex-ref-style-alist)
7676 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
7677 (reftex-cite-key-separator, reftex-create-bibtex-header)
7678 (reftex-create-bibtex-footer):
7679 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7680 (rst-indent-literal-normal, rst-indent-literal-minimized)
7681 (rst-indent-comment): Add missing custom :version tags.
7682
7683 * calendar/timeclock.el (timeclock-modeline-display):
7684 Add missing obsolete alias for renamed user option.
7685
7686 * strokes.el (strokes-modeline-string):
7687 * emulation/crisp.el (crisp-mode-modeline-string):
7688 * eshell/esh-mode.el (eshell-status-in-modeline):
7689 Aliases to defcustoms must come before the defcustom.
7690
7691 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
7692 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7693 (cal-tex-cursor-week-monday): Doc fixes.
7694 (cal-tex-cursor-week2-summary): Doc fix.
7695 Rename from cal-tex-cursor-week-at-a-glance.
7696
7697 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
7698 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
7699
7700 * calendar/calendar.el (calendar-mode-map):
7701 Add cal-tex-cursor-week2-summary.
7702
7703 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
7704
7705 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
7706
7707 * subr.el (read-passwd-map): New var.
7708 (read-passwd): Use `read-string' again.
7709 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
7710
7711 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
7712
7713 * register.el (append-to-register, prepend-to-register):
7714 Deactivate mark, as does `copy-to-register' (bug#12389).
7715
7716 2012-10-06 Chong Yidong <cyd@gnu.org>
7717
7718 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
7719
7720 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
7721
7722 * international/characters.el: Fix simple mistake ((car chars) ->
7723 elt), delete duplicated code.
7724
7725 2012-10-06 Glenn Morris <rgm@gnu.org>
7726
7727 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
7728
7729 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
7730
7731 * color.el (color-hsl-to-rgb): Fix incorrect results for
7732 small and large hue values. (Bug#12559)
7733
7734 2012-10-05 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7735
7736 Enhancements to docstring formatting when filling paragraphs.
7737 * progmodes/python.el (python-fill-docstring-style): Rename from
7738 python-fill-string-style. Added new style.
7739 (python-fill-string): Use new style. Better checks for
7740 docstrings.
7741
7742 2012-10-05 Glenn Morris <rgm@gnu.org>
7743
7744 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
7745
7746 * color.el (color-name-to-rgb, color-rgb-to-hex)
7747 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
7748 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
7749 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7750 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
7751
7752 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
7753
7754 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
7755
7756 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
7757 to get the correct size across symlinks.
7758
7759 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
7760
7761 2012-10-04 Juri Linkov <juri@jurta.org>
7762
7763 * replace.el (query-replace-interactive): Declare obsolete.
7764 (query-replace-read-from): Add the last incremental search string
7765 to the list of default values accessible via M-n.
7766 (map-query-replace-regexp): Use `read-regexp'.
7767 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7768 (map-query-replace-regexp, replace-string, replace-regexp):
7769 Fix docstrings to replace mentions of `query-replace-interactive'
7770 with alternatives. (Bug#12526)
7771
7772 2012-10-04 Juri Linkov <juri@jurta.org>
7773
7774 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
7775 (dired-pop-to-buffer): Declare obsolete.
7776 (dired-mark-pop-up): Doc fix.
7777
7778 2012-10-04 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7779
7780 Allow user to set docstring style for fill-paragraph.
7781 * progmodes/python.el
7782 (python-fill-comment-function, python-fill-string-function)
7783 (python-fill-decorator-function, python-fill-paren-function):
7784 Remove :safe for defcustoms.
7785 (python-fill-string-style): New defcustom
7786 (python-fill-paragraph-function): Enhance context detection.
7787 (python-fill-string): Honor python-fill-string-style settings.
7788
7789 2012-10-04 Martin Rudalics <rudalics@gmx.at>
7790
7791 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
7792 after setting its buffer (Bug#10805).
7793
7794 2012-10-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7795
7796 Fix cornercase for string syntax.
7797 * progmodes/python.el (python-syntax-propertize-function):
7798 Simplify and enhance the regexp for unescaped quotes. Now it also
7799 matches quotes in weird situations like the single quote in
7800 "something\"'".
7801 (python-syntax-stringify): Simplify num-quotes detecting code.
7802
7803 2012-10-03 Glenn Morris <rgm@gnu.org>
7804
7805 * help-macro.el (three-step-help):
7806 Revert 2012-09-29 change. (Bug#12567)
7807
7808 2012-10-03 Martin Rudalics <rudalics@gmx.at>
7809
7810 * menu-bar.el (kill-this-buffer): Don't do anything when
7811 `menu-frame' is not alive or visible (Bug#8184).
7812
7813 * emacs-lisp/debug.el (debug): When quitting the debugger window
7814 restore current buffer (Bug#12502).
7815
7816 2012-10-02 Chong Yidong <cyd@gnu.org>
7817
7818 * progmodes/hideif.el (hif-lookup, hif-defined):
7819 Handle semantic-c-takeover-hideif.
7820
7821 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
7822
7823 Change sampling interval units from ms to ns.
7824 * profiler.el (profiler-sampling-interval): Change units
7825 from ms to ns, multiplying the default by 1000000 so that
7826 it remains 1 ms.
7827 (profiler-report-cpu-line-format): Give enough room for
7828 the maximum counters on 64-bit hosts.
7829 (profiler-report-render-calltree-1): Call them "CPU samples",
7830 not "Time (ms)", since they are not milliseconds now (and
7831 never really were).
7832
7833 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7834
7835 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
7836 Fix querying BBDB for entries without a last name (Bug#11580).
7837
7838 2012-10-02 Chong Yidong <cyd@gnu.org>
7839
7840 * emacs-lisp/eieio.el: Restore Version header.
7841
7842 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7843
7844 * vc/diff-mode.el (diff--auto-refine-data): New var.
7845 (diff-hunk): Use it to delay refinement.
7846 (diff-mode): Remove overlays when we turn off font-lock.
7847
7848 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
7849 (table-initialize-table-fixed-width-mode)
7850 (table-set-table-fixed-width-mode): Remove functions.
7851 (table-command-list): Move initialization into declaration.
7852 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
7853 (table-with-cache-buffer): Use `declare'.
7854 (table-span-cell): Simplify via CSE.
7855 (table-fixed-width-mode): Use define-minor-mode.
7856 (table-call-interactively, table-funcall, table-apply): Remove.
7857 (table-function): New function, to replace them.
7858
7859 * bookmark.el (bookmark-search-pattern): Remove var.
7860 (bookmark-read-search-input): Remove function.
7861 (bookmark-bmenu-search): Reimplement using a minibuffer.
7862
7863 * faces.el (modeline): Remove obsolete face name.
7864
7865 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
7866 and give a non-nil default value.
7867 (add-change-log-entry): Simplify accordingly.
7868
7869 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
7870
7871 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
7872 (vc-git-log-edit-toggle-amend): New function.
7873 (vc-git-log-edit-toggle-signoff): New function.
7874 (vc-git-log-edit-mode): New major mode.
7875 (vc-git-log-edit-mode-map): Keymap for it.
7876 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
7877
7878 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
7879 header names.
7880 (log-edit-toggle-header): New function.
7881 (log-edit-extract-headers): Accept function values in HEADERS alist.
7882
7883 2012-10-01 David Engster <deng@randomsample.de>
7884
7885 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
7886 from symbol property and change message to be more consistent with
7887 Emacs proper.
7888 (eieio-describe-generic): Add filename for each implementation.
7889 Fix indices for generic and normal methods.
7890 (eieio-method-def, eieio-class-def): New buttons.
7891 (eieio-help-find-method-definition)
7892 (eieio-help-find-class-definition): New functions.
7893 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
7894 class, constructor and method definitions.
7895
7896 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
7897 information in symbol property.
7898 (scoped-class): Remove.
7899 (eieio-slot-name-index, call-next-method): Check if it is bound.
7900
7901 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
7902
7903 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
7904 (eieio-custom-mode): New major mode.
7905 (eieio-customize-object): Use it.
7906
7907 2012-10-01 Eric Ludlam <zappo@gnu.org>
7908
7909 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
7910 specifying the expected class, and whether subclassing is allowed.
7911 (eieio-persistent-convert-list-to-object):
7912 (eieio-persistent-validate/fix-slot-value)
7913 (eieio-persistent-slot-type-is-class-p): New functions.
7914 (eieio-named::slot-missing): Doc fix.
7915
7916 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
7917 Stop using unused publd variable.
7918
7919 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7920 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
7921 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
7922 (eieio-speedbar-handle-click): Do not specify a class for the
7923 method. Fixes method invocation order problems with EDE.
7924
7925 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7926
7927 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
7928 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
7929
7930 2012-10-01 Karl Fogel <kfogel@red-bean.com>
7931
7932 * bookmark.el (bookmark-version-control): Give tags in the
7933 :type choices (Bug#12309), and improve doc string.
7934 (bookmark-write-file): Bind `print-circle' to `t' to allow
7935 circular custom bookmark types. (Bug#12503)
7936
7937 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
7938
7939 Revert the FOLLOW-SYMLINKS change for file-attributes.
7940 * files.el (remote-file-name-inhibit-cache, after-find-file):
7941 * time.el (display-time-file-nonempty-p): Undo last change.
7942
7943 * profiler.el (profiler-sampling-interval): Change default back to 1.
7944 See Stefan Monnier in
7945 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
7946
7947 2012-10-01 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7948
7949 Shell output catching a la gud-gdb.
7950 * progmodes/python.el (python-shell-fetch-lines-in-progress)
7951 (python-shell-fetch-lines-string, python-shell-fetched-lines):
7952 New Vars.
7953 (python-shell-fetch-lines-filter): New function.
7954 (python-shell-send-string-no-output): Use them.
7955
7956 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
7957
7958 * profiler.el (profiler-sampling-interval): Rename from
7959 profiler-sample-interval.
7960 (profiler-sampling-interval): Default to 10.
7961 (profiler-find-profile): New command (was profiler-find-log).
7962 (profiler-find-profile-other-window): New command.
7963 (profiler-find-profile-other-frame): New command.
7964 (profiler-profile): Introduce API-level data structure.
7965
7966 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
7967
7968 file-attributes has a new optional arg FOLLOW-SYMLINKS.
7969 * files.el (remote-file-name-inhibit-cache):
7970 * time.el (display-time-file-nonempty-p): Use it.
7971 * files.el (after-find-file): Don't chase links before calling
7972 file-exists-p, as file-exists-p already does the right thing.
7973
7974 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
7975
7976 Merge from standalone RefTeX repository.
7977
7978 The following ChangeLog entries are shortened versions of the
7979 original ones with file paths adapted. A not so strongly edited
7980 version of the original ChangeLog can be found in the commit log.
7981
7982 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
7983 (reftex-arg-cite): Use `reftex-cite-key-separator'.
7984 Correctly handle new value type returned by `reftex-citation'.
7985
7986 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
7987 that entries with whitespace at various places are found.
7988 Doc fix. Include entries that are cross-referenced from cited entries.
7989 Include @String definitions in the resulting bib file. Add header
7990 and footer defined in `reftex-create-bibtex-header' and
7991 `reftex-create-bibtex-footer'.
7992 (reftex-do-citation): Make it possible again to insert
7993 non-existent entries. Save match data when asking for optional
7994 arguments. Return all keys, not just the first one.
7995 (reftex-all-used-citation-keys): Fix regexp to correctly extract
7996 all citations in the same line.
7997 (reftex-parse-bibtex-entry): Accept additional optional argument
7998 `raw' and keep quotes or braces if it is non-nil. Match fields
7999 containing hyphens besides word constituents.
8000 (reftex-get-string-refs): New function.
8001 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
8002 and ask if it should be reread in case it did.
8003 (reftex-pop-to-bibtex-entry)
8004 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
8005 entries with spaces or tabs in front of arguments.
8006 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8007 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
8008 Match entries containing numbers and symbol constituents.
8009 (reftex-do-citation, reftex-figure-out-cite-format):
8010 Use `reftex-cite-key-separator'.
8011
8012 * textmodes/reftex-dcr.el: Move provide statement to end of file.
8013 (reftex-mouse-view-crossref): Explain why point is set.
8014
8015 * textmodes/reftex-global.el: Whitespace changes.
8016
8017 * textmodes/reftex-index.el: Move provide statement to end of
8018 file.
8019 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
8020 (reftex-index-visit-phrases-buffer): Set marker when visiting
8021 buffer. This allows for returning from the phrases file to the
8022 file one was just editing instead of the file where the last
8023 phrases was added from.
8024 (reftex-index-phrases-syntax-table): New variable. Give ?\"
8025 punctuation syntax as it usually is not used as string quote in
8026 TeX-related modes and may occur unmatched. The change also
8027 prevents fontification of quoted content.
8028 (reftex-index-phrases-mode): Use it.
8029
8030 * textmodes/reftex-parse.el (reftex-parse-from-file):
8031 Move backward one char if a `\' was matched after a section macro.
8032 (reftex-parse-from-file): Use beginning of match instead of end as
8033 bound.
8034
8035 * textmodes/reftex-ref.el: Adapt creation of
8036 `reftex-<package>-<macro>' functions to new structure of
8037 `reftex-ref-style-alist'.
8038 (reftex-reference): Use `reftex-ref-style-list' function.
8039 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
8040 reference macro if `reftex-ref-macro-prompt' is non-nil.
8041 (reftex-reference): Pass refstyle to `reftex-format-special'.
8042 Determine reference macro by looking at
8043 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
8044 Use only one special format function.
8045 (reftex-varioref-vref, reftex-fancyref-fref)
8046 (reftex-fancyref-Fref): Remove definitions. The functions are now
8047 generated from `reftex-ref-style-alist'.
8048 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
8049 Remove.
8050 (reftex-format-special): New function.
8051
8052 * textmodes/reftex-sel.el
8053 (reftex-select-cycle-ref-style-internal): Adapt to new structure
8054 of `reftex-ref-style-alist'. Remove code for testing macro type.
8055 (reftex-select-toggle-varioref)
8056 (reftex-select-toggle-fancyref): Remove.
8057 (reftex-select-cycle-ref-style-internal)
8058 (reftex-select-cycle-ref-style-forward)
8059 (reftex-select-cycle-ref-style-backward): New functions.
8060 (reftex-select-label-map): Use `v' and `V' for general cycling
8061 through reference styles. Add `p' for switching between number
8062 and page reference types.
8063
8064 * textmodes/reftex-toc.el (reftex-re-enlarge):
8065 Call `enlarge-window' only if there is something to do because in Emacs
8066 the horizontal version throws an error even if the parameter is 0.
8067
8068 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
8069 (reftex-plug-into-AUCTeX): Doc fix.
8070 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
8071 string. Adapt to new name.
8072 (reftex-ref-style-alist): Change structure so that it is not
8073 possible to use multiple different package names within a style.
8074 Remove the symbols for symbols for macro type distinction.
8075 Add characters for macro selection.
8076 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
8077 (reftex-create-bibtex-footer): New variables.
8078 (reftex-format-ref-function): Mention third argument of special
8079 format function.
8080 (reftex-ref-style-alist, reftex-ref-style-default-list):
8081 New variables.
8082 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
8083 to new implementation. Mark as obsolete. Add compatibility code
8084 for honoring the variable values in case they are set.
8085 (reftex-cite-format-builtin, reftex-bibliography-commands):
8086 Add support for ConTeXt.
8087 (reftex-format-ref-function, reftex-format-cite-function):
8088 Fix custom type.
8089 (reftex-cite-key-separator): New variable.
8090
8091 * textmodes/reftex.el (reftex-syntax-table-for-bib)
8092 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
8093 `reftex-syntax-table' because parens have to retain their paren
8094 syntax in order for parsing of BibTeX entries like @book(...) to
8095 work.
8096 (reftex-in-comment): Do not error out if `comment-start-skip' is
8097 not set. Deal correctly with escaped comment characters.
8098 (reftex-tie-multifile-symbols): Add doc string.
8099 Initialize `reftex-ref-style-list'.
8100 (reftex-untie-multifile-symbols): Add doc string.
8101 (reftex-add-index-macros): Doc fix.
8102 (reftex-ref-style-activate, reftex-ref-style-toggle)
8103 (reftex-ref-style-list): New functions.
8104 (reftex-mode-menu): Use them. Adapt to new structure of
8105 `reftex-ref-style-alist'.
8106 (reftex-select-with-char): Kill the RefTeX Select buffer when
8107 done.
8108 (reftex-remove-if): New function.
8109 (reftex-erase-all-selection-and-index-buffers)
8110 (reftex-mode-menu): Reference styles are now computed from
8111 `reftex-ref-style-alist'. Fix typo.
8112 (reftex-report-bug): New function.
8113 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
8114 algorithms with O(n log n). Introduce optional argument SORT (not
8115 yet used).
8116
8117 2012-09-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8118
8119 Enhancements for triple-quote string syntax.
8120 * progmodes/python.el (python-syntax-propertize-function):
8121 Match both quote cases in one regexp.
8122 (python-syntax-stringify): Handle matches properly.
8123
8124 2012-09-30 Juri Linkov <juri@jurta.org>
8125
8126 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
8127 to nil around the call to `insert' to prevent
8128 directory time modification by lock_file. (Bug#2295)
8129 * tar-mode.el (tar-summarize-buffer): Idem.
8130
8131 2012-09-30 Juri Linkov <juri@jurta.org>
8132
8133 * facemenu.el (list-colors-sort): Add option "Luminance".
8134 (list-colors-sort-key): Implement it.
8135
8136 * vc/diff-mode.el (diff-refine-removed):
8137 * vc/ediff-init.el (ediff-fine-diff-A):
8138 * vc/smerge-mode.el (smerge-refined-removed):
8139 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
8140
8141 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
8142
8143 * term/ns-win.el (x-file-dialog): New function.
8144
8145 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
8146
8147 * ido.el (ido-max-directory-size): Default to nil; the current
8148 default is small for POSIX systems, and impractical on Windows 7
8149 now that lstat returns directory sizes for NTFS.
8150
8151 2012-09-30 Martin Rudalics <rudalics@gmx.at>
8152
8153 In buffer display functions handle window-height/window-width
8154 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
8155 * window.el (window--display-buffer): New argument ALIST.
8156 Obey window-height and window-width alist entries.
8157 (window--try-to-split-window): New argument ALIST.
8158 Bind window-combination-limit to t when the window's size shall be
8159 changed and window-combination-limit equals `window-size'.
8160 (display-buffer-in-atom-window)
8161 (display-buffer-in-major-side-window)
8162 (display-buffer-in-side-window, display-buffer-same-window)
8163 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8164 (display-buffer-pop-up-window, display-buffer-below-selected)
8165 (display-buffer-at-bottom, display-buffer-in-previous-window)
8166 (display-buffer-use-some-window): Adjust all callers of
8167 window--display-buffer and window--try-to-split-window.
8168 (fit-frame-to-buffer): New option.
8169 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
8170 is non-nil.
8171 (display-buffer-in-major-side-window): Evaluate window-height /
8172 window-width alist entries.
8173
8174 * help.el (temp-buffer-resize-frames)
8175 (temp-buffer-resize-regexps): Remove options.
8176 (temp-buffer-resize-mode): Adjust doc-string.
8177 (resize-temp-buffer-window): Don't consult
8178 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
8179 temp-buffer-resize-frames.
8180
8181 * dired.el (dired-mark-pop-up):
8182 Call display-buffer-below-selected with a fit-window-to-buffer alist
8183 entry.
8184
8185 2012-09-30 Chong Yidong <cyd@gnu.org>
8186
8187 * server.el (server-host): Document the security implications.
8188 (server-auth-key): Doc fix.
8189
8190 * startup.el (initial-buffer-choice): Doc fix.
8191
8192 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
8193
8194 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
8195 restriction change.
8196
8197 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
8198
8199 * help-fns.el (help-fns--obsolete): Fix last change.
8200
8201 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
8202
8203 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
8204 (minor-mode-map-alist): Remove redundant code.
8205
8206 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
8207 visited in a buffer.
8208 (cvs-insert-visited-file): New function.
8209 (find-file-hook): Use it.
8210
8211 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
8212
8213 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
8214 chose face.
8215 (log-edit-empty-buffer-p): Don't require a space after a header.
8216
8217 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
8218
8219 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
8220
8221 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
8222 a proper minor-mode.
8223
8224 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
8225
8226 2012-09-29 Glenn Morris <rgm@gnu.org>
8227
8228 * winner.el (winner-mode): Remove variable (let define-minor-mode
8229 handle it).
8230 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
8231 Doc fixes.
8232 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
8233 (winner-mode): Use define-minor-mode.
8234
8235 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
8236 the full definition in loaddefs, rather than duplicating it.
8237
8238 * help-macro.el (three-step-help): No need to autoload defcustom.
8239
8240 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
8241 (inferior-lisp-program, inferior-lisp-load-command)
8242 (inferior-lisp-prompt, inferior-lisp-mode-hook):
8243 No need to autoload defcustoms.
8244
8245 * hippie-exp.el (hippie-expand-try-functions-list)
8246 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
8247 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
8248 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
8249 (hippie-expand-only-buffers): No need to autoload defcustoms.
8250 * progmodes/vhdl-mode.el (vhdl-line-expand):
8251 Explicitly load hippie-exp, so it does not get autoloaded
8252 while hippie-expand-try-functions-list is let-bound.
8253
8254 2012-09-28 Glenn Morris <rgm@gnu.org>
8255
8256 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
8257
8258 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
8259 Only "cl.el" counts as cl these days.
8260
8261 2012-09-28 Juri Linkov <juri@jurta.org>
8262
8263 Display archive errors in the echo area instead of inserting
8264 to the file buffer.
8265
8266 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
8267 to STDERR-TEST that can be a regexp matching a successful output.
8268 Create a temporary file and redirect stderr to it. Search for
8269 STDERR-TEST in the stderr output and display it in the echo area
8270 if no match is found.
8271 (archive-extract-by-file): New function like
8272 `archive-extract-by-stdout' but extracting archives to files
8273 and looking for successful matches in stdout. Function body is
8274 mostly copied from `archive-rar-extract'.
8275 (archive-rar-extract): Use `archive-extract-by-file'.
8276 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
8277
8278 2012-09-28 Leo Liu <sdl.web@gmail.com>
8279
8280 * pcomplete.el (pcomplete-show-completions):
8281 Use minibuffer-message to make pcomplete usable in minibuffer.
8282
8283 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
8284
8285 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8286
8287 * type-break.el: Use lexical-binding.
8288 (type-break-mode): Use define-minor-mode.
8289
8290 * emacs-lisp/pcase.el (pcase--mark-used): New.
8291 (pcase--u1): Use it (bug#12512).
8292
8293 * custom.el (load-theme): Set buffer-file-name so the load is recorded
8294 in load-history with the right file name.
8295
8296 2012-09-28 Tassilo Horn <tsdh@gnu.org>
8297
8298 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
8299 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
8300 (doc-view-get-bounding-box): Make bounding box slicing work for
8301 ODF and DVI documents.
8302
8303 2012-09-28 Glenn Morris <rgm@gnu.org>
8304
8305 * type-break.el (type-break-mode, type-break-interval)
8306 (type-break-good-rest-interval, type-break-keystroke-threshold):
8307 No need to autoload.
8308 (type-break-good-rest-interval, type-break-keystroke-threshold):
8309 Add :set-after.
8310
8311 2012-09-28 Chong Yidong <cyd@gnu.org>
8312
8313 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
8314 Add :version tag.
8315
8316 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8317
8318 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
8319
8320 2012-09-27 Glenn Morris <rgm@gnu.org>
8321
8322 * faces.el (x-display-name): Declare (for without-x builds).
8323
8324 * linum.el (linum-format): Don't autoload it. Improve :type.
8325
8326 * progmodes/tcl.el: Don't require outline when compiling.
8327 (outline-regexp, outline-level): Declare.
8328 * textmodes/sgml-mode.el: Don't require outline when compiling.
8329 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
8330
8331 * term.el (term-ansi-reset):
8332 Try setting term-ansi-face-already-done to nil. (Bug#11785)
8333
8334 * vc/vc.el (vc-next-action): Only gripe about committing read-only
8335 files for RCS and SCCS. (Bug#9781)
8336
8337 2012-09-27 Chong Yidong <cyd@gnu.org>
8338
8339 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
8340 change; value should be t.
8341
8342 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8343
8344 * image-mode.el: Use lexical-binding.
8345 (image-mode-winprops): Use t to stand for the window of
8346 a buffer that's not displayed.
8347 * doc-view.el (doc-view-new-window-function): Handle the new
8348 t in winprops.
8349 (doc-view-enlarge): Make it a real nop if the size is not changed.
8350 (doc-view-display): Handle the case where the buffer is not (yet?)
8351 displayed in any window.
8352 (doc-view-saved-settings): New var.
8353 (doc-view-mode): Use it.
8354 (doc-view-fallback-mode): Set it.
8355
8356 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
8357 Set lexical-binding.
8358 (minibuffer-eldef-shorten-default): New var.
8359 (minibuffer-default-in-prompt-regexps): Use it for new default.
8360 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
8361
8362 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8363
8364 * international/uni-bidi.el:
8365 * international/uni-category.el:
8366 * international/uni-name.el:
8367 * international/uni-numeric.el: Regenerate.
8368
8369 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
8370 Stefan Monnier <monnier@iro.umontreal.ca>
8371
8372 * profiler.el: New file.
8373
8374 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
8375
8376 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
8377 (testcover-reinstrument): Simplify with CSE.
8378
8379 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8380
8381 * window.el (temp-buffer-window-setup): Fix typo in docstring.
8382
8383 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
8384
8385 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
8386 (verilog-auto-input, verilog-auto-insert-lisp)
8387 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
8388 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
8389 (verilog-auto-unused, verilog-auto-wire)
8390 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
8391 newline. Reported by Andrew Jones.
8392 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
8393 Reported by Brad Dobbie.
8394 (verilog-batch-delete-trailing-whitespace):
8395 Create verilog-batch-delete-trailing-whitespace.
8396 Reported by Brad Dobbie.
8397 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
8398 parameters from another module. Reported by Dan Katz.
8399 (verilog-auto, verilog-auto-assign-modport)
8400 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
8401 AUTOINOUTMODPORT for UVM interface module shell generation.
8402 Reported by Brad Dobbie.
8403 (verilog-auto-inst-interfaced-ports): Make default nil, as more
8404 standard behavior.
8405 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
8406 Reported by Matt Martin.
8407
8408 2012-09-25 Martin Rudalics <rudalics@gmx.at>
8409
8410 * window.el (window--resize-child-windows): When resizing child
8411 windows proportionally, process them in reverse order to
8412 preserve the "when splitting a window the new one gets the odd
8413 line" behavior.
8414 (window--resize-root-window-vertically): When resizing the
8415 minibuffer window try to affect only windows at the bottom of the
8416 frame. (Bug#12419)
8417
8418 2012-09-25 Chong Yidong <cyd@gnu.org>
8419
8420 * subr.el (declare): Doc fix.
8421
8422 * help-fns.el (help-fns--obsolete): Handle macros properly.
8423
8424 2012-09-25 Chong Yidong <cyd@gnu.org>
8425
8426 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
8427 this function obsolete.
8428
8429 * calendar/cal-x.el (calendar-two-frame-setup)
8430 (calendar-only-one-frame-setup, calendar-one-frame-setup):
8431 * calendar/calendar.el (american-calendar, european-calendar)
8432 (calendar-for-loop):
8433 * comint.el (comint-dynamic-simple-complete)
8434 (comint-dynamic-complete-as-filename, comint-unquote-filename):
8435 * desktop.el (desktop-load-default):
8436 * dired-x.el (dired-omit-here-always)
8437 (dired-hack-local-variables, dired-default-directory):
8438 * emacs-lisp/derived.el (derived-mode-class):
8439 * emacs-lisp/timer.el (timer-set-time-with-usecs):
8440 * emacs-lock.el (toggle-emacs-lock):
8441 * epa.el (epa-display-verify-result):
8442 * epg.el (epg-sign-keys, epg-start-sign-keys)
8443 (epg-passphrase-callback-function):
8444 * eshell/esh-util.el (eshell-for):
8445 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
8446 (eshell-add-to-window-buffer-names):
8447 * files.el (locate-file-completion):
8448 * imenu.el (imenu-example--create-c-index)
8449 (imenu-example--create-lisp-index)
8450 (imenu-example--lisp-extract-index-name)
8451 (imenu-example--name-and-position):
8452 * international/mule-cmds.el (princ-list):
8453 * international/mule-diag.el (decode-codepage-char):
8454 * international/mule-util.el (detect-coding-with-priority):
8455 * iswitchb.el (iswitchb-read-buffer):
8456 * mail/mailalias.el (mail-complete):
8457 * mail/sendmail.el (mail-sent-via):
8458 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
8459 (mouse-major-mode-menu):
8460 * password-cache.el (password-read-and-add):
8461 * pcomplete.el (pcomplete-parse-comint-arguments):
8462 * progmodes/sh-script.el (sh-maybe-here-document):
8463 * replace.el (query-replace-regexp-eval):
8464 * savehist.el (savehist-load):
8465 * simple.el (choose-completion-delete-max-match):
8466 * term.el (term-dynamic-simple-complete):
8467 * vc/ediff-init.el (ediff-check-version):
8468 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
8469 * vc/vc.el (vc-diff-switches-list):
8470 * view.el (view-return-to-alist-update): Likewise.
8471
8472 * subr.el (eval-next-after-load, makehash, insert-string)
8473 (assoc-ignore-representation, assoc-ignore-case): Use declare to
8474 mark obsolete.
8475 (mode-line-inverse-video): Variable deleted.
8476
8477 * international/mule-util.el (string-to-sequence): Remove.
8478
8479 * calendar/calendar.el (calendar-version):
8480 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
8481 (icalendar-convert-diary-to-ical):
8482 * cus-edit.el (custom-mode):
8483 * ansi-color.el (ansi-color-unfontify-region):
8484 * international/latin1-disp.el (latin1-char-displayable-p):
8485 * progmodes/cwarn.el (turn-on-cwarn-mode):
8486 * progmodes/which-func.el (which-func-update-1):
8487 Use define-obsolete-function-alias.
8488
8489 * net/newst-backend.el (newsticker-cache-filename):
8490 * net/newst-treeview.el (newsticker-groups-filename):
8491 Fix incorrect obsolescence declaration.
8492
8493 * allout.el (allout-passphrase-hint-string): Likewise.
8494 (allout-init): Use a declare form to mark obsolete.
8495
8496 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
8497 this applies to functions.
8498
8499 * iswitchb.el (iswitchb-read-buffer): Move code of
8500 iswitchb-define-mode-map here, and delete that obsolete function.
8501
8502 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
8503 font-lock-reference-face.
8504
8505 2012-09-25 Glenn Morris <rgm@gnu.org>
8506
8507 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
8508 Doc fixes.
8509
8510 * eshell/em-term.el (eshell-term-name):
8511 Default to term-term-name. (Bug#12485)
8512
8513 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8514
8515 * progmodes/python.el (python-shell-send-buffer): Better handling
8516 of "if __name__ == '__main__':" conditionals when sending the buffer.
8517
8518 2012-09-24 Glenn Morris <rgm@gnu.org>
8519
8520 * eshell/esh-cmd.el (eshell-find-alias-function):
8521 Tighten up file-name regexp. (Bug#12499)
8522
8523 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8524
8525 Enhancements for triple-quote string syntax.
8526 * progmodes/python.el (python-quote-syntax): Remove.
8527 (python-syntax-propertize-function): New value.
8528 (python-syntax-count-quotes, python-syntax-stringify):
8529 New functions.
8530
8531 2012-09-24 Chong Yidong <cyd@gnu.org>
8532
8533 * mail/supercite.el (sc-version): Remove obsolete function.
8534 (sc-describe): Don't mark as obsolete, since it is bound.
8535 (sc-submit-bug-report): Remove.
8536
8537 * vc/log-edit.el (cvs-changelog-full-paragraphs)
8538 (cvs-commit-buffer-require-final-newline): Remove.
8539 (log-edit-require-final-newline)
8540 (log-edit-changelog-full-paragraphs): Default to t.
8541
8542 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
8543 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
8544 * vc/vc.el (vc-checkout-carefully): Likewise.
8545
8546 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
8547 (emerge-version): Remove.
8548
8549 * progmodes/compile.el (compile-internal): Remove.
8550 (compilation-parse-errors-function): Fix typo.
8551
8552 * international/mule.el (set-char-table-default): Remove.
8553 (set-coding-priority, make-coding-system, generic-char-p)
8554 (charset-list, charset-bytes, charset-id): Use declare to mark
8555 functions as obsolete.
8556
8557 * vc/pcvs-defs.el (cvs-buffer-name-alist)
8558 (cvs-invert-ignore-marks): Remove references to obsolete vars.
8559 * vc/vc-hooks.el (vc-default-registered): Don't use
8560 vc-master-templates.
8561
8562 * font-lock.el (font-lock-reference-face):
8563 Use define-obsolete-variable-alias.
8564
8565 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
8566 * calendar/calendar.el (calendar-font-lock-keywords):
8567 * calendar/diary-lib.el (diary-font-lock-keywords)
8568 (diary-fancy-font-lock-keywords):
8569 * textmodes/reftex-sel.el (reftex-insert-docstruct):
8570 * textmodes/reftex-index.el (reftex-insert-index):
8571 * textmodes/reftex-cite.el (reftex-format-bib-entry):
8572 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8573 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
8574 * progmodes/prolog.el (prolog-font-lock-keywords):
8575 * progmodes/idlwave.el (idlwave-idl-keywords):
8576 * progmodes/ada-mode.el (ada-font-lock-keywords):
8577 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
8578
8579 2012-09-24 Glenn Morris <rgm@gnu.org>
8580
8581 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
8582
8583 2012-09-23 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8584
8585 * progmodes/python.el (python-indent-line): More consistent cursor
8586 movement behavior.
8587
8588 2012-09-23 Stefan Merten <smerten@oekonux.de>
8589
8590 * textmodes/rst.el: Fix compiler warning.
8591
8592 2012-09-23 Roland Winkler <winkler@gnu.org>
8593
8594 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
8595 Transcribe also LaTeX hyphenation.
8596 (bibtex-reformat): Bug fix. Do not quote twice the elements of
8597 bibtex-reformat-previous-options.
8598
8599 2012-09-23 Roland Winkler <winkler@gnu.org>
8600
8601 * proced.el (proced-renice-command): New variable.
8602 (proced-marked-processes): New function.
8603 (proced-with-processes-buffer): New macro.
8604 (proced-send-signal): Use them.
8605 (proced-renice): New command bound to r.
8606
8607 2012-09-23 Roland Winkler <winkler@gnu.org>
8608
8609 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
8610 ibuffer-saved-filter-groups has one element, shortcut the call of
8611 completing-read. (Bug#12331)
8612
8613 2012-09-23 Chong Yidong <cyd@gnu.org>
8614
8615 * bindings.el (mode-line-toggle-read-only):
8616 * bs.el (bs-toggle-readonly):
8617 * buff-menu.el (Buffer-menu-toggle-read-only):
8618 * dired.el (dired-toggle-read-only):
8619 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
8620
8621 2012-09-23 Chong Yidong <cyd@gnu.org>
8622
8623 * image.el (image-type-available-p): Adapt to init-image-library
8624 argument changes.
8625
8626 2012-09-22 Juri Linkov <juri@jurta.org>
8627
8628 * dired.el (dired-mode-map): Add [remap read-only-mode] for
8629 `dired-toggle-read-only'. (Bug#12462)
8630
8631 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8632
8633 * subr.el (temp-output-buffer-show): New function.
8634 (with-output-to-temp-buffer): Call temp-output-buffer-show
8635 instead of internal-temp-output-buffer-show.
8636
8637 2012-09-22 Chong Yidong <cyd@gnu.org>
8638
8639 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
8640 (Bug#12462).
8641
8642 * repeat.el (repeat): Doc fix (Bug#12348).
8643
8644 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
8645 (Bug#10909).
8646
8647 * simple.el (shell-command-on-region): Doc fix.
8648 (read-only-mode): Doc fix.
8649
8650 2012-09-22 Eli Zaretskii <eliz@gnu.org>
8651
8652 * emacs-lisp/timer.el (run-with-idle-timer)
8653 (timer-activate-when-idle): Warn against reinvoking an idle timer
8654 from within its own timer action. (Bug#12447)
8655
8656 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8657
8658 * cus-start.el (window-combination-limit): Add new optional
8659 values.
8660 * window.el (temp-buffer-window-show)
8661 (window--try-to-split-window): Handle new values of
8662 window-combination-limit (Bug#1806).
8663 (split-window): Test window-combination-limit for t instead of
8664 non-nil.
8665 (display-buffer-at-bottom): New buffer display action function.
8666 * help.el (temp-buffer-resize-regexps): New option.
8667 (temp-buffer-resize-mode): Rewrite doc-string.
8668 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
8669 Don't resize reused window. Suggested by Glenn Morris.
8670
8671 2012-09-22 Stefan Merten <smerten@oekonux.de>
8672
8673 * textmodes/rst.el: Revamp section title faces.
8674 (rst-official-version)
8675 (rst-package-emacs-version-alist): Sync with official version
8676 V1.4.0.
8677 (rst-faces-defaults, rst-set-level-default)
8678 (rst-level-face-max, rst-level-face-base-color)
8679 (rst-level-face-base-light, rst-level-face-format-light)
8680 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
8681 (rst-adornment-faces-alist): Match new setup.
8682 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
8683 (rst-level-5, rst-level-6): New faces.
8684
8685 2012-09-22 Chong Yidong <cyd@gnu.org>
8686
8687 * simple.el (undo): Handle indirect buffers (Bug#8207).
8688
8689 2012-09-21 Leo Liu <sdl.web@gmail.com>
8690
8691 IDO: Disable match re-ordering for buffer switching.
8692 * ido.el (ido-buffer-disable-smart-matches): New variable.
8693 (ido-set-matches-1): Use it. (Bug#2042)
8694
8695 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
8696
8697 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8698 Fix 2011-05-17 change. (Bug#12418)
8699
8700 2012-09-21 Leo Liu <sdl.web@gmail.com>
8701
8702 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
8703
8704 2012-09-21 Glenn Morris <rgm@gnu.org>
8705
8706 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
8707 Be more robust about locating simple.el.
8708
8709 2012-09-21 Glenn Morris <rgm@gnu.org>
8710
8711 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
8712
8713 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
8714
8715 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
8716
8717 2012-09-20 Juri Linkov <juri@jurta.org>
8718
8719 * replace.el (query-replace-read-from): Use `read-regexp' instead
8720 of `read-from-minibuffer' when `regexp-flag' is non-nil.
8721 (occur-read-primary-args): Use `read-regexp' instead of
8722 `read-string'.
8723 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
8724 `read-from-minibuffer'.
8725 * isearch.el (isearch-occur): Use `read-regexp' instead of
8726 `read-string'.
8727 * dired.el (dired-read-regexp): Use `read-regexp' instead of
8728 `read-from-minibuffer'.
8729 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
8730 of `read-string'. (Bug#7567)
8731
8732 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
8733 and allow accepting a list of strings prepended to a list of
8734 standard default values. Doc fix. (Bug#12321)
8735
8736 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
8737
8738 * replace.el (read-regexp): Don't add ": " when PROMPT already
8739 ends with a colon and space. (Bug#12321)
8740
8741 2012-09-20 Tassilo Horn <tsdh@gnu.org>
8742
8743 * doc-view.el (doc-view-display): Better fix for the cl-assertion
8744 error.
8745
8746 2012-09-20 Stefan Merten <smerten@oekonux.de>
8747
8748 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
8749 Fixes feature request bug#11711.
8750 (rst-mode): Create `imenu-create-index-function'.
8751 (rst-get-stripped-line): Delete after refactoring.
8752 (rst-section-tree, rst-section-tree-rec)
8753 (rst-section-tree-point): Refactor and document properly.
8754 (rst-imenu-find-adornments-for-position)
8755 (rst-imenu-convert-cell, rst-imenu-create-index):
8756 New function.
8757
8758 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8759
8760 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
8761 (macroexp--expand-all): Use it.
8762 (macroexp--funcall-and-return): Remove by folding it into its sole
8763 caller (macroexp--warn-and-return).
8764 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
8765 Use macroexp--obsolete-warning.
8766
8767 * calc/calc.el: Fix last change by removing the whole chunk, since it
8768 was only needed back when Calc was not bundled.
8769
8770 2012-09-20 Martin Rudalics <rudalics@gmx.at>
8771
8772 * emacs-lisp/debug.el (debug): Restore assignment to
8773 debugger-old-buffer removed on 2012-09-08.
8774
8775 2012-09-20 Juri Linkov <juri@jurta.org>
8776
8777 * dired-aux.el (dired-diff): Remove (require 'diff) since
8778 `diff-latest-backup-file' is now autoloaded.
8779
8780 2012-09-20 Chong Yidong <cyd@gnu.org>
8781
8782 * vc/diff.el (diff-latest-backup-file): Autoload.
8783
8784 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8785
8786 * calc/calc.el: Remove redundant autoload shape check.
8787 (sel-mode): Don't defvar.
8788 (calc-get-stack-element): Add `sel-mode' arg instead.
8789 (calc-top, calc-top-list): Pass it this additional argument.
8790 * calc/calc-store.el (calc-store-map):
8791 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
8792 (calc-map-equation, calc-outer-product, calc-inner-product):
8793 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
8794
8795 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
8796
8797 2012-09-19 Juri Linkov <juri@jurta.org>
8798
8799 * dired-aux.el (dired-diff): Add (require 'diff) because
8800 `diff-latest-backup-file' is not autoloaded.
8801 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
8802 of `dired-get-filename' to t to not report error when there is
8803 no default file on the current line.
8804
8805 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8806
8807 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
8808 macroexp--eval-if-compile.
8809 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
8810 (macroexp--expand-all): Use them (bug#12371).
8811
8812 * doc-view.el (doc-view-guess-paper-size)
8813 (doc-view-scale-bounding-box): Fix unbound `caddr'.
8814
8815 2012-09-19 Tassilo Horn <tsdh@gnu.org>
8816
8817 New feature: set optimal slice from BoundingBox information.
8818 * doc-view.el (doc-view-mode-map): Add keybinding.
8819 (doc-view-menu): Add menu entry.
8820 (doc-view-set-slice): Adapt docstring.
8821 (doc-view-get-bounding-box, doc-view-guess-paper-size)
8822 (doc-view-scale-bounding-box)
8823 (doc-view-set-slice-from-bounding-box): New functions.
8824 (doc-view-paper-sizes): New defvar.
8825
8826 2012-09-19 Glenn Morris <rgm@gnu.org>
8827
8828 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
8829 (byte-compile-log-warning): Autoload. (Bug#12371)
8830
8831 * calendar/calendar.el (calendar-american-month-header)
8832 (calendar-european-month-header, calendar-iso-month-header)
8833 (calendar-month-header): New options.
8834 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
8835 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
8836
8837 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
8838
8839 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
8840
8841 2012-09-18 Juri Linkov <juri@jurta.org>
8842
8843 * dired-aux.el (dired-diff): Restore original functionality of
8844 getting the default value, but keep new feature of using the
8845 latest existing backup file (`diff-latest-backup-file').
8846
8847 2012-09-18 Juri Linkov <juri@jurta.org>
8848
8849 * dired.el (dired-mark): If the region is active in Transient Mark
8850 mode, mark all files in the active region. Doc fix.
8851 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
8852 Doc fix. (Bug#10624)
8853
8854 2012-09-18 Juri Linkov <juri@jurta.org>
8855
8856 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
8857 attributes for M-n are pulled from the file at point.
8858 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
8859 Suggested by Drew Adams. (Bug#10624)
8860
8861 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
8862
8863 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
8864 whitespace after "end".
8865 (ruby-do-end-to-brace): Collapse block to one line if it fits
8866 within fill-column.
8867
8868 2012-09-18 Martin Rudalics <rudalics@gmx.at>
8869
8870 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
8871 value.
8872 (debug): Don't remove debugger window when debugger is expected
8873 to be back.
8874
8875 2012-09-18 Chong Yidong <cyd@gnu.org>
8876
8877 * custom.el (defface): Doc fix.
8878
8879 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
8880
8881 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
8882
8883 * progmodes/compile.el (compilation-start): Use compilation-always-kill
8884 to initialize query-on-exit; then test that instead (bug#12288).
8885
8886 2012-09-17 Stefan Merten <smerten@oekonux.de>
8887
8888 * textmodes/rst.el: Add support for `testcover'.
8889 (rst-defcustom-testcover, rst-testcover-add-compose)
8890 (rst-testcover-add-1value): New functions.
8891 (rst-portable-mark-active-p): Replace by `use-region-p'.
8892 (rst-update-section, rst-classify-adornment)
8893 (rst-find-title-line): Mark `1value' forms.
8894 (rst-classify-adornment): Remove superfluous form.
8895 (rst-update-section, rst-get-adornments-around)
8896 (rst-adornment-complete-p, rst-get-next-adornment)
8897 (rst-adjust, rst-promote-region)
8898 (rst-display-adornments-hierarchy, rst-straighten-adornments)
8899 (rst-find-pfx-in-region, rst-section-tree-rec)
8900 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
8901 (rst-toc-node, rst-toc, rst-forward-section)
8902 (rst-iterate-leftmost-paragraphs)
8903 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
8904 (rst-bullet-list-region)
8905 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
8906 (rst-compile-find-conf, rst-compile)
8907 (rst-repeat-last-character): Fix style.
8908
8909 2012-09-17 Chong Yidong <cyd@gnu.org>
8910
8911 * comint.el (comint--complete-file-name-data): Don't add a space
8912 if the status is `sole'; that adds a gratuitous space in the
8913 completion-cycling case (Bug#12092).
8914
8915 * pcomplete.el (pcomplete-completions-at-point): Likewise.
8916
8917 2012-09-17 Richard Stallman <rms@gnu.org>
8918
8919 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
8920 only in the mime-shown mode, not in raw mode.
8921 (rmail-mime): Toggle off mime by displaying the message without
8922 mime processing. (Bug#12305)
8923
8924 * mail/rmail.el (rmail-retry-failure):
8925 Turn off mime processing first. (Bug#12037)
8926
8927 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
8928
8929 2012-09-17 Chong Yidong <cyd@gnu.org>
8930
8931 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
8932 (shell-dynamic-complete-functions): Convert to defcustom.
8933 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
8934
8935 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
8936 * comint.el (comint-prompt-read-only):
8937 * custom.el (defcustom):
8938 * hi-lock.el (hi-lock-mode):
8939 * ibuffer.el (ibuffer-formats):
8940 * ielm.el (ielm-prompt-read-only):
8941 * novice.el (disable-command):
8942 * saveplace.el (toggle-save-place):
8943 * speedbar.el (speedbar-supported-extension-expressions):
8944 * startup.el (auto-save-list-file-prefix, init-file-user)
8945 (after-init-hook, inhibit-startup-echo-area-message):
8946 * strokes.el (strokes-help):
8947 * time-stamp.el (time-stamp):
8948 * calendar/calendar.el (calendar, diary-file):
8949 * calendar/diary-lib.el (diary-mail-entries, diary)
8950 (diary-list-entries-hook):
8951 * calendar/holidays.el (holidays, calendar-holidays):
8952 * calendar/lunar.el (lunar-phases):
8953 * calendar/solar.el (sunrise-sunset):
8954 * emulation/edt.el (edt-load-keys):
8955 * emulation/viper.el (viper-mode):
8956 * eshell/em-alias.el (eshell-command-aliases-list):
8957 * eshell/esh-util.el (eshell-convert-numeric-arguments):
8958 * international/ogonek.el (ogonek-information):
8959 * net/tramp-cmds.el (tramp-bug):
8960 * net/quickurl.el (quickurl-reread-hook-postfix):
8961 * play/decipher.el (decipher-font-lock-keywords):
8962 * progmodes/cc-styles.el (c-set-style):
8963 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
8964 * progmodes/inf-lisp.el (inferior-lisp-prompt):
8965 * progmodes/octave-mod.el (octave-mode):
8966 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
8967 * progmodes/verilog-mode.el (verilog-read-defines):
8968 * textmodes/two-column.el (2C-mode): Likewise.
8969
8970 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
8971
8972 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
8973 that holds many addresses.
8974
8975 2012-09-16 Chong Yidong <cyd@gnu.org>
8976
8977 * align.el (align-areas): Call the indication function with
8978 positions instead of markers for arguments (Bug#12343).
8979
8980 * files.el (parse-colon-path): Use split-string (Bug#12351).
8981
8982 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8983 (display-buffer-function): Mark as obsolete.
8984
8985 * progmodes/compile.el (compilation-parse-errors): Accept list
8986 values similar to font-lock-keywords (Bug#12136).
8987 Suggested by Oleksandr Manzyuk.
8988 (compilation-error-regexp-alist): Doc fix.
8989
8990 2012-09-15 Glenn Morris <rgm@gnu.org>
8991
8992 * version.el (emacs-bzr-version-bzr): New function.
8993 (emacs-bzr-get-version): Add optional EXTERNAL argument.
8994
8995 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
8996 checkouts, check the parent dirstate matches the branch.
8997 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
8998 empty string.
8999
9000 * version.el (emacs-bzr-version): Doc fix.
9001 (emacs-bzr-version-dirstate): New function.
9002 (emacs-bzr-get-version): For lightweight checkouts, if the parent
9003 is local try and check that it matches the branch. If not, just
9004 use dirstate information. (Bug#12441)
9005
9006 2012-09-14 Juri Linkov <juri@jurta.org>
9007
9008 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
9009 (Bug#12399)
9010
9011 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9012
9013 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
9014
9015 * emacs-lisp/edebug.el: Miscellaneous cleanup.
9016 Remove obsolete byte-compiler hack that tried to silence some warnings.
9017 (edebug-submit-bug-report): Remove.
9018 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
9019 Remove aliases, use the un-prefixed name instead.
9020 (edebug-pop-to-buffer): Consider other frames.
9021 (edebug-original-read):: Make it more obvious that it's always defined.
9022 (edebug--make-form-data-entry, edebug--form-data-name)
9023 (edebug--form-data-begin, edebug--form-data-end): Rename from the
9024 single-dashed name, and implement with cl-defstruct.
9025 (edebug-set-form-data-entry): Use the standard accessors.
9026 (edebug-make-top-form-data-entry): Use push.
9027 (edebug-no-match): Drop useless `funcall'.
9028 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
9029 to functions.
9030 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
9031 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
9032 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
9033 (easy-menu-define, with-custom-print): Remove redundant specs.
9034 (edebug-outside-overriding-local-map)
9035 (edebug-outside-overriding-terminal-local-map): Remove, unused.
9036 (edebug--display): Bind unread-command-events directly to nil rather
9037 than binding it to unread-command-events and later setting it to nil.
9038 (edebug--display): Kill edebug-eval-buffer here...
9039 (edebug--recursive-edit): ...rather than here.
9040 Bind standard-output and standard-input.
9041 (edebug-eval): Check cl-macroexpand-all is fboundp.
9042 (edebug-temp-display-freq-count): Fix last change.
9043
9044 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
9045 * subr.el (noreturn, 1value): Add `debug' spec.
9046 * emacs-lisp/advice.el: Require cl-lib.
9047 (ad-copy-tree): Remove, use copy-tree instead.
9048 (ad-dolist): Remove use dolist or cl-dolist instead.
9049 (ad-do-return): Remove, use cl-return instead.
9050 (defadvice): Add `debug' spec.
9051
9052 2012-09-13 Juri Linkov <juri@jurta.org>
9053
9054 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
9055 (Bug#12399)
9056
9057 2012-09-13 Glenn Morris <rgm@gnu.org>
9058
9059 * calc/calc.el (math-compose-expr):
9060 * calc/calc-ext.el (math-compose-expr):
9061 * progmodes/cc-defs.el (cl-macroexpand-all):
9062 * progmodes/cc-langs.el (delete-duplicates, mapcan)
9063 (cl-macroexpand-all): Update declarations.
9064
9065 * vc/vc.el: No need to require ediff.
9066 (ediff-load-version-control): Declare.
9067 (ediff-vc-internal): Fix declaration.
9068 (vc-version-ediff): Require ediff.
9069
9070 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9071
9072 Use a more backwards-compatible timer format (Bug#12430).
9073 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
9074 being right after USECS, as that better supports old code that
9075 inadvisedly looked directly at the timer vector.
9076
9077 2012-09-13 Kenichi Handa <handa@gnu.org>
9078
9079 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
9080 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
9081 `coding-priority' property of these language environment.
9082
9083 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9084
9085 Fix glitches caused by addition of psec to timers (Bug#12430).
9086 * image.el (image-animate-timer):
9087 * time.el (display-time-world-timer):
9088 Use timer--function and timer--args rather than raw access to
9089 timer vector.
9090
9091 2012-09-13 Glenn Morris <rgm@gnu.org>
9092
9093 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
9094 If not compiling a file, try using load-file-name.
9095
9096 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9097
9098 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
9099 Fix last change.
9100 (edebug-update-eval-list): Use `push'.
9101
9102 * emacs-lisp/edebug.el: Use lexical-binding.
9103 Remove the "edebug-" prefix from non-dynamically-scoped variables.
9104 Mark unused args with underscore.
9105 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
9106 (edebug-form-data): Use defvar-local.
9107 (edebug-make-before-and-after-form, edebug-make-after-form):
9108 Use backquote.
9109 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
9110 Not dynamically scoped any more.
9111 (edebug--enter-trace): Add arguments `function' and `args'.
9112 Rename from edebug-enter-trace.
9113 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
9114 (edebug--update-coverage): Add `after-index' and `value' args.
9115 Rename from edebug-update-coverage.
9116 (edebug-slow-after): Call it accordingly.
9117 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
9118 edebug-recursive-edit.
9119 (edebug--display): Call it accordingly. Add args `value',
9120 `offset-index', and `arg-mode'. Rename from edebug-display.
9121 (edebug-debugger, edebug): Call it accordingly.
9122 (edebug-eval-display-list): Use dolist.
9123
9124 2012-09-12 Juri Linkov <juri@jurta.org>
9125
9126 * info.el (Info-search): Don't check for isearch-mode and
9127 isearch-regexp before let-binding search-spaces-regexp to
9128 Info-search-whitespace-regexp.
9129 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
9130 search-whitespace-regexp if isearch-lax-whitespace or
9131 isearch-regexp-lax-whitespace is non-nil.
9132 (Info-mode): Don't set local variable search-whitespace-regexp.
9133 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
9134
9135 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9136
9137 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
9138 (debugger-env-macro): Remove support for unread-command-char.
9139
9140 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
9141 the temporary map re-appearing on emulation-mode-map-alists.
9142
9143 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
9144 since 22.1.
9145
9146 * ehelp.el (with-electric-help): Accept functions in
9147 electric-help-form-to-execute.
9148 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
9149 And replace unread-command-char -> unread-command-events.
9150
9151 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
9152
9153 Sync with Tramp 2.2.6.
9154
9155 * net/tramp.el (tramp-accept-process-output): Don't use
9156 JUST-THIS-ONE in the XEmacs case.
9157
9158 * net/trampver.el: Update release number.
9159
9160 2012-09-12 Martin Rudalics <rudalics@gmx.at>
9161
9162 * emacs-lisp/debug.el (debugger-previous-window-height):
9163 New variable.
9164 (debug): When debugger-jumping-flag is non-nil try to restore
9165 height of debugger window. (Bug#8789)
9166
9167 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9168
9169 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
9170 overriding-local-map and pre/post-command-hook here.
9171 (edebug-recursive-edit): Do it here instead (bug#12345).
9172 (edebug-outside-unread-command-char): Remove all uses of
9173 unread-command-char.
9174
9175 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
9176 inhibit-debugger is bound instead.
9177
9178 2012-09-11 Bastien Guerry <bzg@gnu.org>
9179
9180 * subr.el (set-temporary-overlay-map): Add a docstring.
9181 (Bug#12346)
9182
9183 2012-09-11 Bastien Guerry <bzg@gnu.org>
9184
9185 * minibuffer.el (completion-table-subvert): Fix docstring.
9186 (Bug#12347)
9187
9188 2012-09-11 Bastien Guerry <bzg@gnu.org>
9189
9190 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
9191
9192 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
9193
9194 * progmodes/sql.el: Version 3.1
9195 (sql-db2-escape-newlines): New variable.
9196 (sql-escape-newlines-filter): Use it.
9197
9198 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
9199
9200 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
9201
9202 2012-09-10 Dan Nicolaescu <dann@gnu.org>
9203
9204 * vc/diff-mode.el (diff-mode-menu):
9205 Bind diff-remove-trailing-whitespace.
9206
9207 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9208
9209 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
9210 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
9211 (emacs-lisp-byte-code-mode): New functions.
9212 (eval-sexp-add-defvars): Don't skip defvars in column >0.
9213 (eval-defun-2): Remove bogus interactive spec.
9214 (lisp-indent-line): Remove redundant whole-exp code, now done in
9215 indent-according-to-mode.
9216 (save-match-data): Remove redundant indent data.
9217
9218 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
9219 Use `declare'.
9220
9221 2012-09-09 Juri Linkov <juri@jurta.org>
9222
9223 * replace.el (replace-regexp-lax-whitespace): New defcustom.
9224 (replace-lax-whitespace, query-replace-regexp)
9225 (query-replace-regexp-eval, replace-regexp): Doc fix.
9226 (perform-replace, replace-highlight): Let-bind
9227 isearch-lax-whitespace to replace-lax-whitespace and
9228 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
9229
9230 * isearch.el (isearch-query-replace): Let-bind
9231 replace-lax-whitespace to isearch-lax-whitespace and
9232 replace-regexp-lax-whitespace to
9233 isearch-regexp-lax-whitespace. (Bug#10885)
9234
9235 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
9236
9237 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
9238
9239 2012-09-09 Alan Mackenzie <acm@muc.de>
9240
9241 * progmodes/cc-engine.el (c-state-cache-init):
9242 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
9243 (c-record-parse-state-state):
9244 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
9245
9246 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
9247
9248 * register.el (register-separator): Rename from
9249 separator-register. All uses changed. Doc fix.
9250 (register): Fix version.
9251
9252 2012-09-09 Chong Yidong <cyd@gnu.org>
9253
9254 * replace.el (query-replace-map): Bind four new symbols for
9255 requesting window scrolling.
9256
9257 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
9258 query-replace-map (Bug#8948).
9259
9260 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
9261
9262 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
9263 since they are now in query-replace-map.
9264
9265 * window.el (scroll-other-window-down): Make the arg optional.
9266
9267 2012-09-09 Chong Yidong <cyd@gnu.org>
9268
9269 * files.el (hack-local-variables-confirm): Use quit-window to kill
9270 the *Local Variables* buffer.
9271
9272 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9273
9274 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
9275 not just expect to be at its beginning. Adjust callees.
9276 Succeed when do-end block has no space before the pipe character.
9277 (ruby-brace-to-do-end): When the original block is one-liner,
9278 convert to multiline. Reindent the result.
9279
9280 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
9281
9282 * register.el (register): New group.
9283 (separator-register): New user option.
9284 (increment-register): Route it to `append-to-register', if
9285 register contains text. Implication is that `C-x r +' can now be
9286 used for appending to a text register (bug#12217).
9287 (append-to-register, prepend-to-register): Add separator based on
9288 `separator-register'.
9289
9290 2012-09-08 Alan Mackenzie <acm@muc.de>
9291
9292 AWK Mode: make auto-newline work when there's "==" in the pattern.
9293 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
9294 correctly.
9295 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
9296 Test more rigorously for "=" token.
9297
9298 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9299
9300 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
9301 Only fail when reached LIMIT.
9302
9303 2012-09-08 Chong Yidong <cyd@gnu.org>
9304
9305 * dired.el (dired-mode-map): Don't bind M-=.
9306
9307 * dired-aux.el (dired-diff): Use backup file as default.
9308
9309 2012-09-08 Drew Adams <drew.adams@oracle.com>
9310
9311 * subr.el (add-to-history): Fix delete usage (Bug#12314).
9312
9313 2012-09-08 Chong Yidong <cyd@gnu.org>
9314
9315 * subr.el (syntax-after, syntax-class): Doc fix.
9316
9317 2012-09-08 Martin Rudalics <rudalics@gmx.at>
9318
9319 * window.el (display-buffer-in-previous-window): New buffer
9320 display action function.
9321
9322 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
9323 (debugger-previous-window): New variable.
9324 (debug): Rewrite using display-buffer-in-previous-window,
9325 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
9326
9327 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9328
9329 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
9330
9331 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
9332
9333 * progmodes/python.el (python-shell-send-string):
9334 When default-directory is remote, create temp file on remote
9335 filesystem.
9336 (python-shell-send-file): When file is remote, pass local view of
9337 file paths to remote Python interpreter. (Bug#12340)
9338
9339 2012-09-07 Chong Yidong <cyd@gnu.org>
9340
9341 * window.el (switch-to-buffer): Doc fix (Bug#12181).
9342
9343 * files.el (after-find-file): Don't fail on a read-only buffer if
9344 require-final-newline is `visit' or `visit-save' (Bug#11156).
9345
9346 * subr.el (read-char-choice): Allow quitting via ESC ESC.
9347
9348 * userlock.el (ask-user-about-supersession-threat):
9349 Use read-char-choice (Bug#12093).
9350
9351 2012-09-07 Chong Yidong <cyd@gnu.org>
9352
9353 * subr.el (buffer-narrowed-p): New function.
9354
9355 * ses.el (ses-widen):
9356 * simple.el (count-words--buffer-message):
9357 * net/browse-url.el (browse-url-of-buffer): Use it.
9358
9359 * simple.el (count-words-region): Don't signal an error if there
9360 is a non-nil prefix arg and the mark is not set.
9361
9362 * help.el (describe-key-briefly): Allow the message to be seen
9363 when invoked from the minibuffer (Bug#7014).
9364
9365 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9366
9367 * progmodes/ruby-mode.el (ruby-end-of-defun)
9368 (ruby-beginning-of-defun): Simplify, allow indentation before
9369 block beginning and end keywords.
9370 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
9371 (ruby-end-of-defun): Expect that the point is at the beginning of
9372 the defun.
9373
9374 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9375
9376 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
9377 (bug#12367).
9378 (cl--make-usage-args): Strip _ from argument names.
9379
9380 2012-09-06 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
9381
9382 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
9383 obsolete alias speedbar-key-map.
9384 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
9385 (vhdl-index-menu-init): Don't use obsolete variable
9386 font-lock-maximum-size.
9387
9388 2012-09-06 Chong Yidong <cyd@gnu.org>
9389
9390 * frame.el (window-system-version): Mark as obsolete.
9391
9392 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
9393 of obsolete variable speedbar-key-map.
9394
9395 2012-09-06 Juri Linkov <juri@jurta.org>
9396
9397 * replace.el (replace-lax-whitespace): New defcustom.
9398 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9399 (replace-string, replace-regexp): Mention it in docstrings.
9400 (perform-replace, replace-highlight): Let-bind
9401 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
9402 to the values of replace-lax-whitespace and regexp-flag.
9403 Don't let-bind search-whitespace-regexp. (Bug#10885)
9404
9405 * isearch.el (isearch-query-replace): Let-bind
9406 replace-lax-whitespace instead of let-binding
9407 replace-search-function and replace-re-search-function.
9408 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
9409 and isearch-regexp-lax-whitespace to lazy-highlight variables.
9410 (isearch-toggle-symbol): Set isearch-regexp to nil
9411 in isearch-word mode (like in isearch-toggle-word).
9412
9413 2012-09-06 Juri Linkov <juri@jurta.org>
9414
9415 * replace.el (replace-search-function)
9416 (replace-re-search-function): Set default values to nil.
9417 (perform-replace): Let-bind isearch-related variables based on
9418 replace-related values, call `isearch-search-fun' and let-bind
9419 the result to `search-function'. Remove code that sets
9420 `search-function' and `search-string' separately for
9421 `delimited-flag'.
9422 (replace-highlight): Add new argument `delimited-flag' and
9423 rename other arguments to the names used in `perform-replace'.
9424 Let-bind `isearch-word' to the argument `delimited-flag'.
9425 (Bug#10885, bug#10887)
9426
9427 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9428
9429 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
9430 ruby-beginning-of-indent, simplify, allow all keywords to have
9431 indentation before them.
9432 (ruby-beginning-of-indent): Adjust for above. Search until the
9433 found point is not inside a string or comment.
9434 (ruby-font-lock-keywords): Allow symbols to start with "@"
9435 character, give them higher priority than variables.
9436 (ruby-syntax-propertize-function)
9437 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
9438 matchers. Expression expansions are not comments when inside a
9439 string, and there comment syntax status is irrelevant.
9440 (ruby-match-expression-expansion): New function. Check that
9441 expression expansion is inside a string, and it's not escaped.
9442 (ruby-font-lock-keywords): Use it.
9443
9444 2012-09-05 Martin Rudalics <rudalics@gmx.at>
9445
9446 * help.el (temp-buffer-max-height): New default value.
9447 (temp-buffer-resize-frames): New option.
9448 (resize-temp-buffer-window): Optionally resize frame.
9449
9450 * window.el (fit-frame-to-buffer-bottom-margin): New option.
9451 (fit-frame-to-buffer): New function.
9452
9453 2012-09-05 Glenn Morris <rgm@gnu.org>
9454
9455 * emulation/cua-rect.el (cua--init-rectangles):
9456 * textmodes/picture.el (picture-mode-map):
9457 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
9458 like forward-char and backward-char. (Bug#12317)
9459
9460 2012-09-05 Leo Liu <sdl.web@gmail.com>
9461
9462 * progmodes/flymake.el (flymake-warning-re): New variable.
9463 (flymake-parse-line): Use it.
9464
9465 2012-09-05 Glenn Morris <rgm@gnu.org>
9466
9467 * calendar/holidays.el (holiday-christian-holidays):
9468 Rename an entry. (Bug#12289)
9469
9470 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9471
9472 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
9473 (bug#12222).
9474
9475 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9476
9477 * loadup.el: Load macroexp. Remove hack.
9478 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
9479 (macroexp--expand-all): Use it to get better warnings.
9480 (macroexp--backtrace, macroexp--trim-backtrace-frame)
9481 (internal-macroexpand-for-load): New functions.
9482 (macroexp--pending-eager-loads): New var.
9483 (emacs-startup-hook): New hack to replace one in loadup.el.
9484 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
9485 (cl--compiler-macro-cXXr): Move to top, before they can be used.
9486 (cl-psetf): Simplify.
9487 (cl-defstruct): Add indent rule.
9488
9489 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
9490
9491 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
9492 over `user-mail-address' for the SMTP MAIL FROM envelope.
9493 (smtpmail-via-smtp): Ditto.
9494
9495 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
9496
9497 * progmodes/ruby-mode.el: Clean up keybindings.
9498 (ruby-mode-map): Don't bind ruby-electric-brace,
9499 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
9500 backward-kill-word, reindent-then-newline-and-indent.
9501 (ruby-mark-defun): Remove.
9502 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
9503 (ruby-mode): Set local beginning-of-defun-function and
9504 end-of-defun-function values.
9505
9506 2012-09-03 Martin Rudalics <rudalics@gmx.at>
9507
9508 * window.el (temp-buffer-window-setup-hook)
9509 (temp-buffer-window-show-hook): New hooks.
9510 (temp-buffer-window-setup, temp-buffer-window-show)
9511 (with-temp-buffer-window): New functions.
9512 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
9513 (special-display-popup-frame): Make sure the window used shows BUFFER.
9514
9515 * help.el (temp-buffer-resize-mode): Fix doc-string.
9516 (resize-temp-buffer-window): New optional argument WINDOW.
9517
9518 * files.el (recover-file, save-buffers-kill-emacs):
9519 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
9520
9521 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
9522
9523 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
9524 remote definition of `default-directory', ensure we can connect.
9525
9526 2012-09-02 Juri Linkov <juri@jurta.org>
9527
9528 Toggle whitespace matching mode with M-s SPC.
9529 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
9530
9531 * isearch.el (search-whitespace-regexp): Doc fix.
9532 Remove cons cell customization.
9533 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
9534 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
9535 New variables.
9536 (isearch-forward, isearch-forward-regexp): Doc fix.
9537 (isearch-toggle-lax-whitespace): New command.
9538 (search-forward-lax-whitespace, search-backward-lax-whitespace)
9539 (re-search-forward-lax-whitespace)
9540 (re-search-backward-lax-whitespace): New functions.
9541 (isearch-whitespace-regexp): Remove function.
9542 (isearch-query-replace): Let-bind replace-search-function and
9543 replace-re-search-function.
9544 (isearch-occur): Let-bind search-spaces-regexp according to the
9545 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
9546 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
9547 condition for C-q SPC.
9548 (isearch-search-fun-default): Use new functions mentioned above.
9549 (isearch-search-forward, isearch-search-backward): Remove functions.
9550 (isearch-search): Don't let-bind search-spaces-regexp.
9551 (isearch-lazy-highlight-space-regexp): Remove variable.
9552 (isearch-lazy-highlight-lax-whitespace)
9553 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
9554 (isearch-lazy-highlight-new-loop): Use them.
9555 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
9556
9557 2012-09-02 Chong Yidong <cyd@gnu.org>
9558
9559 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
9560
9561 2012-09-02 Glenn Morris <rgm@gnu.org>
9562
9563 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
9564
9565 2012-09-01 Glenn Morris <rgm@gnu.org>
9566
9567 * term.el: Tidy up menu definitions.
9568 (term-mode-map): Use easymenu for In/Out, Complete menus.
9569 (term-pager-break-map): Initialize in the defvar.
9570 (term-terminal-menu, term-signals-menu): Define with easymenu.
9571 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
9572 (term-pager-menu): New, extracted from term-process-pager.
9573 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
9574 (term-update-mode-line): Propertize line/char and page items.
9575 (term-process-pager): Move keymap initialization elsewhere.
9576
9577 2012-09-01 Martin Rudalics <rudalics@gmx.at>
9578
9579 * window.el (switch-to-prev-buffer): Handle additional values of
9580 BURY-OR-KILL argument. Don't switch in minibuffer window.
9581 (switch-to-next-buffer): Don't switch in minibuffer window.
9582 (quit-restore-window): New function based on quit-window.
9583 Handle additional values of former KILL argument.
9584 (quit-window): Call quit-restore-window with appropriate
9585 interpretation of KILL argument.
9586 (display-buffer-below-selected): New buffer display action
9587 function.
9588
9589 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
9590
9591 * minibuffer.el (completion-at-point-functions): Complete docstring
9592 (bug#12254).
9593
9594 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
9595
9596 Better seed support for (random).
9597 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
9598 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
9599 * play/mpuz.el, play/tetris.el, play/zone.el:
9600 * calc/calc-comb.el (math-init-random-base):
9601 * play/blackbox.el (bb-init-board):
9602 * play/life.el (life):
9603 * server.el (server-use-tcp):
9604 * type-break.el (type-break):
9605 Remove unnecessary call to (random t).
9606 * net/sasl.el (sasl-unique-id-function):
9607 Change (random t) to (random), now that the latter is more random.
9608 * play/life.el (life-initialized): Remove no-longer-needed var.
9609
9610 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
9611
9612 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9613 Consider frame's buffer predicate when choosing the buffer.
9614 (Bug#12081)
9615
9616 2012-08-30 Richard Stallman <rms@gnu.org>
9617
9618 * simple.el (special-mode-map): Delete binding for `z'.
9619
9620 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
9621
9622 * progmodes/compile.el (compilation-always-kill): Doc fix.
9623
9624 2012-08-30 Chong Yidong <cyd@gnu.org>
9625
9626 * window.el (display-buffer-reuse-frames): Make the obsolescence
9627 message more informative.
9628
9629 2012-08-30 Glenn Morris <rgm@gnu.org>
9630
9631 * paren.el (show-paren-delay):
9632 Add a :set function. Doc fix. (Bug#12297)
9633
9634 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
9635
9636 * progmodes/compile.el (compilation-always-kill): New var.
9637 (compilation-start): Use it.
9638
9639 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9640
9641 * simple.el (read-only-mode): Move from files.el for bootstrapping.
9642 * files.el (read-only-mode): Move to simple.el.
9643
9644 * files.el (read-only-mode): New minor mode.
9645 (toggle-read-only): Use it and mark obsolete.
9646 (find-file--read-only):
9647 * vc/vc.el (vc-next-action, vc-checkout):
9648 * vc/vc-cvs.el (vc-cvs-checkout):
9649 * obsolete/vc-mcvs.el (vc-mcvs-update):
9650 * ffap.el (ffap--toggle-read-only): Update callers.
9651
9652 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
9653
9654 * eshell/esh-ext.el (eshell-external-command): Do not examine
9655 remote shell scripts.
9656 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
9657
9658 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
9659 "/usr/local/sbin".
9660
9661 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9662
9663 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
9664
9665 2012-08-28 Leo Liu <sdl.web@gmail.com>
9666
9667 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
9668 completion-at-point. (Bug#12220)
9669
9670 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
9671
9672 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
9673
9674 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9675
9676 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
9677 be buffer-local; add delete-trailing-whitespace (bug#12259).
9678
9679 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
9680
9681 * progmodes/hideif.el (hif-compress-define-list):
9682 Fix typo. (Bug#11951)
9683
9684 2012-08-28 Dan Nicolaescu <dann@gnu.org>
9685
9686 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
9687 buffer local setting.
9688
9689 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
9690 rcirc-encode-coding-system.
9691
9692 2012-08-28 Leo Liu <sdl.web@gmail.com>
9693
9694 * net/rcirc.el (rcirc-split-message): New function.
9695 (rcirc-send-message): Use it. (Bug#12051)
9696
9697 2012-08-28 Juri Linkov <juri@jurta.org>
9698
9699 * info.el (Info-fontify-node): Hide empty lines at the end of
9700 the node. (Bug#12272)
9701
9702 2012-08-27 Drew Adams <drew.adams@oracle.com>
9703
9704 * dired.el (dired-pop-to-buffer): Make window start at beginning
9705 of buffer (Bug#12281).
9706
9707 2012-08-26 Chong Yidong <cyd@gnu.org>
9708
9709 * window.el (special-display-regexps, special-display-frame-alist)
9710 (special-display-buffer-names, special-display-function)
9711 (display-buffer-reuse-frames): Mark as obsolete.
9712
9713 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
9714
9715 * help.el (help-print-return-message): Don't treat
9716 display-buffer-reuse-frames specially.
9717
9718 2012-08-26 Chong Yidong <cyd@gnu.org>
9719
9720 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
9721 New variable, replacing gdb-frame-parameters.
9722 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
9723 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
9724 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
9725 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
9726 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
9727 the functions directly with gdb-display-buffer-other-frame-action.
9728 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
9729 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
9730 (gdb-display-stack-buffer, gdb-display-locals-buffer)
9731 (gdb-display-registers-buffer): Define directly.
9732 (def-gdb-display-buffer): Macro deleted.
9733 (gdb-display-buffer): Remove second and third args, callers don't
9734 use them. Defer to the default display-buffer behavior, apart
9735 from making windows dedicated.
9736 (gdb-setup-windows): Don't call display-buffer unnecessarily.
9737
9738 * progmodes/gud.el (gud-display-line): Just use display-buffer.
9739
9740 * window.el (display-buffer-pop-up-frame): Handle a
9741 pop-up-frame-parameters alist entry.
9742 (display-buffer): Document it.
9743
9744 2012-08-26 Chong Yidong <cyd@gnu.org>
9745
9746 * isearch.el (search-whitespace-regexp): Make string and nil
9747 values apply to both ordinary and regexp search. Allow a cons
9748 cell value to distinguish between the two.
9749 (isearch-whitespace-regexp, isearch-search-forward)
9750 (isearch-search-backward): New functions.
9751 (isearch-occur, isearch-search-fun-default, isearch-search)
9752 (isearch-lazy-highlight-new-loop): Use them.
9753 (isearch-forward, isearch-forward-regexp): Doc fix.
9754
9755 2012-08-26 Chong Yidong <cyd@gnu.org>
9756
9757 * faces.el (help-argument-name): Always inherit from italic
9758 (Bug#12213).
9759
9760 2012-08-25 Martin Rudalics <rudalics@gmx.at>
9761
9762 * window.el (window--even-window-heights): Even heights when
9763 WINDOW and the selected window form a vertical combination.
9764 (display-buffer-use-some-window): Provide that window used gets
9765 sized back by quit-window. (Bug#11880) and (Bug#12091)
9766
9767 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
9768
9769 Fix file time stamp problem with bzr and CVS (Bug#12001).
9770 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
9771 in the file's time stamp, since the version control system loses
9772 that information.
9773
9774 2012-08-22 Juri Linkov <juri@jurta.org>
9775
9776 * info.el (Info-fontify-node): Hide the suffix of the
9777 Info file name in the header line. (Bug#12187)
9778
9779 2012-08-22 Glenn Morris <rgm@gnu.org>
9780
9781 * calendar/cal-tex.el (cal-tex-weekly-common):
9782 Restore leading blank page.
9783
9784 2012-08-22 Le Wang <l26wang@gmail.com>
9785
9786 * misc.el (forward-to-word, backward-to-word): Activate or extend
9787 the region under `shift-select-mode'. (Bug#12231)
9788
9789 2012-08-22 Bastien Guerry <bzg@gnu.org>
9790
9791 * progmodes/executable.el (executable-prefix): Set to "#!" instead
9792 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
9793 gives details on why the space is never needed.
9794
9795 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9796
9797 * window.el (walk-window-tree, window-with-parameter):
9798 New optional argument MINIBUF to control whether these functions
9799 should run on the minibuffer window.
9800 (window-at-side-list): Don't operate on minibuffer window.
9801 (window-in-direction): Simplify and rewrite doc-string.
9802 (window--size-ignore): Rename to window--size-ignore-p.
9803 Update callers.
9804 (display-buffer-in-atom-window, window--major-non-side-window)
9805 (window--major-side-window, display-buffer-in-major-side-window)
9806 (delete-side-window, display-buffer-in-side-window):
9807 New functions.
9808 (window--side-check, window-deletable-p, delete-window)
9809 (delete-other-windows, split-window): Handle side windows and
9810 atomic windows appropriately.
9811 (window--display-buffer): Call display-buffer-record-window also
9812 when the window buffer did not change.
9813
9814 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
9815
9816 * help-fns.el (help-fns--key-bindings):
9817 Abbreviate non-symbol remap targets. (Bug#12174)
9818
9819 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9820
9821 * dired.el (dired-mark-remembered): Don't clobber point.
9822 (Bug#11795)
9823
9824 2012-08-22 Glenn Morris <rgm@gnu.org>
9825
9826 * progmodes/bug-reference.el (bug-reference): New custom group.
9827 (bug-reference-bug-regexp): Make it a defcustom.
9828
9829 2012-08-22 Daiki Ueno <ueno@unixuser.org>
9830
9831 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
9832 (js-paren-indent-offset, js-square-indent-offset)
9833 (js-curly-indent-offset): Add :safe (Bug#12257).
9834
9835 2012-08-22 Edward O'Connor <hober0@gmail.com>
9836
9837 * json.el (json-key-format): Add error properties.
9838 (json-encode-key): New function.
9839 (json-encode-hash-table, json-encode-alist, json-encode-plist):
9840 Use json-encode-key.
9841
9842 2012-08-22 Glenn Morris <rgm@gnu.org>
9843
9844 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
9845 (cal-tex-leftday, cal-tex-rightday): Remove functions.
9846 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
9847 Update for above change.
9848
9849 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
9850
9851 * cus-face.el (custom-face-attributes): Fix customize type for the
9852 :underline attribute. (Bug#11805)
9853
9854 2012-08-21 Martin Rudalics <rudalics@gmx.at>
9855
9856 * window.el (window-point-1, set-window-point-1): Remove.
9857 (window-in-direction, record-window-buffer)
9858 (set-window-buffer-start-and-point, split-window-below)
9859 (window--state-get-1, display-buffer-record-window):
9860 Replace calls to window-point-1 and set-window-point-1 by calls to
9861 window-point and set-window-point respectively.
9862
9863 2012-08-21 Glenn Morris <rgm@gnu.org>
9864
9865 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
9866 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
9867 Use it.
9868
9869 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
9870 (cal-tex-shortday): New function.
9871 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
9872 (cal-tex-cursor-filofax-daily): Use the above.
9873
9874 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
9875 New functions.
9876 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9877 (cal-tex-cursor-filofax-week): Use them.
9878
9879 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
9880 New constants.
9881 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9882 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
9883
9884 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
9885 (cal-tex-end-document): Don't rely on buffer name.
9886
9887 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
9888 Use cal-tex-vspace.
9889 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
9890 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
9891 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
9892 Use cal-tex-arg.
9893
9894 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
9895 (cal-tex-cursor-week, cal-tex-cursor-week2)
9896 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
9897 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9898 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
9899 (cal-tex-insert-preamble, cal-tex-b-document)
9900 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
9901 Improve cal-tex-cmd usage.
9902
9903 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
9904 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
9905 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
9906 (cal-tex-weekly-paper): New function.
9907 (cal-tex-cursor-week, cal-tex-cursor-week2)
9908 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
9909 (cal-tex-cursor-day): Use it.
9910
9911 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
9912 (cal-tex-cursor-filofax-week): Remove leading blank page.
9913
9914 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9915 Add autoload cookie. For now at least, don't use color, since
9916 no other cal-tex function does.
9917
9918 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
9919 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9920 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
9921
9922 2012-08-21 Juri Linkov <juri@jurta.org>
9923
9924 * info.el (Info-file-attributes): New variable.
9925 (info-insert-file-contents): Add file attributes to
9926 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
9927 `Info-toc-nodes' when previous modtime of the Info file is less
9928 than new modtime.
9929 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
9930 of info.el. (Bug#12230)
9931
9932 2012-08-20 Glenn Morris <rgm@gnu.org>
9933
9934 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
9935 * calendar/holidays.el (calendar-holiday-list):
9936 Report errors with display-warning rather than beep'n'sleep.
9937
9938 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
9939
9940 * net/tramp.el (tramp-accept-process-output): Accept only output
9941 from PROC. Otherwise, process filters and sentinels might be
9942 confused. (Bug#12145)
9943
9944 2012-08-20 Chong Yidong <cyd@gnu.org>
9945
9946 * descr-text.el (describe-text-properties-1): Use overlays-in to
9947 report on empty overlays (Bug#3322).
9948
9949 2012-08-20 Glenn Morris <rgm@gnu.org>
9950
9951 * mail/rmailout.el (rmail-output-read-file-name):
9952 Trap and report errors in rmail-output-file-alist elements.
9953
9954 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
9955 since most non-font-lock faces are not also variables).
9956
9957 2012-08-20 Edward Reingold <reingold@iit.edu>
9958
9959 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9960 New function. (Bug12160)
9961
9962 2012-08-19 Glenn Morris <rgm@gnu.org>
9963
9964 * mail/rmailout.el (rmail-output-read-file-name):
9965 Fix previous change (when the alist is nil or does not match).
9966
9967 2012-08-19 Chong Yidong <cyd@gnu.org>
9968
9969 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
9970 (Bug#12228).
9971
9972 2012-08-18 Chong Yidong <cyd@gnu.org>
9973
9974 * simple.el (yank-handled-properties): New defcustom.
9975 (yank-excluded-properties): Add font-lock-face and category.
9976 (yank): Doc fix.
9977
9978 * subr.el (remove-yank-excluded-properties):
9979 Obey yank-handled-properties. The special handling of font-lock-face
9980 and category is now done this way, instead of being hard-coded.
9981 (insert-for-yank-1): Remove font-lock-face handling.
9982 (yank-handle-font-lock-face-property)
9983 (yank-handle-category-property): New function.
9984
9985 2012-08-17 Glenn Morris <rgm@gnu.org>
9986
9987 * mail/rmailout.el (rmail-output-read-file-name):
9988 Check rmail-output-file-alist against the full message body
9989 in the correct rmail buffer. (Bug#12214)
9990
9991 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
9992
9993 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
9994 Eliminate superfluous prompt. (Bug#12203)
9995
9996 2012-08-17 Chong Yidong <cyd@gnu.org>
9997
9998 * mouse.el (mouse-appearance-menu): If x-select-font returns a
9999 font spec, set the font directly (Bug#3228).
10000
10001 2012-08-17 Martin Rudalics <rudalics@gmx.at>
10002
10003 * window.el (delete-window): Fix last fix.
10004
10005 2012-08-16 Martin Rudalics <rudalics@gmx.at>
10006
10007 * window.el (window-valid-p): Move to window.c.
10008 (window-child, window-child-count, window-last-child)
10009 (window-normalize-window, window-combined-p)
10010 (window-combinations, window-atom-root, window-min-size)
10011 (window-sizable, window-sizable-p, window-size-fixed-p)
10012 (window-min-delta, window-max-delta, window--resizable)
10013 (window--resizable-p, window-resizable, window-total-size)
10014 (window-full-height-p, window-full-width-p, window-body-size)
10015 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
10016 (minimize-window, window-deletable-p, delete-window)
10017 (delete-other-windows, set-window-buffer-start-and-point)
10018 (next-buffer, previous-buffer, split-window, balance-windows-2)
10019 (set-window-text-height, window-buffer-height)
10020 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
10021 (truncated-partial-width-window-p): Minor code adjustments.
10022 In doc-strings state whether the argument window has to denote a
10023 live, valid or any window.
10024
10025 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
10026
10027 * progmodes/subword.el (subword-forward-function)
10028 (subword-backward-function, subword-forward-regexp)
10029 (subword-backward-regexp): New variables.
10030 (subword-forward, subword-forward-internal, subword-backward-internal):
10031 Use new variables, eg so that different "word" definitions
10032 can be easily used. (Bug#11411)
10033
10034 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10035
10036 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
10037 for composite selectors.
10038 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
10039 operation just because we can't find a previous revision.
10040
10041 2012-08-15 Chong Yidong <cyd@gnu.org>
10042
10043 * frame.el (set-frame-font): Accept font objects.
10044
10045 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10046
10047 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
10048
10049 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
10050
10051 * man.el (Man-overstrike-face, Man-underline-face)
10052 (Man-reverse-face): Remove variables.
10053 (Man-overstrike, Man-underline, Man-reverse): New faces.
10054 (Man-fontify-manpage): Use them instead of the variables.
10055 (Man-cleanup-manpage): Comment change.
10056 (Man-ansi-color-map): New variable.
10057 (Man-fontify-manpage): Use it.
10058 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
10059
10060 Implement ANSI SGR parameters 22-27 (bug#12146).
10061 * ansi-color.el (ansi-colors): Doc fix.
10062 (ansi-color-context, ansi-color-context-region): Doc fix.
10063 (ansi-color--find-face): New function.
10064 (ansi-color-apply, ansi-color-apply-on-region): Use it.
10065 Rename the local variable `face' to `codes' since it is now a list of
10066 ansi codes. Doc fix.
10067 (ansi-color-get-face): Remove.
10068 (ansi-color-parse-sequence): New function, derived from
10069 ansi-color-get-face.
10070 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
10071 codes 22-27.
10072
10073 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
10074
10075 * subr.el (read-passwd): Allow use from a minibuffer.
10076
10077 2012-08-14 Eli Zaretskii <eliz@gnu.org>
10078
10079 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
10080 inside comments and strings as identifiers.
10081
10082 * progmodes/gud.el (gud-tooltip-print-command): Quote the
10083 expression to evaluate. This allows to evaluate expressions with
10084 embedded whitespace.
10085 (gud-tooltip-tips): Add a blank before the newline in the
10086 message-box text, for the benefit of message-box emulation on
10087 MS-Windows.
10088
10089 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
10090 messages from GDB, pop them up in a tooltip to give feedback to
10091 user.
10092 (gdb-tooltip-print-1): Quote the expression to evaluate.
10093 This allows to evaluate expressions with embedded whitespace.
10094 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
10095 if the TTY name is nil or empty (which happens when communicating
10096 with the inferior via pipes, e.g. on MS-Windows).
10097 (gdb-internals): If GDB sends a "&\n" empty debugging message,
10098 don't send that to the GUD buffer.
10099
10100 2012-08-14 Glenn Morris <rgm@gnu.org>
10101
10102 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
10103 Optimize away setq-default with no args, as for setq. (Bug#12195)
10104
10105 2012-08-14 Chong Yidong <cyd@gnu.org>
10106
10107 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
10108
10109 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
10110 (Bug#12085).
10111
10112 2012-08-14 Glenn Morris <rgm@gnu.org>
10113
10114 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
10115
10116 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
10117
10118 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
10119 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10120 Use cached shell name.
10121
10122 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10123
10124 * progmodes/python.el (python-shell-send-string):
10125 (python-shell-send-setup-code): Do not use `format' with `message'.
10126
10127 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
10128
10129 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
10130 (ruby-percent-literal-beg-re): New constant.
10131 (ruby-syntax-general-delimiters-goto-beg): Rename to
10132 `ruby-syntax-enclosing-percent-literal', improve literal type check.
10133 (ruby-syntax-propertize-general-delimiters): Rename to
10134 `ruby-syntax-propertize-percent-literal', it's a shorter and more
10135 popular term. Adjust comments everywhere.
10136 (ruby-syntax-propertize-percent-literal): Only propertize when not
10137 inside a simple string or comment. When the literal is unclosed,
10138 leave the text after it unpropertized.
10139 (ruby-syntax-methods-before-regexp): New constant.
10140 (ruby-syntax-propertize-function): Use it to recognize regexps.
10141 Don't look at the text after regexp, just use the whitelist.
10142
10143 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
10144
10145 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
10146 non-nil always load the compiled file if it exists. (Bug#12197)
10147
10148 2012-08-14 Chong Yidong <cyd@gnu.org>
10149
10150 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
10151 (hi-lock-set-pattern): When deciding whether to use font lock or
10152 overlays, look at font-lock-mode instead of font-lock-fontified
10153 (Bug#12168).
10154 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
10155 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
10156
10157 2012-08-14 Daiki Ueno <ueno@unixuser.org>
10158
10159 * subr.el (internal--after-with-selected-window): Fix typo
10160 (Bug#12193).
10161
10162 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10163
10164 Use `completion-table-dynamic' for completion functions.
10165 * progmodes/python.el
10166 (python-shell-completion--do-completion-at-point)
10167 (python-shell-completion--get-completions):
10168 Remove functions.
10169 (python-shell-completion-complete-at-point): New function.
10170 (python-completion-complete-at-point): Use it.
10171
10172 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
10173
10174 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
10175 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
10176
10177 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10178
10179 * subr.el (function-get): Refine `autoload' arg so it can also
10180 autoload functions for gv.el (bug#12191).
10181 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
10182 autoloads macros.
10183
10184 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
10185 Prefer pcase-let over destructuring-bind.
10186 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
10187 Also, remove whitespace as we go, rather than after accumulating the
10188 various places.
10189
10190 * subr.el (internal--before-with-selected-window)
10191 (internal--after-with-selected-window): Fix typo seleted->selected.
10192 (with-selected-window): Adjust callers.
10193 Reported by Dmitry Gutov <dgutov@yandex.ru>.
10194
10195 2012-08-13 Bastien Guerry <bzg@gnu.org>
10196
10197 * window.el (special-display-popup-frame): Minor docstring
10198 enhancement. (Bug#12172)
10199
10200 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
10201
10202 * tar-mode.el (tar-header-data-end): Only ignore size for files of
10203 type 1-6.
10204 (tar-header-block-summarize, tar-get-descriptor): Handle pax
10205 extended headers.
10206
10207 * files.el (hack-local-variables-filter): Remove useless eval.
10208
10209 2012-08-13 Martin Rudalics <rudalics@gmx.at>
10210
10211 * subr.el (with-selected-window): Fix last change.
10212
10213 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10214
10215 * subr.el (internal--before-with-seleted-window)
10216 (internal--after-with-seleted-window): New functions.
10217 (with-selected-window): Use them, to replace dependency on
10218 tty-top-frame.
10219
10220 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
10221
10222 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
10223 binding for `newline'.
10224 (ruby-move-to-block): When moving backward, stop at block opening,
10225 not indentation.
10226 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
10227 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
10228 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
10229 `ruby-toggle-block'.
10230
10231 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10232
10233 * ibuffer.el (ibuffer-do-toggle-read-only):
10234 * dired.el (dired-toggle-read-only):
10235 * buff-menu.el (Buffer-menu-toggle-read-only):
10236 * bindings.el (mode-line-toggle-read-only):
10237 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
10238
10239 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
10240
10241 * descr-text.el (describe-char): Put the overlays over the
10242 "displayed as" character.
10243
10244 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
10245
10246 * calc/calc-units.el (math-default-units-table): Give an
10247 initial value.
10248 (math-put-default-units): Add options to put composite units and
10249 unit systems in the default units table.
10250 (calc-convert-units): Send composite units to
10251 `math-put-default-units' when appropriate.
10252
10253 2012-08-11 Glenn Morris <rgm@gnu.org>
10254
10255 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
10256
10257 * tutorial.el (help-with-tutorial):
10258 * emacs-lisp/copyright.el (copyright-update-directory):
10259 * emacs-lisp/autoload.el (autoload-find-generated-file)
10260 (autoload-find-file): Disable local eval: (for insurance).
10261
10262 * files.el (hack-local-variables-filter): If an eval: form is not
10263 known to be safe, and enable-local-variables is :safe, then ignore
10264 the form totally, as is done for non-eval forms. (Bug#12155)
10265 This is CVE-2012-3479.
10266
10267 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10268
10269 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
10270 (rx-form): Simplify.
10271
10272 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
10273
10274 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
10275 ?, _, and : are symbol constituents, ! is not (but kinda should be).
10276 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
10277 (ruby-syntax-propertize-function): Adjust for changes in
10278 `ruby-syntax-propertize-heredoc'.
10279
10280 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
10281
10282 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
10283 binding (use `M-;' instead).
10284 (ruby-singleton-class-p): New function.
10285 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
10286
10287 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10288
10289 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
10290
10291 2012-08-10 Chong Yidong <cyd@gnu.org>
10292
10293 * progmodes/python.el (python-shell-get-process-name): Don't mess
10294 with same-window-buffer-names.
10295
10296 * eshell/eshell.el (eshell-add-to-window-buffer-names)
10297 (eshell-remove-from-window-buffer-names): Make obsolete.
10298 (eshell-buffer-name, eshell-unload-hook): Don't use them.
10299 (eshell): Just use pop-to-buffer-same-window instead.
10300
10301 2012-08-10 Chong Yidong <cyd@gnu.org>
10302
10303 * bindings.el: Bind M-= back to count-words-region.
10304
10305 * simple.el (count-words-region): Accept a prefix arg for acting
10306 on the entire buffer.
10307 (count-words--buffer-message): New helper function.
10308
10309 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10310
10311 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
10312 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
10313 (event-start, event-end): Use posn-at-point to return a more
10314 informative posn.
10315 (posnp): New function.
10316 * mouse.el (popup-menu-normalize-position): Use it.
10317
10318 2012-08-10 Masatake YAMATO <yamato@redhat.com>
10319
10320 * mouse.el (popup-menu-normalize-position): New function.
10321 (popup-menu): Use `popup-menu-normalize-position' to normalize
10322 the form for POSITION argument.
10323
10324 * term/x-win.el (x-menu-bar-open):
10325 Use the value returend from (posn-at-point) as position
10326 passed to `popup-menu'.
10327
10328 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10329
10330 * calc/calccomp.el (math-compose-expr): Add extra argument
10331 indicating that parentheses should be put around products in
10332 denominators. Give multiplication precedence over division during
10333 composition.
10334
10335 2012-08-09 Chong Yidong <cyd@gnu.org>
10336
10337 * man.el (Man-switches, Man-sed-command, Man-awk-command)
10338 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
10339 (Man-untabify-command, manual-program): Convert to defcustom
10340 (Bug#10429).
10341
10342 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
10343
10344 * descr-text.el (describe-char): Don't insert extra newlines
10345 (Bug#10127).
10346
10347 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
10348 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
10349
10350 * align.el (align-region): Delete temporary markers (Bug#10047).
10351 Plus some code cleanups.
10352
10353 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10354
10355 * progmodes/python.el (python-pdbtrack-tracked-buffer)
10356 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
10357 (python-shell-internal-last-output): Use make-local-variable
10358 instead of make-variable-buffer-local.
10359
10360 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10361
10362 * progmodes/python.el: Enhancements to forward-sexp.
10363 (python-nav-forward-sexp): Rename from
10364 python-nav-forward-sexp-function.
10365 (python-nav--forward-sexp, python-nav--backward-sexp):
10366 New functions.
10367
10368 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10369
10370 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
10371 modes and simplification modes.
10372
10373 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10374
10375 * delsel.el (delete-selection-pre-hook): Don't propagate the
10376 file-supersession signals (bug#12161).
10377
10378 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10379
10380 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
10381 (cl-map-extents): Add compatibility aliases (bug#12135).
10382
10383 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
10384
10385 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
10386 tests by `ignore-error'.
10387 (tramp-find-shell): Open also a new shell, when cache is already
10388 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
10389
10390 2012-08-08 Juri Linkov <juri@jurta.org>
10391
10392 * bookmark.el: Add `defaults' property to the bookmark record.
10393 (bookmark-current-buffer): Doc fix.
10394 (bookmark-make-record): Add `defaults' property with default values
10395 to the bookmark record.
10396 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
10397 with `bookmark-insert-current-bookmark'.
10398 (bookmark-set): Get `defaults' property from the bookmark record
10399 and use it in `read-from-minibuffer'.
10400 (bookmark-insert-current-bookmark): Remove function.
10401
10402 * info.el (Info-bookmark-make-record): Add `defaults' property
10403 with values of canonical Info node name, the current Info file
10404 name and the current Info node name. (Bug#12107)
10405
10406 2012-08-08 Juri Linkov <juri@jurta.org>
10407
10408 * files.el (basic-save-buffer): Use `buffer-name' as the default
10409 of `read-file-name' when buffer is not visiting a file (bug#12128).
10410
10411 2012-08-08 Juri Linkov <juri@jurta.org>
10412
10413 * info.el (Info-isearch-search): Doc fix.
10414 (Info-search): Change search-failed message from "initial node" to
10415 "end of node" (bug#12078).
10416 (Info-isearch-search): Change `isearch-string-state' to
10417 `isearch--state-string'.
10418
10419 2012-08-08 Glenn Morris <rgm@gnu.org>
10420
10421 * language/persian.el: Remove file.
10422 * language/misc-lang.el: Move unique part of persian.el here.
10423 * loadup.el: Remove language/persian.
10424
10425 2012-08-08 Ă“scar Fuentes <ofv@wanadoo.es>
10426
10427 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
10428
10429 2012-08-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10430
10431 * progmodes/python.el: Fix defsubst warning.
10432 (python-syntax-context) Rename from python-info-ppss-context.
10433 (python-syntax-context-type): Rename from
10434 python-info-ppss-context-type.
10435 (python-syntax-comment-or-string-p): Rename from
10436 python-info-ppss-comment-or-string-p.
10437
10438 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
10439
10440 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
10441
10442 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
10443
10444 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
10445 a defcustom that is quoted with backquote.
10446
10447 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
10448 Fix handling of interactive spec when the body uses return.
10449 (math-do-arg-check, math-define-function-body): Use backquote forms.
10450 * calc/calc-ext.el (math-defcache): Likewise.
10451 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
10452 * allout.el (allout-new-exposure): Likewise.
10453 * calc/calcalg2.el (math-tracing-integral): Likewise.
10454 * info.el (Info-last-menu-item): Likewise.
10455 * emulation/vip.el (vip-loop): Likewise.
10456 * textmodes/artist.el (artist-funcall): Likewise.
10457 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
10458 Construct menu-item directly.
10459
10460 * progmodes/autoconf.el (font-lock-syntactic-keywords):
10461 Don't declare.
10462
10463 2012-08-07 Chong Yidong <cyd@gnu.org>
10464
10465 * simple.el (deactivate-mark): Preserve text properties when
10466 saving the primary selection (Bug#8384).
10467
10468 2012-08-07 Kevin Ryde <user42@zip.com.au>
10469
10470 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
10471 (woman-parse-numeric-value): On a bad .IP line, issue a warning
10472 and continue processing (Bug#12110).
10473
10474 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10475
10476 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
10477 syntax-propertize-function (bug#10095).
10478
10479 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10480
10481 * help-fns.el (help-fns--key-bindings, help-fns--signature)
10482 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
10483 describe-function-1.
10484 (describe-function-1): Use them. Move compiler macro after sig.
10485 (help-fns--compiler-macro): Use function-get. Assume we're already in
10486 standard-output. Adjust layout to new call order.
10487
10488 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
10489 re-binding a symbol that has a symbol-macro (bug#12119).
10490
10491 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
10492
10493 * language/persian.el: New file. (Bug#11812)
10494 * loadup.el: Add language/persian.el.
10495
10496 2012-08-06 Chong Yidong <cyd@gnu.org>
10497
10498 * window.el (window--maybe-raise-frame): New function.
10499 (window--display-buffer): Split off from here.
10500 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10501 (display-buffer-pop-up-window, display-buffer-use-some-window):
10502 Obey an inhibit-switch-frame action alist entry.
10503 (display-buffer): Update doc.
10504
10505 * replace.el (occur-after-change-function): Avoid losing focus by
10506 using the inhibit-switch-frame display parameter (Bug#12139).
10507
10508 2012-08-06 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10509
10510 Make internal shell process buffer names start with space.
10511 * progmodes/python.el (python-shell-make-comint): Add optional
10512 argument INTERNAL.
10513 (run-python-internal): Use it.
10514 (python-shell-internal-get-or-create-process): Check for new
10515 internal buffer names.
10516
10517 2012-08-06 Glenn Morris <rgm@gnu.org>
10518
10519 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
10520 Do less getting and setting of environment variables.
10521
10522 2012-08-05 Chong Yidong <cyd@gnu.org>
10523
10524 * proced.el (proced): Add substitution string to docstring to
10525 trigger autoloading of the proced library on C-h f (Bug#1768).
10526
10527 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10528 Don't show defvars which have no second argument (Bug#8638).
10529
10530 * imenu.el (imenu-generic-expression): Move documentation here
10531 from imenu--generic-function.
10532 (imenu--generic-function): Refer to imenu-generic-expression.
10533
10534 2012-08-05 Vegard Ă˜ye <vegard_oye@hotmail.com> (tiny change)
10535
10536 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
10537 indentation declaration.
10538 (viper-loop): Add indentation declaration (Bug#7025).
10539
10540 2012-08-05 Chong Yidong <cyd@gnu.org>
10541
10542 * help-fns.el (describe-variable): Add hyperlink for
10543 directory-local variables files. Improve buffer-local and
10544 permanent-local reporting; suggested by MON KEY (Bug#6644).
10545
10546 * help-mode.el (help-dir-local-var-def): New button type.
10547
10548 * files.el (kill-buffer-hook): Provide a defvar.
10549
10550 2012-08-05 Glenn Morris <rgm@gnu.org>
10551
10552 * eshell/esh-ext.el (eshell/addpath):
10553 Also update eshell-path-env. (Bug#12013)
10554
10555 2012-08-05 Chong Yidong <cyd@gnu.org>
10556
10557 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
10558
10559 * fringe.el (fringe-styles): Add docstring.
10560 (fringe--check-mode): New function.
10561 (set-fringe-mode, set-fringe-style): Use it.
10562 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
10563
10564 * files.el (set-auto-mode): Fix invalid setq call.
10565
10566 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10567
10568 * isearch.el: Misc simplification; use defstruct.
10569 (isearch-mode-map): Dense maps now work like sparse ones.
10570 (isearch--state): New defstruct.
10571 (isearch-string-state, isearch-message-state, isearch-point-state)
10572 (isearch-success-state, isearch-forward-state)
10573 (isearch-other-end-state, isearch-word-state, isearch-error-state)
10574 (isearch-wrapped-state, isearch-barrier-state)
10575 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
10576 replaced by defstruct's accessors.
10577 (isearch--set-state): Rename from isearch-top-state and change
10578 calling convention.
10579 (isearch-push-state): Use new isearch--get-state.
10580 (isearch-toggle-word): Disable regexp when enabling word.
10581 (isearch-message-prefix): Remove unused arg _c-q-hack.
10582 (isearch-message-suffix): Remove unused arg _ellipsis.
10583
10584 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
10585
10586 * simple.el (list-processes--refresh): For a server use :host or
10587 :local as the address.
10588 (list-processes): Doc fix.
10589
10590 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
10591
10592 * lisp/mpc.el: Support password in host argument.
10593 (mpc--proc-connect): Parse and use new password element.
10594 Set mpc-proc variable instead of returning process.
10595 (mpc-proc): Adjust accordingly.
10596
10597 2012-08-03 Eli Zaretskii <eliz@gnu.org>
10598
10599 * whitespace.el (whitespace-display-mappings): Use Unicode
10600 codepoints, instead of emacs-mule codepoints. See
10601 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
10602 for the details.
10603
10604 * files.el (file-truename): Don't skip symlink-chasing part on
10605 windows-nt. Incorporate the resolution of 8+3 short aliases on
10606 Windows into the loop that recursively chases symlinks.
10607 Compare directory and its parent case-insensitively on MS-Windows and
10608 MS-DOS.
10609
10610 2012-08-03 Chong Yidong <cyd@gnu.org>
10611
10612 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
10613
10614 * sort.el (sort-regexp-fields): Doc fix.
10615
10616 2012-08-03 Tassilo Horn <tsdh@gnu.org>
10617
10618 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
10619 labels regex position point at the expected place.
10620
10621 2012-08-03 MON KEY <monkey@sandpframing.com>
10622
10623 * net/imap.el (imap-interactive-login, imap-authenticate)
10624 (imap-mailbox-lsub, imap-mailbox-list)
10625 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
10626 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
10627 (imap-parse-response): Doc fix.
10628
10629 2012-08-03 JoĂ£o TĂ¡vora <joaotavora@gmail.com>
10630
10631 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
10632 if sexp scanning does not move point (Bug#5734).
10633
10634 2012-08-02 Tassilo Horn <tsdh@gnu.org>
10635
10636 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
10637 Add listings, minted, and ctable packages.
10638 (reftex-label-alist-builtin): Move listings, minted, and ctable
10639 entries before LaTeX.
10640 (reftex-label-alist): Docfix.
10641
10642 2012-08-02 Bastien Guerry <bzg@gnu.org>
10643
10644 * replace.el (occur): Fix docstring (bug#12122).
10645
10646 2012-08-02 Glenn Morris <rgm@gnu.org>
10647
10648 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
10649
10650 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
10651
10652 Obsolete alias inactivate-current-input-method-function (Bug#10150).
10653 * international/mule-cmds.el: Create
10654 inactivate-current-input-method-function as an obsolete alias for
10655 deactivate-current-input-method-function. See Katsumi Yamaoka in
10656 <http://bugs.gnu.org/10150#46>.
10657
10658 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
10659
10660 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
10661 of nested `if's.
10662
10663 2012-08-01 Glenn Morris <rgm@gnu.org>
10664
10665 * progmodes/autoconf.el (autoconf-definition-regexp):
10666 Add AH_TEMPLATE, adjust submatch numbering.
10667 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
10668 (autoconf-current-defun-function): Update for above change.
10669 (autoconf-current-defun-function): First skip to end of current word.
10670
10671 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
10672
10673 * calendar/cal-html.el (cal-html-insert-agenda-days):
10674 Fix typo. (Bug#12018)
10675
10676 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10677
10678 Shell processes: enhancements to startup and CEDET compatibility.
10679 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
10680 (python-shell-make-comint): accept-process-output at startup.
10681 (run-python-internal): Set inferior-python-mode-hook to nil.
10682 (python-shell-internal-get-or-create-process): call sit-for.
10683 (python-preoutput-result): Add obsolete alias.
10684 (python-shell-internal-send-string): Use it.
10685 (python-shell-send-setup-code): Remove call to
10686 accept-process-output.
10687
10688 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
10689
10690 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
10691 (Bug#12108)
10692
10693 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
10694
10695 * calc-mode.el (calc-basic-simplification-mode): Rename from
10696 `calc-limited-simplification-mode'.
10697 (calc-alg-simplification-mode): New function.
10698 (calc-set-simplify-mode): Adjust message.
10699
10700 * calc.el (calc-set-mode-line): Adjust mode line display for
10701 basic simplification mode.
10702
10703 * calc-help.el (calc-m-prefix-help): Update help message.
10704
10705 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
10706 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
10707
10708 2012-07-31 Bastien Guerry <bzg@gnu.org>
10709
10710 * man.el (man): Fix comment. (bug#12101)
10711
10712 2012-07-31 Martin Rudalics <rudalics@gmx.at>
10713
10714 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
10715 Don't return a non-nil value when no suitable buffer was found.
10716
10717 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10718
10719 * progmodes/python.el (run-python-internal): Disable font lock for
10720 internal shells.
10721
10722 2012-07-30 Stefan Merten <smerten@oekonux.de>
10723
10724 * textmodes/rst.el: Silence `checkdoc-ispell'.
10725 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10726 (rst-official-version, rst-official-cvs-rev)
10727 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
10728 (rst-mode-map): New key binding.
10729
10730 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
10731
10732 Update .PHONY listings in makefiles.
10733 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
10734 autoloads, update-subdirs, updates, bzr-update, update-authors,
10735 compile-onefile, compile-calc, backup-compiled-files,
10736 compile-after-backup, compile-one-process, mh-autoloads,
10737 bootstrap-clean, distclean, maintainer-clean.
10738
10739 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
10740
10741 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
10742 (calc-set-mode-line): Don't display "AlgSimp ".
10743
10744 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
10745 (calc-lim-simplify-mode): New function.
10746 (calc-set-simplify-mode): Default to 'alg.
10747 (calc-default-simplify-mode): Make algebraic simplifications
10748 the default.
10749
10750 * calc/calc-ext.el (calc-init-extensions): Remove binding for
10751 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
10752
10753 * calc/calc-help.el (calc-m-prefix-help): Change messages to
10754 indicate new simplification modes.
10755
10756 * calc/README: Mention new default simplification mode.
10757
10758 * calc/calc.el (math-normalize-error): New variable.
10759 (math-normalize): Set `math-normalize-error' to t
10760 when there's an error.
10761
10762 * calc/calc-alg.el (math-simplify): Don't simplify when
10763 `math-normalize' returns an error.
10764
10765 2012-07-29 Eli Zaretskii <eliz@gnu.org>
10766
10767 * international/mule-cmds.el (set-locale-environment): Revert last
10768 change, since display-graphic-p returns nil when this function is
10769 called during startup. Instead...
10770
10771 * term/w32console.el (terminal-init-w32console): ...setup the
10772 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
10773
10774 2012-07-29 Juri Linkov <juri@jurta.org>
10775
10776 * simple.el (goto-line): Don't display default line number in the
10777 prompt because it should be displayed by `read-number' (bug#9952).
10778 Add the current line number to the defaults of `goto-line' to
10779 allow its easier modification by users with `M-n' (bug#9201).
10780
10781 * subr.el (read-number): Support multiple default values like in
10782 other minibuffer reading functions. Replace `read' with
10783 `string-to-number' for consistency with `number-to-string'.
10784
10785 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
10786
10787 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
10788 * emulation/viper-init.el (viper-deactivate-input-method-action):
10789 Rename from viper-inactivate-input-method-action.
10790 (viper-deactivate-input-method):
10791 Rename from viper-inactivate-input-method.
10792 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
10793 * international/mule-cmds.el (deactivate-input-method):
10794 Rename from inactivate-input-method.
10795 Also run input-method-deactivate-hook.
10796 (deactivate-current-input-method-function):
10797 Rename from inactivate-current-input-method-function.
10798 (input-method-deactivate-hook): New hook.
10799 (input-method-inactivate-hook): Mark obsolete.
10800 (inactivate-input-method): Mark obsolete.
10801
10802 * international/quail.el (quail-activate):
10803 Also run quail-deactivate-hook.
10804 (quail-deactivate): Rename from quail-inactivate.
10805 * international/robin.el (robin-activate):
10806 Also run robin-deactivate-hook.
10807 (robin-deactivate): Rename from robin-inactivate.
10808
10809 2012-07-29 Chong Yidong <cyd@gnu.org>
10810
10811 * simple.el (indicate-copied-region): New function.
10812 (kill-ring-save): Split off from here.
10813
10814 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
10815 (kill-rectangle): Set deactivate-mark to t on read-only error.
10816
10817 * register.el (copy-to-register, copy-rectangle-to-register):
10818 Deactivate the mark, and use indicate-copied-region (Bug#10056).
10819 (append-to-register, prepend-to-register): Call indicate-copied-region.
10820
10821 2012-07-29 Juri Linkov <juri@jurta.org>
10822
10823 * simple.el (async-shell-command-buffer): New defcustom.
10824 (shell-command): Use it. (Bug#4719)
10825
10826 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10827
10828 * international/mule-cmds.el (set-locale-environment): In a
10829 console session on MS-Windows, set up keyboard and terminal
10830 encoding from the OEM codepage, not the ANSI codepage.
10831 (Bug#12055)
10832
10833 2012-07-28 Chong Yidong <cyd@gnu.org>
10834
10835 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
10836 gdb-get-location.
10837
10838 2012-07-28 Leo Liu <sdl.web@gmail.com>
10839
10840 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
10841 the alist (bug#12029).
10842
10843 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10844
10845 * makefile.w32-in (custom-deps, finder-data, updates, compile)
10846 (compile-always, compile-first)
10847 ($(lisp)/calendar/cal-loaddefs.el)
10848 ($(lisp)/calendar/diary-loaddefs.el)
10849 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10850 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
10851 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
10852 instead of on update-subdirs.
10853 (bootstrap-clean): Delete $(lisp)/subdirs.el.
10854
10855 2012-07-28 Chong Yidong <cyd@gnu.org>
10856
10857 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
10858 directory if vc-deduce-backend returns nil (Bug#7350).
10859
10860 * simple.el (delete-trailing-lines): New option.
10861 (delete-trailing-whitespace): Obey it (Bug#11879).
10862
10863 2012-07-28 David Engster <deng@randomsample.de>
10864
10865 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
10866 Explanation of new 'symbol-qnames feature in doc-strings.
10867 (xml-maybe-do-ns): Return expanded names as plain symbols if
10868 'symbol-qnames was provided in XML-NS argument (Bug#11916).
10869 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
10870
10871 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10872
10873 Consistent completion in inferior python with emacs -nw.
10874 * progmodes/python.el (inferior-python-mode): replace "<tab>"
10875 binding in inferior-python-mode-map with "\t".
10876 (python-shell-completion-complete-at-point)
10877 (python-completion-complete-at-point): Remove interactive spec.
10878
10879 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10880
10881 * calc/calccomp.el (math-compose-expr): Undo previous change.
10882
10883 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10884
10885 * progmodes/python.el (python-mode-map): Add keybinding for
10886 run-python.
10887 (python-shell-make-comint): Fix pop-to-buffer call.
10888 (run-python): Autoload. New arg SHOW.
10889 (python-shell-get-or-create-process): Do not pop python process
10890 buffer.
10891
10892 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
10893
10894 * notifications.el (notifications-on-action-signal)
10895 (notifications-on-closed-signal): Use also the bus address for the map.
10896 (notifications-notify, notifications-close-notification)
10897 (notifications-get-capabilities): Add optional argument BUS.
10898
10899 2012-07-27 Tassilo Horn <tsdh@gnu.org>
10900
10901 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
10902 Add support for the lstlisting and minted environments, and for the
10903 ctable macro.
10904 * textmodes/reftex.el (reftex-compile-variables): Also recognize
10905 labels written in keyvals syntax.
10906
10907 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10908
10909 * calc/calccomp.el (math-compose-expr): Use parentheses when
10910 there is a product in the denominator of a fraction.
10911
10912 2012-07-26 Eli Zaretskii <eliz@gnu.org>
10913
10914 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
10915 ($(lisp)/calendar/diary-loaddefs.el)
10916 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10917 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
10918 Fixes failures in parallel bootstrap because subdirs.el is being
10919 rewritten while the autoload files are built at the same time,
10920 which needs to load subdirs.el.
10921
10922 2012-07-26 Martin Rudalics <rudalics@gmx.at>
10923
10924 * mouse.el (popup-menu): Fix doc-string and re-indent code.
10925 (mouse-drag-line): Don't exit tracking when a switch-frame or
10926 switch-window event occurs (Bug#12006).
10927
10928 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10929
10930 * mouse.el (popup-menu): Fix last change.
10931
10932 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10933
10934 Autoload from Lisp with more care. Follow aliases when looking for
10935 function properties.
10936 * subr.el (autoloadp): New function.
10937 (symbol-file): Use it.
10938 (function-get): New function.
10939 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
10940 autoload-do-load.
10941 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
10942 (lisp-indent-function):
10943 * emacs-lisp/gv.el (gv-get):
10944 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
10945 * emacs-lisp/byte-opt.el (byte-optimize-form):
10946 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10947 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
10948 Use function-get.
10949 * emacs-lisp/cl.el: Don't propagate function properties any more.
10950
10951 * speedbar.el (speedbar-add-localized-speedbar-support):
10952 * emacs-lisp/disass.el (disassemble-internal):
10953 * desktop.el (desktop-load-file):
10954 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
10955 (describe-function-1):
10956 * emacs-lisp/find-func.el (find-function-noselect):
10957 * emacs-lisp/elp.el (elp-instrument-function):
10958 * emacs-lisp/advice.el (ad-has-proper-definition):
10959 * apropos.el (apropos-safe-documentation, apropos-macrop):
10960 * emacs-lisp/debug.el (debug-on-entry):
10961 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
10962 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
10963 * calc/calc.el (name): Use autoloadp & autoload-do-load.
10964
10965 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
10966
10967 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
10968 function, not an obsolete variable (Bug#12046).
10969
10970 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10971
10972 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
10973
10974 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
10975
10976 * emacs-lisp/pp.el (pp-display-expression): Select old selected
10977 window only if it is still live (Bug#12034).
10978
10979 2012-07-25 Martin Rudalics <rudalics@gmx.at>
10980
10981 * subr.el (redirect-frame-focus): Add advertised calling
10982 convention (Bug#12030).
10983
10984 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
10985
10986 Prefer typical American spelling for "acknowledgment".
10987 * vc/add-log.el (change-log-acknowledgment): Rename from
10988 change-log-acknowledgement, with an alias for the old name.
10989
10990 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
10991
10992 * calc-alg.el (math-simplify-divide): Don't cross multiply
10993 in an equation when the lhs is a variable.
10994
10995 2012-07-24 Julien Danjou <julien@danjou.info>
10996
10997 * net/netrc.el (netrc-find-service-number, netrc-store-data):
10998 Remove, unused.
10999
11000 2012-07-23 Eli Zaretskii <eliz@gnu.org>
11001
11002 * startup.el (command-line): Don't display an empty user name in
11003 the error message about non-existent home directory, when
11004 init-file-user was set to an empty string. See
11005 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
11006 for the details and context.
11007
11008 2012-07-22 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11009
11010 * ses.el (ses-cell-formula-aset): New macro.
11011 (ses-cell-references-aset): New macro.
11012 (ses-cell-p): New function.
11013 (ses-rename-cell): Do no longer rely on complex operations like
11014 ses-cell-set-formula or ses-set-cell to change the cell and handle
11015 the undo at the same time, but rather use lower level new macros
11016 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
11017 the undo directly. Refresh the mode line.
11018
11019 2012-07-21 Leo Liu <sdl.web@gmail.com>
11020
11021 * progmodes/cc-cmds.el (c-defun-name):
11022 Use match-string-no-properties instead for consistency.
11023
11024 2012-07-20 Leo Liu <sdl.web@gmail.com>
11025
11026 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
11027 (Bug#7879)
11028
11029 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
11030
11031 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
11032
11033 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
11034 * progmodes/bug-reference.el, misearch.el: Provide themselves
11035 (bug#11915).
11036
11037 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
11038 of narrowed buffer (bug#11966).
11039
11040 2012-07-20 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11041
11042 * ses.el (ses-rename-cell): Set new name also in reference list of
11043 cells of which the renamed cell depends.
11044
11045 2012-07-20 Masatake YAMATO <yamato@redhat.com>
11046
11047 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
11048 to check whether menu-bar is shown or not. If not shown,
11049 show the menu-bar as a popup menu instead of using tmm.
11050 * mouse.el (popup-menu): Accept `point' as `position' argument.
11051
11052 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
11053
11054 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
11055 up inside string symbol literal (bug#11923).
11056
11057 2012-07-20 Eli Zaretskii <eliz@gnu.org>
11058
11059 * startup.el (fancy-startup-text): Read the whole tutorial, not
11060 just its first 256 bytes. Prevents gibberish in display of the
11061 tutorial title.
11062
11063 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
11064
11065 Drop idle buffer compaction due to an absence of the
11066 proved efficiency.
11067 * compact.el: Remove.
11068
11069 2012-07-19 Sam Steingold <sds@gnu.org>
11070
11071 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
11072 vc-bzr-pull & vc-bzr-merge-branch.
11073 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
11074 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
11075 for consistency with compilation-error-regexp-alist.
11076 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
11077 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
11078 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
11079 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
11080
11081 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11082
11083 * emacs-lisp/chart.el: Use lexical-binding.
11084 (chart-emacs-storage): Don't hardcode the list of entries.
11085
11086 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11087
11088 Next round of tweaks caused by Fgarbage_collect changes.
11089 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
11090
11091 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11092
11093 Compact buffers when idle.
11094 * compact.el: New file.
11095
11096 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11097
11098 * subr.el (eventp): Presume that if it looks vaguely like an event,
11099 it's an event (bug#10190).
11100
11101 2012-07-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11102
11103 Enhancements to ppss related code (thanks Stefan).
11104 * progmodes/python.el (python-indent-context)
11105 (python-indent-calculate-indentation, python-indent-dedent-line)
11106 (python-indent-electric-colon, python-nav-forward-block)
11107 (python-mode-abbrev-table)
11108 (python-info-assignment-continuation-line-p): Simplify checks
11109 for ppss context.
11110 (python-info-continuation-line-p): Cleanup.
11111 (python-info-ppss-context): Do not catch 'quote.
11112 (python-info-ppss-context-type)
11113 (python-info-ppss-comment-or-string-p): Simplify.
11114
11115 2012-07-18 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11116
11117 * progmodes/python.el: Enhancements to eldoc support.
11118 (python-info-current-symbol): New function.
11119 (python-eldoc-at-point): Use python-info-current-symbol.
11120 (python-info-current-defun): Fix cornercase on first defun scan.
11121 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
11122 and signal error when no inferior python process is available.
11123
11124 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
11125
11126 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
11127 assume it's always t.
11128 (vc-git-registered): Remove caching, the function is only called
11129 once.
11130 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
11131
11132 2012-07-18 Chong Yidong <cyd@gnu.org>
11133
11134 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
11135
11136 * simple.el (count-words): Report on narrowing (Bug#9959).
11137
11138 * bindings.el: Bind M-= to count-words.
11139
11140 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
11141
11142 2012-07-18 Masatake YAMATO <yamato@redhat.com>
11143
11144 * progmodes/sh-script.el (sh-imenu-generic-expression):
11145 Capture a function with `function' keyword and without parentheses
11146 like "function FOO" (bug#11856).
11147
11148 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
11149
11150 * window.el (split-window-sensibly): Make WINDOW argument
11151 optional.
11152
11153 2012-07-18 Chong Yidong <cyd@gnu.org>
11154
11155 * subr.el (keyboard-translate): Doc fix (Bug#7261).
11156
11157 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
11158 and make C-x 8 RET exit isearch (Bug#11439).
11159
11160 * international/iso-transl.el: Move isearch-mode-map key
11161 definitions to isearch.el.
11162
11163 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
11164
11165 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
11166 (eieio-defclass): Use gv-define-setter when possible.
11167
11168 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
11169
11170 Reflect recent changes in Fgarbage_collect.
11171 * emacs-lisp/chart.el (chart-emacs-storage): Change to
11172 reflect new format of data returned by Fgarbage_collect.
11173
11174 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11175
11176 New utility functions + python-info-ppss-context fix (Bug#11910).
11177 * progmodes/python.el (python-info-beginning-of-block-statement-p)
11178 (python-info-ppss-comment-or-string-p): New functions.
11179 (python-info-ppss-context): Small fix for string check.
11180
11181 2012-07-17 Juri Linkov <juri@jurta.org>
11182
11183 * dired-aux.el (dired-do-async-shell-command): Doc fix.
11184 (dired-do-async-shell-command): Don't add `*' at the end of the
11185 command (Bug#11815).
11186 (dired-do-shell-command): Doc fix.
11187 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
11188 Join the individual commands using either "&" or ";" as the
11189 separator depending on the values of these trailing characters.
11190 At the end re-add the trailing "&". (Bug#10598)
11191
11192 * simple.el (async-shell-command): Sync the interactive spec with
11193 `shell-command'. Doc fix.
11194 (shell-command): Doc fix.
11195
11196 2012-07-17 Juri Linkov <juri@jurta.org>
11197
11198 * descr-text.el (describe-char): Fix format args. (Bug#10129)
11199
11200 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11201
11202 Final renames and doc fixes for movement commands (bug#11899).
11203 * progmodes/python.el (python-nav-beginning-of-statement):
11204 Rename from python-nav-statement-start.
11205 (python-nav-end-of-statement): Rename from
11206 python-nav-statement-end.
11207 (python-nav-beginning-of-block): Rename from
11208 python-nav-block-start.
11209 (python-nav-end-of-block): Rename from python-nav-block-end.
11210
11211 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11212
11213 * progmodes/python.el (python-shell-send-string-no-output):
11214 Allow accept-process-output to quit, keeping shell process ready for
11215 future interactions (Bug#11868).
11216
11217 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11218
11219 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
11220
11221 * emacs-lisp/elint.el (elint-find-args-in-code):
11222 Use help-function-arglist, so as to handle lexical byte-code.
11223
11224 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
11225 change (bug#11826).
11226
11227 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11228
11229 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
11230 Avoid spuriously marking the buffer as modified because of c-is-sws.
11231
11232 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
11233 as not-a-comment (bug#11946).
11234
11235 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
11236 for uninterned vars.
11237
11238 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
11239 Use read-event since we don't really want to read chars but bytes.
11240
11241 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
11242 $$..$$ but also $..$ using regexps (bug#11953).
11243 Use tex-verbatim for \url and \path.
11244 (tex-font-lock-keywords): Define as defconst like the others.
11245 (tex-common-initialization): Don't use font-lock-syntax-table any more.
11246
11247 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
11248
11249 * international/mule-cmds.el (ucs-insert): Make it an obsolete
11250 alias for insert-char.
11251
11252 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11253
11254 * progmodes/python.el: Simplified imenu implementation.
11255 (python-nav-jump-to-defun): Remove command.
11256 (python-mode-map): Use `imenu' instead.
11257 (python-nav-list-defun-positions-cache)
11258 (python-imenu-include-defun-type, python-imenu-make-tree)
11259 (python-imenu-subtree-root-label, python-imenu-index-alist):
11260 Remove vars.
11261 (python-nav-list-defun-positions, python-nav-read-defun)
11262 (python-imenu-tree-assoc, python-imenu-make-element-tree)
11263 (python-imenu-make-tree, python-imenu-create-index):
11264 Remove functions.
11265 (python-mode): Update to interact with imenu by setting
11266 `imenu-extract-index-name-function' only.
11267
11268 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11269
11270 * progmodes/python.el: Enhancements to navigation commands.
11271 (python-nav-backward-sentence)
11272 (python-nav-forward-sentence): Remove.
11273 (python-nav-backward-statement, python-nav-forward-statement)
11274 (python-nav-statement-start, python-nav-statement-end)
11275 (python-nav-backward-block, python-nav-forward-block)
11276 (python-nav-block-start, python-nav-block-end)
11277 (python-nav-forward-sexp-function)
11278 (python-info-current-line-comment-p)
11279 (python-info-current-line-empty-p): New functions.
11280 (python-indent-context): Use `python-nav-statement-start'.
11281
11282 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
11283
11284 * eshell/em-ls.el (eshell/ls): Use `apply'.
11285
11286 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
11287 multi-hops, instead of Tramp internals.
11288
11289 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
11290
11291 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
11292 when F1 and F2 are located on different hosts.
11293
11294 2012-07-14 Chong Yidong <cyd@gnu.org>
11295
11296 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
11297 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
11298 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
11299 (xterm-mouse--read-event-sequence-1000)
11300 (xterm-mouse--read-event-sequence-1006): New functions. For old
11301 mouse protocol, handle M-mouse-X events correctly.
11302 (xterm-mouse-event): New arg specifying mouse protocol.
11303 (turn-on-xterm-mouse-tracking-on-terminal)
11304 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
11305 sequence to toggle extended coordinates on newer XTerms.
11306 This appears to be harmless on terminals which do not support this.
11307
11308 2012-07-14 Leo Liu <sdl.web@gmail.com>
11309
11310 Add fringe bitmap indicators for flymake. (Bug#11253)
11311 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
11312 (flymake-make-overlay): New arg BITMAP.
11313 (flymake-error-bitmap, flymake-warning-bitmap)
11314 (flymake-fringe-indicator-position): New user variables.
11315
11316 * fringe.el: New bitmap exclamation-mark.
11317
11318 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
11319
11320 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
11321 also (Bug#7879).
11322
11323 2012-07-14 Chong Yidong <cyd@gnu.org>
11324
11325 * electric.el (electric-pair-post-self-insert-function): Fix pair
11326 insertion in empty-region case (Bug#11520).
11327
11328 2012-07-14 Chong Yidong <cyd@gnu.org>
11329
11330 * bindings.el: Consolidate ctl-x-r-map bindings.
11331 Bind copy-rectangle-as-kill to C-x r w.
11332
11333 * rect.el, register.el: Move bindings to bindings.el.
11334
11335 2012-07-14 Reuben Thomas <rrt@sc3d.org>
11336
11337 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
11338
11339 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
11340
11341 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
11342
11343 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
11344
11345 * bindings.el (top): Use `mapc' instead of `mapcar'.
11346
11347 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
11348
11349 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
11350
11351 * progmodes/sql.el (sql-comint): Suppress the check for program on
11352 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
11353 (Bug#11908)
11354
11355 2012-07-13 Chong Yidong <cyd@gnu.org>
11356
11357 * bindings.el: Assign a non-nil permanent-local property to
11358 per-buffer variables which lack a default value (Bug#11930).
11359
11360 * help-fns.el (describe-variable): In the "automatically becomes
11361 local" notice, take note of permanent-local variables.
11362
11363 2012-07-13 Chong Yidong <cyd@gnu.org>
11364
11365 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
11366 to allow printing the message when called from Lisp.
11367
11368 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11369 Remove toggle-read-only.
11370
11371 * bs.el (bs-toggle-readonly):
11372 * buff-menu.el (Buffer-menu-toggle-read-only):
11373 Remove with-no-warnings around toggle-read-only.
11374
11375 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
11376 Remove with-no-warnings around toggle-read-only.
11377 (ffap-read-only, ffap-read-only-other-window)
11378 (ffap-read-only-other-frame): Callers changed.
11379
11380 * help-mode.el: Don't require view package.
11381 (help-mode-finish): Set buffer-read-only instead of calling
11382 toggle-read-only.
11383
11384 * bindings.el (mode-line-toggle-read-only):
11385 * dired.el (dired-toggle-read-only):
11386 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
11387 with non-nil second arg.
11388
11389 * emacs-lisp/eieio-custom.el (eieio-customize-object):
11390 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
11391 directly.
11392
11393 2012-07-12 Eli Zaretskii <eliz@gnu.org>
11394
11395 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
11396 not incf.
11397
11398 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
11399
11400 More CL cleanups and reduction of use of cl.el.
11401 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
11402 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
11403 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
11404 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
11405 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
11406 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
11407 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
11408 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
11409 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
11410 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
11411 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
11412 * eshell/em-cmpl.el, eshell/em-banner.el:
11413 * calendar/parse-time.el: Use cl-lib.
11414 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
11415 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
11416 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
11417 * term/ns-win.el, term.el, shell.el, ps-samp.el:
11418 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
11419 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
11420 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
11421 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
11422 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
11423 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
11424 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
11425 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
11426 `lambda' rather than with `quote'.
11427 (eshell-do-opt): Adjust accordingly.
11428 (eshell-process-option): Simplify.
11429 * eshell/esh-var.el:
11430 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
11431 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
11432 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
11433 to `pcase--dontcare'.
11434 * emacs-lisp/cl.el (labels): Mark obsolete.
11435 (cl--letf, letf): Move to cl-lib.
11436 (cl--letf*, letf*): Remove.
11437 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
11438 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
11439 (cl-progv): Rewrite.
11440 (cl--letf, cl-letf): Move from cl.el.
11441 (cl-letf*): New macro.
11442 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
11443
11444 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
11445
11446 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
11447
11448 2012-07-11 Chong Yidong <cyd@gnu.org>
11449
11450 * vc/log-edit.el (log-edit-vc-backend): New variable.
11451 (log-edit): Doc fix.
11452
11453 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
11454 argument of log-edit to set up all local variables.
11455 (vc-start-logentry): New optional arg specifying VC backend.
11456
11457 * vc/vc.el (vc-checkin): Use it.
11458 (vc-deduce-fileset): Handle Log Edit buffers.
11459 (vc-diff): Make first argument optional too.
11460
11461 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
11462
11463 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
11464
11465 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
11466 command, just in case. The function is not needed anymore.
11467 (eshell-external-command): Do not call `eshell-remote-command'.
11468
11469 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
11470
11471 Reduce use of (require 'cl).
11472 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
11473 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
11474 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
11475 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
11476 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
11477 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
11478 * battery.el, avoid.el, abbrev.el: Use cl-lib.
11479 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
11480 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
11481 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
11482 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
11483 * calculator.el, autorevert.el, apropos.el: Don't require CL.
11484 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
11485 (byte-compile-unfold-bcf, byte-compile-check-variable):
11486 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
11487 (byte-compile-nilconstp):
11488 * emacs-lisp/autoload.el (make-autoload): Use pcase.
11489 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
11490
11491 * emacs-lisp/gv.el (cond): Make it a valid place.
11492 (if): Simplify slightly.
11493
11494 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
11495 (pcase--self-quoting-p): New function.
11496 (pcase--u1): Use it.
11497
11498 2012-07-10 Glenn Morris <rgm@gnu.org>
11499
11500 * emacs-lisp/authors.el (authors-fixed-entries):
11501 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
11502
11503 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
11504
11505 Rename configure.in to configure.ac (Bug#11603).
11506 * emacs-lisp/authors.el (authors-canonical-file-name):
11507 * progmodes/autoconf.el (autoconf-mode):
11508 Prefer configure.ac to configure.in.
11509
11510 2012-07-08 Chong Yidong <cyd@gnu.org>
11511
11512 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
11513 Implement the mouse-1-click-follows-link handling properly.
11514
11515 * info.el (Info-link-keymap): Use follow-link mechanism for
11516 header-line links (Bug#374).
11517
11518 * simple.el (deactivate-mark): Do not set the primary selection
11519 if another program has acquired it (Bug#11772).
11520
11521 2012-07-07 Kevin Ryde <user42@zip.com.au>
11522
11523 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
11524 (woman-decode-region): Replace escaped-escapes without destroying
11525 bold or underline (Bug#11552).
11526 (woman2-process-escapes): Handle nofill regions (Bug#11591).
11527
11528 2012-07-07 Chong Yidong <cyd@gnu.org>
11529
11530 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
11531 (interprogram-cut-function, interprogram-paste-function):
11532 Mention that we typically mean the clipboard.
11533
11534 2012-07-06 Glenn Morris <rgm@gnu.org>
11535
11536 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
11537
11538 * files.el (toggle-read-only): Restrict message to interactive use.
11539
11540 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
11541
11542 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
11543
11544 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
11545
11546 2012-07-06 Glenn Morris <rgm@gnu.org>
11547
11548 * Makefile.in (compile-one-process): Rename from "recompile".
11549
11550 * Makefile.in (bzr-update): "compile" is the same as "recompile
11551 autoloads", but parallelizable, so use that instead.
11552
11553 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
11554
11555 * window.el (quit-window): Always restore window height when
11556 it's saved in quit-restore parameter (Bug#11810).
11557
11558 2012-07-06 Glenn Morris <rgm@gnu.org>
11559
11560 * simple.el (kill-whole-line): Doc tweak.
11561
11562 2012-07-06 Eli Zaretskii <eliz@gnu.org>
11563
11564 * files.el (file-relative-name): Compare file names
11565 case-insensitively if on MS-Windows or MS-DOS, or if
11566 read-file-name-completion-ignore-case is non-nil. Don't use
11567 case-fold-search for this purpose. (Bug#11827)
11568
11569 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
11570
11571 * calendar/cal-dst.el (calendar-current-time-zone):
11572 Return calendar-current-time-zone-cache if non-nil.
11573
11574 2012-07-17 Masatake YAMATO <yamato@redhat.com>
11575 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11576
11577 * calendar/cal-dst.el (calendar-current-time-zone):
11578 Return calendar-current-time-zone-cache if non-nil.
11579
11580 2012-07-06 Glenn Morris <rgm@gnu.org>
11581
11582 * Makefile.in (cvs-update): Remove old alias.
11583
11584 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
11585
11586 Sync with Tramp 2.2.6-pre.
11587
11588 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
11589 compatible declaration.
11590
11591 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11592 Protect `list-load-path-shadows' call.
11593
11594 * net/tramp-compat.el (top): Require packages, which aren't
11595 autoloaded anymore for XEmacs. Protect call of
11596 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
11597 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
11598 it hurts at least for SXEmacs.
11599 (tramp-compat-temporary-file-directory): In XEmacs, there is no
11600 standard-value for `temporary-file-directory'.
11601
11602 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
11603 Redirect stderr to /dev/null.
11604 (tramp-sh-handle-write-region): uid and gid can be floats.
11605 Reported by Russell Sim <russell.sim@gmail.com>.
11606 (tramp-sh-handle-vc-registered): Hide errors.
11607 (tramp-vc-file-name-handler): Use dummy results for `process-file'
11608 and `start-file-process'.
11609 (tramp-maybe-open-connection): Check also whether `non-essential'
11610 is bound.
11611
11612 2012-07-04 Chong Yidong <cyd@gnu.org>
11613
11614 * xml.el (xml--parse-buffer): Use xml-syntax-table.
11615 (xml-parse-tag): Likewise, and avoid changing entity tables.
11616 (xml-syntax-table): Define from scratch, making sure not to give
11617 x2000 and other Unicode spaces whitespace syntax, since those are
11618 not spaces in XML.
11619 (xml-parse-fragment): Delete unused function.
11620 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
11621 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
11622 (xml-entity-ref, xml-pe-reference-re)
11623 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
11624 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
11625 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
11626 (xml-entity-value-re): Use syntax references in regexps where
11627 possible; no need to define inside a let-binding.
11628 (xml-parse-dtd): Use xml-pe-reference-re.
11629 (xml-entity-or-char-ref-re): New defconst.
11630 (xml-parse-string, xml-substitute-special): Use it.
11631
11632 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11633
11634 * files.el (locate-dominating-file): Allow `name' to be a predicate.
11635 (find-file--read-only): New function.
11636 (find-file-read-only, find-file-read-only-other-window)
11637 (find-file-read-only-other-frame): Use it.
11638 (insert-file-contents-literally): Don't `fset'.
11639 (get-free-disk-space): Use locate-dominating-file.
11640
11641 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
11642 function is already compiled.
11643
11644 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
11645
11646 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
11647
11648 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
11649 files on the same host.
11650
11651 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
11652
11653 * help-fns.el (describe-function-1): Only call
11654 help-fns--autoloaded-p when we have a file name. (Bug#11848)
11655
11656 2012-07-03 Chong Yidong <cyd@gnu.org>
11657
11658 * xml.el: Protect parser against XML bombs.
11659 (xml-entity-expansion-limit): New variable.
11660 (xml-parse-string, xml-substitute-special): Use it.
11661 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
11662
11663 2012-07-03 Glenn Morris <rgm@gnu.org>
11664
11665 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11666 Allow linking to specific messages in debbugs reports (eg 123#5).
11667
11668 2012-07-02 Chong Yidong <cyd@gnu.org>
11669
11670 * xml.el: Fix entity and character reference expansion, allowing
11671 them to expand into markup as per XML spec.
11672 (xml-default-ns): New variable.
11673 (xml-entity-alist): Use XML spec definitions for lt and amp.
11674 (xml-parse-region): Make first two arguments optional.
11675 Discard text properties.
11676 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
11677 All callers changed.
11678 (xml-parse-tag): Call xml-parse-tag-1. For backward
11679 compatibility, this function should not modify buffer contents.
11680 (xml-parse-tag-1): Fix opening-tag regexp.
11681 (xml-parse-string): Rewrite, handling entity and character
11682 references properly.
11683 (xml--entity-replacement-text): Signal an error if a parameter
11684 entity is undefined.
11685
11686 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11687
11688 * comint.el (comint-output-filter): Filter out repeated prompts.
11689
11690 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
11691 and file-name-absolute-p.
11692 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
11693 internal calls.
11694
11695 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
11696
11697 Spelling fixes.
11698 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
11699 Rename from byte-compile--refiy-function. All uses changed.
11700
11701 2012-07-01 Chong Yidong <cyd@gnu.org>
11702
11703 * xml.el (xml--parse-buffer): New function. Move most of
11704 xml-parse-region here.
11705 (xml-parse-region): Copy region into a temporary buffer, since
11706 parameter entity substitution requires changing buffer contents.
11707 Use xml--parse-buffer.
11708 (xml-parse-file): Use xml--parse-buffer.
11709 (xml-parse-dtd): Make parameter entity substitution work right.
11710 Use proper regexps for ELEMENT declarations (Bug#7172).
11711
11712 2012-06-30 Glenn Morris <rgm@gnu.org>
11713
11714 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
11715
11716 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
11717 Remove outdated and unnecessary dbus declarations.
11718
11719 2012-06-30 Eli Zaretskii <eliz@gnu.org>
11720
11721 * emacs-lisp/timer.el (timer-until): Subtract results of
11722 float-time, instead of taking float-time of the result of
11723 time-subtract, since float-time signals an error for negative time
11724 arguments.
11725
11726 2012-06-30 Chong Yidong <cyd@gnu.org>
11727
11728 * xml.el (xml-*-re): Convert defvars into defconsts, and
11729 eval-and-compile them so eval-and-compile works on derivatives.
11730 (xml--entity-replacement-text): Use eval-and-comple.
11731
11732 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
11733
11734 * vc/vc-git.el (vc-git-registered): Use cache property
11735 `git-registered'.
11736 (vc-git-mode-line-string): Call `vc-working-revision' instead of
11737 `vc-git-working-revision' in order to benefit from the cache.
11738 (vc-git-root): Use cache property `git-root'. (Bug#11757)
11739
11740 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
11741
11742 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
11743 removed (likely outside Emacs). (Bug#11757)
11744
11745 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11746
11747 * emacs-lisp/cl-lib.el: Require macroexp.
11748
11749 2012-06-30 Chong Yidong <cyd@gnu.org>
11750
11751 * xml.el: Implement XML parameter entities.
11752 (xml-parameter-entity-alist): New variable.
11753 (xml-parse-region, xml-parse-fragment): Preserve previous values
11754 of xml-entity-alist and xml-parameter-entity-alist, so that
11755 repeated calls on different documents do not change them.
11756 (xml-parse-tag): Fix doctype regexp.
11757 (xml--entity-replacement-text): New function.
11758 (xml-parse-dtd): Use it. Don't handle system entities; doing that
11759 properly requires url retrieval which is unimplemented.
11760 (xml-escape-string): Doc fix.
11761
11762 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11763
11764 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
11765
11766 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
11767
11768 * fringe.el (fringe-mode): Doc fix.
11769
11770 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
11771
11772 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
11773 is non-nil.
11774 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
11775 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
11776
11777 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
11778
11779 * calendar/cal-dst.el (calendar-current-time-zone):
11780 Return calendar-current-time-zone-cache if non-nil.
11781
11782 2012-06-29 Masatake YAMATO <yamato@redhat.com>
11783
11784 * progmodes/which-func.el (which-func-format):
11785 Add mouse-face. (Bug#11698)
11786
11787 2012-06-29 Leo Liu <sdl.web@gmail.com>
11788
11789 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
11790
11791 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11792
11793 * minibuffer.el (minibuffer-confirm-exit-commands):
11794 Add completion-at-point (bug#11725).
11795
11796 2012-06-29 Glenn Morris <rgm@gnu.org>
11797
11798 * progmodes/f90.el (f90-font-lock-keywords-2):
11799 Add some preprocessor elements. (Bug#10499)
11800
11801 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11802
11803 * progmodes/cperl-mode.el (cperl-update-syntaxification):
11804 Use syntax-propertize (bug#11739).
11805
11806 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
11807
11808 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
11809
11810 2012-06-28 Julien Danjou <julien@danjou.info>
11811
11812 * term.el (term-handle-colors-array): Use a set of new faces to
11813 color the terminal. Also uses :inverse-video property.
11814 (term-default-fg-color): Set to nil by default, deprecate in favor
11815 of `term-face'.
11816 (term-default-bg-color): Set to nil by default, deprecate in favor
11817 of `term-face'.
11818 (term-current-face): Use `term-face' by default.
11819 (term-bold-attribute): Variable deleted.
11820
11821 2012-06-28 Glenn Morris <rgm@gnu.org>
11822
11823 * simple.el (completion-list-mode-finish):
11824 Don't use toggle-read-only. (Since completion-list-mode has
11825 a special mode-class, it wasn't doing anything extra anyway.)
11826
11827 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
11828
11829 Make inlining of other-mode interpreted functions work (bug#11799).
11830 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
11831 (byte-compile): Use it to fix compilation of lexical-binding closures.
11832 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
11833 function, if needed.
11834
11835 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11836
11837 * help-mode.el (help-make-xrefs): Don't just withstand
11838 cyclic-variable-indirection but any error in documentation-property.
11839
11840 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
11841 memory use.
11842 * bindings.el (bindings--define-key): New function.
11843 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
11844 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
11845 * bindings.el: Use it to purecopy define-key bindings.
11846
11847 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
11848
11849 * emacs-lisp/cl.el (flet): Mark obsolete.
11850 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
11851 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
11852 * progmodes/js.el (js-c-fill-paragraph):
11853 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
11854 (ebrowse-switch-member-buffer-to-derived-class):
11855 * play/5x5.el (5x5-solver): Use cl-flet.
11856
11857 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
11858 (cl--symbol-function): New macro.
11859 (cl--letf, cl--letf*): Use it.
11860
11861 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
11862 Strip "toggle-" if any.
11863
11864 2012-06-27 Glenn Morris <rgm@gnu.org>
11865
11866 * info.el (Info-default-directory-list): Move here from paths.el.
11867 * paths.el: Remove file, which is now empty.
11868 * loadup.el: No longer load "paths".
11869
11870 * custom.el (custom-initialize-delay): Doc fix.
11871
11872 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11873 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
11874 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
11875 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
11876 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
11877 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
11878 * eshell/eshell.el (eshell-defgroup): Remove alias.
11879
11880 2012-06-27 Chong Yidong <cyd@gnu.org>
11881
11882 * help.el (help-enable-auto-load): New variable.
11883
11884 * help-fns.el (help-fns--autoloaded-p): New function.
11885 (describe-function-1): Refer to a function as "autoloaded" if it
11886 was autoloaded at any time in the past. Perform autoloading if
11887 help-enable-auto-load is non-nil.
11888
11889 2012-06-26 Eli Zaretskii <eliz@gnu.org>
11890
11891 * makefile.w32-in (compile, compile-always): Depend on
11892 update-subdirs, not on subdirs.el. Otherwise, several different
11893 sub-targets of 'bootstrap' running in parallel could
11894 simultaneously write to subdirs.el, producing a garbled file.
11895
11896 2012-06-26 Sam Steingold <sds@gnu.org>
11897
11898 * files.el (file-name-base): New convenience function.
11899 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
11900 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
11901 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
11902 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
11903 * textmodes/ispell.el, textmodes/reftex-ref.el:
11904 * textmodes/tex-mode.el: Use it.
11905 Did not touch cedet and org because they are maintained elsewhere.
11906
11907 2012-06-26 Martin Rudalics <rudalics@gmx.at>
11908
11909 * calendar/calendar.el (calendar-exit): Don't try to delete or
11910 iconify last frame. See:
11911 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
11912
11913 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
11914
11915 * server.el (server-process-filter): Remember dir in the
11916 process's `server-client-directory' properties.
11917
11918 2012-06-24 Chong Yidong <cyd@gnu.org>
11919
11920 * xml.el (xml-parse-tag): Correctly handle comment embedded in
11921 non-tag text.
11922
11923 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
11924
11925 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
11926
11927 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11928
11929 * help-fns.el (describe-variable): Don't croak when doc is not found.
11930 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
11931 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
11932 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
11933 * emacs-lisp/smie.el (smie-next-sexp): CSE.
11934 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
11935 ((lambda ..) ..).
11936 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
11937
11938 2012-06-23 Chong Yidong <cyd@gnu.org>
11939
11940 * info.el (Info-mouse-follow-link): Accept symbol values of
11941 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
11942 (Info-fontify-node): Use Info-link-keymap for all navigation
11943 buttons, with link-args property to perform the desired action.
11944 (Info-link-keymap): Doc fix.
11945 (Info-next-link-keymap, Info-prev-link-keymap)
11946 (Info-up-link-keymap): Delete now-unused keymaps.
11947
11948 2012-06-23 Chong Yidong <cyd@gnu.org>
11949
11950 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
11951
11952 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
11953 system abbrevs.
11954
11955 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
11956
11957 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11958
11959 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
11960 (bug#11719).
11961
11962 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
11963 the requote function doesn't work properly (bug#11714).
11964
11965 2012-06-23 Glenn Morris <rgm@gnu.org>
11966
11967 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
11968
11969 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11970
11971 Further GV/CL cleanups.
11972 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
11973 gv-expander.
11974 (gv--defun-declaration): New function.
11975 (defun-declarations-alist): Use it.
11976 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
11977 (gv-place): Autoload.
11978 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
11979 original definition of dotimes and dolist.
11980 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
11981 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
11982 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
11983 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11984 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
11985 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
11986 to the function's definition.
11987 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
11988 * window.el:
11989 * files.el:
11990 * faces.el:
11991 * env.el: Don't use CL.
11992
11993 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
11994
11995 Support higher-resolution time stamps (Bug#9000).
11996
11997 * calendar/time-date.el (with-decoded-time-value): New arg
11998 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
11999 (encode-time-value): New optional arg PICO. New type 3.
12000 (time-to-seconds) [!float-time]: Support the new picoseconds
12001 component if it's used.
12002 (seconds-to-time, time-subtract, time-add):
12003 Support ps-resolution time stamps as well.
12004
12005 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
12006 (timerp): Timer vectors now have length 9, not 8.
12007 (timer--time): Support new-style (4-part) time stamps.
12008 (timer-next-integral-multiple-of-time): Time stamps now have
12009 picosecond resolution, so take a bit more care about rounding.
12010 (timer-relative-time, timer-inc-time): New optional arg psecs.
12011 (timer-set-time-with-usecs): Set psecs to 0.
12012 (timer--activate): Check psecs component, too.
12013
12014 * proced.el (proced-time-lessp): Support ps-resolution stamps.
12015
12016 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12017
12018 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
12019 Move the non-essential binding to the post/pre-command-hook where it is
12020 more obviously correct.
12021
12022 * subr.el (read-passwd): Don't use a history at all.
12023 * savehist.el (savehist-save): Remove password saved accidentally
12024 because of the above bug.
12025
12026 2012-06-22 Bastien Guerry <bzg@gnu.org>
12027
12028 * files.el (toggle-read-only): Display a message telling whether
12029 the buffer is read-only or not (bug#11726).
12030
12031 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12032
12033 * emacs-lisp/gv.el: New file.
12034 * subr.el (push, pop): Extend to generalized variables.
12035 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
12036 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
12037 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
12038 gv-define-simple-setter, and gv-define-expander.
12039 Remove setf-methods defined in gv. Rename cl-setf -> setf.
12040 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
12041 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
12042 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
12043 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
12044 gv-letplace.
12045 (cl-defstruct): Don't define setf-method any more.
12046 * emacs-lisp/cl.el (flet): Don't autoload.
12047 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
12048 (define-setf-expander, defsetf, define-modify-macro)
12049 (cl-struct-setf-expander): Move from cl-lib.el.
12050 * emacs-lisp/syntax.el:
12051 * emacs-lisp/ewoc.el:
12052 * emacs-lisp/smie.el:
12053 * emacs-lisp/cconv.el:
12054 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
12055 (timer--time): Use gv-define-simple-setter.
12056 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
12057 to avoid coding-system problems in subr.el. Adjust all users.
12058 (macroexp--maxsize, macroexp-small-p): New functions.
12059 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
12060 * scroll-bar.el (scroll-bar-mode):
12061 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
12062 (normal-erase-is-backspace-mode): Don't use the `eq' place.
12063 * winner.el (winner-configuration, winner-make-point-alist)
12064 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
12065 * files.el (locate-file-completion-table): Avoid list*.
12066
12067 2012-06-22 Chong Yidong <cyd@gnu.org>
12068
12069 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
12070 (dired-create-files): Doc fix (Bug#11329).
12071 (dired-do-copy): Doc fix (Bug#11334).
12072 (dired-mark-read-string): Doc fix (Bug#11553).
12073
12074 * dired.el (dired-recursive-copies, dired-recursive-deletes):
12075 Doc fix (Bug#11326).
12076 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
12077 (dired-dwim-target): Doc fix.
12078
12079 * wdired.el (wdired-mode): Doc fix.
12080
12081 2012-06-22 Glenn Morris <rgm@gnu.org>
12082
12083 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
12084 (pcmpl-rpm-cache-stamp-file): New constant.
12085 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
12086 (pcmpl-rpm-packages): Optionally cache list of packages.
12087
12088 * pcmpl-rpm.el (pcmpl-rpm): New group.
12089 (pcmpl-rpm-query-options): New option.
12090 (pcmpl-rpm-packages): No need to inline it.
12091 Use pcmpl-rpm-query-options.
12092
12093 * calendar/calendar.el (calendar-in-read-only-buffer):
12094 Avoid some needless mode changes.
12095
12096 2012-06-21 Chong Yidong <cyd@gnu.org>
12097
12098 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
12099 (desktop-path): Remove . from the default value (Bug#10977).
12100 (desktop-read): Use user-emacs-directory if desktop-path is nil.
12101
12102 2012-06-20 Chong Yidong <cyd@gnu.org>
12103
12104 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
12105
12106 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
12107
12108 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
12109 (bug#11201).
12110
12111 2012-06-20 Chong Yidong <cyd@gnu.org>
12112
12113 * term.el (term-window-width): Handle the case of a missing right
12114 fringe (Bug#8837).
12115 (term-check-size): Use window-text-height (Bug#5445).
12116 (term-mode): Use define-derived-mode. Minor cleanups.
12117 Set font-lock-defaults (Bug#7692).
12118 (term-move-columns, term-insert-char, term-emulate-terminal)
12119 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
12120
12121 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
12122
12123 * net/ange-ftp.el (ange-ftp-get-passwd):
12124 Bind `enable-recursive-minibuffers'.
12125 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
12126
12127 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
12128
12129 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
12130
12131 2012-06-19 Glenn Morris <rgm@gnu.org>
12132
12133 * progmodes/python.el (python-mode): Derive from prog-mode.
12134
12135 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
12136
12137 * emulation/edt.el (edt-default-menu-bar-update-buffers)
12138 (edt-user-menu-bar-update-buffers): New functions.
12139 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
12140
12141 2012-06-19 Chong Yidong <cyd@gnu.org>
12142
12143 * subr.el (with-selected-window): Preserve the selected window's
12144 terminal's top-frame (Bug#4702).
12145
12146 * window.el (save-selected-window): Likewise.
12147
12148 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12149
12150 * progmodes/python.el (python-rx-constituents): Move backquote.
12151 (python-skeleton-define, python-define-auxiliary-skeleton):
12152 Use `declare'.
12153
12154 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
12155
12156 * minibuffer.el (read-file-name-default): Revert the patch from
12157 2012-06-17.
12158
12159 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12160
12161 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
12162 (pcase--u1, pcase--q1): Don't use apply-partially.
12163
12164 2012-06-18 Glenn Morris <rgm@gnu.org>
12165
12166 * progmodes/python.el (python-proc, python-buffer)
12167 (python-send-receive, python-send-string): Fix obsolete versions.
12168
12169 2012-06-18 Martin Rudalics <rudalics@gmx.at>
12170
12171 * window.el (special-display-p): Completely remove stringp
12172 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
12173
12174 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
12175
12176 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
12177
12178 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
12179
12180 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
12181 * net/tramp-sh.el (tramp-maybe-open-connection):
12182 Throw if `non-essential' is non-nil.
12183
12184 2012-06-17 Martin Rudalics <rudalics@gmx.at>
12185
12186 * window.el (special-display-p): Signal an error if BUFFER-NAME
12187 is not a string (Bug#11713).
12188
12189 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
12190
12191 * progmodes/python.el (python-info-beginning-of-backslash):
12192 Rename from python-info-beginning-of-backlash, as a spelling fix.
12193
12194 2012-06-17 Chong Yidong <cyd@gnu.org>
12195
12196 * term.el (term-emulate-terminal): If term-check-size is called,
12197 move point to the process mark without resetting point (Bug#4635).
12198
12199 2012-06-17 Glenn Morris <rgm@gnu.org>
12200
12201 * international/mule-cmds.el (mule-menu-keymap)
12202 (set-language-environment, set-locale-environment): Doc tweaks.
12203
12204 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
12205
12206 * cus-face.el (custom-face-attributes): Add wave-style underline
12207 attribute.
12208 * faces.el (set-face-attribute): Update docstring to describe
12209 wave-style underline attribute.
12210
12211 2012-06-16 Chong Yidong <cyd@gnu.org>
12212
12213 * term/xterm.el (terminal-init-xterm): Discard input before
12214 querying background mode (Bug#10959).
12215
12216 2012-06-16 Stefan Merten <smerten@oekonux.de>
12217
12218 * textmodes/rst.el: Added and corrected some comments.
12219 (rst-re-alist-def): Improve symbol syntax.
12220 (rst-mode-syntax-table): Correct syntax entries.
12221 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
12222 (rst-official-version, rst-official-cvs-rev): Update version
12223 information.
12224
12225 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
12226
12227 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
12228 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
12229
12230 2012-06-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12231
12232 * progmodes/python.el: New python.el merge.
12233 (python-guess-indent): Obsolete var.
12234 (python-indent-guess-indent-offset): New defcustom.
12235 (python-indent): Obsolete var.
12236 (python-indent-offset): New defcustom.
12237 (python-python-command, python-jython-command): Delete var.
12238 (python-shell-interpreter): New defcustom.
12239 (python-pdbtrack-do-tracking-p): Delete var.
12240 (python-pdbtrack-activate): New defcustom.
12241 (python-use-skeletons): Obsolete var.
12242 (python-skeleton-autoinsert): New defcustom.
12243 (inferior-python-filter-regexp, python-continuation-offset)
12244 (python-honour-comment-indentation, python-indent-string-contents)
12245 (python-jython-packages, python-mode-hook)
12246 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
12247 (python-shell-prompt-alist)
12248 (python-source-modes): Delete defcustoms.
12249 (python-check-buffer-name, python-eldoc-setup-code)
12250 (python-eldoc-string-code, python-ffap-setup-code)
12251 (python-ffap-string-code, python-fill-comment-function)
12252 (python-fill-decorator-function, python-fill-paren-function)
12253 (python-fill-string-function, python-imenu-include-defun-type)
12254 (python-imenu-make-tree, python-imenu-subtree-root-label)
12255 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
12256 (python-shell-compilation-regexp-alist)
12257 (python-shell-completion-module-string-code)
12258 (python-shell-completion-pdb-string-code)
12259 (python-shell-completion-setup-code)
12260 (python-shell-completion-string-code)
12261 (python-shell-enable-font-lock, python-shell-exec-path)
12262 (python-shell-extra-pythonpaths)
12263 (python-shell-internal-buffer-name, python-shell-interpreter-args)
12264 (python-shell-process-environment)
12265 (python-shell-prompt-block-regexp)
12266 (python-shell-prompt-output-regexp)
12267 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
12268 (python-shell-send-setup-max-wait, python-shell-setup-codes)
12269 (python-shell-virtualenv-path): New defcustoms.
12270 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
12271 (inferior-python-mode-syntax-table, python--prompt-regexp)
12272 (python-buffer, python-command python-python-command)
12273 (python-default-template, python-imports, python-indent-index)
12274 (python-indent-list, python-indent-list-length)
12275 (python-mode-running, python-pdbtrack-is-tracking-p)
12276 (python-preoutput-continuation, python-preoutput-leftover)
12277 (python-preoutput-result, python-preoutput-skip-next-prompt)
12278 (python-prev-dir/file, python-recursing)
12279 (python-saved-check-command, python-version-checked)
12280 (python-which-func-length-limit)
12281 (view-return-to-alist): Delete vars.
12282 (python-check-custom-command, python-dotty-syntax-table)
12283 (python-imenu-index-alist, python-indent-current-level)
12284 (python-indent-dedenters, python-indent-levels)
12285 (python-nav-beginning-of-defun-regexp)
12286 (python-nav-list-defun-positions-cache)
12287 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
12288 (python-shell-internal-buffer)
12289 (python-skeleton-available): New vars.
12290 (def-python-skeleton): Delete macro.
12291 (python-skeleton-define): New macro.
12292 (python-define-auxiliary-skeleton, python-rx): New macros.
12293 (python-insert-class): Delete command.
12294 (python-skeleton-class): New command.
12295 (python-insert-def): Delete command.
12296 (python-skeleton-def): New command.
12297 (python-insert-for): Delete command.
12298 (python-skeleton-for): New command.
12299 (python-insert-if): Delete command.
12300 (python-skeleton-if): New command.
12301 (python-insert-try/except, python-insert-try/finally): Delete commands.
12302 (python-skeleton-try): New command.
12303 (python-insert-while): Delete command.
12304 (python-skeleton-while): New command.
12305 (python-backspace): Delete command.
12306 (python-indent-dedent-line-backspace): New command.
12307 (python-electric-colon): Delete command.
12308 (python-indent-electric-colon): New command.
12309 (python-guess-indent): Delete command.
12310 (python-indent-guess-indent-offset): New command.
12311 (python-shift-left): Delete command.
12312 (python-indent-shift-left): New command.
12313 (python-shift-right): Delete command.
12314 (python-indent-shift-right): New command.
12315 (python-find-function): Delete command.
12316 (python-nav-jump-to-defun): New command.
12317 (python-next-statement): Delete command.
12318 (python-nav-forward-sentence): New command.
12319 (python-previous-statement): Delete command.
12320 (python-nav-backward-sentence): New command.
12321 (python-fill-paragraph): Delete command.
12322 (python-fill-paragraph-function): New command.
12323 (python-send-buffer): Delete command.
12324 (python-shell-send-buffer): New command.
12325 (python-send-defun): Delete command.
12326 (python-shell-send-defun): New command.
12327 (python-send-region, python-send-region-and-go): Delete commands.
12328 (python-shell-send-region)
12329 (python-shell-switch-to-shell): New commands.
12330 (python-send-string): Delete command.
12331 (python-shell-send-string): New command.
12332 (python-switch-to-python): Delete command.
12333 (python-shell-switch-to-shell): New command.
12334 (python-describe-symbol): Delete command.
12335 (python-eldoc-at-point): New command.
12336 (python--set-prompt-regexp, python-args-to-list)
12337 (python-after-info-look, python-check-version)
12338 (python-check-comint-prompt, python-find-imports)
12339 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
12340 (python-unload-function, python-expand-template)
12341 (python-maybe-jython, python-preoutput-filter)
12342 (python-pdbtrack-get-source-buffer)
12343 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
12344 (python-pdbtrack-toggle-stack-tracking)
12345 (python-pdbtrack-track-stack-file, python-initial-text)
12346 (python-first-word, python-comment-line-p, python-send-command)
12347 (python-setup-brm, python-sentinel, python-set-proc)
12348 (python-skip-out, python-input-filter, python-outdent-p)
12349 (python-outline-level, python-backslash-continuation-line-p)
12350 (python-end-of-block, python-end-of-statement, python-mark-block)
12351 (python-beginning-of-block, python-beginning-of-statement)
12352 (python-blank-line-p, python-beginning-of-string)
12353 (python-open-block-statement-p): Delete functions.
12354 (python-indent-line, python-indent-line-1): Delete functions.
12355 (python-indent-line): New function.
12356 (python-indentation-levels): Delete function.
12357 (python-indent-calculate-levels): New function.
12358 (python-proc): Delete function.
12359 (python-shell-get-process): New function.
12360 (python-send-receive): Delete function.
12361 (python-shell-send-string-no-output): New function.
12362 (python-module-path): Delete function.
12363 (python-ffap-module-path): New function.
12364 (python-completion-at-point)
12365 (python-symbol-completions): Delete functions.
12366 (python-completion-complete-at-point): New function.
12367 (python-load-file): Delete function.
12368 (python-shell-send-file): New function.
12369 (python-calculate-indentation): Delete function.
12370 (python-indent-calculate-indentation): New function.
12371 (python-skip-comments/blanks): Delete function.
12372 (python-util-forward-comment): New function.
12373 (python-continuation-line-p): Delete function.
12374 (python-info-continuation-line-p): New function.
12375 (python-which-func, python-current-defun): Delete function.
12376 (python-info-current-defun): New function.
12377 (python-beginning-of-defun): Delete function.
12378 (python-nav-beginning-of-defun): New function.
12379 (python-close-block-statement-p)
12380 (python-block-end-p): Delete function.
12381 (python-info-closing-block): New function.
12382 (python-comint-output-filter-function)
12383 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
12384 (python-fill-comment, python-fill-decorator, python-fill-paren)
12385 (python-fill-string, python-imenu-make-element-tree)
12386 (python-imenu-make-tree, python-imenu-tree-assoc)
12387 (python-indent-context, python-indent-dedent-line)
12388 (python-indent-line-function)
12389 (python-indent-post-self-insert-function)
12390 (python-indent-toggle-levels)
12391 (python-info-assignment-continuation-line-p)
12392 (python-info-beginning-of-backlash)
12393 (python-info-block-continuation-line-p)
12394 (python-info-closing-block-message)
12395 (python-info-line-ends-backslash-p)
12396 (python-info-looking-at-beginning-of-defun)
12397 (python-info-ppss-context, python-info-ppss-context-type)
12398 (python-nav-list-defun-positions, python-nav-read-defun)
12399 (python-nav-sentence-end, python-nav-sentence-start)
12400 (python-pdbtrack-comint-output-filter-function)
12401 (python-pdbtrack-set-tracked-buffer)
12402 (python-shell-calculate-exec-path)
12403 (python-shell-calculate-process-environment)
12404 (python-shell-completion--do-completion-at-point)
12405 (python-shell-completion--get-completions)
12406 (python-shell-completion-complete-at-point)
12407 (python-shell-completion-complete-or-indent)
12408 (python-shell-get-or-create-process)
12409 (python-shell-get-process-name)
12410 (python-shell-internal-get-or-create-process)
12411 (python-shell-internal-get-process-name)
12412 (python-shell-internal-send-string, python-shell-make-comint)
12413 (python-shell-parse-command, python-shell-send-setup-code)
12414 (python-skeleton-add-menu-items)
12415 (python-util-clone-local-variables, python-util-position)
12416 (run-python-internal, python-indentation-levels)
12417 (python-nav-beginning-of-defun)
12418 (python-completion-complete-at-point): New functions.
12419 (run-python): Change arguments. New API requirements.
12420
12421 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12422
12423 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
12424 (bug#11649).
12425
12426 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
12427 (macroexp--expand-all): Use it.
12428
12429 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
12430 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
12431 Use `cl-function' instead.
12432
12433 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
12434
12435 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
12436 Suggested by Stefan Monnier while discussing bug#11657.
12437
12438 2012-06-14 Sam Steingold <sds@gnu.org>
12439
12440 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
12441
12442 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
12443
12444 * play/doctor.el (doctor-doc): Remove parameter and use
12445 doctor-sent instead of sent.
12446 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
12447
12448 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12449
12450 * files.el: Require cl-lib.
12451 (file-name-non-special): Replace case -> cl-case.
12452
12453 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
12454
12455 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
12456 mapping from #' to function*.
12457
12458 2012-06-13 Chong Yidong <cyd@gnu.org>
12459
12460 * mouse.el (mouse-drag-track): Do not set the mark if the user
12461 releases the mouse without selecting anything (Bug#11588).
12462
12463 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12464
12465 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
12466 as well (bug#11646).
12467
12468 * loadup.el: Count byte-code functions as well.
12469
12470 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
12471 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
12472
12473 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
12474 (bug#11649). Add cl-defun and cl-defmacro.
12475
12476 2012-06-13 Drew Adams <drew.adams@oracle.com>
12477
12478 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12479 Fix last change.
12480
12481 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
12482
12483 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
12484 Otherwise, it blocks in batch mode.
12485
12486 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
12487
12488 * help-mode.el (bookmark-make-record-default): Declare.
12489
12490 2012-06-13 Chong Yidong <cyd@gnu.org>
12491
12492 * emacs-lisp/package.el (list-packages): Compute a list of
12493 packages that are newly-available since the last list-packages
12494 invocation.
12495 (package-menu--new-package-list): New var.
12496 (package-menu--generate, package-menu--print-info)
12497 (package-menu--status-predicate, package-menu-mark-install):
12498 Handle new status label "new".
12499
12500 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12501
12502 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
12503 conversion to backquotes.
12504
12505 2012-06-12 Chong Yidong <cyd@gnu.org>
12506
12507 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
12508 Rename from gud-inhibit-global-bindings.
12509
12510 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
12511
12512 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
12513 hook from nxml-glyph-set-hook.
12514
12515 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
12516 declaration.
12517
12518 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
12519
12520 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
12521 Convert to defcustom.
12522
12523 2012-06-12 Drew Adams <drew.adams@oracle.com>
12524
12525 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12526 New functions.
12527 (help-mode): Use them.
12528
12529 2012-06-11 Glenn Morris <rgm@gnu.org>
12530
12531 * progmodes/fortran.el (fortran-font-lock-keywords-3):
12532 Use preprocessor face for directives.
12533 (fortran-directive-re): Doc fix.
12534
12535 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12536
12537 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
12538 conversion to backquotes (bug#11652).
12539
12540 Fix compiler-expansion of CL's cXXr functions (bug#11673).
12541 * emacs-lisp/cl-lib.el (cl--defalias): New function.
12542 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
12543 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
12544 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12545 (cl-ninth, cl-tenth): Mark them as inlinable.
12546 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
12547 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
12548 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
12549 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
12550 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
12551 (cl-list*, cl-adjoin): Don't put an autoload manually.
12552 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
12553 (cl--compiler-macro-list*): Add autoload cookie.
12554 (cl--compiler-macro-cXXr): New function.
12555
12556 * help-fns.el (help-fns--compiler-macro): New function extracted from
12557 describe-function-1; follow aliases and use `compiler-macro' property.
12558 (describe-function-1): Use it.
12559
12560 2012-06-11 Chong Yidong <cyd@gnu.org>
12561
12562 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
12563 is uninstalled, if imagemagick is installed.
12564
12565 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12566
12567 * emacs-lisp/cl-lib.el: Use lexical-binding.
12568 (cl-map-extents, cl-maclisp-member): Remove.
12569 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
12570 (cl--set-substring, cl--block-wrapper, cl--block-throw)
12571 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
12572 * emacs-lisp/cl-extra.el: Use lexical-binding.
12573 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
12574 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
12575 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
12576 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
12577 * emacs-lisp/cl-seq.el: Use lexical-binding.
12578 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
12579 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
12580 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
12581 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
12582 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
12583 CL's internals.
12584
12585 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
12586
12587 Sync with Tramp 2.2.6-pre.
12588
12589 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
12590 `print-length' and `print-level' to nil, in order to avoid
12591 truncation. Reported by Christopher Schmidt
12592 <christopher@ristopher.com>.
12593
12594 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
12595
12596 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
12597 New defmacro.
12598 (tramp-compat-copy-directory): Add optional argument
12599 COPY-CONTENTS. It is not handled yet.
12600
12601 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
12602 (tramp-ftp-file-name-p): Simplify.
12603
12604 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
12605 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
12606 connection vector.
12607
12608 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
12609 (tramp-methods): Do not use `tramp-password-end-of-line'.
12610 (tramp-completion-function-alist-putty): Handle UNIX case.
12611 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
12612 (tramp-do-file-attributes-with-stat)
12613 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
12614 gid as real numbers. They could run out of integer range on cygwin.
12615 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
12616 (tramp-sh-handle-expand-file-name): Handle hops.
12617 (tramp-open-connection-setup-interactive-shell):
12618 Use `tramp-cleanup'. Move check for busyboxes ...
12619 (tramp-find-shell): ... here. Simplify implementation.
12620 Set "remote-shell" property also for alternative shells.
12621 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
12622 If failing, a regular file would be written otherwise.
12623 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
12624 (tramp-find-inline-encoding): Cache the coding commands in the
12625 process cache. Apply test command on the remote side, if defined.
12626 (tramp-find-inline-compress): Cache the compress commands in the
12627 process cache.
12628 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
12629 when requested. Handle hops.
12630 (tramp-current-connection): New defvar.
12631 (tramp-maybe-open-connection): Use `tramp-cleanup'.
12632 Throw `suppress', if there was a failed connection shortly before.
12633 Handle user interrupt. (Bug#10187)
12634 (tramp-get-inline-compress, tramp-get-inline-coding):
12635 Read connection properties from the process cache.
12636
12637 * net/tramp-smb.el (tramp-smb-server-version)
12638 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
12639 New defconsts.
12640 (tramp-smb-prompt): Extend for powershell prompt.
12641 (tramp-smb-file-name-handler-alist): Add handlers for
12642 `process-file', `shell-command' and `start-file-process'.
12643 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
12644 (tramp-smb-winexe-shell-command-switch): New defcustoms.
12645 (tramp-smb-file-name-p): Simplify.
12646 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
12647 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
12648 (tramp-smb-shell-quote-argument): New defuns.
12649 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
12650 Implement using "tar". By this, time-stamps are preserved.
12651 (tramp-smb-handle-copy-file): Handle also the case of directories.
12652 (tramp-smb-do-file-attributes-with-stat)
12653 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
12654 Use `tramp-get-connection-buffer').
12655 (tramp-smb-handle-rename-file): Use "rename", when source and
12656 target are on the same share.
12657 (tramp-smb-maybe-open-connection): Handle wrong passwords.
12658 Use `tramp-smb-server-version'.
12659 (tramp-smb-wait-for-output): Remove prompt.
12660
12661 * net/tramp.el (top): Require 'cl.
12662 (tramp-methods, tramp-rsh-end-of-line):
12663 Remove `tramp-password-end-of-line' from docstring.
12664 (tramp-save-ad-hoc-proxies): New defcustom.
12665 (tramp-completion-function-alist): Adapt docstring.
12666 (tramp-default-password-end-of-line): Remove defcustom.
12667 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
12668 (tramp-user-regexp, tramp-file-name-regexp-unified)
12669 (tramp-file-name-regexp-url): Extend regexp by hop separator.
12670 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
12671 (tramp-remote-file-name-spec-regexp): New defconst.
12672 (tramp-file-name-structure): Extend structure for hops.
12673 (tramp-get-method-parameter): Move up.
12674 (tramp-file-name-p, tramp-dissect-file-name)
12675 (with-parsed-tramp-file-name): Handle hops.
12676 (tramp-file-name-hop): New defun.
12677 (tramp-make-tramp-file-name): New optional arg HOP.
12678 (tramp-message-show-progress-reporter-message): New defvar.
12679 (tramp-with-progress-reporter): Use it. We cannot use
12680 `tramp-message-show-message' here, because this suppresses also
12681 error buffers.
12682 (tramp-error-with-buffer): Suppress buffer view, if
12683 `tramp-message-show-message' is nil.
12684 Use `tramp-get-connection-buffer'.
12685 (tramp-cleanup): New defun.
12686 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
12687 (tramp-file-name-handler): If `debug-on-error' is set, propagate
12688 an error unchanged.
12689 (tramp-completion-handle-file-name-all-completions): Handle hops.
12690 Fix an error when called from ido.
12691 (tramp-completion-dissect-file-name): Use better local variable
12692 name. Add hop to the vector.
12693 (tramp-handle-insert-file-contents): Use progress-reporter for the
12694 whole scenario.
12695 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
12696 to `t'.
12697 (tramp-check-for-regexp): Simplify search.
12698 (tramp-enter-password): Remove it. Move implementation ...
12699 (tramp-action-password): ... here.
12700 (tramp-mode-string-to-int, tramp-local-host-p)
12701 (tramp-make-tramp-temp-file, tramp-read-passwd)
12702 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
12703 Set tramp-autoload cookie.
12704
12705 * net/trampver.el: Update release number.
12706
12707 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12708 Michael Albinus <michael.albinus@gmx.de>
12709
12710 * net/tramp.el (tramp-set-completion-function): Fix docstring.
12711 (tramp-parse-group, tramp-parse-file)
12712 (tramp-parse-shostkeys-sknownhosts): New defuns.
12713 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
12714 (tramp-parse-shosts-group, tramp-parse-sconfig)
12715 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
12716 (tramp-parse-sknownhosts, tramp-parse-hosts)
12717 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
12718 Use them.
12719 (tramp-parse-passwd-group, tramp-parse-netrc-group)
12720 (tramp-parse-putty-group): Don't narrow.
12721 (tramp-parse-putty): Make a loop.
12722 (tramp-file-name-handler): Catch the `suppress' signal.
12723
12724 2012-06-11 Chong Yidong <cyd@gnu.org>
12725
12726 * image.el (imagemagick-register-types): Put the ImageMagick entry
12727 at the end of image-type-file-name-regexps.
12728
12729 2012-06-11 Johan BockgĂ¥rd <bojohan@gnu.org>
12730
12731 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
12732 (pcase, pcase-let*, pcase-dolist): Use them.
12733
12734 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12735
12736 * emacs-lisp/pcase.el (pcase--let*): New function.
12737 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
12738 (pcase--expand): Use macroexp-let².
12739
12740 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
12741
12742 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
12743 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
12744 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
12745 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
12746 * emacs-lisp/derived.el: Use pcase instead of `cl'.
12747 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
12748
12749 2012-06-10 Glenn Morris <rgm@gnu.org>
12750
12751 * mail/rmail.el (rmail-yank-current-message): Leave point at
12752 correct position. (Bug#11660)
12753
12754 2012-06-10 Chong Yidong <cyd@gnu.org>
12755
12756 * allout-widgets.el: Fix code header.
12757
12758 2012-06-10 Chong Yidong <cyd@gnu.org>
12759
12760 * cus-edit.el (customize-changed-options-previous-release):
12761 Bump to 24.1.
12762
12763 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
12764
12765 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
12766
12767 2012-06-09 Chong Yidong <cyd@gnu.org>
12768
12769 * ebuff-menu.el (electric-buffer-list): Preserve header line.
12770
12771 2012-06-09 Martin Rudalics <rudalics@gmx.at>
12772
12773 * window.el (special-display-popup-frame): Don't use
12774 window--display-buffer (Bug#11651).
12775
12776 2012-06-09 Eli Zaretskii <eliz@gnu.org>
12777
12778 Fix parallel builds: make sure loaddefs.el is not being written
12779 while Lisp files are compiled.
12780 (compile): Don't depend on 'mh-autoloads'.
12781 (compile-CMD, compile-SH): Depend on 'autoloads'.
12782 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
12783
12784 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
12785
12786 2012-06-09 Chong Yidong <cyd@gnu.org>
12787
12788 * face-remap.el (face-remap-add-relative, face-remap-set-base)
12789 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
12790 Doc fixes (Bug#11225).
12791
12792 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
12793
12794 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
12795 a function if there's a clear indication that it has a compiler-macro.
12796 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
12797 (macro-declarations-alist): Add arglist to declaration functions.
12798 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
12799 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
12800 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
12801 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
12802 Also add autoload to find the compiler macro.
12803 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
12804 (cl--compiler-macro-member, cl--compiler-macro-assoc)
12805 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
12806 (cl--compiler-macro-get): New functions, replacing calls to
12807 cl-define-compiler-macro.
12808 (cl-typep) [compiler-macro]: Use macroexp-let².
12809
12810 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
12811
12812 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
12813 string properly, fixes Bug#11473.
12814
12815 2012-06-08 Chong Yidong <cyd@gnu.org>
12816
12817 * faces.el (set-face-attribute): Doc fix.
12818 (modify-face): Don't use :bold and :italic.
12819 (error, warning, success): Tweak definitions.
12820
12821 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
12822 (custom-modified, custom-set, custom-changed, custom-themed)
12823 (custom-saved, custom-button, custom-button-mouse)
12824 (custom-button-pressed, custom-state, custom-comment-tag)
12825 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
12826 (custom-group-subtitle): Use new-style face specs.
12827 (custom-invalid-face, custom-rogue-face, custom-modified-face)
12828 (custom-set-face, custom-changed-face, custom-saved-face)
12829 (custom-button-face, custom-button-pressed-face)
12830 (custom-documentation-face, custom-state-face)
12831 (custom-comment-face, custom-comment-tag-face)
12832 (custom-variable-tag-face, custom-variable-button-face)
12833 (custom-face-tag-face, custom-group-tag-face-1)
12834 (custom-group-tag-face): Remove obsolete face alias.
12835
12836 * epa.el (epa-validity-high, epa-validity-medium)
12837 (epa-validity-low, epa-mark, epa-field-name, epa-string)
12838 (epa-field-name, epa-field-body):
12839 * font-lock.el (font-lock-comment-face, font-lock-string-face)
12840 (font-lock-keyword-face, font-lock-builtin-face)
12841 (font-lock-function-name-face, font-lock-variable-name-face)
12842 (font-lock-type-face, font-lock-constant-face):
12843 * ido.el (ido-first-match, ido-only-match, ido-subdir)
12844 (ido-virtual, ido-indicator, ido-incomplete-regexp):
12845 * speedbar.el (speedbar-button-face, speedbar-file-face)
12846 (speedbar-directory-face, speedbar-tag-face)
12847 (speedbar-selected-face, speedbar-highlight-face)
12848 (speedbar-separator-face):
12849 * whitespace.el (whitespace-newline, whitespace-space)
12850 (whitespace-hspace, whitespace-tab, whitespace-trailing)
12851 (whitespace-line, whitespace-space-before-tab)
12852 (whitespace-space-after-tab, whitespace-indentation)
12853 (whitespace-empty):
12854 * emulation/cua-base.el (cua-global-mark):
12855 * eshell/em-prompt.el (eshell-prompt):
12856 * net/newst-plainview.el (newsticker-new-item-face)
12857 (newsticker-old-item-face, newsticker-immortal-item-face)
12858 (newsticker-obsolete-item-face, newsticker-date-face)
12859 (newsticker-statistics-face, newsticker-default-face):
12860 * net/newst-reader.el (newsticker-feed-face)
12861 (newsticker-extra-face, newsticker-enclosure-face):
12862 * net/newst-treeview.el (newsticker-treeview-face)
12863 (newsticker-treeview-new-face, newsticker-treeview-old-face)
12864 (newsticker-treeview-immortal-face)
12865 (newsticker-treeview-obsolete-face)
12866 (newsticker-treeview-selection-face):
12867 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
12868 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
12869 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
12870 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
12871 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
12872 (nxml-outline-active-indicator, nxml-outline-ellipsis):
12873 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
12874 (mpuz-text):
12875 * progmodes/vera-mode.el (vera-font-lock-number)
12876 (vera-font-lock-function, vera-font-lock-interface):
12877 * textmodes/table.el (table-cell): Use new-style face specs, and
12878 don't use the old :bold and :italic attributes.
12879
12880 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
12881 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
12882 (ebrowse-member-class, ebrowse-progress): Likewise.
12883 (ebrowse-tree-mark-face, ebrowse-root-class-face)
12884 (ebrowse-file-name-face, ebrowse-default-face)
12885 (ebrowse-member-attribute-face, ebrowse-member-class-face)
12886 (ebrowse-progress-face): Remove obsolete faces.
12887
12888 * progmodes/flymake.el (flymake-errline, flymake-warnline):
12889 Inherit from error and warning faces respectively.
12890
12891 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
12892 Likewise.
12893 (flyspell-incorrect-face, flyspell-duplicate-face):
12894 Remove obsolete aliases.
12895
12896 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
12897
12898 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12899 Avoid infloop.
12900
12901 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12902
12903 * startup.el (argv, argi): Make lexically scoped.
12904 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
12905 * emacs-lisp/cl-macs.el: Use lexical-binding.
12906 Rename cl-bind-* to cl--bind-*.
12907 * files.el: Don't require `cl' since it doesn't use it.
12908 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
12909
12910 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
12911
12912 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
12913 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
12914 instead of calling external sort utility.
12915 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
12916
12917 2012-06-08 Eli Zaretskii <eliz@gnu.org>
12918
12919 * descr-text.el (describe-char): Mention how to insert the
12920 character, if the current input method doesn't support it.
12921 See the discussion in this thread for the details:
12922 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
12923
12924 2012-06-08 Sam Steingold <sds@gnu.org>
12925
12926 * bindings.el (global-map): Bind XF86Forward to next-buffer and
12927 XF86Back to previous-buffer.
12928 (minibuffer-local-map): Bind them to next-history-element and
12929 previous-history-element respectively.
12930 * help-mode.el (help-mode-map): Bind them to help-go-forward and
12931 help-go-back respectively.
12932 * info.el (Info-mode-map): Bind them to Info-history-forward and
12933 Info-history-back respectively.
12934 These are the keys next to Up on the ThinkPad keyboard.
12935
12936 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12937
12938 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
12939 * emacs-lisp/cl-macs.el: Provide itself.
12940 (cl--labels-convert-cache): New var.
12941 (cl--labels-convert): New function.
12942 (cl-flet, cl-labels): New implementation with new semantics, relying on
12943 lexical-binding.
12944 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
12945 (cl-closure-vars, cl--function-convert-cache)
12946 (cl--function-convert): Move from cl-macs.el.
12947 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
12948 rename by removing the "cl-" prefix.
12949 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
12950
12951 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12952
12953 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
12954 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
12955 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
12956 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
12957 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
12958 (cl-hash-table-count): Add old compatibility aliases.
12959
12960 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
12961 Use macroexpand-all-environment instead.
12962 (cl--old-macroexpand): New var.
12963 (cl--sm-macroexpand): New function.
12964 (cl-symbol-macrolet): Use it during macro expansion.
12965 (cl--function-convert-cache): New var.
12966 (cl--function-convert): New function, extracted from
12967 cl-macroexpand-all.
12968 (cl-lexical-let): Use it.
12969
12970 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
12971 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
12972 (cl-member): Remove old alias.
12973
12974 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
12975 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
12976 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
12977 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
12978 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
12979 (cl-macroexpand-cmacs): Remove var.
12980 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
12981 Use macroexpand-all instead.
12982
12983 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12984
12985 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
12986 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
12987 (macroexp-copyable-p): New functions and macros.
12988 * emacs-lisp/edebug.el (edebug-unwrap):
12989 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
12990 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
12991 (pcase--let*): Remove.
12992 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
12993 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
12994 macroexp-const-p instead.
12995 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
12996
12997 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
12998 instead of "cl-" for internal definitions. Use macroexp-const-p.
12999 (cl-old-bc-file-form): Remove var.
13000 (cl-const-exprs-p): Remove fun.
13001 (cl-labels, cl-macrolet): Use backquote.
13002 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
13003 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
13004 (cl-define-setf-expander): Rename from cl-define-setf-method.
13005 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
13006
13007 * international/mule-cmds.el: Don't require CL.
13008 (view-hello-file): Don't use `letf'.
13009
13010 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13011
13012 * tmm.el (tmm-prompt): Use string-prefix-p.
13013 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
13014 (tmm-add-prompt): Use minibuffer-completion-help.
13015 (tmm-delete-map): Remove.
13016
13017 * subr.el (kbd): Make it its own function.
13018
13019 2012-06-07 Stefan Merten <smerten@oekonux.de>
13020
13021 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
13022 Silence compiler warnings. Fix versions.
13023 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
13024 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
13025 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
13026 (rst-package-emacs-version-alist): Correct Emacs version to
13027 represent major merge with upstream.
13028 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
13029
13030 2012-06-06 Glenn Morris <rgm@gnu.org>
13031
13032 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
13033 Only print environment variables if set.
13034
13035 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13036
13037 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
13038 (macroexp--cons): Rename from maybe-cons.
13039 (macroexp--accumulate): Rename from macroexp-accumulate.
13040 (macroexp--all-forms): Rename from macroexpand-all-forms.
13041 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
13042 (macroexp--expand-all): Rename from macroexpand-all-1.
13043
13044 2012-06-06 Sam Steingold <sds@gnu.org>
13045
13046 * calendar/calendar.el (calendar-in-read-only-buffer):
13047 Call `special-mode' to enable the standard read-only keybindings.
13048
13049 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13050
13051 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
13052 with "loading" messages (bug#11635).
13053
13054 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
13055
13056 * files.el (enable-remote-dir-locals): New option.
13057 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
13058
13059 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13060 Ensure, that the temp directory is local.
13061
13062 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
13063 `temporary-file-directory'.
13064
13065 * progmodes/python.el (python-send-region): Ensure, that the
13066 temporary file is created also in the remote case.
13067
13068 2012-06-06 Glenn Morris <rgm@gnu.org>
13069
13070 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
13071 (vc-rcs-update-changelog): Use it.
13072
13073 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
13074
13075 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
13076 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
13077 (vc-sccs-diff): Replace use of the external vcdiff script.
13078
13079 2012-06-05 Glenn Morris <rgm@gnu.org>
13080
13081 * ledit.el: Move to obsolete/.
13082
13083 2012-06-05 Sam Steingold <sds@gnu.org>
13084
13085 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
13086 patch (Bug#11140).
13087
13088 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13089
13090 * emacs-lisp/cust-print.el: Move to obsolete.
13091
13092 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
13093 compiler-macro expansion.
13094
13095 Add native compiler-macro support.
13096 * emacs-lisp/macroexp.el (macroexpand-all-1):
13097 Support compiler-macros directly. Properly follow aliases and apply
13098 the compiler macros more thoroughly.
13099 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
13100 macroexpand now properly follows aliases.
13101 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
13102 (cl-compiler-macroexpand): Use new prop.
13103 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
13104
13105 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
13106
13107 2012-06-05 Martin Rudalics <rudalics@gmx.at>
13108
13109 * window.el (get-lru-window, get-mru-window, get-largest-window):
13110 New argument NOT-SELECTED to avoid picking the selected window.
13111 (window--display-buffer-1, window--display-buffer-2): Replace by
13112 new function window--display-buffer
13113 (display-buffer-same-window, display-buffer-reuse-window)
13114 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13115 Use window--display-buffer.
13116 (display-buffer-use-some-window): Remove temporary dedication
13117 hack by calling get-lru-window and get-largest-window with
13118 NOT-SELECTED argument non-nil. Call window--display-buffer.
13119
13120 2012-06-05 Glenn Morris <rgm@gnu.org>
13121
13122 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
13123 Replace external vcdiff script.
13124
13125 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13126
13127 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
13128
13129 2012-06-04 Chong Yidong <cyd@gnu.org>
13130
13131 * image.el (imagemagick-types-inhibit): Revert last change.
13132 Add INFO and M.
13133 (imagemagick-enabled-types): Remove CIN and EPS*.
13134
13135 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13136
13137 * emacs-lisp/cl-lib.el: Rename from cl.el.
13138 * emacs-lisp/cl.el: New compatibility file.
13139 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
13140 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
13141 to obey the "cl-" prefix.
13142 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
13143
13144 2012-06-03 Glenn Morris <rgm@gnu.org>
13145
13146 * emacs-lisp/authors.el (authors-aliases): Addition.
13147
13148 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
13149 Fix :version.
13150
13151 2012-06-03 Stefan Merten <smerten@oekonux.de>
13152
13153 * textmodes/rst.el: Add comments.
13154 (rst-transition, rst-adornment): New faces.
13155 (rst-adornment-faces-alist): Make default safe to reevaluate.
13156 Fixes
13157 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
13158 Improve customization tags.
13159 (rst-define-level-faces): Clarify meaning.
13160
13161 2012-06-03 Chong Yidong <cyd@gnu.org>
13162
13163 * progmodes/compile.el (compilation-mode-line-fail)
13164 (compilation-mode-line-run, compilation-mode-line-exit):
13165 New faces.
13166 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
13167
13168 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
13169
13170 * progmodes/which-func.el (which-func-update-ediff-windows):
13171 New function. Use it in ediff-select-hook (Bug#11478).
13172
13173 2012-06-03 Chong Yidong <cyd@gnu.org>
13174
13175 * bindings.el: Remove explicit help text from format-mode-line.
13176 It is now supplied by mode-line-default-help-echo.
13177 (mode-line-front-space, mode-line-end-spaces)
13178 (mode-line-misc-info): New variables.
13179 (mode-line-modes, mode-line-position): Move the default value to
13180 the variable definition.
13181 (mode-line-default-help-echo): New defcustom.
13182 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
13183 (mode-line-modified-help-echo): New functions.
13184 (mode-line-mule-info, mode-line-modified): Use them.
13185 (mode-line-eol-desc, propertized-buffer-identification):
13186 Consistency fixes for help text.
13187 (mode-line-coding-system-map): Allow using mouse-3 to invoke
13188 set-buffer-file-coding-system (Bug#289).
13189 (mode-line-mule-info-help-echo): Update help text.
13190
13191 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13192
13193 * simple.el (execute-extended-command): Set real-this-command
13194 (bug#11506).
13195
13196 2012-06-02 Chong Yidong <cyd@gnu.org>
13197
13198 Remove incorrect uses of "modeline" in comments, docstrings, and
13199 function/variable names (Bug#10329).
13200
13201 * cus-edit.el (mode-line):
13202 * dframe.el (dframe-mouse-hscroll):
13203 * emacs-lisp/re-builder.el:
13204 * emacs-lisp/easy-mmode.el (define-minor-mode):
13205 * frame.el (set-frame-name):
13206 * help.el (lookup-minor-mode-from-indicator):
13207 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
13208 * progmodes/cc-cmds.el (c-toggle-auto-newline)
13209 (c-toggle-hungry-state):
13210 * progmodes/antlr-mode.el (antlr-language-alist):
13211 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
13212 * progmodes/vhdl-mode.el (vhdl-mode):
13213 * progmodes/which-func.el (which-func, which-func-cleanup-function):
13214 * term/ns-win.el (ns-face-at-pos):
13215 * term/sup-mouse.el (sup-mouse-report):
13216 * textmodes/flyspell.el (flyspell-mode-line-string):
13217 * textmodes/ispell.el (ispell-highlight-face):
13218 * textmodes/reftex-global.el:
13219 * vc/vc-arch.el (vc-arch-mode-line-string):
13220 * vc/vc-cvs.el (vc-cvs-mode-line-string):
13221 * vc/vc-git.el (vc-git-mode-line-string):
13222 * vc/vc-hooks.el (vc-display-status)
13223 (vc-default-mode-line-string):
13224 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
13225
13226 * ansi-color.el (ansi-color-faces-vector): Change default faces.
13227
13228 * dired.el (dired-sort-set-mode-line): Rename from
13229 dired-sort-set-modeline. All callers changed.
13230
13231 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
13232 eshell-status-in-modeline.
13233
13234 * foldout.el (foldout-mode-line-string): Rename from
13235 foldout-modeline-string. All callers changed.
13236 (foldout-update-mode-line): Rename from foldout-update-modeline.
13237
13238 * subr.el (redraw-modeline): Make into obsolete alias.
13239
13240 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
13241 timeclock-modeline-display. Make old name an alias.
13242 (timeclock-update-mode-line): Likewise. All callers changed.
13243 (timeclock-mode-line-display): No need to check before using
13244 add-hook.
13245 (timeclock-relative, timeclock-day-over-hook)
13246 (timeclock-use-elapsed, timeclock-mode-string)
13247 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
13248
13249 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
13250 crisp-mode-modeline-string.
13251
13252 * play/solitaire.el (solitaire-build-mode-line): Rename from
13253 solitaire-build-modeline. All callers changed.
13254
13255 * play/zone.el (zone-hiding-mode-line): Rename from
13256 zone-hiding-modeline. All callers changed.
13257 (zone): Remove unusued `modeline-hidden-level' property.
13258
13259 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
13260 xscheme-modeline-initialize. All callers changed.
13261
13262 * strokes.el (strokes-lighter): Rename from
13263 strokes-modeline-string.
13264
13265 * textmodes/sgml-mode.el (html-face-tag-alist)
13266 (html-tag-face-alist): Use mode-line face instead of obsolete
13267 alias modeline.
13268
13269 2012-06-02 Stefan Merten <smerten@oekonux.de>
13270
13271 * textmodes/rst.el: Always require `cl'.
13272 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
13273
13274 2012-06-02 Chong Yidong <cyd@gnu.org>
13275
13276 * image.el (imagemagick-enabled-types): Rename from
13277 imagemagick-types-enable. Add many more types.
13278 (imagemagick-types-inhibit): Change default to nil.
13279 (imagemagick-filter-types): Caller changed.
13280
13281 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13282
13283 * emacs-lisp/cl-macs.el: Use backquotes.
13284 (cl-transform-function-property): Use eval-and-compile rather than
13285 abusing `require'.
13286 (defstruct): Use declare-function instead of with-no-warnings.
13287
13288 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
13289 (byte-compile-output-docform): Re-add the print-circle bindings.
13290 (byte-compile-fix-header): Use #$ just because it's shorter.
13291 (byte-compile-output-file-form): Remove defun/defmacro.
13292
13293 2012-06-01 Martin Rudalics <rudalics@gmx.at>
13294
13295 * simple.el (choose-completion): Remove now obsolete binding for
13296 owindow.
13297
13298 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
13299
13300 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
13301 in order to avoid "Stack overflow in regexp matcher".
13302
13303 2012-05-31 Glenn Morris <rgm@gnu.org>
13304
13305 * image.el: For clarity, call imagemagick-register-types at
13306 top-level, rather than relying on a custom :initialize.
13307 (imagemagick-types-enable): New option. (Bug#11557)
13308 (imagemagick-filter-types): New function. (Bug#7406)
13309 (imagemagick-register-types): Use imagemagick-filter-types.
13310 If disabling support, remove elements altogether rather
13311 than using an impossible regexp.
13312 (imagemagick-types-inhibit): Give it the default init function.
13313
13314 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13315
13316 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
13317 Handle arbitrary file name lengths (Bug#11585).
13318
13319 2012-05-31 Martin Rudalics <rudalics@gmx.at>
13320
13321 * desktop.el (desktop-read): Clear previous and next buffers for
13322 all windows and bury *Messages* buffer (bug#11556).
13323
13324 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13325
13326 Add `declare' for `defun'. Align `defmacro's with it.
13327 * emacs-lisp/easy-mmode.el (define-minor-mode)
13328 (define-globalized-minor-mode): Don't autoload the var definitions.
13329 * emacs-lisp/byte-run.el: Use lexical-binding.
13330 (defun-declarations-alist, macro-declarations-alist): New vars.
13331 (defmacro, defun): Use them.
13332 (make-obsolete, define-obsolete-function-alias)
13333 (make-obsolete-variable, define-obsolete-variable-alias):
13334 Use `declare'.
13335 (macro-declaration-function): Mark obsolete.
13336 * emacs-lisp/autoload.el: Use lexical-binding.
13337 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
13338
13339 2012-05-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13340
13341 * textmodes/ispell.el (ispell-with-no-warnings):
13342 Define as a macro.
13343 (ispell-kill-ispell, ispell-change-dictionary):
13344 Use `called-interactively-p' for Emacs instead of obsolete
13345 `interactive-p'.
13346
13347 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13348
13349 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
13350 (macro-declaration-function): Move var from C code.
13351 (macro-declaration-function): Define function with defalias.
13352 * emacs-lisp/macroexp.el (macroexpand-all-1):
13353 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
13354 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
13355 defun/defmacro any more.
13356 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
13357 Provide fallback for unknown arglist.
13358 (byte-compile-arglist-warn): Change calling convention.
13359 (byte-compile-output-file-form): Move print-vars binding.
13360 (byte-compile-output-docform): Simplify accordingly.
13361 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
13362 (byte-compile-defmacro-declaration): Remove.
13363 (byte-compile-file-form-defmumble): Generalize to defalias.
13364 (byte-compile-output-as-comment): Return byte-positions.
13365 Simplify callers accordingly.
13366 (byte-compile-lambda): Use `assert'.
13367 (byte-compile-defun, byte-compile-defmacro): Remove.
13368 (byte-compile-file-form-defalias):
13369 Use byte-compile-file-form-defmumble.
13370 (byte-compile-defalias-warn): Remove.
13371
13372 2012-05-29 Stefan Merten <smerten@oekonux.de>
13373
13374 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
13375 possible. Fix authors. Improve comments. Improve loading of `cl'.
13376
13377 (rst-mode-abbrev-table): Merge definition.
13378 (rst-mode): Make sure `font-lock-defaults' is buffer local.
13379 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
13380
13381 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
13382
13383 * calendar/icalendar.el
13384 (icalendar-export-region): Export UID properly.
13385
13386 2012-05-29 Leo Liu <sdl.web@gmail.com>
13387 * calendar/icalendar.el (icalendar-import-format):
13388 Add `icalendar-import-format-uid' (Bug#11525).
13389 (icalendar-import-format-uid): New.
13390 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
13391 Export UID.
13392
13393 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13394
13395 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
13396 different alternative patterns.
13397 (pcase-codegen): Be more careful to preserve identity.
13398 (pcase--u1): Don't forget to mark vars as used.
13399
13400 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
13401 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
13402 (byte-compile-from-buffer): ...rather than here.
13403
13404 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
13405 functions from byte-compile-function-environment.
13406
13407 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
13408
13409 * window.el (window-deletable-p): Avoid deleting the root window
13410 of a frame with an active minibuffer.
13411
13412 2012-05-29 Martin Rudalics <rudalics@gmx.at>
13413
13414 * simple.el (choose-completion): Use quit-window (Bug#11567).
13415
13416 2012-05-29 Chong Yidong <cyd@gnu.org>
13417
13418 * whitespace.el (whitespace-cleanup): Fix usage of
13419 whitespace-empty-at-bob-regexp (Bug#11492).
13420
13421 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13422
13423 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
13424 revert (Bug#11488).
13425
13426 2012-05-29 Juri Linkov <juri@jurta.org>
13427
13428 * isearch.el (isearch-mode-map): Bind `M-s _' to
13429 `isearch-toggle-symbol'. Bind `M-s c' to
13430 `isearch-toggle-case-fold'.
13431 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
13432 (isearch-forward): Add `M-s _' to the docstring.
13433 (isearch-forward-symbol, isearch-toggle-case-fold)
13434 (isearch-symbol-regexp): New functions. (Bug#11381)
13435
13436 2012-05-29 Juri Linkov <juri@jurta.org>
13437
13438 * isearch.el (isearch-word): Add docstring. (Bug#11381)
13439 (isearch-occur, isearch-search-and-update): If `isearch-word' is
13440 a function, call it to get the regexp.
13441 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
13442 property `isearch-message-prefix' instead of the string "word ".
13443 (isearch-search-fun-default): For the case of `isearch-word',
13444 return a lambda that calls re-search-forward/re-search-backward
13445 with a regexp returned by `word-search-regexp' or by the function
13446 in `isearch-word'.
13447
13448 2012-05-29 Juri Linkov <juri@jurta.org>
13449
13450 * isearch.el (isearch-search-fun-default): New function.
13451 (isearch-search-fun): Move default part to the new function
13452 `isearch-search-fun-default'.
13453 (isearch-search-fun-function): Set the default value to
13454 `isearch-search-fun-default'. (Bug#11381)
13455
13456 * comint.el (comint-history-isearch-end):
13457 Use `isearch-search-fun-default'.
13458 (comint-history-isearch-search): Use `isearch-search-fun-default'
13459 and remove spacial case for `isearch-word'.
13460 (comint-history-isearch-wrap): Remove spacial case for
13461 `isearch-word'.
13462
13463 * hexl.el (hexl-isearch-search-function):
13464 Use `isearch-search-fun-default'.
13465
13466 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
13467 Use `word-search-regexp' for `isearch-word'.
13468
13469 * misearch.el (multi-isearch-search-fun):
13470 Use `isearch-search-fun-default'.
13471
13472 * simple.el (minibuffer-history-isearch-search):
13473 Use `isearch-search-fun-default' and remove spacial case for
13474 `isearch-word'.
13475 (minibuffer-history-isearch-wrap): Remove spacial case for
13476 `isearch-word'.
13477
13478 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
13479 Remove spacial case for `isearch-word'.
13480 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
13481
13482 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13483
13484 Decrease XEmacs incompatibilities.
13485 * textmodes/flyspell.el (flyspell-check-pre-word-p):
13486 Use `string-match'.
13487 (flyspell-delete-region-overlays): Use alternative definition for
13488 XEmacs.
13489 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
13490 (flyspell-word): Use `process-kill-without-query' if XEmacs.
13491 (flyspell-mode-on): Use `interactive-p' if XEmacs.
13492 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
13493 `define-obsolete-face-alias' under XEmacs, but old method.
13494
13495 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
13496 `with-no-warnings' definition or Emacs alias.
13497 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
13498 (ispell-word): Do not use `region-p' if XEmacs.
13499
13500 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13501
13502 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
13503 Check for `ispell-dictionary-base-alist' instead of full
13504 `ispell-dictionary-alist'.
13505 (ispell-init-process): Show spellchecker when starting new Ispell
13506 process.
13507
13508 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13509
13510 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
13511 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
13512
13513 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
13514
13515 * version.el (motif-version-string, gtk-version-string)
13516 (ns-version-string): Declare.
13517
13518 2012-05-27 Juri Linkov <juri@jurta.org>
13519
13520 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
13521 after the `eval-defun-1' specialcaseing
13522 like in `edebug-eval-defun' (bug#10181).
13523
13524 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
13525 like in `eval-defun-1'.
13526
13527 2012-05-27 Eli Zaretskii <eliz@gnu.org>
13528
13529 * mail/sendmail.el (mail-yank-region):
13530 Recognize rmail-yank-current-message in addition to insert-buffer.
13531 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
13532 a *mail* buffer created through rmail-start-mail with sendmail as
13533 mail-user-agent.
13534
13535 2012-05-27 Chong Yidong <cyd@gnu.org>
13536
13537 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
13538 Default to 256 (Bug#11267).
13539
13540 * help.el (describe-mode): Doc fix.
13541
13542 2012-05-26 Glenn Morris <rgm@gnu.org>
13543
13544 * w32-fns.el (w32-init-info): Remove.
13545 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
13546
13547 * info.el (info-initialize): For self-contained NS builds, put the
13548 included info/ directory at the front. (Bug#2791)
13549
13550 * paths.el (Info-default-directory-list): Make it a defcustom,
13551 mainly so that we can use custom-initialize-delay.
13552
13553 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
13554
13555 * subr.el (buffer-has-markers-at): Mark obsolete.
13556
13557 * subr.el (lambda): Use declare.
13558
13559 * emacs-lisp/lisp-mode.el (lambda):
13560 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
13561
13562 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13563
13564 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
13565
13566 2012-05-26 Glenn Morris <rgm@gnu.org>
13567
13568 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
13569
13570 2012-05-25 Glenn Morris <rgm@gnu.org>
13571
13572 * paths.el: Remove no-byte-compile.
13573 * loadup.el: No need to load paths.el uncompiled.
13574
13575 * image.el (imagemagick-types-inhibit): Doc fix.
13576
13577 * version.el: Remove no-byte-compile and associated formatting.
13578 * loadup.el: No need to load version.el uncompiled. AFAICS, this
13579 is ancient code from when there was an "inc-vers.el".
13580
13581 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13582
13583 * progmodes/gdb-mi.el: Minor style changes.
13584 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
13585 Turn into minor modes.
13586 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
13587 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
13588 (gdb-shell): Remove unneeded let-binding.
13589 (gdb-get-many-fields): Eliminate O(n²) behavior.
13590
13591 2012-05-25 Eli Zaretskii <eliz@gnu.org>
13592
13593 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
13594 platforms that don't link in fontset.c.
13595
13596 2012-05-25 Juri Linkov <juri@jurta.org>
13597
13598 Use the same diff color scheme as in modern VCSes (bug#10181).
13599
13600 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
13601 to avoid confusion with `diff-added' that now uses green colors.
13602 (diff-removed): Use shades of red.
13603 (diff-added): Use shades of green.
13604 (diff-changed): Leave just the yellow color.
13605 (diff-use-changed-face): New variable.
13606 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
13607 how to highlight context diff changes.
13608 (diff-refine-change): Use shades of yellow.
13609 (diff-refine-removed): New face that uses shades of red.
13610 (diff-refine-added): New face that uses shades of green.
13611 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
13612 `diff-refine-removed' in the call to `smerge-refine-subst'
13613 depending on the value of `diff-use-changed-face'.
13614
13615 * vc/smerge-mode.el (smerge-mine): Use shades of red.
13616 (smerge-other): Use shades of green.
13617 (smerge-base): Use shades of yellow.
13618 (smerge-refined-change): Empty face.
13619 (smerge-refined-removed): New face that uses shades of red.
13620 (smerge-refined-added): New face that uses shades of green.
13621 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
13622 args `props-r' and `props-a', and use them. Doc fix.
13623 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
13624 on its value use different faces `smerge-refined-change',
13625 `smerge-refined-removed', `smerge-refined-added' in the call to
13626 `smerge-refine-subst'.
13627
13628 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
13629 Add face condition `min-colors 88' with shades of red.
13630 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
13631 `min-colors 88' with shades of green.
13632 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
13633 `min-colors 88' with shades of yellow.
13634
13635 2012-05-24 Glenn Morris <rgm@gnu.org>
13636
13637 * paths.el (prune-directory-list, remote-shell-program): Move to...
13638 * files.el (prune-directory-list, remote-shell-program): ...here.
13639 For the latter, delay initialization, prefer ssh, just search PATH.
13640
13641 * paths.el (term-file-prefix): Move to faces.el (the only user).
13642 * faces.el (term-file-prefix): Move here, make it a defcustom.
13643
13644 * paths.el (news-directory, news-path, news-inews-program):
13645 Move to gnus/nnspool.el.
13646
13647 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
13648
13649 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
13650 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
13651 Make the latter a defcustom, with a delayed initialization.
13652
13653 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
13654 These were deleted from Gnus itself late 2010.
13655
13656 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
13657
13658 * progmodes/which-func.el (which-func-ff-hook):
13659 Check against user-error, not error.
13660
13661 * emacs-lisp/edebug.el (top): Do not load or set up loading of
13662 cl-specs.el, which no longer exists.
13663
13664 2012-05-22 Glenn Morris <rgm@gnu.org>
13665
13666 * info.el (info-emacs-bug): New command.
13667 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
13668 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
13669
13670 2012-05-21 Glenn Morris <rgm@gnu.org>
13671
13672 * makefile.w32-in (update-subdirs-SH):
13673 * Makefile.in (update-subdirs): Update for moved update-subdirs.
13674
13675 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13676
13677 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
13678
13679 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13680 Simplify Maven regexp, and make sure the file can't start with a space
13681 (bug#11517).
13682
13683 2012-05-21 Glenn Morris <rgm@gnu.org>
13684
13685 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
13686 Scrap superfluous subshells.
13687
13688 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
13689
13690 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
13691 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
13692
13693 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
13694
13695 * calc/calc.el (calc-ensure-consistent-units): New variable.
13696
13697 * calc/calc-units.el (math-consistent-units-p)
13698 (math-check-unit-consistency): New functions.
13699 (calc-quick-units, calc-convert-units):
13700 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
13701 is non-nil.
13702 (calc-extract-units): Fix typo.
13703
13704 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13705
13706 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
13707
13708 * textmodes/flyspell.el: Commenting style, plus code simplifications.
13709 (flyspell-default-deplacement-commands): Don't spell check after
13710 repeated window/frame switches (e.g. triggered by mouse-movement).
13711 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
13712 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
13713 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
13714 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
13715 Remove unused vars.
13716 (flyspell-get-casechars, flyspell-get-not-casechars):
13717 Simplify; Don't bother removing a ] just to add it back.
13718 * textmodes/ispell.el (ispell-program-name): Use executable-find.
13719
13720 2012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
13721
13722 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
13723 New functions.
13724 (math-function-table): Add support for more C functions.
13725
13726 2012-05-18 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13727
13728 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13729 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13730 Protect delay handling for otherchars against empty otherchars.
13731
13732 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13733
13734 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
13735 their respective macro declarations.
13736 * skeleton.el (define-skeleton):
13737 * progmodes/compile.el (define-compilation-mode):
13738 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
13739 (define-ibuffer-filter):
13740 * emacs-lisp/generic.el (define-generic-mode):
13741 * emacs-lisp/easy-mmode.el (define-minor-mode)
13742 (define-globalized-minor-mode):
13743 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
13744 * emacs-lisp/byte-run.el (defsubst):
13745 * custom.el (deftheme): Add doc-string metadata.
13746
13747 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13748
13749 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
13750
13751 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13752
13753 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
13754
13755 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
13756 * emacs-lisp/cl-macs.el: Idem.
13757 * emacs-lisp/cl-specs.el: Remove.
13758
13759 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13760
13761 Minor renaming of internal CL functions and variables.
13762 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
13763 (cl--position): Rename from cl-position.
13764 (cl--delete-duplicates): Rename from cl-delete-duplicates.
13765 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
13766 (cl--random-state): Rename from *random-state*.
13767
13768 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13769
13770 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
13771 parens around the arg list (bug#11499).
13772
13773 2012-05-17 Juri Linkov <juri@jurta.org>
13774
13775 * isearch.el (word-search-regexp, word-search-backward)
13776 (word-search-forward, word-search-backward-lax)
13777 (word-search-forward-lax): Move functions from search.c
13778 (bug#10145, bug#11381).
13779
13780 2012-05-16 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13781
13782 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13783 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13784 Delay for otherchars as for normal word components.
13785
13786 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13787
13788 * minibuffer.el (completion--sifn-requote): Fix last change.
13789 (minibuffer-local-must-match-filename-map):
13790 Move define-obsolete-variable-alias before its var.
13791
13792 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13793
13794 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
13795
13796 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
13797 behavior.
13798 (completion--string-equal-p): New function.
13799 (completion--twq-all): Use it to get better assertion failure data.
13800
13801 Only handle ".." and '..' quoting in shell-mode (bug#11466).
13802 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
13803 (shell--requote-argument): New functions.
13804 (shell-completion-vars): Use them.
13805 (shell--parse-pcomplete-arguments): Rename from
13806 shell-parse-pcomplete-arguments.
13807 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
13808 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
13809 Obey comint-file-name-quote-list.
13810
13811 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
13812 (smie-indent-keyword): Use it.
13813
13814 2012-05-14 Stefan Merten <smerten@oekonux.de>
13815
13816 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
13817
13818 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13819
13820 * net/rlogin.el (rlogin-mode-map): Fix last change.
13821
13822 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
13823
13824 * mail/smtpmail.el (smtpmail-send-command): Send the command and
13825 the following \r\n using a single `process-send-string', since the
13826 Lotus SMTP server refuses to accept any commands if they are sent
13827 with two `process-send-string's (Bug#11444).
13828
13829 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13830
13831 * shell.el (shell-parse-pcomplete-arguments):
13832 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
13833
13834 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13835
13836 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
13837 (image-transform-scale, image-transform-right-angle-fudge): New vars.
13838 (image-transform-width, image-transform-fit-width): New functions.
13839 (image-transform-properties): Use them.
13840 (image-transform-check-size): New function.
13841 (image-toggle-display-image): Use it (for testing).
13842 (image-transform-set-rotation): Reduce angle mod 360.
13843 Delete obsolete comment.
13844
13845 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13846
13847 * image-mode.el: Fix scaling (bug#11399).
13848 (image-transform-resize): Doc fix.
13849 (image-transform-properties): Default scale is 1 and height should
13850 be an integer.
13851
13852 2012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
13853
13854 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
13855 than hard-coding `car', to fix misbehavior when moving forward.
13856
13857 2012-05-13 Chong Yidong <cyd@gnu.org>
13858
13859 * emacs-lisp/tabulated-list.el (tabulated-list-format)
13860 (tabulated-list-entries, tabulated-list-padding)
13861 (tabulated-list-sort-key): Make permanent-local.
13862
13863 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
13864 (electric-buffer-list): Put electric buffer menu
13865 command descriptions in this docstring, instead of the docstring
13866 of electric-buffer-menu-mode. Code cleanups.
13867 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
13868 Electric-buffer-menu-mode.
13869 (electric-buffer-update-highlight): Minor code cleanup.
13870
13871 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
13872
13873 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
13874 (Bug#11447)
13875
13876 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13877
13878 Move define-obsolete-variable-alias before the var's definition.
13879 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
13880 * tooltip.el (tooltip-hook):
13881 * textmodes/reftex-toc.el (reftex-toc-map):
13882 * textmodes/reftex-sel.el (reftex-select-label-map)
13883 (reftex-select-bib-map):
13884 * textmodes/reftex-index.el (reftex-index-map)
13885 (reftex-index-phrases-map):
13886 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
13887 * progmodes/meta-mode.el (meta-mode-map):
13888 * novice.el (disabled-command-hook):
13889 * loadhist.el (unload-hook-features-list):
13890 * frame.el (blink-cursor):
13891 * files.el (find-file-not-found-hooks, write-file-hooks)
13892 (write-contents-hooks):
13893 * emulation/tpu-edt.el (GOLD-map):
13894 * emacs-lock.el (emacs-lock-from-exiting):
13895 * emacs-lisp/generic.el (generic-font-lock-defaults):
13896 * emacs-lisp/chart.el (chart-map):
13897 * dos-fns.el (register-name-alist):
13898 * dired-x.el (dired-omit-files-p):
13899 * desktop.el (desktop-enable):
13900 * cus-edit.el (custom-mode-hook):
13901 * buff-menu.el (buffer-menu-mode-hook):
13902 * bookmark.el (bookmark-read-annotation-text-func)
13903 (bookmark-exit-hooks):
13904 * allout.el (allout-mode-deactivate-hook)
13905 (allout-exposure-change-hook, allout-structure-added-hook)
13906 (allout-structure-deleted-hook, allout-structure-shifted-hook):
13907 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
13908 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
13909 comes before the corresponding variable's definition.
13910
13911 2012-05-12 Chong Yidong <cyd@gnu.org>
13912
13913 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
13914 (Buffer-menu-mouse-select): Restore function (Bug#11459).
13915 (Buffer-menu-mode-map): Bind it.
13916 (Buffer-menu--pretty-name): Add a mouse-face property.
13917
13918 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
13919
13920 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
13921 (prolog-upper-case-string, prolog-lower-case-string)
13922 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
13923 (prolog-use-smie, prolog-smie-grammar): New vars.
13924 (prolog-smie-forward-token, prolog-smie-backward-token)
13925 (prolog-smie-rules): New funs.
13926 (prolog-comment-indent): Remove.
13927 (prolog-mode-variables): Use default comment indentation instead.
13928 Setup SMIE.
13929 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
13930 (prolog-mode): Don't call them any more.
13931 (prolog-electric-colon, prolog-electric-dash)
13932 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
13933
13934 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
13935
13936 * minibuffer.el (completion--twq-all): Again, allow case differences.
13937
13938 * term.el: Move keymap initialization code to be more idiomatic.
13939 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
13940 (term-terminal-menu): Move initialization into declaration.
13941 (term-escape-char): Let the user set it in her .emacs.
13942
13943 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
13944 Provide SMIE-based indentation (not enabled by default yet).
13945 (sh-mode-map): Don't bind electric keys.
13946 Use electric-pair-mode instead of skeleton-pair.
13947 (sh-assignment-regexp): Fit within 80 columns.
13948 (sh-indent-supported): Specify actual shell name instead of boolean.
13949 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
13950 (sh-maybe-here-document): Use it. Make obsolete.
13951 (sh-electric-here-document-mode) New minor mode.
13952 (sh-mode): Use it. Don't set sh-indent-supported-here here.
13953 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
13954 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
13955 (sh-smie-rc-grammar, sh-use-smie): New vars.
13956 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
13957 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
13958 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
13959 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
13960 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
13961 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
13962 (sh-set-shell): Use smie-setup if requested.
13963
13964 * term.el (term-set-escape-char): Properly set term-escape-char.
13965 See http://stackoverflow.com/questions/10524656.
13966
13967 2012-05-10 Chong Yidong <cyd@gnu.org>
13968
13969 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
13970 Use url-generic-parse-url, and handle host names and Windows
13971 filenames properly.
13972 (ffap-url-unwrap-remote): Use url-generic-parse-url.
13973 (ffap-url-unwrap-remote): Accept list values, specifying a list of
13974 URL schemes to work on.
13975 (ffap--toggle-read-only): New function.
13976 (ffap-read-only, ffap-read-only-other-window)
13977 (ffap-read-only-other-frame): Use it.
13978 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
13979 necessary for ffap-url-unwrap-remote.
13980
13981 2012-05-10 Dave Abrahams <dave@boostpro.com>
13982
13983 * cus-start.el (create-lockfiles): Add it.
13984
13985 2012-05-09 Chong Yidong <cyd@gnu.org>
13986
13987 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
13988 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
13989
13990 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13991
13992 * shell.el (shell-completion-vars): Fix last change (bug#11348).
13993
13994 2012-05-09 Chong Yidong <cyd@gnu.org>
13995
13996 * ansi-color.el (ansi-color-process-output): Check for validity of
13997 comint-last-output-start before using it. This avoids a bad
13998 interaction with gdb-mi's input/output buffer.
13999
14000 2012-05-09 Glenn Morris <rgm@gnu.org>
14001
14002 * files.el (dir-locals-read-from-file):
14003 Mention dir-locals in any error message.
14004
14005 2012-05-09 Chong Yidong <cyd@gnu.org>
14006
14007 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
14008 package (Bug#11410).
14009
14010 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
14011 variables into description.
14012
14013 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14014
14015 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
14016 shell-delimiter-argument-list (bug#11348).
14017 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
14018
14019 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
14020
14021 * textmodes/rst.el: Silence byte-compiler warnings.
14022 (rst-re-alist, rst-reset-section-caches): Move around.
14023 (rst-re): Use `characterp', not `char-valid-p'.
14024 (font-lock-beg, font-lock-end): Declare.
14025
14026 * progmodes/idlw-shell.el (specs): Remove reference to deleted
14027 variable `idlwave-shell-activate-alt-keybindings' and simplify.
14028
14029 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
14030
14031 2012-05-08 Glenn Morris <rgm@gnu.org>
14032
14033 * files.el (auto-mode-alist): Treat ".make" like ".mk".
14034
14035 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14036
14037 * vc/log-edit.el: Add GNU coding standards highlighting.
14038 (log-edit-font-lock-gnu-style)
14039 (log-edit-font-lock-gnu-keywords): New vars.
14040 (log-edit-font-lock-keywords): New fun.
14041 (log-edit-mode): Don't fold case in font-lock.
14042 (log-edit-font-lock-keywords): Do not assume case-folding.
14043
14044 * imenu.el: Misc cleanup. Make docstrings out of comments.
14045 Use lexical-binding.
14046 (imenu--index-alist, imenu--last-menubar-index-alist)
14047 (imenu-menubar-modified-tick): Use defvar-local.
14048 (imenu--split-menu): Remove unused var.
14049 (imenu--cleanup-seen): Declare as global.
14050 (imenu--cleanup): Use dolist.
14051
14052 * subr.el (defvar-local): Add debug spec and doc-string position.
14053
14054 2012-05-08 Glenn Morris <rgm@gnu.org>
14055
14056 * language/burmese.el, language/cham.el, language/czech.el:
14057 * language/english.el, language/georgian.el, language/greek.el:
14058 * language/japanese.el, language/khmer.el, language/korean.el:
14059 * language/lao.el, language/misc-lang.el, language/romanian.el:
14060 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
14061 * language/thai.el, language/utf-8-lang.el:
14062 Remove no-byte-compile setting.
14063
14064 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
14065
14066 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14067
14068 * progmodes/make-mode.el (makefile-browse):
14069 Remove unnecessary interactive. (Bug#11324)
14070
14071 2012-05-07 Glenn Morris <rgm@gnu.org>
14072
14073 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
14074
14075 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
14076
14077 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14078
14079 * loadup.el: Preload newcomment.el.
14080 * newcomment.el: Move autoload-only code to toplevel.
14081
14082 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
14083 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
14084 Handle new :right-align column property.
14085 (tabulated-list-print-col): Idem, plus use `display' text-property to
14086 try and preserve alignment for variable pitch fonts.
14087
14088 2012-05-07 Chong Yidong <cyd@gnu.org>
14089
14090 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
14091 (tabulated-list-use-header-line): New var.
14092 (tabulated-list-init-header): Use it.
14093 (tabulated-list-print-fake-header): New function.
14094 (tabulated-list-print): Use it.
14095 (tabulated-list-sort-button-map): Add non-header-line commands.
14096 (tabulated-list-init-header): Add column name property to basic
14097 labels as well.
14098 (tabulated-list-col-sort): Handle non-header-line button case.
14099 (tabulated-list--sort-by-column-name): Fix a corner case.
14100
14101 * buff-menu.el (list-buffers--refresh):
14102 Handle Buffer-menu-use-header-line.
14103
14104 2012-05-06 Chong Yidong <cyd@gnu.org>
14105
14106 * buff-menu.el: Convert to Tabulated List mode.
14107 (Buffer-menu-buffer+size-width): Make obsolete.
14108 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
14109 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
14110 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
14111 documentation into docstring of buffer-menu.
14112 (Buffer-menu-toggle-files-only): Add an informative message.
14113 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
14114 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
14115 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
14116 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
14117 (Buffer-menu-execute, Buffer-menu-select)
14118 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
14119 (Buffer-menu-bury): Use Tabulated List machinery.
14120 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
14121 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
14122 Delete.
14123 (list-buffers--refresh): New function.
14124 (list-buffers-noselect): Use it.
14125 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
14126 (Buffer-menu--pretty-file-name): New helper functions.
14127
14128 * loadup.el: Preload tabulated-list.
14129
14130 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
14131 tabulated-list-sort-column.
14132 (tabulated-list-init-header): Add the initial aligning space even
14133 if tabulated-list-padding is zero.
14134
14135 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
14136
14137 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
14138 whose cdr is not a cons cell correctly (bug#11038).
14139
14140 2012-05-06 Chong Yidong <cyd@gnu.org>
14141
14142 * emacs-lisp/tabulated-list.el (tabulated-list-format):
14143 Accept additional plist in column descriptors.
14144 (tabulated-list-init-header): Obey it.
14145 (tabulated-list-get-entry): New function.
14146 (tabulated-list-put-tag): Use it. Use string-width instead of
14147 length.
14148 (tabulated-list--column-number): New function.
14149 (tabulated-list-print): Use it.
14150 (tabulated-list-print-col): New function.
14151 Set `tabulated-list-column-name' property on each column's text.
14152 (tabulated-list-print-entry): Use it.
14153 (tabulated-list-delete-entry, tabulated-list-set-col):
14154 New functions.
14155 (tabulated-list-sort-column): New command (Bug#11337).
14156
14157 * buff-menu.el (list-buffers): Move C-x C-b binding from
14158 buff-menu.el to bindings.el.
14159
14160 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
14161 :advertised-binding feature.
14162
14163 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
14164
14165 * progmodes/compile.el (compilation-internal-error-properties):
14166 Calculate start position correctly when end-col is set but
14167 end-line is not (Bug#11382).
14168
14169 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
14170
14171 * man.el (Man-unindent): Use text-property-default-nonsticky to
14172 prevent untabify from inheriting face properties (Bug#11408).
14173
14174 2012-05-05 Stefan Merten <smerten@oekonux.de>
14175
14176 * textmodes/rst.el: Major merge with upstream development up to
14177 Docutils SVN r7399 / rst.el V1.2.1.
14178
14179 Clarify maintainership and authors.
14180
14181 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
14182 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
14183 (rst-official-version, rst-official-cvs-rev, rst-version)
14184 (rst-package-emacs-version-alist): New functions and variables
14185 for version information.
14186
14187 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
14188 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
14189 (rst-mode-syntax-table, rst-mode): New and corrected functions
14190 and variables representing reStructuredText features.
14191
14192 (rst-re): New function for reStructuredText regexes. Use in
14193 many places.
14194
14195 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
14196 (rst-mode-map): Rebind keys.
14197
14198 (rst-mode-lazy, rst-font-lock-keywords)
14199 (rst-font-lock-extend-region)
14200 (rst-font-lock-extend-region-internal)
14201 (rst-font-lock-extend-region-extend)
14202 (rst-font-lock-find-unindented-line-limit)
14203 (rst-font-lock-find-unindented-line-match)
14204 (rst-adornment-level, rst-font-lock-adornment-level)
14205 (rst-font-lock-adornment-match)
14206 (rst-font-lock-handle-adornment-pre-match-form)
14207 (rst-font-lock-handle-adornment-matcher): Major revision of
14208 font-locking. Integrate with other code. Use `jit-lock-mode'.
14209
14210 (rst-preferred-adornments, rst-adjust-hook)
14211 (rst-new-adornment-down, rst-preferred-bullets)
14212 (rst-preferred-bullets, rst-indent, rst-indent-width)
14213 (rst-indent-field, rst-indent-literal-normal)
14214 (rst-indent-literal-minimized, rst-indent-comment): Change,
14215 extend and improve customization.
14216
14217 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
14218 (rst-normalize-cursor-position, rst-get-decoration)
14219 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
14220 (rst-rstrip, rst-toc-insert-find-delete-contents)
14221 (rst-shift-fill-region, rst-compute-bullet-tabs)
14222 (rst-debug-print-tabs, rst-debug-mark-found)
14223 (rst-shift-region-guts, rst-shift-region-right)
14224 (rst-shift-region-left, rst-use-char-classes)
14225 (rst-font-lock-keywords-function)
14226 (rst-font-lock-indentation-point)
14227 (rst-font-lock-find-unindented-line-begin)
14228 (rst-font-lock-find-unindented-line-end)
14229 (rst-font-lock-find-unindented-line)
14230 (rst-font-lock-adornment-point, rst-font-lock-level)
14231 (rst-adornment-level-alist): Remove functions and variables.
14232
14233 (rst-compare-adornments, rst-get-adornment-match)
14234 (rst-suggest-new-adornment, rst-get-adornments-around)
14235 (rst-adornment-complete-p, rst-get-next-adornment)
14236 (rst-adjust-adornment, rst-display-adornments-hierarchy)
14237 (rst-straighten-adornments): Standardize function names to
14238 use "adornment" instead of "decoration". Correct callers.
14239 Similar standardizing in many places.
14240
14241 (rst-update-section, rst-adjust, rst-promote-region)
14242 (rst-enumerate-region, rst-bullet-list-region)
14243 (rst-repeat-last-character): Correct use of `interactive'.
14244
14245 (rst-classify-adornment, rst-find-all-adornments)
14246 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
14247 (rst-find-leftmost-column, rst-repeat-last-character):
14248 Refactor functions.
14249
14250 (rst-find-title-line, rst-reset-section-caches)
14251 (rst-get-adornments-around, rst-adjust-adornment-work)
14252 (rst-arabic-to-roman, rst-roman-to-arabic)
14253 (rst-insert-list-pos, rst-insert-list-new-item)
14254 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
14255 New functions.
14256
14257 (rst-all-sections, rst-section-hierarchy)
14258 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
14259 New variables.
14260
14261 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
14262 configuration instead of only buffer. Change where necessary.
14263
14264 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
14265 (rst-shift-region, rst-adaptive-fill): New functions for
14266 indentation and filling.
14267
14268 (rst-comment-line-break, rst-comment-indent)
14269 (rst-comment-insert-comment, rst-comment-region)
14270 (rst-uncomment-region): New functions for handling comments.
14271
14272 (rst-compile): Quote shell arguments.
14273
14274 (rst-compile-pdf-preview, rst-compile-slides-preview):
14275 Delete temporary files after use.
14276
14277 2012-05-05 Glenn Morris <rgm@gnu.org>
14278
14279 * calendar/cal-html.el: Optionally include holidays in the output.
14280 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
14281 (cal-html-holidays): New option.
14282 (cal-html-css-default): Add holiday entry.
14283 (holiday-in-range): Autoload it.
14284 (cal-html-htmlify-entry): Add optional class argument.
14285 (cal-html-htmlify-list): Add optional holidays argument.
14286 (cal-html-insert-agenda-days): Include holidays in the output.
14287 (cal-html-one-month): Maybe include holidays.
14288
14289 * calendar/holidays.el (holiday-in-range):
14290 Move here from cal-tex-list-holidays.
14291 * calendar/cal-tex.el (cal-tex-list-holidays):
14292 Make it an obsolete alias for holiday-in-range. Update all callers.
14293
14294 2012-05-05 Chong Yidong <cyd@gnu.org>
14295
14296 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
14297 Nextstep.
14298
14299 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
14300
14301 * files.el (file-auto-mode-skip): New var.
14302 (set-auto-mode-1): Use it.
14303
14304 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14305
14306 * repeat.el: Use lexical-binding.
14307 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
14308 (repeat-undo-count): Remove.
14309 (repeat):
14310 * progmodes/octave-mod.el (octave-abbrev-start):
14311 * progmodes/f90.el (f90-abbrev-start):
14312 * face-remap.el (text-scale-adjust):
14313 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
14314
14315 * emacs-lisp/pcase.el (pcase--let*): New function.
14316 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
14317 a bit more.
14318 (pcase--split-pred): Be more clever about ruling out overlap between
14319 a predicate and some constant pattern.
14320 (pcase--q1): Use `null' instead of (eq foo nil).
14321
14322 * subr.el (setq-local, defvar-local): New macros.
14323 (kbd): Redefine as an alias.
14324 (with-selected-window): Leave unrelated frames alone.
14325 (set-temporary-overlay-map): New function.
14326
14327 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14328
14329 * subr.el (user-error): New function.
14330 * window.el (switch-to-buffer):
14331 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
14332 (smerge-match-conflict):
14333 * simple.el (previous-matching-history-element)
14334 (next-matching-history-element, goto-history-element, undo-more)
14335 (undo-start):
14336 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
14337 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
14338 (next-file, tags-loop-scan, list-tags, complete-tag):
14339 * progmodes/compile.el (compilation-loop):
14340 * mouse.el (mouse-minibuffer-check):
14341 * man.el (Man-bgproc-sentinel, Man-goto-page):
14342 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
14343 (Info-history-forward, Info-follow-reference, Info-menu)
14344 (Info-extract-menu-item, Info-extract-menu-counting)
14345 (Info-forward-node, Info-backward-node, Info-next-menu-item)
14346 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
14347 (Info-next-reference, Info-prev-reference, Info-index)
14348 (Info-index-next, Info-follow-nearest-node)
14349 (Info-copy-current-node-name):
14350 * imenu.el (imenu--make-index-alist)
14351 (imenu-default-create-index-function, imenu-add-to-menubar):
14352 * files.el (basic-save-buffer, recover-file):
14353 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14354 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
14355 (checkdoc-message-text, checkdoc-defun):
14356 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
14357 * cus-edit.el (customize-changed-options, customize-rogue)
14358 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
14359 (custom-variable-mark-to-reset-standard)
14360 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
14361 (custom-file):
14362 * completion.el (check-completion-length):
14363 * comint.el (comint-search-arg)
14364 (comint-previous-matching-input-string-position)
14365 (comint-previous-matching-input)
14366 (comint-replace-by-expanded-history-before-point, comint-send-input)
14367 (comint-copy-old-input, comint-backward-matching-input)
14368 (comint-goto-process-mark, comint-set-process-mark):
14369 * calendar/calendar.el (calendar-cursor-to-date): Use it.
14370 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
14371
14372 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14373
14374 * dabbrev.el (dabbrev--ignore-case-p): New function.
14375 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
14376 Use it.
14377
14378 * files.el (automount-dir-prefix): Mark as obsolete.
14379
14380 2012-05-04 Glenn Morris <rgm@gnu.org>
14381
14382 * patcomp.el, play/bruce.el: Move to obsolete/.
14383
14384 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
14385
14386 Fix minor Y10k bugs.
14387 * arc-mode.el (archive-unixdate):
14388 * autoinsert.el (auto-insert-alist):
14389 * calc/calc-forms.el (math-this-year):
14390 * emacs-lisp/copyright.el (copyright-current-year)
14391 (copyright-update-year, copyright):
14392 * tar-mode.el (tar-clip-time-string):
14393 * time.el (display-time-update):
14394 Don't assume years have 4 digits.
14395
14396 2012-05-04 Chong Yidong <cyd@gnu.org>
14397
14398 * dos-w32.el (file-name-buffer-file-type-alist)
14399 (direct-print-region-use-command-dot-com):
14400 * ffap.el (ffap-menu-regexp):
14401 * find-file.el (ff-special-constructs):
14402 * follow.el (follow-debug):
14403 * forms.el (forms--debug):
14404 * iswitchb.el (iswitchb-all-frames):
14405 * ido.el (ido-all-frames):
14406 * emacs-lisp/timer.el (timer-max-repeats):
14407 * mail/feedmail.el (feedmail-mail-send-hook)
14408 (feedmail-mail-send-hook-queued):
14409 * mail/footnote.el (footnote-signature-separator):
14410 * mail/mailabbrev.el (mail-alias-separator-string)
14411 (mail-abbrev-mode-regexp):
14412 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
14413 * progmodes/idlwave.el (idlwave-libinfo-file)
14414 (idlwave-default-completion-case-is-down)
14415 (idlwave-library-routines): Convert defvars to defcustoms.
14416
14417 * mail/rmail.el (rmail-decode-mime-charset):
14418 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
14419 (idlwave-shell-fix-inserted-breaks)
14420 (idlwave-shell-activate-alt-keybindings)
14421 (idlwave-shell-use-breakpoint-glyph):
14422 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
14423
14424 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14425
14426 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
14427
14428 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
14429
14430 * progmodes/verilog-mode.el (font-lock-keywords):
14431 Fix mis-highligting auto. Reported by Craig Barner.
14432 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
14433 defines from global name space. Reported by Dan Dever.
14434 (verilog-auto-reset, verilog-auto-reset-widths)
14435 (verilog-auto-tieoff): Support using unbased numbers for
14436 AUTORESET and AUTOTIEOFF.
14437 (verilog-submit-bug-report): Update variable list.
14438 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
14439 parenthesis from not matching. Reported by Michael Rytting.
14440 (verilog-auto-template-lint): Fix hash error when linting modules
14441 with no used templates.
14442 (verilog-warn, verilog-warn-error)
14443 (verilog-warn-fatal): When non-interactive report multiple
14444 warnings before exiting. Suggested by Brad Dobbie.
14445 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
14446 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
14447 to report unused template errors. Reported by Brad Dobbie.
14448 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
14449 nets, bug438. Reported by Vns Blore.
14450 (verilog-auto-inout-module, verilog-auto-reg)
14451 (verilog-read-decls, verilog-read-sub-decls-sig)
14452 (verilog-signals-edit-wire-reg, verilog-signals-with):
14453 Fix passing of Verilog data types in ANSI input/output ports
14454 such as "output logic" into the AUTOs. Special case "wire" and
14455 "reg" for backwards compatibility presuming Verilog 2001.
14456 (verilog-auto-ascii-enum): Add "auto enum" as alias.
14457 (verilog-preprocess): Fix replication of preprocess output.
14458 Reported by Brad Dobbie.
14459 (verilog-auto-inst-interfaced-ports):
14460 Create verilog-auto-inst-interfaced-ports, bug429.
14461 Reported by Julian Gorfajn.
14462 (verilog-after-save-font-hook)
14463 (verilog-before-save-font-hook): New variable.
14464 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
14465 (verilog-save-font-mods): Wrap disabling fontification, reported
14466 by David Rogoff.
14467 (verilog-do-indent, verilog-pretty-declarations-auto)
14468 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
14469 Reported by Pierre-David Pfister.
14470 (verilog-set-auto-endcomments): Fix endtask auto comments outside
14471 of class declarations, bug292. Reported by Kevin Heilman.
14472 (verilog-read-decls): Fix 'parameter type' not appearing in
14473 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
14474 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
14475 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
14476 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
14477 Reported by David Kravitz.
14478
14479 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
14480
14481 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
14482 assignment with tests in ifs and for loops.
14483 (verilog-extended-complete-re, verilog-complete-reg): Change so
14484 that DPI inport functions don't look like fuction declarations.
14485 (verilog-pretty-expr): Don't line up assignment
14486 operations to the test and increment in if and for loops
14487 (verilog-extended-complete-re, verilog-complete-reg): Change so
14488 that DPI inport functions don't look like fuction declarations.
14489
14490 2012-05-03 Kenichi Handa <handa@m17n.org>
14491
14492 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
14493 decoding, and show a warning message without signaling an error
14494 (Bug#11282).
14495
14496 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14497
14498 * emacs-lisp/bytecomp.el
14499 (byte-compile-file-form-custom-declare-variable): Compile all elements,
14500 since cconv.el might have introduced :fun-body, internal-make-closure,
14501 and friends for bytecomp to handle (bug#11391).
14502 * custom.el (defcustom): Avoid ((λ ..) ..).
14503
14504 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
14505
14506 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
14507
14508 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
14509
14510 * notifications.el (dbus-debug):
14511 * term/linux.el (gpm-mouse-enable):
14512 * term/screen.el (xterm-register-default-colors): Declare.
14513
14514 2012-05-02 Chong Yidong <cyd@gnu.org>
14515
14516 * cus-start.el (gc-cons-percentage, exec-suffixes)
14517 (dos-display-scancodes, dos-hyper-key, dos-super-key)
14518 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
14519 (make-cursor-line-fully-visible, void-text-area-pointer)
14520 (font-list-limit): Add customization data.
14521
14522 * allout.el (allout-exposure-change-functions)
14523 (allout-structure-added-functions)
14524 (allout-structure-deleted-functions)
14525 (allout-structure-shifted-functions): Rename abnormal hooks from
14526 *-hook, and convert to defcustoms.
14527 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
14528 Convert to defcustoms.
14529 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
14530
14531 * allout-widgets.el: Hook callers changed.
14532
14533 2012-05-02 Eli Zaretskii <eliz@gnu.org>
14534
14535 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
14536 the yanked message in preference to the default value of
14537 buffer-file-coding-system.
14538
14539 2012-05-02 Martin Rudalics <rudalics@gmx.at>
14540
14541 * window.el (display-buffer--action-function-custom-type):
14542 Fix entry.
14543
14544 2012-05-02 Alan Mackenzie <acm@muc.de>
14545
14546 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
14547
14548 2012-05-01 Glenn Morris <rgm@gnu.org>
14549
14550 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
14551
14552 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
14553
14554 * cus-edit.el (custom-variable-documentation): Simplify with format.
14555
14556 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14557 Stefan Monnier <monnier@iro.umontreal.ca>
14558
14559 * simple.el (suggest-key-bindings, execute-extended-command):
14560 Move from keyboard.c.
14561
14562 2012-05-01 Chong Yidong <cyd@gnu.org>
14563
14564 * follow.el: Eliminate advice.
14565 (set-process-filter, process-filter, sit-for): Advice deleted.
14566 (follow-mode-off-hook): Obsolete hook removed.
14567 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
14568 Vars deleted.
14569 (follow-auto): Use a :set function.
14570 (follow-mode): Rewritten. Don't advise process filters.
14571 (follow-switch-to-current-buffer-all, follow-scroll-up)
14572 (follow-scroll-down): Assume follow-mode is bound.
14573 (follow-comint-scroll-to-bottom)
14574 (follow-align-compilation-windows): New functions.
14575 (follow--window-sorter): New function.
14576 (follow-all-followers): Use it to explicitly sort windows by their
14577 positions; don't make assumptions about next-window order.
14578 (follow-windows-start-end, follow-delete-other-windows-and-split)
14579 (follow-calc-win-start): Doc fix.
14580 (follow-windows-aligned-p, follow-select-if-visible): Don't call
14581 vertical-motion unnecessarily.
14582 (follow-adjust-window): New function.
14583 (follow-post-command-hook): Use it.
14584 (follow-call-set-process-filter, follow-call-process-filter)
14585 (follow-intercept-process-output, follow-tidy-process-filter-alist)
14586 (follow-stop-intercept-process-output, follow-generic-filter):
14587 Functions deleted.
14588 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
14589 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
14590 New functions, replacing advice on scroll-bar-* commands.
14591 (follow-mwheel-scroll): New function (Bug#4112).
14592
14593 * comint.el (comint-adjust-point): New function.
14594 (comint-postoutput-scroll-to-bottom): Use it.
14595 Call follow-comint-scroll-to-bottom for Follow mode buffers.
14596
14597 2012-05-01 Glenn Morris <rgm@gnu.org>
14598
14599 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
14600 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
14601 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
14602 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
14603 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
14604 Remove no-byte-compile setting.
14605
14606 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
14607
14608 * minibuffer.el (completion-table-with-quoting): Fix compatibility
14609 all-completions code to not return a number in the last cdr.
14610
14611 2012-04-30 Leo Liu <sdl.web@gmail.com>
14612
14613 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
14614 read-only error.
14615
14616 2012-04-29 Chong Yidong <cyd@gnu.org>
14617
14618 * follow.el (follow-calc-win-end): Rewrite to handle partial
14619 screen lines correctly (Bug#8390).
14620 (follow-avoid-tail-recenter): Minor cleanup.
14621
14622 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14623
14624 Avoid the obsolete `assoc' package.
14625 * speedbar.el (speedbar-refresh): Avoid adelete.
14626 (speedbar-file-lists): Simplify and avoid aput.
14627 * man.el (Man--sections, Man--refpages): New vars, replacing
14628 Man-sections-alist and Man-refpages-alist.
14629 (Man-build-section-alist, Man-build-references-alist):
14630 Use them; avoid aput.
14631 (Man--last-section, Man--last-refpage): New vars.
14632 (Man-follow-manual-reference): Use them.
14633 Use the `default' arg of completing-read.
14634 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
14635
14636 2012-04-27 Chong Yidong <cyd@gnu.org>
14637
14638 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
14639
14640 * startup.el (x-apply-session-resources): New function.
14641
14642 * term/ns-win.el (ns-initialize-window-system):
14643 * term/w32-win.el (w32-initialize-window-system):
14644 * term/x-win.el (x-initialize-window-system): Use it to properly
14645 set menu-bar-mode and other vars from X resources, even if the
14646 initial frame is not a window-system frame (Bug#2299).
14647
14648 * subr.el (read-key): Avoid running filter function when setting
14649 up temporary tool bar entries (Bug#9922).
14650
14651 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14652
14653 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
14654 (Bug#11344)
14655
14656 2012-04-27 Chong Yidong <cyd@gnu.org>
14657
14658 * select.el (xselect--encode-string): New function, split from
14659 xselect-convert-to-string.
14660 (xselect-convert-to-string): Use it.
14661 (xselect-convert-to-filename, xselect-convert-to-os)
14662 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
14663 returned strings are properly encoded (Bug#11315).
14664
14665 2012-04-27 Chong Yidong <cyd@gnu.org>
14666
14667 * simple.el (delete-active-region): Move to killing custom group.
14668
14669 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14670
14671 * progmodes/which-func.el (which-func-current): Quote %
14672 characters for mode-line processing.
14673
14674 2012-04-27 Chong Yidong <cyd@gnu.org>
14675
14676 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
14677 reaching eob (Bug#11286).
14678
14679 2012-04-27 Eli Zaretskii <eliz@gnu.org>
14680
14681 * progmodes/gdb-mi.el (gdb-control-level): New variable.
14682 (gdb): Make it buffer-local and init to zero.
14683 (gdb-control-commands-regexp): New variable.
14684 (gdb-send): Don't wrap in "-interpreter-exec console" if
14685 gdb-control-level is positive. Increment gdb-control-level
14686 whenever the command matches gdb-control-commands-regexp, and
14687 decrement it each time the command is "end". (Bug#11279)
14688
14689 2012-04-27 Martin Rudalics <rudalics@gmx.at>
14690
14691 * window.el (adjust-window-trailing-edge, enlarge-window)
14692 (shrink-window, window-resize):
14693 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
14694 windows (Bug#11276).
14695
14696 2012-04-27 Chong Yidong <cyd@gnu.org>
14697
14698 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
14699 fix "missing prefix" warning. All callers changed.
14700
14701 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14702
14703 * emacs-lisp/assoc.el: Move to obsolete/.
14704
14705 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14706
14707 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
14708
14709 * term/ns-win.el (ns-define-service):
14710 * progmodes/pascal.el (pascal-goto-defun):
14711 * progmodes/js.el (js--read-tab):
14712 * progmodes/etags.el (tags-lazy-completion-table):
14713 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
14714 * emacs-lisp/ewoc.el (ewoc--wrap):
14715 * emacs-lisp/assoc.el (aput, adelete, amake):
14716 * doc-view.el (doc-view-convert-current-doc):
14717 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
14718
14719 2012-04-26 Chong Yidong <cyd@gnu.org>
14720
14721 * image.el (image-type-from-buffer): Only return supported image
14722 type (Bug#9045).
14723
14724 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
14725 value, for symmetry with diff-end-of-hunk.
14726 (diff-split-hunk, diff-find-source-location)
14727 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
14728 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
14729 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
14730 compute the relevant hunk or file properly (Bug#6005).
14731 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
14732
14733 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14734
14735 * vc/vc-mtn.el:
14736 * vc/vc-hg.el:
14737 * vc/vc-git.el:
14738 * vc/vc-dir.el:
14739 * vc/vc-cvs.el:
14740 * vc/vc-bzr.el:
14741 * vc/vc-arch.el:
14742 * vc/vc.el: Replace lexical-let by lexical-binding.
14743 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
14744 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
14745 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
14746
14747 2012-04-26 Chong Yidong <cyd@gnu.org>
14748
14749 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
14750 (diff-mode-shared-map): Bind it to / and [remap undo].
14751
14752 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
14753 (ediff-window-setup-function): Use it as the default, to set up
14754 windows based on whether the current frame is graphical (Bug#2138).
14755 (ediff-choose-window-setup-function-automatically): Make obsolete.
14756
14757 * vc/ediff-init.el: Always define ediff-pixel-width/height.
14758
14759 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14760
14761 * ffap.el: Remove old code for obsolete package.
14762 (ffap-complete-as-file-p): Remove.
14763
14764 Use completion-table-with-quoting for comint and pcomplete.
14765 * comint.el (comint--unquote&requote-argument)
14766 (comint--unquote-argument, comint--requote-argument): New functions.
14767 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
14768 (comint-quote-filename): Use regexp-opt-charset.
14769 (comint--common-suffix, comint--common-quoted-suffix)
14770 (comint--table-subvert): Remove.
14771 (comint-unquote-function, comint-requote-function): New vars.
14772 (comint--complete-file-name-data): Use them with
14773 completion-table-with-quoting.
14774 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
14775 * pcomplete.el (pcomplete-arg-quote-list)
14776 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
14777 (pcomplete-unquote-argument-function): Default to non-nil.
14778 (pcomplete-unquote-argument): Simplify.
14779 (pcomplete--common-quoted-suffix): Remove.
14780 (pcomplete-requote-argument-function): New var.
14781 (pcomplete--common-suffix): New function.
14782 (pcomplete-completions-at-point): Use completion-table-with-quoting
14783 and completion-table-subvert.
14784
14785 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
14786 (minibuffer--double-dollars): Preserve properties.
14787 (completion--sifn-requote): New function.
14788 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
14789
14790 * minibuffer.el: Add support for completion of quoted/escaped data.
14791 (completion-table-with-quoting, completion-table-subvert): New funs.
14792 (completion--twq-try, completion--twq-all): New functions.
14793 (completion--nth-completion): New function.
14794 (completion-try-completion, completion-all-completions): Use it.
14795
14796 2012-04-25 Leo Liu <sdl.web@gmail.com>
14797
14798 * progmodes/python.el (python-pdbtrack-get-source-buffer):
14799 Use compilation-message if available to find real filename.
14800
14801 2012-04-25 Chong Yidong <cyd@gnu.org>
14802
14803 * vc/diff-mode.el (diff-setup-whitespace): New function.
14804 (diff-mode): Use it.
14805
14806 * vc/diff.el (diff-sentinel):
14807 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
14808 Whitespace mode variables based on diff style (Bug#8612).
14809
14810 2012-04-25 Leo Liu <sdl.web@gmail.com>
14811
14812 * progmodes/python.el (python-send-region): Add suffix .py to the
14813 temp file.
14814
14815 * files.el (auto-mode-alist): Use javascript-mode instead.
14816
14817 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
14818
14819 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
14820
14821 * net/soap-client.el (soap-resolve-references-for-sequence-type)
14822 (soap-resolve-references-for-array-type): Hack to prevent self
14823 references, see Bug#9.
14824 (soap-parse-envelope): Report the contents of the 'detail' node
14825 when receiving a fault reply.
14826 (soap-parse-envelope): Report the contents of the entire 'detail' node.
14827
14828 * net/soap-inspect.el (soap-sample-value-for-simple-type)
14829 (soap-inspect-simple-type): New function.
14830
14831 * net/soap-client.el (soap-simple-type): New struct.
14832 (soap-default-xsd-types, soap-default-soapenc-types)
14833 (soap-decode-basic-type, soap-encode-basic-type):
14834 support unsignedInt and double basic types.
14835 (soap-resolve-references-for-simple-type)
14836 (soap-parse-simple-type, soap-encode-simple-type): New function.
14837 (soap-parse-schema): Parse xsd:simpleType declarations.
14838
14839 * net/soap-client.el (soap-default-xsd-types)
14840 (soap-default-soapenc-types): Add integer, byte and anyURI types.
14841 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
14842 the local name of "soapenc:Array".
14843 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
14844 decoding integer, byte and anyURI xsd types.
14845
14846 2012-04-25 Chong Yidong <cyd@gnu.org>
14847
14848 * cus-edit.el (custom-buffer-create-internal): Update header text.
14849
14850 2012-04-25 Eli Zaretskii <eliz@gnu.org>
14851
14852 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
14853 settings on 'system-type', not on 'window-system'. On MS-Windows,
14854 set interactive-mode on in GDB.
14855
14856 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14857
14858 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
14859 (ruby-syntax-propertize-regexp): Remove.
14860 (ruby-syntax-propertize-function): Split regexp into chunks.
14861 Match following code directly.
14862
14863 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
14864
14865 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
14866 (ruby-syntax-propertize-regexp): New function.
14867 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
14868 by a special keyword.
14869
14870 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
14871 (ruby-syntax-general-delimiters-goto-beg)
14872 (ruby-syntax-propertize-general-delimiters): New functions.
14873 (ruby-syntax-propertize-function): Use them to handle GDL.
14874 (ruby-font-lock-keywords): Move old handling of GDL...
14875 (ruby-font-lock-syntactic-keywords): .. to here.
14876 (ruby-calculate-indent): Adjust indentation for GDL.
14877
14878 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
14879
14880 * notifications.el (top): Remove unneeded declarations.
14881 (notifications-specification-version): Change to "1.2".
14882 (notifications-interface, notifications-notify-method)
14883 (notifications-close-notification-method): Fix docstring.
14884 (notifications-get-capabilities-method): New defconst.
14885 (notifications-notify): Add :action-items, :resident and
14886 :transient hints. Change "image_data" to "image-data" and
14887 "image_path" to "image-path".
14888 (notifications-get-capabilities): New defun.
14889
14890 2012-04-24 Leo Liu <sdl.web@gmail.com>
14891
14892 * progmodes/python.el: Move hideshow setup to the end.
14893
14894 2012-04-24 Martin Rudalics <rudalics@gmx.at>
14895
14896 * window.el (handle-select-window): Clear echo area since this is
14897 no more done by read_char (Bug#11304).
14898
14899 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14900
14901 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
14902 and `/ M' to filter-derived-mode.
14903 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
14904 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
14905 (ibuffer-mark-by-mode): Use default rather than initial-input.
14906 (ibuffer-filter-by-derived-mode): Autoload and require-match.
14907
14908 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
14909
14910 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
14911 (ibuffer-filter-by-derived-mode): New filter.
14912 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
14913
14914 2012-04-23 Andreas Politz <politza@fh-trier.de>
14915
14916 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
14917
14918 2012-04-23 Chong Yidong <cyd@gnu.org>
14919
14920 * cus-edit.el (customize-apropos, customize-apropos-options):
14921 Disable matching of non-option variables (Bug#11176).
14922 (customize-option, customize-option-other-window)
14923 (customize-changed-options): Doc fix.
14924 (customize-apropos-options, customize-apropos-faces)
14925 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
14926
14927 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
14928 Fix word list splitting (Bug#11132).
14929 (apropos-symbol, apropos-keybinding, apropos-label)
14930 (apropos-property, apropos-function-button)
14931 (apropos-variable-button, apropos-misc-button): New faces.
14932 (apropos-symbol-face, apropos-keybinding-face)
14933 (apropos-label-face, apropos-property-face, apropos-match-face):
14934 Variables removed (Bug#8396).
14935 (apropos-library-button, apropos-format-plist, apropos-print)
14936 (apropos-print-doc, apropos-describe-plist): Callers changed.
14937
14938 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
14939
14940 * net/xesam.el (xesam-mode-map): Use let-bound map in
14941 initialization. (Bug#11292)
14942
14943 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14944
14945 Preserve ispell session localwords when switching back to
14946 original buffer.
14947
14948 * textmodes/ispell.el (ispell-buffer-session-localwords):
14949 New buffer-local variable to hold buffer session localwords.
14950 (ispell-kill-ispell): Add option 'clear to delete session
14951 localwords.
14952 (ispell-command-loop, ispell-change-dictionary)
14953 (ispell-buffer-local-words): Preserve session localwords when
14954 needed.
14955
14956 * textmodes/flyspell.el (flyspell-process-localwords)
14957 (flyspell-do-correct): Preserve session localwords when needed.
14958
14959 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14960
14961 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
14962 using obsolete `translation-table-for-input'.
14963 (ispell-word, ispell-process-line, ispell-complete-word):
14964 Use plain `insert' instead of removed `ispell-insert-word'.
14965
14966 2012-04-22 Chong Yidong <cyd@gnu.org>
14967
14968 * cus-edit.el (custom-variable-menu)
14969 (custom-variable-reset-saved, custom-face-menu)
14970 (custom-face-reset-saved): If there is no saved value, make the
14971 "reset-saved" operation bring back the default (Bug#9509).
14972 (custom-face-state): Properly detect themed faces.
14973
14974 * faces.el (face-spec-set): Stop supporting deprecated form of
14975 third arg.
14976
14977 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
14978
14979 Move functions from C to Lisp. Make non-blocking method calls
14980 the default. Implement further D-Bus standard interfaces.
14981
14982 * net/dbus.el (dbus-message-internal): Declare function.
14983 Remove unneeded function declarations.
14984 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
14985 (dbus-message-type-method-return, dbus-message-type-error)
14986 (dbus-message-type-signal): Declare variables. Remove local
14987 definitions.
14988 (dbus-interface-dbus, dbus-interface-peer)
14989 (dbus-interface-introspectable, dbus-interface-properties)
14990 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
14991 Adapt docstring.
14992 (dbus-interface-objectmanager): New defconst.
14993 (dbus-call-method, dbus-call-method-asynchronously)
14994 (dbus-send-signal, dbus-method-return-internal)
14995 (dbus-method-error-internal, dbus-register-service)
14996 (dbus-register-signal, dbus-register-method): New defuns, moved
14997 from dbusbind.c
14998 (dbus-call-method-handler, dbus-setenv)
14999 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
15000 New defuns.
15001 (dbus-call-method-non-blocking): Make it an obsolete function.
15002 (dbus-unregister-object, dbus-unregister-service)
15003 (dbus-handle-event, dbus-register-property)
15004 (dbus-property-handler): Obey the new structure of
15005 `bus-registered-objects'.
15006 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
15007 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15008 Use `dbus-call-method'.
15009
15010 2012-04-22 Chong Yidong <cyd@gnu.org>
15011
15012 * cus-edit.el (custom-commands, custom-reset-menu)
15013 (Custom-reset-standard): Tweak labels.
15014 (custom-reset-button-menu): Change default to t.
15015 (custom-buffer-create-internal): For the custom-reset-button-menu
15016 case, put the revert button first.
15017 (custom-group-subtitle): New face.
15018 (custom-group-value-create): Align docstring to a specific column.
15019
15020 * wid-edit.el (widget-documentation-link-add): Don't handle
15021 indentation in this function.
15022 (widget-documentation-string-indent-to): New function.
15023 (widget-documentation-string-value-create): Use it.
15024
15025 * autorevert.el (auto-revert):
15026 * epg-config.el (epg):
15027 * ibuffer.el (ibuffer):
15028 * mpc.el (mpc):
15029 * ses.el (ses):
15030 * eshell/eshell.el (eshell):
15031 * net/ange-ftp.el (ange-ftp):
15032 * progmodes/ebnf2ps.el (postscript):
15033 * progmodes/flymake.el (flymake):
15034 * progmodes/prolog.el (prolog):
15035 * progmodes/verilog-mode.el (verilog-mode):
15036 * progmodes/which-func.el (which-func):
15037 * term/xterm.el (xterm):
15038 * textmodes/picture.el (picture):
15039 * textmodes/tildify.el (tildify):
15040 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
15041 customization buffers.
15042
15043 2012-04-22 Alan Mackenzie <acm@muc.de>
15044
15045 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
15046 Adding a ) can hide the resulting (..) from searches. Fix it.
15047 Bound the backward search to the position of the existing (.
15048
15049 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
15050
15051 * progmodes/verilog-mode.el (verilog-mode): Check whether
15052 which-func-modes is t before adding verilog-mode.
15053 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
15054
15055 2012-04-21 Leo Liu <sdl.web@gmail.com>
15056
15057 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
15058
15059 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
15060
15061 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
15062 filling of the last column of a table (Bug#5635).
15063 (woman-find-next-control-line): New arg, specifying an additional
15064 regexp component for the control line.
15065 (woman2-roff-buffer): Use it.
15066 (woman-break-table): New function.
15067 (woman2-TS): Use it.
15068
15069 2012-04-21 Chong Yidong <cyd@gnu.org>
15070
15071 * woman.el (woman-set-buffer-display-table, woman-decode-region)
15072 (woman-horizontal-escapes, woman-negative-vertical-space)
15073 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
15074 (WoMan-warn-ignored): Use ?\s instead of ?\ .
15075
15076 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15077
15078 * minibuffer.el (completion-file-name-table): Complete user names.
15079
15080 2012-04-20 Leo Liu <sdl.web@gmail.com>
15081
15082 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
15083 and pcase-let*.
15084
15085 2012-04-20 Chong Yidong <cyd@gnu.org>
15086
15087 * server.el (server-execute): Respect initial-buffer-choice if it
15088 is a string and there are no files to open (Bug#2825).
15089 (server-create-window-system-frame, server-create-tty-frame):
15090 Don't switch buffers here.
15091 (server-process-filter): Only try to open a window system frame if
15092 compiled with graphical support (Bug#8314).
15093
15094 2012-04-20 Dan Nicolaescu <dann@gnu.org>
15095
15096 * battery.el (battery-echo-area-format): Display remaining time
15097 for sysfs backend too (Bug#11269).
15098 (battery-linux-sysfs): Fix conditional for the charge.
15099
15100 2012-04-20 Chong Yidong <cyd@gnu.org>
15101
15102 * progmodes/gdb-mi.el (gdb): Revert previous change.
15103 (gdb-inferior-io--init-proc): New function.
15104 (gdb-init-1): Use it.
15105 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
15106 responsible for allocating a new pty and hooking it to gdb when
15107 the old pty gets an EIO due to process exit.
15108 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
15109 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
15110 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
15111
15112 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15113
15114 * window.el (window-min-size, window-sizable, window-min-delta)
15115 (window-max-delta, window--resizable, window-resizable)
15116 (window-total-size, window-full-height-p, window-full-width-p)
15117 (window-in-direction, window--resize-mini-window, window-resize)
15118 (window--resize-child-windows-normal)
15119 (window--resize-child-windows, window--resize-siblings)
15120 (window--resize-this-window, adjust-window-trailing-edge)
15121 (enlarge-window, shrink-window): Doc fixes.
15122
15123 2012-04-20 Chong Yidong <cyd@gnu.org>
15124
15125 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
15126 New function to call delete-process on the gdb-inferior buffer's pty.
15127 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
15128 pty process (Bug#11273).
15129 (gdb-update): New arg to suppress talking to the gdb process.
15130 (gdb-done-or-error): Use it.
15131 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
15132 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
15133 sentinel not being called.
15134
15135 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
15136
15137 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
15138
15139 2012-04-20 Glenn Morris <rgm@gnu.org>
15140
15141 * net/network-stream.el (open-network-stream): Doc fix.
15142
15143 2012-04-20 Chong Yidong <cyd@gnu.org>
15144
15145 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
15146
15147 2012-04-20 Alan Mackenzie <acm@muc.de>
15148
15149 Ensure searching for keywords is case sensitive.
15150
15151 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
15152 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
15153 (c-defun-name, c-mark-function, c-cpp-define-name)
15154 (c-comment-indent, c-scan-conditionals, c-indent-defun)
15155 (c-context-line-break): Bind case-fold-search to nil.
15156
15157 * progmodes/cc-mode.el (c-font-lock-fontify-region):
15158 Bind case-fold-search to nil.
15159
15160 2012-04-20 Chong Yidong <cyd@gnu.org>
15161
15162 * mail/sendmail.el (mail-bury): Call return action with the right
15163 Rmail buffer (Bug#11242).
15164
15165 * server.el (server-process-filter): Handle corner case where both
15166 tty and nowait options are present (Bug#11102).
15167
15168 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15169
15170 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
15171 (top level): Put into the executable the ident-style '$Id:' tag on
15172 windows-nt as well.
15173
15174 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15175
15176 * electric.el (electric-indent-post-self-insert-function): Check that
15177 electric-indent-mode is enabled in current buffer.
15178
15179 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15180
15181 * imenu.el (imenu-progress-message): Restore; it is "used" in
15182 erc/erc-imenu.el and net/snmp-mode.el.
15183
15184 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15185
15186 * avoid.el (mouse-avoidance-mode): Mark unused arg.
15187 (mouse-avoidance-nudge-mouse): Remove unused binding.
15188
15189 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
15190
15191 * descr-text.el (describe-char):
15192 * progmodes/python.el (python-describe-symbol):
15193 Don't call `toggle-read-only', set `buffer-read-only'.
15194
15195 * imenu.el (imenu-default-goto-function): Mark unused args.
15196 (imenu-progress-message): Remove obsolete macro; all callers changed.
15197
15198 * subr.el (keymap-canonicalize): Remove unused binding.
15199 (read-passwd): Mark unused arg.
15200
15201 * tutorial.el (tutorial--display-changes): Remove unused binding.
15202 (tutorial--save-tutorial-to): Remove unused variable.
15203
15204 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
15205 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
15206 (package-generate-autoloads, package-menu--generate)
15207 (package-menu--find-upgrades): Remove unused bindings.
15208
15209 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
15210 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
15211 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
15212 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
15213 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
15214 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
15215 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
15216 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
15217 (cua-delete-char-rectangle): Mark unused args.
15218 (cua-align-rectangle): Remove unused binding.
15219
15220 * mail/rmail.el (compilation--message->loc)
15221 (epa--find-coding-system-for-mime-charset): Declare.
15222
15223 * net/dbus.el (dbus-register-service): Declare.
15224 (dbus-name-owner-changed-handler): Remove unused binding.
15225
15226 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
15227 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
15228 (nxml-scan-backward-within): Mark unused arg.
15229 (nxml-dynamic-markup-word): Remove unused binding.
15230
15231 * mouse.el (mouse-menu-major-mode-map):
15232 * emacs-lisp/authors.el (authors-scan-change-log)
15233 (authors-add-to-author-list):
15234 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
15235 * emacs-lisp/smie.el (smie-auto-fill):
15236 * mail/sendmail.el (mail-bury):
15237 * mail/unrmail.el (unrmail):
15238 * net/tls.el (open-tls-stream):
15239 * textmodes/picture.el (picture-mouse-set-point):
15240 Remove unused bindings.
15241
15242 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
15243
15244 * net/tramp.el (tramp-action-password): Let-bind
15245 `enable-recursive-minibuffers' to t.
15246
15247 2012-04-18 Sam Steingold <sds@gnu.org>
15248
15249 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
15250 instead of 'string to accommodate values like [f11].
15251 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
15252 * progmodes/gdb-mi.el: Likewise.
15253
15254 2012-04-18 Leo Liu <sdl.web@gmail.com>
15255
15256 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
15257 current buffer.
15258 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
15259 LOCAL is nil.
15260
15261 2012-04-18 Chong Yidong <cyd@gnu.org>
15262
15263 * simple.el (line-move): Use forward-line if in batch mode
15264 (Bug#11053).
15265
15266 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
15267
15268 * files.el (after-find-file): Do not try to add a final newline if
15269 the buffer is read-only (Bug#11156).
15270
15271 2012-04-17 Richard Stallman <rms@gnu.org>
15272
15273 * mail/rmail.el (rmail-start-mail):
15274 Pass (rmail-mail-return...) for the return-action.
15275 Pass (rmail-yank-current-message...) for the yank-action.
15276 (rmail-yank-current-message): New function.
15277 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
15278 (rmail-reply): Likewise.
15279 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
15280
15281 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
15282 buffer, not the last. Reject temp buffers. Use the rmail-mode
15283 buffer, not newbuf.
15284
15285 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
15286
15287 * server.el (server-ensure-safe-dir): Simplify.
15288
15289 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15290
15291 * emacs-lisp/smie.el: Provide smarter auto-filling.
15292 (smie-auto-fill): New function.
15293 (smie-setup): Use it.
15294
15295 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
15296
15297 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
15298
15299 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
15300 (comment-indent): Use it.
15301
15302 2012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
15303
15304 * ses.el: The overall change is to add cell renaming, that is
15305 setting fancy names for cell symbols other than name matching
15306 "\\`[A-Z]+[0-9]+\\'" regexp .
15307 (ses-localvars): Add ses--renamed-cell-symb-list.
15308 (ses-create-cell-variable): New defun.
15309 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
15310 (ses-relocate-formula): Relocate formulas only for cells the
15311 symbols of which are not renamed, i.e. symbols whose names do not
15312 match regexp "\\`[A-Z]+[0-9]+\\'".
15313 (ses-relocate-all): Relocate values only for cells the symbols of
15314 which are not renamed.
15315 (ses-load): Create cells variables as the (ses-cell ...) are read,
15316 in order to check row col consistency with cell symbol name only
15317 for cells that are not renamed.
15318 (ses-replace-name-in-formula): New defun.
15319 (ses-rename-cell): New defun.
15320
15321 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
15322
15323 * progmodes/perl-mode.el (perl-indent-parens-as-block):
15324 New option (bug#11118).
15325 (perl-calculate-indent): Respect it.
15326
15327 2012-04-17 Glenn Morris <rgm@gnu.org>
15328
15329 * dired-aux.el (dired-mark-read-string): Doc fix.
15330
15331 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
15332
15333 * dired-aux.el (dired-mark-read-string): Offer optional completion.
15334 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
15335
15336 2012-04-17 Glenn Morris <rgm@gnu.org>
15337
15338 * mouse.el (mouse-drag-track):
15339 * speedbar.el (speedbar-frame-mode):
15340 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
15341
15342 2012-04-16 Leo Liu <sdl.web@gmail.com>
15343
15344 * progmodes/python.el: Trivial cleanup.
15345
15346 2012-04-16 Glenn Morris <rgm@gnu.org>
15347
15348 * vc/vc.el (vc-string-prefix-p):
15349 * vc/pcvs-util.el (cvs-string-prefix-p):
15350 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
15351 * mpc.el (mpc-string-prefix-p):
15352 Make all of these into obsolete aliases for string-prefix-p.
15353 Update callers.
15354 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
15355
15356 * textmodes/two-column.el: Move custom options to the start.
15357 (frame-width): Remove compat definition.
15358 (2C-associate-buffer, 2C-dissociate):
15359 Use with-current-buffer rather than save-excursion.
15360 (2C-dissociate): Force a mode-line update.
15361 (2C-autoscroll): Use ignore-errors.
15362
15363 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
15364 Autoload trivia.
15365
15366 * emacs-lisp/cl-extra.el (*random-state*):
15367 Remove unnecessary declaration.
15368
15369 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
15370
15371 * play/cookie1.el (cookie-snarf):
15372 Give an explicit error if input file cannot be read.
15373
15374 * play/yow.el (yow-file): Use expand-file-name rather than concat.
15375
15376 * progmodes/perl-mode.el (c-macro-expand):
15377 Remove unnecessary autoload (it is in loaddefs.el).
15378
15379 * textmodes/picture.el (picture-desired-column)
15380 (picture-update-desired-column): Convert comments to doc-strings.
15381 (picture-substitute): Remove function.
15382 (picture-mode-map): Initialize in the defvar.
15383
15384 * woman.el: Remove eval-after-load for tar-mode.
15385 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
15386 (woman-tar-extract-file): Autoload it.
15387
15388 * frame.el (automatic-hscrolling): Make this alias obsolete.
15389
15390 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15391
15392 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
15393 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
15394 (ispell-dictionary-base-alist): Revert to original XEmacs
15395 friendly version for default. [:alpha:] will be added in
15396 `ispell-set-spellchecker-params' if needed.
15397
15398 2012-04-16 Chong Yidong <cyd@gnu.org>
15399
15400 * image.el (imagemagick--file-regexp): New variable.
15401 (imagemagick-register-types): Use it.
15402 (imagemagick-types-inhibit): Add :set function. Allow new value
15403 of t to inhibit all types.
15404
15405 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
15406 so we can preload it.
15407
15408 * loadup.el (fboundp): Preload regexp-opt, needed by
15409 imagemagick-register-types.
15410
15411 2012-04-15 Chong Yidong <cyd@gnu.org>
15412
15413 * frame.el (scrolling): Remove nearly unused customization group.
15414
15415 * scroll-all.el (scroll-all-mode): Move to windows group.
15416
15417 2012-04-15 Chong Yidong <cyd@gnu.org>
15418
15419 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
15420
15421 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15422
15423 Avoid the use of ((lambda ...) ...) in lexical-binding code.
15424 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
15425
15426 2012-04-15 Glenn Morris <rgm@gnu.org>
15427
15428 * simple.el (process-file-side-effects): Doc fix.
15429
15430 2012-04-15 Glenn Morris <rgm@gnu.org>
15431
15432 * international/mule-cmds.el (set-language-environment): Doc fix.
15433
15434 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15435
15436 * server.el (server-auth-key, server-generate-key): Doc fixes.
15437 (server-get-auth-key): Doc fix. Use `string-match-p'.
15438 (server-start): Reflow docstring.
15439
15440 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
15441
15442 * server.el (server-generate-key): `called-interactively-p'
15443 requires a parameter.
15444
15445 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
15446
15447 * server.el (server-auth-key): New variable.
15448 (server-generate-key, server-get-auth-key): New function.
15449 (server-start): Use the new variable and functions to allow
15450 setting a permanent server key (bug#9423).
15451
15452 2012-04-14 Leo Liu <sdl.web@gmail.com>
15453
15454 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
15455
15456 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
15457
15458 Spelling fixes.
15459 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
15460 Emacs uses American spelling.
15461
15462 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15463
15464 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
15465 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
15466 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
15467 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
15468
15469 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15470
15471 * progmodes/which-func.el (which-func-modes): Change default.
15472
15473 2012-04-14 Kim F. Storm <storm@cua.dk>
15474
15475 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
15476 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
15477
15478 2012-04-14 Chong Yidong <cyd@gnu.org>
15479
15480 * custom.el (custom-theme-set-variables): Doc fix.
15481
15482 2012-04-14 Glenn Morris <rgm@gnu.org>
15483
15484 * international/mule.el (set-auto-coding-for-load): Doc fix.
15485
15486 2012-04-14 Alan Mackenzie <acm@muc.de>
15487
15488 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
15489 imenu work again for Objective C Mode. Correct the *-index values,
15490 these having been disturbed by a previous change in 2011-08.
15491
15492 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
15493 Correct two search limits.
15494
15495 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15496
15497 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
15498
15499 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
15500
15501 * international/characters.el: Fix sorting.
15502
15503 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15504
15505 * international/characters.el: Add more missing Latin case pairs.
15506
15507 2012-04-14 Glenn Morris <rgm@gnu.org>
15508
15509 * files.el (dir-locals-set-class-variables): Doc fix.
15510
15511 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15512
15513 * international/characters.el: Add set-case-syntax-pair call for
15514 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
15515 counterpart. (Bug#11209)
15516
15517 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
15518
15519 2012-04-14 Glenn Morris <rgm@gnu.org>
15520
15521 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15522
15523 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15524
15525 * textmodes/ispell.el (ispell-dictionary-base-alist):
15526 Add data for Hebrew.
15527
15528 2012-04-14 Chong Yidong <cyd@gnu.org>
15529
15530 * net/rcirc.el (rcirc-cmd-quit):
15531 Revert 2012-03-18 change (Bug#11192).
15532
15533 2012-04-14 Glenn Morris <rgm@gnu.org>
15534
15535 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
15536
15537 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15538
15539 * minibuffer.el (completion-in-region-mode-map):
15540 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
15541
15542 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
15543
15544 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
15545
15546 2012-04-13 Masatake YAMATO <yamato@redhat.com>
15547
15548 * minibuffer.el (minibuffer-local-filename-syntax): New variable
15549 to allow `C-M-f' and `C-M-b' to move to the nearest path
15550 separator (bug#9511).
15551
15552 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
15553
15554 * avoid.el: Require cl when compiling. And also move the
15555 `provide' to the end.
15556
15557 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15558
15559 * avoid.el (mouse-avoidance-banish-position): New variable.
15560 (mouse-avoidance-banish-destination): Use it (bug#10165).
15561
15562 2012-04-13 Leo Liu <sdl.web@gmail.com>
15563
15564 * progmodes/which-func.el (which-func-modes): Add objc-mode.
15565
15566 2012-04-13 Ken Brown <kbrown@cornell.edu>
15567
15568 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
15569 this is no longer needed now that cygstart understands file:// URLs.
15570 (browse-url-filename-alist): For the same reason, don't modify
15571 file:// URLs on Cygwin.
15572
15573 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
15574
15575 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
15576 the region on shift if the binding is already shifted (bug#11221).
15577
15578 2012-04-12 Glenn Morris <rgm@gnu.org>
15579
15580 * mail/mailpost.el: Move to obsolete/.
15581
15582 2012-04-12 Drew Adams <drew.adams@oracle.com>
15583
15584 * imenu.el (imenu--generic-function): Ignore invisible definitions
15585 (bug#10123).
15586
15587 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
15588
15589 * hexl.el (hexl-bits): New variable.
15590 (hexl-options): Mention the variable in the doc string.
15591 (hexl-rulerise, hexl-line-displen): New functions.
15592 (hexl-mode): Mention the new variable.
15593 (hexl-mode, hexl-current-address, hexl-current-address):
15594 Use the displen.
15595 (hexl-ascii-start-column): New function.
15596 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
15597 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
15598
15599 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15600
15601 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
15602 '("-i" ENCODING), in 2 separate command-line arguments, to specify
15603 the encoding, as expected by hunspell.
15604
15605 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
15606
15607 * battery.el (battery--linux-sysfs-regexp): New const.
15608 (battery-status-function): Use it. Remove yeeloong special case.
15609 (battery-yeeloong-sysfs): Remove.
15610 (battery-echo-area-format): Remove yeeloong special case.
15611
15612 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15613
15614 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
15615 Reported by Noah Friedman.
15616
15617 * subr.el (read-passwd): Use read-string.
15618
15619 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15620
15621 * vcursor.el (vcursor-move): Increase the priority of the overlay
15622 (bug#9663).
15623
15624 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15625
15626 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
15627 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
15628
15629 2012-04-11 William Stevenson <yhvh2000@gmail.com>
15630
15631 * textmodes/artist.el (artist-mode): Convert artist-mode to use
15632 define-minor-mode (bug#10760).
15633
15634 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15635
15636 * progmodes/grep.el (rgrep): Tweak the find command line so
15637 that directories matching `grep-find-ignored-files' won't be
15638 pruned (bug#10351).
15639
15640 2012-04-11 Chong Yidong <cyd@gnu.org>
15641
15642 * startup.el (command-line): Remove support for long-obsolete
15643 variable font-lock-face-attributes.
15644
15645 2012-04-11 Glenn Morris <rgm@gnu.org>
15646
15647 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
15648
15649 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15650
15651 * window.el (window--state-get-1): Obey window-point-insertion-type.
15652
15653 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
15654
15655 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
15656 to previous function when point is on the first character of a
15657 function. Take care of that in `narrow-to-defun' (bug#6157).
15658
15659 2012-04-11 Glenn Morris <rgm@gnu.org>
15660
15661 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
15662 not just file-errors.
15663
15664 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
15665 (vc-bzr-sha1): Use internal sha1.
15666
15667 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15668
15669 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
15670
15671 2012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
15672
15673 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
15674 that start in the middle of the line (bug#10496).
15675
15676 2012-04-10 Dan Nicolaescu <dann@gnu.org>
15677
15678 * battery.el (battery-linux-proc-acpi): Only one battery is
15679 discharged at a time, but that seems to confuse battery.el when
15680 computing `rate-type' for the battery not being discharged
15681 (bug#10332).
15682
15683 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15684
15685 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
15686
15687 * international/quail.el: Use dolist and simplify.
15688 (quail-define-package, quail-update-keyboard-layout)
15689 (quail-define-rules): Use dolist.
15690 (quail-insert-kbd-layout, quail-get-translation): CSE.
15691
15692 * tmm.el: Use dolist, remove left over hook.
15693 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
15694 Use dolist.
15695 (calendar-load-hook): Don't mess with it.
15696
15697 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
15698 Use derived-mode-p. Run the diff asynchronously.
15699
15700 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15701
15702 * obsolete/mouse-sel.el: Add an Obsolete-since header.
15703
15704 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
15705
15706 * misc.el: Display absolute path of loaded DLLs (bug#10424).
15707 (list-dynamic-libraries--loaded): New function.
15708 (list-dynamic-libraries--refresh): Use it.
15709
15710 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
15711
15712 * progmodes/python.el (python-fill-paragraph):
15713 Make python-fill-region in a multiline string work when font-lock is
15714 disabled (bug#7018).
15715
15716 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
15717
15718 * language/european.el (cp775): Add oem/legacy (en)coding on
15719 DOS/MS Windows for the Baltic languages. There are still plenty
15720 of texts written in this encoding/codepage (bug#6519).
15721
15722 2012-04-10 Glenn Morris <rgm@gnu.org>
15723
15724 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
15725 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
15726
15727 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
15728
15729 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
15730 next-line "n" and previous-line "p" in order to make recentf more
15731 consistent with ibuffer, dired or org-mode (bug#9387).
15732
15733 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15734
15735 * image.el (put-image): Return the overlay created instead of the
15736 optional input string (bug#7834). Note that this may break code
15737 that is (for some reason or other) depending on `put-image'
15738 returning the string.
15739
15740 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
15741
15742 * simple.el (zap-to-char): Allow zapping using input methods
15743 (bug#1580).
15744
15745 * textmodes/fill.el (fill-region): Leave point and mark where they
15746 were before filling (bug#5399).
15747
15748 2012-04-09 Glenn Morris <rgm@gnu.org>
15749
15750 * version.el (emacs-bzr-get-version):
15751 Handle lightweight checkouts of local branches.
15752
15753 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
15754
15755 * international/characters.el: Recover lost case pairs. (Bug#11209)
15756
15757 2012-04-09 Chong Yidong <cyd@gnu.org>
15758
15759 * custom.el (custom-variable-p): Return nil for non-symbol
15760 arguments instead of signaling an error.
15761 (user-variable-p): Obsolete alias for custom-variable-p.
15762
15763 * apropos.el (apropos-variable):
15764 * files-x.el (read-file-local-variable):
15765 * simple.el (set-variable):
15766 * woman.el (woman-mini-help):
15767 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
15768
15769 2012-04-09 Glenn Morris <rgm@gnu.org>
15770
15771 * startup.el (normal-top-level): Don't look for leim-list.el
15772 in places where it will not be found. (Bug#910)
15773
15774 * international/mule-cmds.el (set-default-coding-systems):
15775 * files.el (normal-mode):
15776 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
15777 This function was removed with ucs-tables.el in 2008.
15778
15779 2012-04-08 Eli Zaretskii <eliz@gnu.org>
15780
15781 * textmodes/ispell.el (ispell-check-version): For hunspell, set
15782 ispell-encoding8-command to "-i", without a trailing space.
15783 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
15784 separate command-line arguments, to specify the encoding, since
15785 that's how hunspell expects it.
15786
15787 2012-04-08 Glenn Morris <rgm@gnu.org>
15788
15789 * loadup.el: Load bindings before cus-start.
15790 This reduces somewhat the number of "rogue" settings in emacs -Q.
15791
15792 2012-04-07 Glenn Morris <rgm@gnu.org>
15793
15794 * version.el (emacs-bzr-get-version): New function.
15795 (emacs-bzr-version): New variable.
15796 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
15797 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
15798
15799 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15800
15801 * international/uni-bidi.el, international/uni-category.el:
15802 * international/uni-combining.el, international/uni-decimal.el:
15803 * international/uni-decomposition.el, international/uni-digit.el:
15804 * international/uni-lowercase.el, international/uni-mirrored.el:
15805 * international/uni-name.el, international/uni-numeric.el:
15806 * international/uni-titlecase.el, international/uni-uppercase.el:
15807 Update for Unicode 6.1.
15808
15809 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15810
15811 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
15812
15813 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
15814
15815 * window.el (shrink-window): Mention the `window-min-height'
15816 variable in the doc string.
15817
15818 2012-04-05 Bastien Guerry <bzg@altern.org>
15819
15820 * color.el (color-lighten-name): Fix typo.
15821
15822 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15823
15824 * server.el (server--on-display-p): New function.
15825 (server--on-display-p): Use it.
15826
15827 2012-04-04 GĂ¡bor Vida <vidagabor@gmail.com> (tiny change)
15828
15829 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
15830 (bug#11145).
15831
15832 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15833
15834 * comint.el (comint--common-quoted-suffix): Check string boundary
15835 before comparing (bug#11158).
15836 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
15837
15838 2012-04-04 Chong Yidong <cyd@gnu.org>
15839
15840 * minibuffer.el (completion-extra-properties): Doc fix.
15841
15842 * subr.el (delayed-warnings-hook): Doc fix.
15843
15844 2012-04-04 Daiki Ueno <ueno@unixuser.org>
15845
15846 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
15847 selection (Bug#11159).
15848 (epa-insert-keys): Inform that the default public key will be
15849 exported if no key is selected.
15850
15851 2012-04-04 Richard Stallman <rms@gnu.org>
15852
15853 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
15854
15855 2012-04-03 Chong Yidong <cyd@gnu.org>
15856
15857 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
15858 mail-insert-file, not its obsolete alias mail-attach-file.
15859
15860 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
15861
15862 * notifications.el (notifications-notify): Fix docstring.
15863
15864 2012-04-02 Glenn Morris <rgm@gnu.org>
15865
15866 * emacs-lisp/authors.el (authors-aliases): Another addition.
15867
15868 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
15869
15870 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
15871 `tramp-compat-call-process' instead of `tramp-local-call-process'.
15872 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
15873
15874 2012-04-01 Chong Yidong <cyd@gnu.org>
15875
15876 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
15877 Handle root directory properly.
15878 (copy-directory): Caller changed.
15879
15880 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15881 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
15882
15883 2012-03-31 Glenn Morris <rgm@gnu.org>
15884
15885 * term/xterm.el (xterm-extra-capabilities): Doc fix.
15886
15887 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
15888
15889 * calendar/calendar.el (calendar-window-list)
15890 (calendar-hide-window): Restore. (Bug#11140)
15891 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
15892
15893 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
15894
15895 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15896
15897 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15898 Check if file is a symlink (Bug#10489).
15899
15900 * files.el (copy-directory): Likewise.
15901
15902 2012-03-30 Chong Yidong <cyd@gnu.org>
15903
15904 * image.el (imagemagick-types-inhibit)
15905 (imagemagick-register-types): Doc fix.
15906
15907 2012-03-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15908
15909 * textmodes/ispell.el (ispell-get-extended-character-mode):
15910 Disable extended-char-mode for hunspell. hunspell does not support it
15911 and treats ~word as ordinary words in pipe mode.
15912
15913 2012-03-30 Glenn Morris <rgm@gnu.org>
15914
15915 * tutorial.el (help-with-tutorial): Ensure local variables don't
15916 happen to make the buffer read-only. (Bug#11127)
15917
15918 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15919
15920 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
15921 (perl-calculate-indent): Return `noindent' in strings.
15922
15923 2012-03-28 Sam Steingold <sds@gnu.org>
15924
15925 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
15926 instead of the broken adhockery which does not prevent calendar
15927 buffers from being displayed at random after exit.
15928 (calendar-window-list, calendar-hide-window): Remove the broken
15929 adhockery.
15930
15931 2012-03-28 Glenn Morris <rgm@gnu.org>
15932
15933 * replace.el (query-replace-map): Doc fix.
15934
15935 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
15936
15937 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
15938 contents. (Bug#11109)
15939
15940 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15941
15942 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
15943 (bug#11077).
15944 (avl-tree--check, avl-tree--check-node): New funs.
15945
15946 2012-03-27 Martin Rudalics <rudalics@gmx.at>
15947
15948 * window.el (switch-to-visible-buffer): New option.
15949 (switch-to-prev-buffer, switch-to-next-buffer):
15950 Observe switch-to-visible-buffer. Make sure that checking for a window
15951 showing a buffer already is done on the same frame.
15952
15953 2012-03-27 Glenn Morris <rgm@gnu.org>
15954
15955 * startup.el (mail-host-address): Doc fix.
15956
15957 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15958
15959 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
15960 than 197 variables.
15961
15962 2012-03-26 Ami Fischman <ami@fischman.org>
15963
15964 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
15965
15966 2012-03-26 Glenn Morris <rgm@gnu.org>
15967
15968 * files.el (save-buffers-kill-emacs): Doc fix.
15969
15970 * startup.el (normal-top-level, command-line, command-line-1):
15971 Give them doc strings.
15972
15973 2012-03-25 Eli Zaretskii <eliz@gnu.org>
15974
15975 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
15976 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
15977
15978 2012-03-25 Chong Yidong <cyd@gnu.org>
15979
15980 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
15981 theme if it was previously enabled before (Bug#11031).
15982
15983 * cus-theme.el (custom-theme-write-faces): Retrieve current face
15984 spec with custom-face-get-current-spec if its :shown-value is not
15985 determined yet (Bug#9337).
15986 (customize-create-theme, custom-theme-revert): Doc fixes.
15987
15988 * button.el (button-at): Minor addition to docstring.
15989
15990 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
15991
15992 * vc/vc.el (vc-merge): Fix a prompt.
15993
15994 2012-03-24 Chong Yidong <cyd@gnu.org>
15995
15996 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
15997 point (Bug#9623).
15998
15999 * button.el (button-at): Minor addition to docstring.
16000
16001 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
16002
16003 * newcomment.el (comment-choose-indent): No space after BOL.
16004
16005 2012-03-22 Sam Steingold <sds@gnu.org>
16006
16007 * window.el (switch-to-prev-buffer): Revert last patch because the
16008 bug turned out to be an advertised feature (Elisp manual 28.14).
16009
16010 2012-03-22 Glenn Morris <rgm@gnu.org>
16011
16012 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
16013 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
16014
16015 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16016
16017 * net/network-stream.el (network-stream-open-starttls): Make error
16018 message under Windows be less misleading.
16019
16020 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
16021
16022 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
16023 understands (bug#9942).
16024
16025 2012-03-22 Chong Yidong <cyd@gnu.org>
16026
16027 * simple.el (end-of-visible-line): Handle return value of
16028 next-single-property-change properly (Bug#9371).
16029
16030 2012-03-22 Kenichi Handa <handa@m17n.org>
16031
16032 * international/quail.el (quail-insert-kbd-layout): Fix previous
16033 change. To avoid unwanted bidi reordering, use
16034 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
16035
16036 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
16037
16038 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
16039 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
16040 (ruby-beginning-of-indent): Be more careful with the difference
16041 between word-boundary and symbol boundary.
16042 (ruby-mode-syntax-table): Make : a symbol constituent.
16043
16044 2012-03-21 Andreas Politz <politza@fh-trier.de>
16045
16046 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
16047
16048 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16049
16050 * progmodes/etags.el (tags-completion-at-point-function):
16051 Improve last fix.
16052
16053 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
16054
16055 2012-03-21 Sam Steingold <sds@gnu.org>
16056
16057 * progmodes/etags.el (tags-completion-at-point-function):
16058 Avoid the error when point is inside the pattern.
16059
16060 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
16061
16062 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
16063 line (Bug#10855).
16064
16065 2012-03-21 Drew Adams <drew.adams@oracle.com>
16066
16067 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
16068
16069 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
16070
16071 * ido.el (ido-set-current-directory, ido-read-internal)
16072 (ido-choose-completion-string, ido-completion-help): Handle nil
16073 value of ido-completion-buffer (Bug#11008).
16074
16075 2012-03-21 Sam Steingold <sds@gnu.org>
16076
16077 * window.el (switch-to-prev-buffer): Do not switch to a visible
16078 window previous buffer, just like with the frame previous buffers.
16079
16080 2012-03-21 Chong Yidong <cyd@gnu.org>
16081
16082 * faces.el (make-face, make-empty-face, copy-face):
16083 * face-remap.el (face-remap-add-relative, face-remap-set-base):
16084 Doc fixes.
16085
16086 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16087
16088 * wid-edit.el (widget-complete-field): Remove (bug#11051).
16089 (widget-complete): Remove broken use of it.
16090
16091 2012-03-20 Chong Yidong <cyd@gnu.org>
16092
16093 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16094 Use string-width and truncate-string-width to handle arbitrary
16095 characters.
16096
16097 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
16098
16099 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
16100 to draw rectangles, not squares. (Regression introduced by revno
16101 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
16102
16103 2012-03-18 Chong Yidong <cyd@gnu.org>
16104
16105 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
16106 it is not yet defined (for temacs).
16107
16108 2012-03-18 Leo Liu <sdl.web@gmail.com>
16109
16110 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
16111 prefix.
16112
16113 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16114
16115 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
16116 (ispell-choices-win-default-height, ispell-silently-savep)
16117 (ispell-dictionary-alist, ispell-encoding8-command)
16118 (ispell-check-version, ispell-aspell-find-dictionary)
16119 (ispell-valid-dictionary-list, ispell-words-keyword)
16120 (ispell-get-word, ispell-internal-change-dictionary)
16121 (ispell-region, ispell-skip-region-list)
16122 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
16123 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
16124 (ispell-message-text-end, ispell-message)
16125 (ispell-buffer-local-parsing): Doc fix.
16126
16127 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
16128
16129 * htmlfontify.el: Add support for code block fontification for ODT
16130 export (Bug #9914).
16131 (hfy-optimisations): Define new option
16132 `body-text-only'
16133 (hfy-fontify-buffer): Honor above setting.
16134 (hfy-begin-span, hfy-end-span): New routines factored out form
16135 `hfy-fontify-buffer'.
16136 (hfy-begin-span-handler, hfy-end-span-handler): New variables
16137 that permit insertion of custom tags.
16138 (hfy-fontify-buffer): Use above handlers.
16139 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
16140 (hfy-face-to-css): Re-defined to be a variable.
16141 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
16142 over multiple runs. This is made possible by having the caller let
16143 bind a special variable `hfy-user-sheet-assoc'.
16144 (htmlfontify-string): New defun.
16145 (hfy-compile-face-map): Make sure that the last char in the
16146 buffer is correctly fontified.
16147 (hfy-face-resolve-face): Whitespace only change.
16148
16149 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16150
16151 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
16152 message more clear.
16153
16154 2012-03-16 Leo Liu <sdl.web@gmail.com>
16155
16156 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
16157
16158 2012-03-16 Alan Mackenzie <acm@muc.de>
16159
16160 Further optimize the handling of large macros.
16161
16162 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
16163 limit to a call of `c-literal-limits'.
16164 (c-determine-+ve-limit): New function.
16165 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
16166 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
16167 In CASE 5B, restrict a search limit to 500.
16168 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
16169
16170 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
16171 Restrict macro bounds to +-500 from after-change's BEG END.
16172
16173 2012-03-16 Leo Liu <sdl.web@gmail.com>
16174
16175 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
16176
16177 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
16178
16179 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
16180 `special-mode' setting of `buffer-read-only'. (Bug#11010)
16181
16182 2012-03-16 Glenn Morris <rgm@gnu.org>
16183
16184 * view.el (view-buffer, view-buffer-other-window)
16185 (view-buffer-other-frame): Doc fixes re special mode-class.
16186
16187 * subr.el (eval-after-load): If named feature is provided not from
16188 a file, run after-load forms. (Bug#10946)
16189
16190 * calendar/calendar.el (calendar-insert-at-column):
16191 Handle non-unit-width characters a bit better. (Bug#10978)
16192
16193 2012-03-15 Chong Yidong <cyd@gnu.org>
16194
16195 * emacs-lisp/ring.el (ring-extend): New function.
16196 (ring-insert+extend): Extend the ring correctly (Bug#11019).
16197
16198 * comint.el (comint-read-input-ring)
16199 (comint-add-to-input-history): Grow comint-input-ring lazily.
16200
16201 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16202
16203 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
16204 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
16205
16206 * imenu.el: Fix multiple inheritance breakage (bug#9199).
16207 (imenu-add-to-menubar): Don't add a redundant index.
16208 (imenu-update-menubar): Handle a dynamically composed keymap.
16209
16210 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
16211
16212 * mail/sendmail.el (mail-encode-header):
16213 Bind rfc2047-encode-encoded-words to nil.
16214
16215 2012-03-13 Glenn Morris <rgm@gnu.org>
16216
16217 * calendar/calendar.el (calendar-string-spread):
16218 Handle non-unit-width characters a bit better. (Bug#10978)
16219
16220 2012-03-13 Leo Liu <sdl.web@gmail.com>
16221
16222 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
16223 directory and file as argument (Bug#10822).
16224
16225 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16226
16227 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
16228 For dynamically generated code, follow $PC.
16229 (gdb-disassembly-handler-custom): Handle no function name case.
16230
16231 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
16232
16233 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
16234 * emulation/ws-mode.el (ws-query-replace):
16235 * sort.el (sort-regexp-fields):
16236 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
16237
16238 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16239
16240 * dabbrev.el: Fix cycle completion order (bug#10963).
16241 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
16242 (dabbrev-completion): Don't use an obarray; provide
16243 a cycle-sort-function.
16244
16245 2012-03-12 Leo Liu <sdl.web@gmail.com>
16246
16247 * simple.el (kill-new): Use equal-including-properties for comparison.
16248 (kill-do-not-save-duplicates): Doc fix.
16249
16250 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16251
16252 * dabbrev.el: Fix cycle completion (bug#10963).
16253 Use lexical binding and wrap to 80 columns.
16254 (dabbrev-completion): Delay computing the list of completions.
16255
16256 2012-03-12 Kenichi Handa <handa@m17n.org>
16257
16258 * international/quail.el (quail-insert-kbd-layout): Surround each
16259 row by LRO and PDF instead of inserting many LRMs. Pad the left
16260 and right of each non-spacing marks. Insert invisible space
16261 between lower and upper characters to prevent composition.
16262
16263 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16264
16265 * minibuffer.el (minibuffer-complete): Don't get confused when the
16266 function is run twice via different commands (bug#10958).
16267 (complete-with-action): Fix docstring.
16268
16269 2012-03-12 Chong Yidong <cyd@gnu.org>
16270
16271 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
16272 (nxml-completion-at-point-function): New function.
16273 (nxml-mode): Use it.
16274 (nxml-bind-meta-tab-to-complete-flag): Default to t.
16275
16276 * emacs-lisp/package.el (package-unpack, package-unpack-single):
16277 Load generated autoloads file before byte compiling (Bug#10970).
16278 (package--make-autoloads-and-compile): New helper fun.
16279
16280 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
16281
16282 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
16283
16284 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
16285
16286 * autorevert.el (auto-revert-handler): Ensure, that
16287 file-readable-p is applied only for local files or in
16288 auto-revert-tail-mode.
16289
16290 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
16291
16292 * server.el (server-eval-at): Handle non-tcp connections.
16293 Decode result string.
16294
16295 * server.el (server-msg-size): New constant.
16296 (server-reply-print): New function.
16297 (server-eval-and-print): Use it.
16298 (server-eval-at): Use server-quote-arg and server-unquote-arg.
16299 Handle -print-nonl.
16300
16301 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
16302
16303 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
16304 (Bug#10987).
16305
16306 2012-03-11 Chong Yidong <cyd@gnu.org>
16307
16308 * simple.el (goto-line): Doc fix (Bug#9938).
16309
16310 * subr.el (save-window-excursion): Doc fix (Bug#9979).
16311
16312 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
16313 when finished (Bug#10963).
16314
16315 2012-03-11 Martin Rudalics <rudalics@gmx.at>
16316
16317 * window.el (split-window-below): Fix bug in case where
16318 split-window-keep-point is nil (Bug#10971).
16319
16320 2012-03-11 Juri Linkov <juri@jurta.org>
16321
16322 * replace.el (replace-highlight): Set isearch-word to nil
16323 unconditionally. (Bug#10887)
16324
16325 2012-03-10 Eli Zaretskii <eliz@gnu.org>
16326
16327 * net/mairix.el (mairix-replace-invalid-chars): Rename from
16328 mairix-replace-illegal-chars; all callers changed. Don't remove
16329 ^, ~, and = characters: they are meaningful in mairix search specs.
16330 (mairix-widget-create-query): Add usage information about mairix
16331 search forms: negating words, searching for substrings, etc.
16332
16333 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
16334
16335 * international/fontset.el (font-encoding-alist): Add an entry for
16336 ksx1001 (Bug#5667).
16337
16338 2012-03-10 Richard Stallman <rms@gnu.org>
16339
16340 * mail/sendmail.el (mail-encode-header):
16341 Set rfc2047-encode-encoded-words.
16342
16343 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
16344
16345 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
16346 view buffer means not swapped.
16347 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
16348 (rmail-write-region-annotate): Error if real text has disappeared.
16349
16350 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
16351
16352 2012-03-10 Chong Yidong <cyd@gnu.org>
16353
16354 * emulation/cua-rect.el (cua--init-rectangles):
16355 * emulation/cua-base.el (cua--init-keymaps):
16356 Add delete-forward-char to remappings (Bug#9666).
16357
16358 2012-03-10 Martin Rudalics <rudalics@gmx.at>
16359
16360 * speedbar.el (speedbar-unhighlight-one-tag-line):
16361 Avoid unhighlighting due to frame switching (Bug#10275).
16362
16363 2012-03-10 Chong Yidong <cyd@gnu.org>
16364
16365 * minibuffer.el (completion-in-region, completion-help-at-point):
16366 Give the completion field overlay a high priority (Bug#6830).
16367
16368 * dired.el (dired-goto-file): Recognize absolute file name
16369 listings (Bug#7126).
16370 (dired-goto-file-1): New helper function.
16371 (dired-toggle-read-only): Inhibit warnings.
16372
16373 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
16374
16375 * net/dbus.el (dbus-property-handler): Return empty array if
16376 there are no properties.
16377
16378 2012-03-09 Leo Liu <sdl.web@gmail.com>
16379
16380 * savehist.el (savehist-printable): Stricter check for string
16381 value (Bug#10937).
16382
16383 2012-03-09 Eli Zaretskii <eliz@gnu.org>
16384
16385 * mail/smtpmail.el (smtpmail-send-it):
16386 Bind coding-system-for-write to *-unix, so that FCC files are kept in
16387 valid mbox format.
16388
16389 2012-03-09 Glenn Morris <rgm@gnu.org>
16390
16391 * files.el (dir-locals-find-file):
16392 Don't check result is regular, readable.
16393 (dir-locals-read-from-file): Demote errors.
16394
16395 2012-03-08 Eli Zaretskii <eliz@gnu.org>
16396
16397 * international/quail.el (quail-insert-kbd-layout):
16398 Insert invisible LRM characters before each character in a keyboard
16399 layout cell, to prevent their reordering by bidi display engine.
16400 For details, see the discussion in
16401 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
16402
16403 2012-03-08 Alan Mackenzie <acm@muc.de>
16404
16405 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
16406 the starting position; make it extend the marked region when
16407 invoked repeatedly - all under appropriate circumstances.
16408 Fixes bugs #5525, #10906.
16409
16410 2012-03-08 Glenn Morris <rgm@gnu.org>
16411
16412 * files.el (locate-dominating-file, dir-locals-find-file):
16413 Undo 2012-03-06 change.
16414
16415 2012-03-07 Eli Zaretskii <eliz@gnu.org>
16416
16417 * international/quail.el (quail-help):
16418 Force bidi-paragraph-direction be left-to-right. See discussion in
16419 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
16420 for the reason.
16421
16422 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
16423
16424 Avoid superfluous registering of signals. (Bug#10807)
16425
16426 * notifications.el (notifications-on-action-object)
16427 (notifications-on-close-object): New defvars.
16428 (notifications-on-action-signal, notifications-on-closed-signal):
16429 Unregister the signal if not needed any longer.
16430 (notifications-notify): Register `notifications-action-signal' or
16431 `notifications-closed-signal', if :on-action or :on-close has been
16432 passed as argument.
16433
16434 2012-03-07 Chong Yidong <cyd@gnu.org>
16435
16436 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
16437 non-X platforms.
16438
16439 2012-03-06 Glenn Morris <rgm@gnu.org>
16440
16441 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16442 (x-disown-selection-internal, x-get-selection-internal):
16443 Doc fix (add arglist signatures). (Bug#10783)
16444
16445 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16446
16447 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16448 Handle breakpoints with no "type".
16449
16450 2012-03-06 Glenn Morris <rgm@gnu.org>
16451
16452 * files.el (locate-dominating-file): Add optional predicate argument.
16453 (dir-locals-find-file): Make use of above change.
16454
16455 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
16456
16457 * info.el (Info-insert-dir): Also try "dir.gz".
16458
16459 2012-03-06 Glenn Morris <rgm@gnu.org>
16460
16461 * files.el (dir-locals-find-file):
16462 Ignore non-readable or non-regular files. (Bug#10928)
16463
16464 * files.el (locate-dominating-file): Doc fix.
16465
16466 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
16467
16468 * calendar/calendar.el (calendar-set-mode-line):
16469 `getenv' returns a string. (Bug#10951)
16470
16471 2012-03-05 Leo Liu <sdl.web@gmail.com>
16472
16473 * simple.el (backward-delete-char-untabify): Constrain point to
16474 field (Bug#10939).
16475
16476 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
16477
16478 2012-03-05 Chong Yidong <cyd@gnu.org>
16479
16480 * simple.el (count-words): If called from Lisp, return the word
16481 count, for symmetry with `count-lines'. Arglist changed.
16482 (count-words--message): Args changed. Consolidate counting code
16483 from count-words and count-words-region.
16484 (count-words-region): Caller changed.
16485 (count-lines-region): Make it an obsolete alias.
16486
16487 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
16488
16489 * saveplace.el (save-place-to-alist)
16490 (save-place-ignore-files-regexp): Allow value nil to disable this
16491 feature.
16492
16493 2012-03-04 Chong Yidong <cyd@gnu.org>
16494
16495 * faces.el (face-spec-reset-face): For the default face, reset the
16496 attributes to default values (Bug#10748).
16497
16498 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16499
16500 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
16501 previous patch: Check `message-send-mail-function', and not the
16502 default function (bug#10897).
16503
16504 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
16505
16506 * notifications.el (notifications-on-action-signal)
16507 (notifications-on-closed-signal): Check for unique service name of
16508 incoming event. Fix error in removing entry.
16509 (top): Register for signals with wildcard service name.
16510 (notifications-notify): Use daemon unique service name for map entries.
16511
16512 2012-03-04 Chong Yidong <cyd@gnu.org>
16513
16514 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
16515
16516 2012-03-04 Glenn Morris <rgm@gnu.org>
16517
16518 * abbrev.el (copy-abbrev-table, abbrev-table-p)
16519 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
16520 (expand-abbrev, define-abbrev-table): Doc fixes.
16521
16522 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16523
16524 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
16525 `message-default-send-mail-function' and not `send-mail-function'
16526 when doing the prompting for `sendmail-query-once' before sending
16527 in Message buffers (bug#10897).
16528
16529 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
16530 This is inconsistent with all the other stream functions, which leave
16531 the setting up to the higher levels (if so wanted) (bug#10931).
16532
16533 2012-03-02 Alan Mackenzie <acm@muc.de>
16534
16535 Depessimize the handling of very large macros.
16536
16537 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
16538 (c-macro-cache-syntactic): New variables to implement a one
16539 element macro cache.
16540 (c-invalidate-macro-cache): New function.
16541 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
16542 Adapt to use the new cache.
16543 (c-state-safe-place): Use better the cache of safe positions.
16544 (c-state-semi-nonlit-pos-cache)
16545 (c-state-semi-nonlit-pos-cache-limit):
16546 New variables for...
16547 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
16548 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
16549 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
16550 Use c-state-semi-safe-place.
16551
16552 * progmodes/cc-langs.el (c-get-state-before-change-functions):
16553 Add c-invalidate-macro-cache to the C, C++, Obj entries.
16554
16555 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
16556
16557 * jka-compr.el (jka-compr-call-process):
16558 Apply `file-accessible-directory-p' only when the default directory is
16559 not remote.
16560
16561 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
16562
16563 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
16564 access of FILE2, if FILE1 does not exist.
16565
16566 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
16567 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
16568
16569 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
16570 Add "PAGER=" to `process-environment'.
16571
16572 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
16573
16574 * progmodes/sql.el: Bug fix
16575 (sql-get-login-ext): Save login values in globals.
16576 (sql-get-login): Use new version of `sql-get-login-ext'.
16577 (sql-interactive-mode): Set global `sql-connection' to nil.
16578 (sql-connect): Set global values for connection.
16579 (sql-product-interactive): Save global values as buffer local.
16580
16581 2012-02-29 Leo Liu <sdl.web@gmail.com>
16582
16583 * abbrev.el (define-abbrevs): Reset sys to nil.
16584
16585 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16586
16587 * files.el (file-equal-p): Rename from `files-equal-p'.
16588 Return nil when one or both files don't exist.
16589 (file-subdir-of-p): Now only top directory must exists,
16590 return nil if it doesn't.
16591 (copy-directory): No need to test with `file-subdir-of-p' after
16592 creating dir.
16593 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
16594 to `file-equal-p'.
16595
16596 2012-02-28 Glenn Morris <rgm@gnu.org>
16597
16598 * shell.el (shell-mode):
16599 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
16600 * play/landmark.el (landmark-font-lock-face-O):
16601 * play/handwrite.el (handwrite):
16602 * play/gomoku.el (gomoku-O):
16603 * net/browse-url.el (browse-url-browser-display):
16604 * international/mule.el (define-charset):
16605 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
16606 * filesets.el (filesets-find-file-delay):
16607 * eshell/em-xtra.el (eshell-xtra):
16608 * eshell/em-unix.el (eshell-grep):
16609 * emulation/viper.el (viper-mode):
16610 * emacs-lisp/regexp-opt.el (regexp-opt-group):
16611 * emacs-lisp/easymenu.el (easy-menu-define):
16612 * calendar/timeclock.el (timeclock-use-display-time):
16613 * bs.el (bs-mode):
16614 * bookmark.el (bookmark-save-flag):
16615 Doc fix (standardize possessive apostrophe usage).
16616
16617 2012-02-27 Chong Yidong <cyd@gnu.org>
16618
16619 * emulation/viper-cmd.el (viper-intercept-ESC-key):
16620 Fix key-binding lookup for ESC key (Bug#9146).
16621
16622 * font-lock.el (font-lock-specified-p): Rename from
16623 font-lock-spec-present. Callers changed.
16624
16625 2012-02-27 Daniel Hackney <dan@haxney.org>
16626
16627 * emacs-lisp/package.el (package-compute-transaction):
16628 Handle holding a package version to t in package-load-list.
16629
16630 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
16631
16632 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
16633 (tramp-get-inode, tramp-get-device): Use cached values.
16634
16635 2012-02-26 Alan Mackenzie <acm@muc.de>
16636
16637 Check there is a font-lock specification before doing initial
16638 fontification.
16639
16640 * font-core.el (font-lock-mode): Move the conditional from
16641 :after-hook to font-lock-initial-fontify.
16642 (font-lock-default-function): Move the check for a specification
16643 to font-lock-spec-present.
16644
16645 * font-lock.el (font-lock-initial-fontify): Call ...
16646 (font-lock-spec-present): New function.
16647
16648 2012-02-26 Jim Blandy <jimb@red-bean.com>
16649
16650 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
16651 (gdb-send): Apply it to the operand of the '-interpreter-exec
16652 console' command, so that we can pass arguments with (say) quotes
16653 in them. Store exact string sent in gdb-debug-log (Bug#10765).
16654
16655 2012-02-26 Chong Yidong <cyd@gnu.org>
16656
16657 * help-fns.el (describe-function-1): Clarify description of
16658 remapping (Bug#10844).
16659
16660 * files.el (files-equal-p): Doc fix.
16661 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
16662 and quit the loop once a mismatch is found.
16663
16664 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
16665
16666 * bs.el (bs--show-with-configuration): Don't throw an error
16667 if the window cannot be split; otherwise, subsequent calls to
16668 bs-show fail, restoring a stale window config. (Bug#10882)
16669
16670 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
16671
16672 * term/ns-win.el (global-map): Bind ns-drag-file to
16673 ns-find-file (Bug#5855, Bug#10050).
16674
16675 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
16676
16677 * calendar/parse-time.el (parse-time-string): Allow extractor to
16678 return nil.
16679
16680 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
16681
16682 * net/tramp.el (tramp-file-name-for-operation):
16683 Add `files-equal-p' and `file-subdir-of-p'.
16684
16685 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16686 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16687 Add COPY-CONTENTS argument.
16688
16689 2012-02-25 Chong Yidong <cyd@gnu.org>
16690
16691 Add custom groups for VC backends, for consistency with vc-bzr.
16692
16693 * vc/vc-arch.el (vc-arch):
16694 * vc/vc-cvs.el (vc-cvs):
16695 * vc/vc-git.el (vc-git):
16696 * vc/vc-hg.el (vc-hg):
16697 * vc/vc-mtn.el (vc-mtn):
16698 * vc/vc-rcs.el (vc-rcs):
16699 * vc/vc-sccs.el (vc-sccs):
16700 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
16701 All relevant defcustoms reassigned.
16702
16703 2012-02-25 Chong Yidong <cyd@gnu.org>
16704
16705 * newcomment.el (comment-styles): Add autoload (Bug#10868).
16706
16707 * term/x-win.el (x-initialize-window-system): Reduce default for
16708 x-selection-timeout to 5 seconds (Bug#8869).
16709
16710 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16711
16712 * files.el (files-equal-p, file-subdir-of-p): New functions.
16713 (copy-directory): Error when trying to copy a directory on itself.
16714 Add missing copy-contents arg to tramp handler.
16715 * dired-aux.el (dired-copy-file-recursive): Same.
16716 (dired-create-files): Modify destination when source is equal to
16717 dest when copying files.
16718 Return also when dest is a subdir of source. (Bug#10489)
16719
16720 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
16721
16722 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
16723 (Bug#10874)
16724
16725 2012-02-23 Alan Mackenzie <acm@muc.de>
16726
16727 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
16728 parameter "after-hook:" to allow the expansion to run code after
16729 the execution of the mode hooks.
16730
16731 * font-lock.el (font-lock-initial-fontify): New function extracted
16732 from font-lock-mode-internal.
16733
16734 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
16735 :after-hook.
16736
16737 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16738
16739 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
16740 (completion--cache-all-sorted-completions): New function.
16741 (completion-all-sorted-completions): Use it.
16742 (completion--do-completion, minibuffer-force-complete):
16743 Use it to re-instate the flush hook.
16744
16745 * icomplete.el (icomplete-completions): Replace last fix with a better
16746 one (bug#10850).
16747
16748 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
16749
16750 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
16751 when it might call us back infinitely (bug#10797).
16752
16753 2012-02-23 Glenn Morris <rgm@gnu.org>
16754
16755 * minibuffer.el (completion-category-overrides): Doc fix.
16756
16757 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16758
16759 * minibuffer.el (completion-table-with-context): Fix inf-loop.
16760 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
16761
16762 2012-02-23 Glenn Morris <rgm@gnu.org>
16763
16764 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
16765 (authors-obsolete-files-regexps, authors-ignored-files)
16766 (authors-ambiguous-files, authors-renamed-files-alist):
16767 Add more entries.
16768
16769 2012-02-23 Juri Linkov <juri@jurta.org>
16770
16771 * isearch.el (isearch-occur): Sync interactive spec with occur's
16772 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
16773
16774 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
16775
16776 2012-02-22 Juri Linkov <juri@jurta.org>
16777
16778 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
16779 (ucs-insert): Doc fix. Check for hex digits in the string.
16780 Don't display `nil' in the error message. (Bug#10857)
16781
16782 2012-02-22 Alan Mackenzie <acm@muc.de>
16783
16784 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
16785
16786 2012-02-22 Glenn Morris <rgm@gnu.org>
16787
16788 * ffap.el (ffap-c-path):
16789 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
16790
16791 2012-02-22 Chong Yidong <cyd@gnu.org>
16792
16793 * custom.el (load-theme): Doc fix.
16794
16795 2012-02-22 Glenn Morris <rgm@gnu.org>
16796
16797 * dired-x.el (dired-guess-shell-alist-default):
16798 Remove escape sequences from nroff output. (Bug#172)
16799
16800 2012-02-21 Glenn Morris <rgm@gnu.org>
16801
16802 * vc/emerge.el (emerge-defvar-local):
16803 Set `permanent-local' property rather than unused `preserved'.
16804
16805 * textmodes/picture.el (picture-delete-char): New alias.
16806 (picture-mode-map): Use it. (Bug#10860)
16807 (picture-mode): Doc fix.
16808
16809 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
16810
16811 * newcomment.el (uncomment-region-default): Remove unused binding.
16812
16813 2012-02-21 Glenn Morris <rgm@gnu.org>
16814
16815 * textmodes/picture.el (picture-motion, picture-motion-reverse)
16816 (picture-self-insert, picture-tab-chars): Doc fix.
16817 (picture-mode-map): Fix C-a, C-e.
16818
16819 2012-02-20 Glenn Morris <rgm@gnu.org>
16820
16821 * emacs-lisp/authors.el (authors-aliases): Add another entry.
16822
16823 2012-02-20 Leo Liu <sdl.web@gmail.com>
16824
16825 * icomplete.el (icomplete-completions): Check FROM arg before
16826 passing to substring (Bug#10850).
16827
16828 2012-02-19 Chong Yidong <cyd@gnu.org>
16829
16830 * comint.el: Require ansi-color.
16831 (comint-output-filter-functions): Add ansi-color-process-output.
16832
16833 * ansi-color.el: Don't set comint-output-filter-functions; it is
16834 now in the initial value defined in comint.el.
16835 (ansi-color-apply-face-function): New variable.
16836 (ansi-color-apply-on-region): Use it.
16837 (ansi-color-apply-overlay-face): New function.
16838
16839 * shell.el (shell): No need to require ansi-color.
16840 (shell-mode): Use ansi-color-apply-face-function to highlight
16841 color escapes using font-lock-face property (Bug#10835).
16842
16843 2012-02-19 Chong Yidong <cyd@gnu.org>
16844
16845 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
16846 mode-line formats (Bug#10839).
16847
16848 2012-02-18 Glenn Morris <rgm@gnu.org>
16849
16850 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
16851
16852 * mail/undigest.el (unforward-rmail-message): Doc fix.
16853
16854 * saveplace.el (save-place-ignore-files-regexp): Add :version.
16855
16856 2012-02-18 Eli Zaretskii <eliz@gnu.org>
16857
16858 * international/characters.el (script-list): Sync with the latest
16859 Unicode Character Database.
16860
16861 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
16862
16863 * international/titdic-cnv.el: Remove duplicate coding tag.
16864 * language/cham.el: Likewise.
16865 * language/tai-viet.el: Likewise.
16866
16867 2012-02-18 Glenn Morris <rgm@gnu.org>
16868
16869 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
16870 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
16871 (calendar-bahai-all-holidays-flag, calendar-other-dates):
16872 * calendar/diary-lib.el (diary-abbreviated-year-flag):
16873 * calendar/holidays.el (holiday-bahai-holidays)
16874 (calendar-holidays, list-holidays):
16875 Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
16876
16877 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
16878
16879 * saveplace.el (save-place-ignore-files-regexp): New variable
16880 allowing for excluding files from saving their location of point.
16881 The default value matches the temporary commit message editing
16882 files from Git, SVN, Bazaar, and Mercurial.
16883 (save-place-to-alist): Use it.
16884
16885 2012-02-17 Lawrence Mitchell <wence@gmx.li>
16886 Stefan Monnier <monnier@iro.umontreal.ca>
16887
16888 * newcomment.el (uncomment-region-default): Don't leave extra space
16889 when an arg is provided (bug#8150).
16890
16891 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
16892
16893 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
16894
16895 2012-02-17 Glenn Morris <rgm@gnu.org>
16896
16897 * net/socks.el: Require network-stream. (Bug#10599)
16898
16899 2012-02-17 Kenichi Handa <handa@m17n.org>
16900
16901 * international/charprop.el:
16902 * international/uni-name.el:
16903 * international/uni-old-name.el:
16904 * international/uni-comment.el: Regenerate.
16905
16906 2012-02-16 Glenn Morris <rgm@gnu.org>
16907
16908 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
16909 Interactively in calendar buffer, give an error if not on a date.
16910
16911 2012-02-15 Glenn Morris <rgm@gnu.org>
16912
16913 * shell.el (shell-delimiter-argument-list):
16914 Revert 2011-02-17 change. (Bug#8027)
16915
16916 2012-02-15 Chong Yidong <cyd@gnu.org>
16917
16918 * minibuffer.el (completion-at-point-functions): Doc fix.
16919
16920 * custom.el (defcustom): Doc fix; note use of defvar.
16921
16922 2012-02-15 Glenn Morris <rgm@gnu.org>
16923
16924 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
16925 Doc fixes.
16926
16927 2012-02-14 Glenn Morris <rgm@gnu.org>
16928
16929 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
16930
16931 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
16932
16933 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
16934 way the ports list is computed.
16935 (smtpmail-query-smtp-server): Prompt the user for a port number if
16936 we can't connect to any of the standard ports (bug#10810).
16937
16938 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
16939
16940 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
16941
16942 2012-02-13 Glenn Morris <rgm@gnu.org>
16943
16944 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
16945
16946 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
16947
16948 * net/gnutls.el (gnutls-trustfiles): New variable.
16949 (gnutls-negotiate): Use it.
16950
16951 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
16952
16953 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
16954 does its stuff if Gnus is running.
16955
16956 2012-02-13 Alan Mackenzie <acm@muc.de>
16957
16958 Fix a loop in c-set-fl-decl-start.
16959
16960 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
16961 c-backward-syntactic-ws actually moves backwards.
16962
16963 2012-02-13 Leo Liu <sdl.web@gmail.com>
16964
16965 * net/rcirc.el (rcirc-markup-attributes): Move point to the
16966 beginning so that all \C-o chars are removed.
16967
16968 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
16969
16970 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
16971
16972 2012-02-12 Alan Mackenzie <acm@muc.de>
16973
16974 Fix infinite loop with long macros.
16975 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
16976
16977 2012-02-12 Chong Yidong <cyd@gnu.org>
16978
16979 * window.el (display-buffer): Doc fix (Bug#10785).
16980
16981 2012-02-12 Glenn Morris <rgm@gnu.org>
16982
16983 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16984 (x-disown-selection-internal, x-get-selection-internal):
16985 Sync docs with the xselect.c versions.
16986
16987 * allout-widgets.el: Add missing license notice.
16988
16989 2012-02-11 Glenn Morris <rgm@gnu.org>
16990
16991 * select.el (x-get-selection-internal, x-own-selection-internal)
16992 (x-disown-selection-internal):
16993 * x-dnd.el (x-get-selection-internal): Update declarations.
16994
16995 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
16996
16997 * window.el (window-sides-slots):
16998 * tool-bar.el (tool-bar-position):
16999 * term/xterm.el (xterm-extra-capabilities):
17000 * ses.el (ses-self-reference-early-detection):
17001 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
17002 (verilog-auto-wire-type)
17003 (verilog-auto-delete-trailing-whitespace)
17004 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
17005 (verilog-auto-tieoff-declaration):
17006 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
17007 (sql-oracle-statement-starters, sql-oracle-scan-on):
17008 * progmodes/prolog.el (prolog-align-comments-flag)
17009 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
17010 (prolog-left-indent-regexp, prolog-paren-indent-p)
17011 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
17012 (prolog-types, prolog-mode-specificators)
17013 (prolog-determinism-specificators, prolog-directives)
17014 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
17015 (prolog-electric-dot-flag)
17016 (prolog-electric-dot-full-predicate-template)
17017 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
17018 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
17019 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
17020 (prolog-program-switches, prolog-prompt-regexp)
17021 (prolog-debug-on-string, prolog-debug-off-string)
17022 (prolog-trace-on-string, prolog-trace-off-string)
17023 (prolog-zip-on-string, prolog-zip-off-string)
17024 (prolog-use-standard-consult-compile-method-flag)
17025 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
17026 (prolog-imenu-max-lines, prolog-info-predicate-index)
17027 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
17028 (prolog-char-quote-workaround):
17029 * progmodes/cc-vars.el (c-defun-tactic):
17030 * net/tramp.el (tramp-encoding-command-interactive)
17031 (tramp-local-end-of-line):
17032 * net/soap-client.el (soap-client):
17033 * net/netrc.el (netrc-file):
17034 * net/gnutls.el (gnutls):
17035 * minibuffer.el (completion-category-overrides)
17036 (completion-cycle-threshold)
17037 (completion-pcm-complete-word-inserts-delimiters):
17038 * man.el (Man-name-local-regexp):
17039 * mail/feedmail.el (feedmail-display-full-frame):
17040 * international/characters.el (glyphless-char-display-control):
17041 * eshell/em-ls.el (eshell-ls-date-format):
17042 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
17043 (lisp-lambda-list-keyword-parameter-indentation)
17044 (lisp-lambda-list-keyword-parameter-alignment):
17045 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
17046 * dired-x.el (dired-omit-verbose):
17047 * cus-theme.el (custom-theme-allow-multiple-selections):
17048 * calc/calc.el (calc-highlight-selections-with-faces)
17049 (calc-lu-field-reference, calc-lu-power-reference)
17050 (calc-note-threshold):
17051 * battery.el (battery-mode-line-limit):
17052 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
17053 (archive-7z-update):
17054 * allout.el (allout-prefixed-keybindings)
17055 (allout-unprefixed-keybindings)
17056 (allout-inhibit-auto-fill-on-headline)
17057 (allout-flattened-numbering-abbreviation):
17058 * allout-widgets.el (allout-widgets-auto-activation)
17059 (allout-widgets-icons-dark-subdir)
17060 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
17061 (allout-widgets-theme-dark-background)
17062 (allout-widgets-theme-light-background)
17063 (allout-widgets-item-image-properties-emacs)
17064 (allout-widgets-item-image-properties-xemacs)
17065 (allout-widgets-run-unit-tests-on-load)
17066 (allout-widgets-time-decoration-activity)
17067 (allout-widgets-hook-error-post-time)
17068 (allout-widgets-track-decoration):
17069 Add missing :version tags to new defcustoms and defgroups.
17070
17071 * progmodes/sql.el (sql-ansi-statement-starters)
17072 (sql-oracle-statement-starters): Add custom type.
17073
17074 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
17075 (prolog-system-version): Give it a type.
17076
17077 2012-02-11 Eli Zaretskii <eliz@gnu.org>
17078
17079 * term/pc-win.el (x-select-text, x-selection-owner-p)
17080 (x-own-selection-internal, x-disown-selection-internal)
17081 (x-get-selection-internal): Sync doc strings and argument lists
17082 with xselect.c, common-win.el and x-win.el. (Bug#10783)
17083
17084 2012-02-11 Leo Liu <sdl.web@gmail.com>
17085
17086 * progmodes/python.el (python-end-of-statement): Fix infinite
17087 loop. (Bug#10788)
17088
17089 2012-02-10 Glenn Morris <rgm@gnu.org>
17090
17091 * international/mule-cmds.el (unify-8859-on-encoding-mode)
17092 (unify-8859-on-decoding-mode): Properly mark as obsolete.
17093
17094 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
17095
17096 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
17097 about SMTP before checking the From header.
17098
17099 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
17100 into own function for reuse by emacsbug.el.
17101
17102 2012-02-10 Leo Liu <sdl.web@gmail.com>
17103
17104 * subr.el (condition-case-unless-debug): Rename from
17105 condition-case-no-debug. All callers changed.
17106 (with-demoted-errors): Fix caller.
17107
17108 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
17109 * nxml/rng-valid.el (rng-do-some-validation):
17110 * emacs-lisp/package.el (package-refresh-contents)
17111 (package-menu-execute):
17112 * desktop.el (desktop-create-buffer):
17113 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
17114
17115 2012-02-10 Glenn Morris <rgm@gnu.org>
17116
17117 * textmodes/bibtex.el:
17118 Add missing :version tags for new/changed defcustoms.
17119
17120 * files.el (remote-file-name-inhibit-cache): Doc fixes.
17121
17122 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
17123
17124 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
17125 (smtpmail-via-smtp): Use it, or fall back on the From address.
17126 (smtpmail-send-it): Ditto.
17127
17128 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
17129
17130 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
17131 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
17132 (byte-compile-tmp-var): New const.
17133 (byte-compile-defvar): Use it to minimize .elc size.
17134 Just use `defvar' rather than simulate it (bug#10761).
17135
17136 2012-02-09 Glenn Morris <rgm@gnu.org>
17137
17138 * files.el (rename-uniquely): Doc fix. (Bug#3806)
17139
17140 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
17141 Add :version tags.
17142
17143 * progmodes/compile.el (compilation-error-screen-columns)
17144 (compilation-first-column, compilation-filter-start): Doc fixes.
17145
17146 * vc/log-view.el (log-view-toggle-entry-display):
17147 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
17148
17149 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
17150 (report-emacs-bug-can-use-xdg-email):
17151 (report-emacs-bug-insert-to-mailer): Doc fixes.
17152 (report-emacs-bug): Message fix.
17153
17154 * net/browse-url.el (browse-url-can-use-xdg-open)
17155 (browse-url-xdg-open): Doc fixes.
17156
17157 * electric.el (electric-indent-mode, electric-pair-mode)
17158 (electric-layout-rules, electric-layout-mode): Doc fixes.
17159 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
17160
17161 2012-02-08 Martin Rudalics <rudalics@gmx.at>
17162
17163 * server.el (server-unselect-display): Don't inadvertently kill
17164 the current buffer. (Bug#10729)
17165
17166 2012-02-08 Glenn Morris <rgm@gnu.org>
17167
17168 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
17169 (sql-list-table): Doc fixes.
17170
17171 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
17172 Comment out (does nothing).
17173
17174 * completion.el (dynamic-completion-mode):
17175 * dirtrack.el (dirtrack-debug-mode):
17176 * electric.el (electric-layout-mode):
17177 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
17178 * face-remap.el (text-scale-mode, buffer-face-mode):
17179 * iimage.el (iimage-mode):
17180 * image-mode.el (image-transform-mode):
17181 * minibuffer.el (completion-in-region-mode):
17182 * scroll-lock.el (scroll-lock-mode):
17183 * simple.el (next-error-follow-minor-mode):
17184 * tar-mode.el (tar-subfile-mode):
17185 * tooltip.el (tooltip-mode):
17186 * vcursor.el (vcursor-use-vcursor-map):
17187 * wid-browse.el (widget-minor-mode):
17188 * emulation/tpu-edt.el (tpu-edt-mode):
17189 * emulation/tpu-extras.el (tpu-cursor-free-mode):
17190 * international/iso-ascii.el (iso-ascii-mode):
17191 * language/thai-util.el (thai-word-mode):
17192 * mail/supercite.el (sc-minor-mode):
17193 * net/goto-addr.el (goto-address-mode):
17194 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
17195 * progmodes/cwarn.el (cwarn-mode):
17196 * progmodes/flymake.el (flymake-mode):
17197 * progmodes/glasses.el (glasses-mode):
17198 * progmodes/hideshow.el (hs-minor-mode):
17199 * progmodes/pascal.el (pascal-outline-mode):
17200 * textmodes/enriched.el (enriched-mode):
17201 * vc/smerge-mode.el (smerge-mode):
17202 Doc fixes (minor mode argument).
17203
17204 2012-02-07 Eli Zaretskii <eliz@gnu.org>
17205
17206 * ls-lisp.el (ls-lisp-sanitize): New function.
17207 (ls-lisp-insert-directory): Use it to fix or remove any elements
17208 in file-alist with missing attributes. (Bug#4673)
17209
17210 2012-02-07 Alan Mackenzie <acm@muc.de>
17211
17212 Fix spurious recognition of c-in-knr-argdecl.
17213
17214 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
17215 putative K&R region.
17216
17217 2012-02-07 Alan Mackenzie <acm@muc.de>
17218
17219 * progmodes/cc-engine.el (c-forward-objc-directive):
17220 Prevent looping in "#pragma mark @implementation".
17221
17222 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
17223
17224 * notifications.el (notifications-on-closed-signal): Make `reason'
17225 optional. (Bug#10744)
17226
17227 2012-02-07 Glenn Morris <rgm@gnu.org>
17228
17229 * emacs-lisp/easy-mmode.el (define-minor-mode):
17230 Doc fixes for the macro and the mode it defines.
17231
17232 * image.el (imagemagick-types-inhibit): Doc fix.
17233
17234 * cus-start.el (imagemagick-render-type): Add it.
17235
17236 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
17237
17238 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
17239 Set the default at load time, too, so that `font-lock-fontify-buffer'
17240 can be called without setting up the entire mode first. This fixes
17241 a bug in `mm-inline-text' with C MIME parts.
17242
17243 2012-02-06 Chong Yidong <cyd@gnu.org>
17244
17245 * simple.el (list-processes--refresh): Delete exited processes
17246 (Bug#8094).
17247
17248 * comint.el (comint-next-prompt): next-single-char-property-change
17249 and prev-single-char-property-change never return nil (Bug#8657).
17250
17251 * custom.el (defcustom): Doc fix (Bug#9711).
17252
17253 2012-02-05 Chong Yidong <cyd@gnu.org>
17254
17255 * cus-edit.el (custom-variable-reset-backup): Quote the value
17256 before storing it in the customized-value property (Bug#6712).
17257 (custom-display): Add a customization type tag.
17258 (custom-buffer-create-internal): Improve tooltip message.
17259
17260 * wid-edit.el (widget-field-value-get): New optional arg to
17261 suppress trailing whitespace truncation.
17262 (character): Use it (Bug#2689).
17263
17264 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
17265
17266 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
17267 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
17268
17269 2012-02-05 Chong Yidong <cyd@gnu.org>
17270
17271 * cus-edit.el (custom-variable-value-create): For mismatched
17272 types, show the current value (Bug#7600).
17273
17274 * custom.el (defcustom): Doc fix.
17275
17276 2012-02-05 Glenn Morris <rgm@gnu.org>
17277
17278 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
17279
17280 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
17281
17282 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
17283 (pp-buffer): Use `ignore-errors', `looking-at-p'.
17284 (pp-last-sexp): Use `looking-at-p'.
17285
17286 2012-02-04 Glenn Morris <rgm@gnu.org>
17287
17288 * files.el (revert-buffer):
17289 Doc fix (mention revert-buffer-in-progress-p).
17290
17291 * emacs-lisp/ert-x.el (ert-simulate-command):
17292 Check deferred-action-list (which is obsolete) is bound.
17293
17294 * subr.el (with-wrapper-hook): Doc fixes.
17295
17296 * simple.el (filter-buffer-substring-functions)
17297 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
17298
17299 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
17300
17301 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
17302 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
17303
17304 2012-02-04 Leo Liu <sdl.web@gmail.com>
17305
17306 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
17307
17308 2012-02-04 Glenn Morris <rgm@gnu.org>
17309
17310 * image.el (image-extension-data): Add obsolete alias.
17311
17312 * isearch.el (isearch-update): Doc fix.
17313
17314 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
17315
17316 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
17317
17318 2012-02-03 Glenn Morris <rgm@gnu.org>
17319
17320 * image.el (image-animated-p): Doc fix. Use image-animated-types.
17321 (image-animate-timeout): Doc fix.
17322
17323 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
17324
17325 2012-02-02 Glenn Morris <rgm@gnu.org>
17326
17327 * server.el (server-auth-dir): Doc fix.
17328 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
17329
17330 * subr.el (run-mode-hooks): Doc fix.
17331
17332 2012-02-02 Juri Linkov <juri@jurta.org>
17333
17334 * image-mode.el (image-toggle-display-image): Remove tautological
17335 `major-mode' from the `derived-mode-p' test.
17336
17337 2012-02-02 Kenichi Handa <handa@m17n.org>
17338
17339 * composite.el (compose-region): Cancel previous change.
17340
17341 2012-02-02 Kenichi Handa <handa@m17n.org>
17342
17343 * composite.el (compose-region, compose-string): Signal error for
17344 a null string component (Bug#6988).
17345
17346 2012-02-01 Chong Yidong <cyd@gnu.org>
17347
17348 * view.el (view-buffer-other-window, view-buffer-other-frame):
17349 Handle special modes like view-buffer (Bug#10650).
17350 (view-buffer): Simplify.
17351
17352 * frame.el (set-frame-font): Tweak meaning of third argument.
17353
17354 * dynamic-setting.el (font-setting-change-default-font):
17355 Use set-frame-font (Bug#9982).
17356
17357 2012-02-01 Glenn Morris <rgm@gnu.org>
17358
17359 * progmodes/compile.el (compilation-internal-error-properties):
17360 Respect compilation-first-column in the "*compilation*" buffer.
17361
17362 * emacs-lisp/easy-mmode.el (define-minor-mode):
17363 Relax :variable's test for a named function.
17364
17365 2012-01-31 Alan Mackenzie <acm@muc.de>
17366
17367 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
17368 off by one error.
17369
17370 2012-01-31 Chong Yidong <cyd@gnu.org>
17371
17372 * frame.el (set-frame-font): New arg ALL-FRAMES.
17373
17374 * menu-bar.el (menu-set-font): Use set-frame-font.
17375
17376 * faces.el (face-spec-reset-face): Don't apply unspecified
17377 attribute values to the default face.
17378
17379 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
17380
17381 * progmodes/cwarn.el (cwarn): Remove dead link.
17382 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
17383 Remove * from defcustom docstrings.
17384 (turn-on-cwarn-mode): Make obsolete.
17385 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
17386 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
17387
17388 2012-01-31 Glenn Morris <rgm@gnu.org>
17389
17390 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
17391 Fix :variable handling of mode a symbol not equal to modefun.
17392 Allow named functions to be used as the cdr of :variable.
17393
17394 2012-01-30 Glenn Morris <rgm@gnu.org>
17395
17396 * emacs-lisp/authors.el (authors-fixed-entries):
17397 Remove reference to deleted file rnewspost.el.
17398
17399 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
17400
17401 * window.el (window-with-parameter): Remove unused variable `windows'.
17402 (window--side-check): Remove unused variable `code'.
17403 (window--resize-siblings): Remove unused variable `first'.
17404 (adjust-window-trailing-edge): Remove unused variable `failed'.
17405 (window-deletable-p, window--delete): Remove unused variable `buffer'.
17406 Use `let', not `let*'.
17407 (balance-windows-2): Remove unused variable `found'.
17408 (window--state-put-2): Remove unused variable `splits'.
17409 (window-state-put): Remove unused variable `selected'.
17410 (same-window-p): Use `string-match-p'.
17411 (display-buffer-assq-regexp): Remove unused variable `value'.
17412 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17413 Mark argument ALIST as ignored.
17414 (pop-to-buffer): Remove unused variable `old-window'.
17415
17416 2012-01-29 Eli Zaretskii <eliz@gnu.org>
17417
17418 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
17419 and .lzma compressed files.
17420
17421 2012-01-29 Chong Yidong <cyd@gnu.org>
17422
17423 * frame.el (window-system-default-frame-alist): Doc fix.
17424
17425 * dynamic-setting.el (font-setting-change-default-font): Don't
17426 change the default face if SET-FONT argument is non-nil (Bug#9982).
17427
17428 2012-01-29 Samuel Bronson <naesten@gmail.com>
17429
17430 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
17431
17432 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
17433
17434 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
17435 breakpoints in files outside current directory (Bug#6098).
17436
17437 2012-01-29 Chong Yidong <cyd@gnu.org>
17438
17439 * progmodes/python.el: Require ansi-color at top-level.
17440
17441 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
17442 Define and use in Emacs Lisp mode (Bug#9360).
17443 (lisp-mode-abbrev-table): Add doc.
17444 (lisp-mode-variables): Don't set local-abbrev-table.
17445 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
17446
17447 2012-01-28 Roland Winkler <winkler@gnu.org>
17448
17449 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
17450
17451 2012-01-28 Roland Winkler <winkler@gnu.org>
17452
17453 * textmodes/bibtex.el (bibtex-entry-alist): New function.
17454 (bibtex-set-dialect): Use it. Either set global values of
17455 dialect-dependent variables or bind these variables buffer-locally
17456 (Bug#10254).
17457 (bibtex-mode): Call bibtex-set-dialect via
17458 hack-local-variables-hook.
17459 (bibtex-dialect): Update docstring.
17460 Add safe-local-variable predicate.
17461 (bibtex-entry-alist, bibtex-field-alist): Initialize via
17462 bibtex-set-dialect.
17463 (bibtex-mode-map): Define menu for each dialect.
17464 (bibtex-entry): Fix docstring.
17465
17466 2012-01-28 Chong Yidong <cyd@gnu.org>
17467
17468 * eshell/esh-arg.el (eshell-quote-argument): New function.
17469
17470 * eshell/esh-ext.el (eshell-invoke-batch-file):
17471 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
17472 first arg to eshell-parse-command (Bug#10523).
17473
17474 2012-01-28 Drew Adams <drew.adams@oracle.com>
17475
17476 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
17477 `default-directory' is non-nil.
17478
17479 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17480
17481 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
17482 line that displays system-configuration-options. (Bug#9924)
17483
17484 2012-01-28 Drew Adams <drew.adams@oracle.com>
17485
17486 * descr-text.el (describe-char): Show information about POS, in
17487 addition to information about the character at POS. Improve and
17488 update the doc string. Change "code point" to "code point in
17489 charset", to avoid confusion with the character's Unicode code
17490 point shown above that. (Bug#10129)
17491
17492 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17493
17494 * descr-text.el (describe-char): Show the raw character, not only
17495 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
17496 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
17497 for the reasons.
17498
17499 2012-01-28 Phil Hagelberg <phil@hagelb.org>
17500
17501 * emacs-lisp/package.el (package-install):
17502 Run package-refresh-contents if there is no archive yet (Bug#9798).
17503
17504 2012-01-28 Chong Yidong <cyd@gnu.org>
17505
17506 * emacs-lisp/package.el (package-maybe-load-descriptor):
17507 New function, split from package-maybe-load-descriptor.
17508 (package-maybe-load-descriptor): Use it.
17509 (package-download-transaction): Fully load required packages
17510 inside the loop, so that `require' calls work (Bug#10593).
17511 (package-install): No need to call package-initialize now.
17512
17513 2012-01-28 Chong Yidong <cyd@gnu.org>
17514
17515 * simple.el (deactivate-mark): Doc fix (Bug#8614).
17516
17517 * tooltip.el (tooltip-mode): Doc fix.
17518 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
17519
17520 * frame.el (set-cursor-color): Doc fix (Bug#352).
17521
17522 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
17523 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
17524
17525 * cus-edit.el (custom-buffer-create-internal): Fix search button
17526 action (Bug#10542).
17527 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
17528
17529 2012-01-27 Eduard Wiebe <usenet@pusto.de>
17530
17531 * dired.el (dired-mark-files-regexp):
17532 Include any subdirectory components. (Bug#10445)
17533
17534 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
17535
17536 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
17537 Handle [host]:port syntax. (Bug#10533)
17538
17539 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
17540
17541 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
17542
17543 2012-01-26 Glenn Morris <rgm@gnu.org>
17544
17545 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
17546 * term.el (term-raw-escape-map): Use Control-X-prefix.
17547 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
17548
17549 2012-01-25 Martin Rudalics <rudalics@gmx.at>
17550
17551 * window.el (window-state-get, window--state-get-1): Don't deal
17552 with fixed-sizeness of windows. Simplify code.
17553
17554 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
17555
17556 * window.el (window--state-get-1, window--state-put-2):
17557 Don't save and restore the mark.
17558
17559 2012-01-25 Chong Yidong <cyd@gnu.org>
17560
17561 * custom.el (custom-variable-p): Doc fix.
17562
17563 2012-01-25 Glenn Morris <rgm@gnu.org>
17564
17565 * dired.el (dired-goto-file): Handle some of the more common
17566 characters that `ls -b' escapes. (Bug#10596)
17567
17568 * progmodes/compile.el (compilation-next-error-function):
17569 Respect compilation-first-column in the "*compilation*" buffer.
17570 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
17571
17572 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
17573
17574 2012-01-24 Glenn Morris <rgm@gnu.org>
17575
17576 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
17577
17578 2012-01-24 Julien Danjou <julien@danjou.info>
17579
17580 * color.el (color-rgb-to-hsl): Fix value computing.
17581 (color-hue-to-rgb): New function.
17582 (color-hsl-to-rgb): New function.
17583 (color-clamp, color-saturate-hsl, color-saturate-name)
17584 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
17585 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
17586
17587 2012-01-24 Glenn Morris <rgm@gnu.org>
17588
17589 * vc/vc-rcs.el (vc-rcs-create-tag):
17590 * vc/vc-sccs.el (vc-sccs-create-tag):
17591 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
17592
17593 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
17594
17595 * eshell/esh-util.el (eshell-read-hosts-file):
17596 Skip comment lines. (Bug#10549)
17597
17598 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
17599
17600 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
17601
17602 * subr.el (display-delayed-warnings): Doc fix.
17603 (collapse-delayed-warnings): New function to collapse identical
17604 adjacent warnings.
17605 (delayed-warnings-hook): Add it.
17606
17607 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
17608
17609 * net/tramp.el (tramp-action-login): Set connection property "login-as".
17610
17611 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
17612 (tramp-default-user-alist): Don't add "pscp".
17613 (tramp-do-copy-or-rename-file-out-of-band): Use connection
17614 property "login-as", if set. (Bug#10530)
17615
17616 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
17617
17618 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
17619 "plink1" and "psftp". (Bug#10530)
17620
17621 2012-01-21 Kenichi Handa <handa@m17n.org>
17622
17623 * international/mule-cmds.el (prefer-coding-system): Show a
17624 warning message if the default value of file-name-coding-system
17625 was not changed.
17626
17627 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17628
17629 * windmove.el (windmove-reference-loc):
17630 Fix windmove-reference-loc miscalculation.
17631
17632 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
17633
17634 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
17635 default unit.
17636
17637 2012-01-21 Glenn Morris <rgm@gnu.org>
17638
17639 * international/mule.el (auto-coding-alist): Add .tbz.
17640
17641 * files.el (local-enable-local-variables): Doc fix.
17642 (inhibit-local-variables-regexps): Rename from
17643 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
17644 Doc fix. Add some extensions from auto-coding-alist.
17645 (inhibit-local-variables-suffixes):
17646 Rename from inhibit-first-line-modes-suffixes. Doc fix.
17647 (inhibit-local-variables-p):
17648 New function, extracted from set-auto-mode-1.
17649 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
17650 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
17651 (hack-local-variables): Doc fix. Make the mode-only case
17652 respect enable-local-variables and friends.
17653 Respect inhibit-local-variables-regexps for file-locals, but
17654 not for directory-locals.
17655 (set-visited-file-name):
17656 Take account of inhibit-local-variables-regexps.
17657 Whether it applies may change as the file name is changed.
17658 * jka-cmpr-hook.el (jka-compr-install):
17659 * jka-compr.el (jka-compr-uninstall):
17660 Update for inhibit-first-line-modes-suffixes name change.
17661
17662 2012-01-20 Martin Rudalics <rudalics@gmx.at>
17663
17664 * help-macro.el (make-help-screen): Temporarily restore original
17665 binding for minor-mode-map-alist (Bug#10454).
17666
17667 2012-01-19 Julien Danjou <julien@danjou.info>
17668
17669 * color.el (color-name-to-rgb): Use the white color to find the max
17670 color component value and return correctly computed values.
17671 (color-name-to-rgb): Add missing float conversion for max value.
17672
17673 2012-01-19 Martin Rudalics <rudalics@gmx.at>
17674
17675 * window.el (window--state-get-1, window-state-get): Do not use
17676 special state value for window-persistent-parameters.
17677 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
17678 (window--state-put-2): Reset all window parameters to nil before
17679 assigning values of persistent parameters.
17680
17681 2012-01-18 Alan Mackenzie <acm@muc.de>
17682
17683 Eliminate sluggishness and hangs in fontification of "semicolon
17684 deserts".
17685
17686 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
17687 Change value 10000 -> 3000.
17688 (c-state-safe-place): Reformulate so it doesn't stack up an
17689 infinite number of wrong entries in c-state-nonlit-pos-cache.
17690 (c-determine-limit-get-base, c-determine-limit): New functions to
17691 determine backward search limits disregarding literals.
17692 (c-find-decl-spots): Amend commenting.
17693 (c-cheap-inside-bracelist-p): New function which detects "={".
17694
17695 * progmodes/cc-fonts.el
17696 (c-make-font-lock-BO-decl-search-function): Give a limit to a
17697 backward search.
17698 (c-font-lock-declarations): Fix an occurrence of point being
17699 undefined. Check additionally for point being in a bracelist or
17700 near a macro invocation without a semicolon so as to avoid a
17701 fruitless time consuming search for a declarator. Give a more
17702 precise search limit for declarators using the new
17703 c-determine-limit.
17704
17705 2012-01-18 Glenn Morris <rgm@gnu.org>
17706
17707 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
17708 (set-auto-mode): Doc fixes.
17709
17710 2012-01-17 Glenn Morris <rgm@gnu.org>
17711
17712 * isearch.el (search-nonincremental-instead): Fix doc typo.
17713
17714 * dired.el (dired-insert-directory): Handle newlines in directory name.
17715 (dired-build-subdir-alist): Unescape newlines in directory name.
17716
17717 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
17718
17719 * net/tramp.el (tramp-local-end-of-line): New defcustom.
17720 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
17721 (tramp-action-terminal): Use it. (Bug#10530)
17722
17723 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
17724
17725 * minibuffer.el (completion--replace): Strip properties (bug#10062).
17726
17727 2012-01-16 Martin Rudalics <rudalics@gmx.at>
17728
17729 * window.el (window-state-ignored-parameters): Remove variable.
17730 (window--state-get-1): Rename argument MARKERS to IGNORE.
17731 Handle persistent window parameters. Make copy of clone-of
17732 parameter only if requested. (Bug#10348)
17733 (window--state-put-2): Install a window parameter only if it has
17734 a non-nil value or an existing parameter shall be overwritten.
17735
17736 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
17737
17738 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
17739
17740 2012-01-14 Eli Zaretskii <eliz@gnu.org>
17741
17742 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
17743 don't pass the (nil) value of `upnode' to string-match.
17744
17745 2012-01-14 Chong Yidong <cyd@gnu.org>
17746
17747 * startup.el (command-line): Fix X resource class for cursorColor.
17748 Fix values recognized by the cursorBlink resource.
17749
17750 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
17751
17752 * epg.el (epg--make-temp-file): Avoid permission race condition
17753 when running on old Emacs versions (bug#10403).
17754
17755 2012-01-14 Glenn Morris <rgm@gnu.org>
17756
17757 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
17758
17759 2012-01-13 Alan Mackenzie <acm@muc.de>
17760
17761 Fix filling for when filladapt mode is enabled.
17762
17763 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
17764 c-mask-paragraph, pass in `fill-paragraph' rather than
17765 `fill-region-as-paragraph'. (This is a reversion of a previous
17766 change.)
17767 * progmodes/cc-mode.el (c-basic-common-init):
17768 Make fill-paragraph-handle-comment buffer local and set it to nil.
17769
17770 2012-01-13 Glenn Morris <rgm@gnu.org>
17771
17772 * dired.el (dired-switches-escape-p): New function.
17773 (dired-insert-directory): Use dired-switches-escape-p.
17774 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
17775
17776 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
17777
17778 2012-01-12 Glenn Morris <rgm@gnu.org>
17779
17780 * mail/sendmail.el (mail-mode): Update paragraph-separate for
17781 changes in adaptive-fill-regexp. (Bug#10276)
17782
17783 2012-01-11 Alan Mackenzie <acm@muc.de>
17784
17785 Fix Emacs bug #10463 - put `widen's around the critical spots.
17786
17787 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
17788 widen around each invocation of c-state-pp-to-literal. Remove an
17789 unused let variable.
17790
17791 2012-01-11 Glenn Morris <rgm@gnu.org>
17792
17793 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
17794 Doc fix.
17795
17796 2012-01-10 Chong Yidong <cyd@gnu.org>
17797
17798 * net/network-stream.el (network-stream-open-starttls):
17799 Avoid emitting a confusing error message when the server gives a bad
17800 response to the capability command.
17801
17802 2012-01-10 Glenn Morris <rgm@gnu.org>
17803
17804 * mail/unrmail.el (unrmail): Tweak previous change.
17805
17806 2012-01-09 Chong Yidong <cyd@gnu.org>
17807
17808 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
17809
17810 2012-01-08 Alan Mackenzie <acm@muc.de>
17811
17812 Optimize font locking in long enum definitions.
17813
17814 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
17815 arm to a cond form to handle enums.
17816 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
17817 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
17818
17819 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
17820
17821 * files.el (move-file-to-trash): Preserve default file modes on error.
17822 (Bug#10401)
17823
17824 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17825
17826 * faces.el (set-face-attribute): Clarify the meaning of the nil
17827 frame (bug#10294).
17828
17829 * subr.el (with-selected-frame): Mention that the selected frame
17830 is restored (bug#9980).
17831
17832 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
17833 (bug#9759).
17834
17835 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
17836 (password-read): Don't autoload unused function.
17837
17838 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
17839
17840 * progmodes/which-func.el (which-func-mode): Turn into a
17841 non-interactive function and mark as obsolete (bug#10428).
17842
17843 2012-01-06 Chong Yidong <cyd@gnu.org>
17844
17845 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
17846 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
17847 functions, along with 1 and -1.
17848
17849 2012-01-06 Eli Zaretskii <eliz@gnu.org>
17850
17851 * time.el (display-time-load-average)
17852 (display-time-default-load-average): Doc fixes. See the thread
17853 starting at
17854 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
17855 for the details.
17856
17857 2012-01-06 Glenn Morris <rgm@gnu.org>
17858
17859 * mail/unrmail.el (unrmail): Give an explicit error if the input file
17860 has no messages. (Bug#10377)
17861
17862 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
17863 than Info-edit. (Bug#10385)
17864
17865 * time.el (display-time-load-average, display-time-next-load-average):
17866 Doc fixes.
17867
17868 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
17869 local setting of buffer-read-only to the input buffer. (Bug#10419)
17870
17871 * calendar/calendar.el (calendar-mode):
17872 Locally set scroll-margin to 0. (Bug#10379)
17873
17874 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
17875
17876 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
17877
17878 2012-01-05 Glenn Morris <rgm@gnu.org>
17879
17880 * eshell/em-unix.el (diff-no-select): Autoload it.
17881 (eshell/diff): Use diff-no-select. (Bug#10420)
17882
17883 2012-01-05 Chong Yidong <cyd@gnu.org>
17884
17885 * shell.el (shell-dynamic-complete-functions): Revert last change.
17886 (shell-command-completion-function): New function.
17887 (shell-completion-vars): Use it to implement
17888 shell-completion-execonly (Bug#10417).
17889
17890 * custom.el (enable-theme): Don't set custom-safe-themes.
17891
17892 * cus-theme.el (custom-theme-merge-theme):
17893 Ignore custom-enabled-themes and custom-safe-themes.
17894
17895 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
17896
17897 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
17898 first prompt in `sql-interacive-mode'.
17899 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
17900 keywords.
17901 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
17902 (sql-product-interactive): Bug fix: Set `sql-buffer' in
17903 context of original buffer. Invoke `sql-login-hook'.
17904
17905 2012-01-04 Eli Zaretskii <eliz@gnu.org>
17906
17907 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
17908 letters in cite-prefix.
17909
17910 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17911
17912 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
17913
17914 2012-01-03 Chong Yidong <cyd@gnu.org>
17915
17916 * shell.el (shell-dynamic-complete-functions):
17917 Put pcomplete-completions-at-point, so as to try
17918 comint-filename-completion first (Bug#10417).
17919
17920 2012-01-02 Richard Stallman <rms@gnu.org>
17921
17922 * battery.el (battery-status-function):
17923 Detect when to use battery-yeeloong-sysfs.
17924 (battery-echo-area-format): Add string for Yeeloong.
17925 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
17926 (battery-yeeloong-sysfs): New function.
17927
17928 2012-01-02 Chong Yidong <cyd@gnu.org>
17929
17930 * dirtrack.el (dirtrack-list): Eliminate unused third element.
17931 (dirtrack): Merge code for handling relative filenames in prompt
17932 from shell-dir-cookie-watcher.
17933 (dirtrack-debug-message): New arg to avoid excess format calls.
17934
17935 * shell.el (shell-dir-cookie-re): Variable deleted.
17936 (shell-dir-cookie-watcher): Function deleted.
17937 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
17938 with dirtrack-mode.
17939
17940 2012-01-01 Eli Zaretskii <eliz@gnu.org>
17941
17942 * term/w32-win.el (dynamic-library-alist) <gnutls>:
17943 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
17944 libgnutls-26.dll.
17945
17946 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
17947
17948 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
17949
17950 2011-12-31 Eli Zaretskii <eliz@gnu.org>
17951
17952 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
17953 headers of non-MIME messages, when rmail-enable-mime is non-nil.
17954
17955 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
17956
17957 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
17958 also for alternative shells.
17959 (tramp-open-connection-setup-interactive-shell): Check, whether
17960 the shell is a busybox.
17961 (tramp-send-command): Don't suppress multiple prompts for
17962 busyboxes, it hurts.
17963
17964 2011-12-28 Chong Yidong <cyd@gnu.org>
17965
17966 * progmodes/gdb-mi.el (gdb-get-source-file-list)
17967 (gdb-get-source-file): Move mode line update to
17968 gdb-get-source-file (Bug#10087).
17969
17970 2011-12-25 Chong Yidong <cyd@gnu.org>
17971
17972 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
17973 gud-gdb-marker-filter without taking it as an argument.
17974 (gud-gdb-run-command-fetch-lines): Caller changed.
17975 (gud-gdb-completion-function): New variable.
17976 (gud-gdb-completion-at-point): Use it.
17977 (gud-gdb-completions-1): Split from gud-gdb-completions.
17978
17979 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
17980 function as separate arguments.
17981 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
17982 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
17983 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
17984 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
17985 (gdb-stopped, def-gdb-auto-update-trigger)
17986 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
17987 (gdb-get-changed-registers, gdb-get-main-selected-frame):
17988 Callers changed.
17989 (gud-gdbmi-completions): New function.
17990 (gdb): Use it for generating the completion table.
17991
17992 2011-12-24 Alan Mackenzie <acm@muc.de>
17993
17994 Introduce a mechanism to widen the region used in context font
17995 locking. Use this to protect declarations from losing their contexts.
17996
17997 * progmodes/cc-langs.el (c-before-font-lock-functions):
17998 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
17999 (c-before-context-fontification-functions): New defvar, a list of
18000 functions to be run just before context (etc.) font locking.
18001
18002 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
18003 New, functionality extracted from
18004 c-neutralize-syntax-in-and-mark-CPP.
18005 (c-in-after-change-fontification): New variable.
18006 (c-after-change): Set c-in-after-change-fontification.
18007 (c-set-fl-decl-start): Rejig its interface, so it can be called
18008 from both after-change and context fontifying.
18009 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
18010 New functions.
18011 (c-standard-font-lock-fontify-region-function): New variable.
18012 (c-font-lock-fontify-region): New function.
18013
18014 2011-12-24 Juri Linkov <juri@jurta.org>
18015
18016 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
18017 (Bug#10348)
18018
18019 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
18020
18021 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
18022 existence of source file. (Bug#10325)
18023
18024 2011-12-23 Alan Mackenzie <acm@muc.de>
18025
18026 Fix unstable fontification inside templates.
18027
18028 * progmodes/cc-langs.el (c-before-font-lock-functions):
18029 Newly created from the singular version. The (c c++ objc) entry now
18030 additionally has c-set-fl-decl-start. The other languages (apart
18031 from AWK) have that as a single entry.
18032
18033 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18034 The functionality for "local" declarations has been extracted to
18035 c-set-fl-decl-start.
18036
18037 * progmodes/cc-mode.el (c-common-init, c-after-change):
18038 Changes due to pluralisation of c-before-font-lock-functions.
18039 (c-set-fl-decl-start): New function, extracted from
18040 c-font-lock-enclosing-decls and enhanced.
18041
18042 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
18043
18044 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
18045
18046 2011-12-22 Juri Linkov <juri@jurta.org>
18047
18048 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
18049
18050 2011-12-22 Chong Yidong <cyd@gnu.org>
18051
18052 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
18053
18054 2011-12-21 Drew Adams <drew.adams@oracle.com>
18055
18056 * files.el (file-remote-p): Fix docstring. (Bug#10319)
18057
18058 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
18059
18060 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
18061
18062 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
18063
18064 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
18065 highlighting and support. Fix up comments for capitalization.
18066 (cfengine-mode-debug): New var.
18067 (cfengine3-mode): Change the modeline indicator to "CFE3".
18068 (cfengine3-font-lock-keywords): Improve defun highlighting.
18069 (cfengine2-actions): Rename from `cfengine-actions'.
18070 (cfengine2-font-lock-keywords): Rename from
18071 `cfengine-font-lock-keywords'.
18072 (cfengine2-imenu-expression): Rename from
18073 `cfengine-imenu-expression'.
18074 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
18075 (cfengine2-beginning-of-defun): Rename from
18076 `cfengine-beginning-of-defun'.
18077 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
18078 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
18079 (cfengine2-mode): Rename from `cfengine-mode'. Change the
18080 modeline indicator to "CFE2".
18081 (cfengine-mode): Defalias to `cfengine-auto-mode'.
18082 (cfengine-mode-abbrevs): Mark obsolete.
18083
18084 2011-12-21 Chong Yidong <cyd@gnu.org>
18085
18086 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
18087 filename argument.
18088
18089 2011-12-20 Martin Rudalics <rudalics@gmx.at>
18090
18091 * window.el (window-normalize-buffer-to-display): Remove.
18092 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
18093
18094 2011-12-19 Chong Yidong <cyd@gnu.org>
18095
18096 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
18097 Don't signal an error in a predicate function; return non-nil.
18098 (vc-dir-mark-file): Move the error here.
18099 (vc-dir-mark-unmark): If acting on the region, keep going if one
18100 of the entries cannot be marked/unmarked.
18101 (vc-dir-mark-all-files): If current entry is a directory, mark
18102 only child files, as documented.
18103
18104 2011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
18105
18106 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
18107 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
18108 addition.
18109
18110 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
18111
18112 * term/ns-win.el (ns-get-selection-internal)
18113 (ns-store-selection-internal): Declare.
18114 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
18115 Declare as obsolete.
18116 (ns-get-pasteboard, ns-paste-secondary):
18117 Use ns-get-selection-internal.
18118 (ns-set-pasteboard, ns-copy-including-secondary):
18119 Use ns-store-selection-internal.
18120
18121 2011-12-17 Chong Yidong <cyd@gnu.org>
18122
18123 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
18124 (vc-deduce-fileset): Doc fix.
18125
18126 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
18127
18128 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
18129
18130 2011-12-13 Sam Steingold <sds@gnu.org>
18131
18132 * man.el (Man-getpage-in-background): When running under a
18133 window-system, ignore $MANWIDTH and $COLUMNS.
18134
18135 2011-12-15 Kenichi Handa <handa@m17n.org>
18136
18137 * language/ethio-util.el: Change coding tag to utf-8-emacs.
18138 (setup-ethiopic-environment-internal): Comment out key-binding for
18139 ethio-toggle-punctuation.
18140
18141 2011-12-13 Alan Mackenzie <acm@muc.de>
18142
18143 Add the switch statement to AWK Mode.
18144
18145 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
18146 "default" to the keywords regexp.
18147
18148 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
18149 expression as the rest.
18150 (c-nonlabel-token-key): Allow string literals for AWK.
18151 Refactor for the other modes.
18152
18153 Large brace-block initialisation makes CC Mode slow: Fix.
18154 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
18155 routines. Limit backward searching in c-font-lock-enclosing.decl.
18156
18157 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
18158 pp-state and literal type in addition to the limits.
18159 (c-state-safe-place): New defun, extracted from c-state-literal-at.
18160 (c-state-literal-at): Use the above new defun.
18161 (c-slow-in-literal, c-fast-in-literal): Remove.
18162 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
18163
18164 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
18165 being in a literal. Add a limit for backward searching.
18166
18167 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
18168 c-slow-in-literal.
18169
18170 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
18171
18172 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
18173
18174 2011-12-13 Martin Rudalics <rudalics@gmx.at>
18175
18176 * window.el (delete-other-windows): Use correct frame in call to
18177 window-with-parameter.
18178
18179 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
18180
18181 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
18182 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
18183 (makefile-gmake-statements, makefile-makepp-statements):
18184 Use it and add new makepp keywords.
18185 (makefile-makepp-font-lock-keywords): Add new patterns.
18186 (makefile-match-function-end): Match new [...] and [[...]].
18187
18188 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
18189
18190 * ses.el (ses-call-printer-return, ses-cell-property-get)
18191 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
18192 (ses-create-cell-variable, ses-reset-header-string)
18193 (ses-cell-set-formula, ses-repair-cell-reference-all)
18194 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
18195 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
18196 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
18197 (ses-aset-with-undo, ses-load, ses-truncate-cell)
18198 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
18199 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
18200 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
18201 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
18202 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
18203 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
18204 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
18205 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
18206
18207 2011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
18208
18209 * ses.el: The overall change is to add cell renaming, that is
18210 setting fancy names for cell symbols other than name matching
18211 "\\`[A-Z]+[0-9]+\\'" regexp .
18212 (ses-create-cell-variable): New defun.
18213 (ses-relocate-formula): Relocate formulas only for cells the
18214 symbols of which are not renamed, i.e. symbols whose names do not
18215 match regexp "\\`[A-Z]+[0-9]+\\'".
18216 (ses-relocate-all): Relocate values only for cells the symbols of
18217 which are not renamed.
18218 (ses-load): Create cells variables as the (ses-cell ...) are read,
18219 in order to check row col consistency with cell symbol name only
18220 for cells that are not renamed.
18221 (ses-replace-name-in-formula): New defun.
18222 (ses-rename-cell): New defun.
18223
18224 2011-12-11 Chong Yidong <cyd@gnu.org>
18225
18226 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
18227 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
18228
18229 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
18230
18231 * window.el (other-window): Fix docstring.
18232
18233 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18234
18235 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
18236 `from' or `to' address before taking its substring.
18237 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
18238 encoded name is chopped in the middle of the encoded string, and
18239 thus displayed encoded.
18240
18241 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
18242
18243 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
18244
18245 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18246
18247 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
18248 to use texinfo-update-node and commands that call it if the
18249 Texinfo file uses @node lines without next/prev/up pointers.
18250 Correct outdated description about texinfo-master-menu.
18251 (texinfo-all-menus-update, texinfo-master-menu)
18252 (texinfo-update-node, texinfo-every-node-update)
18253 (texinfo-multiple-files-update): Doc fix. Warn against updating
18254 all the @node lines.
18255 (texinfo-master-menu): Only call texinfo-update-node if the prefix
18256 argument is numeric. Explain better in the doc string what the
18257 function really does.
18258 (texinfo-insert-master-menu-list): Improve the error message
18259 displayed if there's no menu in the Top node.
18260 (Bug#2975) See also this thread:
18261 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
18262
18263 2011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
18264
18265 * speedbar.el (speedbar-supported-extension-expressions):
18266 Add .adb and .ads, commonly used for Ada source code (bug#10256).
18267
18268 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
18269
18270 * printing.el (pr-mode-alist):
18271 * simple.el (filter-buffer-substring-functions)
18272 (completion-list-insert-choice-function):
18273 * window.el (window-with-parameter, window-atom-root)
18274 (window-sides-slots, window-size-fixed, window-min-delta)
18275 (window-max-delta, window--resize-mini-window)
18276 (window--resize-child-windows-normal, window-tree)
18277 (delete-other-windows, quit-window, split-window)
18278 (display-buffer-record-window, special-display-buffer-names)
18279 (special-display-regexps, special-display-popup-frame)
18280 (same-window-p, split-window-sensibly)
18281 (display-buffer-overriding-action, display-buffer-alist)
18282 (display-buffer-base-action, display-buffer, switch-to-buffer)
18283 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
18284 (fit-window-to-buffer, recenter-positions)
18285 (mouse-autoselect-window-state, mouse-autoselect-window-select):
18286 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
18287 and remove unneeded backslashes in docstrings.
18288
18289 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
18290
18291 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
18292
18293 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
18294 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
18295 end in ".mk".
18296 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
18297 when reading the makefile (bug#10116).
18298
18299 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
18300
18301 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
18302 (bug#10116).
18303
18304 2011-12-06 Glenn Morris <rgm@gnu.org>
18305
18306 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
18307
18308 2011-12-06 Chong Yidong <cyd@gnu.org>
18309
18310 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
18311
18312 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
18313
18314 * textmodes/table.el (table-shorten-cell): Fix typo.
18315
18316 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
18317
18318 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
18319
18320 2011-12-05 Eli Zaretskii <eliz@gnu.org>
18321
18322 * descr-text.el (describe-char): Fix display of strong
18323 right-to-left characters and directional embeddings and overrides.
18324
18325 * simple.el (what-cursor-position): Fix display of codepoints of
18326 strong right-to-left characters.
18327
18328 2011-12-05 Chong Yidong <cyd@gnu.org>
18329
18330 * faces.el (read-color): Doc fix.
18331
18332 2011-12-05 Glenn Morris <rgm@gnu.org>
18333
18334 * align.el (align--set-marker): Add doc-string.
18335 Don't try to move something that is not a marker. (Bug#10216)
18336
18337 2011-12-04 Glenn Morris <rgm@gnu.org>
18338
18339 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
18340 overly zealous deletion of trailing whitespace.
18341
18342 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
18343
18344 * server.el (server-delete-client): On Windows, do not try to delete
18345 the only terminal.
18346 (server-process-filter): On Windows, treat requests for a tty frame as
18347 if they were for a GUI frame if the running server is in GUI mode.
18348
18349 2011-12-03 Glenn Morris <rgm@gnu.org>
18350
18351 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
18352
18353 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
18354
18355 * electric.el: Streamline electric-indent's hook.
18356 (electric-indent-chars): Revert to simple list.
18357 (electric-indent-functions): New var.
18358 (electric-indent-post-self-insert-function): Use it.
18359
18360 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
18361 there's no inferior buffer (bug#10196).
18362 (prolog-consult-compile): Don't use toggle-read-only.
18363
18364 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
18365
18366 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
18367 interrupt. (Bug#10187)
18368
18369 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
18370
18371 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
18372 (bug#9160).
18373
18374 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
18375 (bug#10191).
18376
18377 2011-12-02 Juri Linkov <juri@jurta.org>
18378
18379 * info.el (Info-search): Display "end of manual" when Isearch
18380 reaches the end of single-file Info manual. (Bug#9918)
18381
18382 2011-12-02 Eli Zaretskii <eliz@gnu.org>
18383
18384 * isearch.el (isearch-message-prefix): Run the input method part
18385 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
18386
18387 2011-12-02 Juri Linkov <juri@jurta.org>
18388
18389 * isearch.el (isearch-occur): Use `word-search-regexp' for
18390 `isearch-word'.
18391 (isearch-search-and-update): Add condition for `isearch-word' and
18392 call `word-search-regexp'. (Bug#10145)
18393
18394 2011-12-01 Glenn Morris <rgm@gnu.org>
18395
18396 * eshell/em-hist.el (eshell-hist-initialize):
18397 Handle eshell-history-size nil and HISTSIZE set or unset.
18398 (eshell-history-file-name, eshell-history-size): Fix custom type.
18399
18400 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
18401
18402 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
18403
18404 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
18405
18406 * progmodes/verilog-mode.el (verilog-pretty-expr):
18407 Rework verilog-pretty-expr to handle new assignment operators in system
18408 verilog, such as += *= and the like.
18409 (verilog-assignment-operator-re): Regular expression to find the
18410 assigment operator in a verilog assignment.
18411 (verilog-assignment-operation-re): Regular expression to find an
18412 assignment statement for pretty-expr.
18413 (verilog-in-attribute-p): Query returns true if point is in an
18414 attribute context; used to skip these for expression line up from
18415 pretty-expr.
18416 (verilog-in-parameter-p): Query returns true if point is in an
18417 parameter definition context; used to skip these for expression
18418 line up from pretty-expr.
18419 (verilog-in-parenthesis-p): Query returns true if point is in a
18420 parenthetical expression, specifically ( ) but not [ ] or { };
18421 used by pretty-expr.
18422 (verilog-just-one-space): If there is no space, don't add one.
18423 (verilog-get-lineup-indent-2): Specifically skip just attribute
18424 contexts for expression lineup, rather than skipping all
18425 parenthetical expressions.
18426 (verilog-calculate-indent): Fix comment, and fix indent.
18427 (verilog-do-indent): Indent declarations in lists (suggested by
18428 Joachim Lechner).
18429 (verilog-mode-abbrev-table): Populate abbrev mode with the various
18430 skeleton items.
18431 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
18432 by Alain Mellan).
18433
18434 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
18435
18436 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
18437 parameters with embedded comments. Reported by Ray Stevens.
18438 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
18439 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
18440 Reported by Tim Holt.
18441 (verilog-auto): Fix AUTOing a upper module then AUTOing module
18442 instantiated by upper module causing wrong expansion until AUTOed a
18443 second time. Reported by K C Buckenmaier.
18444 (verilog-diff-auto): Fix showing .* as a difference when
18445 `verilog-auto-star-save' off. Reported by Dan Dever.
18446 (verilog-auto-reset, verilog-read-always-signals)
18447 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
18448 temporary signals in reset list if
18449 verilog-auto-reset-blocking-in-non is nil, and match assignment
18450 style to each signal's assignment type, bug381.
18451 Reported by Thomas Esposito.
18452 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
18453 (verilog-uvm-statement-re): Support UVM indentation and
18454 highlighting, with old OVM keywords only.
18455 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
18456 Support AUTOTIEOFF creating non-wire data types.
18457 Suggested by Jonathan Greenlaw.
18458 (verilog-auto-insert-lisp, verilog-delete-to-paren)
18459 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
18460 (verilog-inject-sense, verilog-read-inst-pins)
18461 (verilog-read-sub-decls, verilog-read-sub-decls-line):
18462 Fix mismatching parenthesis inside commented out code when deleting
18463 AUTOINST, bug383. Reported by Jonathan Greenlaw.
18464 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
18465 non-numeric vector width. Reported by Alex Reed.
18466 (verilog-auto-ascii-enum): Add "onehot" option to work around not
18467 detecting signals with parameter widths. Reported by Alex Reed.
18468 (verilog-auto-delete-trailing-whitespace):
18469 With `verilog-auto-delete-trailing-whitespace' remove trailing
18470 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
18471 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
18472 Fix verilog-scan-cache corruption when running user AUTO expansion
18473 hooks that call indentation routines.
18474 (verilog-simplify-range-expression): Fix typo ignoring lower case
18475 identifiers.
18476 (verilog-delete-auto): Fix delete-autos to also remove user created
18477 automatics, as long as they start with AUTO.
18478 (verilog-batch-diff-auto, verilog-diff-auto)
18479 (verilog-diff-function): Add `verilog-diff-auto' and bind to
18480 "C-c?" to report differences in AUTO expansion, ignoring spaces.
18481 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
18482 (verilog-in-paren-quick, verilog-re-search-backward-quick)
18483 (verilog-re-search-forward-quick, verilog-syntax-ppss):
18484 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
18485 is disabled and its cache will get corrupt, causing AUTOS not to
18486 expand. Instead use only -quick functions.
18487 (verilog-scan-region): Fix scanning over escaped quotes.
18488 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
18489 (verilog-re-search-backward-quick)
18490 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
18491 related functions now ignore strings, to fix misparsing of strings
18492 with magic comments embedded in them.
18493 (verilog-read-auto-template):
18494 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
18495 Reported by Brad Dobbie.
18496 (verilog-read-auto-template):
18497 Fix 'verilog-auto-inst-template-numbers' with comments.
18498 Reported by Brad Dobbie.
18499 (verilog-auto-inst, verilog-auto-inst-param)
18500 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
18501 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
18502 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
18503 debugging templates without merge conflicts, bug357.
18504 Reported by Brad Dobbie.
18505 (verilog-read-auto-template):
18506 Fix verilog-auto-inst-template-numbers with multiple templates.
18507 Reported by Brad Dobbie.
18508 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
18509 abbrevs so user won't be asked to save.
18510 (verilog-read-auto-lisp-present): Fix to start at beginning of
18511 buffer in case called outside of verilog-auto.
18512 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
18513 to "X-2". Reported by Matthew Myers.
18514 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
18515 all inputs from module templates. Reported by Leith Johnson.
18516 (verilog-module-inside-filename-p): Fix locating programs as with
18517 modules.
18518 (verilog-auto-inst-port): Fix vl-width expressions when using
18519 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
18520 (verilog-decls-get-regs, verilog-decls-get-signals,
18521 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
18522 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
18523 verilog-read-decls): Combine reg and wire structures into one var
18524 structure to represent SystemVerilog concepts.
18525 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
18526 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
18527 (verilog-auto-wire-type, verilog-insert-definition):
18528 Add verilog-auto-wire-type and AUTOLOGIC to support using
18529 SystemVerilog "logic" keyword instead of "wire"/"reg".
18530 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
18531 to declares outputs that also have assignments (presumably in an
18532 ifdef or generate if so there's not a driver conflict).
18533 Reported by Matthew Myers.
18534 (verilog-auto-declare-nettype, verilog-insert-definition):
18535 Add verilog-auto-declare-nettype to fix declarations using
18536 `default_nettype none. Reported by Julian Gorfajn.
18537 (verilog-read-always-signals-recurse, verilog-read-decls)
18538 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
18539 malformed end statement, bug325. Reported by Joshua Wise and
18540 Andrew Drake.
18541 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
18542 (verilog-inst-comment-re): Fix not deleting Interfaced comment
18543 when expanding .* in interfaces, bug320.
18544 Reported by Pierre-David Pfister.
18545 (verilog-read-module-name): Fix import statements between module
18546 name and open parenthesis, bug317.
18547 Reported by Pierre-David Pfister.
18548 (verilog-simplify-range-expression): Fix simplification of
18549 multiplications inside AUTOWIRE connections, bug303.
18550 (verilog-auto-inst-port): Support parameter expansion in
18551 multidimensional arrays.
18552 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
18553 after "assert property". Reported by Julian Gorfajn.
18554 (verilog-simplify-range-expression): Fix "couldn't merge" errors
18555 with multiplication, bug303.
18556 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
18557 Reported by Jan Frode Lonnum.
18558
18559 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
18560
18561 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
18562 (hfy-shell-file-name, hfy-shell):
18563 * international/fontset.el (x-decompose-font-name): Fix typos.
18564
18565 2011-11-29 Ken Brown <kbrown@cornell.edu>
18566
18567 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
18568 (gdb-version): Remove defvar.
18569 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
18570 (gdb-gud-context-command, gdb-non-stop-handler)
18571 (gdb-current-context-command, gdb-stopped): Use it.
18572 (gdb-init-1): Enable pretty printing here.
18573 (gdb-non-stop-handler): Don't enable pretty-printing here.
18574 Check to see if the target supports non-stop mode; if not, turn off
18575 non-stop mode. Use the following.
18576 (gdb-check-target-async): New defun.
18577 (gud-watch, gdb-stopped): Fix whitespace.
18578 (gdb-get-source-file): Don't try to display the source file if
18579 `gdb-main-file' is nil.
18580
18581 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18582
18583 * align.el: Try to generate fewer markers (bug#10047).
18584 (align--set-marker): New macro.
18585 (align-region): Use it.
18586
18587 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18588
18589 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
18590
18591 2011-11-29 Chong Yidong <cyd@gnu.org>
18592
18593 * indent.el (indent-for-tab-command, indent-according-to-mode):
18594 Doc fix.
18595 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
18596
18597 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
18598
18599 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
18600 aware of remote file names. (Bug#10124)
18601
18602 2011-11-29 Chong Yidong <cyd@gnu.org>
18603
18604 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
18605
18606 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
18607
18608 * files.el (find-file): Don't use force-same-window (bug#10144).
18609 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
18610 use pop-to-buffer if the selected window can't be used.
18611 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
18612
18613 2011-11-28 Eli Zaretskii <eliz@gnu.org>
18614
18615 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
18616 special-mode-map.
18617
18618 2011-11-28 Chong Yidong <cyd@gnu.org>
18619
18620 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
18621
18622 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
18623
18624 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
18625 gdb-get-source-file-list on gdb-create-source-file-list.
18626
18627 2011-11-26 Eli Zaretskii <eliz@gnu.org>
18628
18629 * whitespace.el (whitespace-newline): Use a different foreground
18630 color for 16-color light-background displays.
18631
18632 2011-11-24 Chong Yidong <cyd@gnu.org>
18633
18634 * window.el (display-buffer--special-action): Doc fix.
18635
18636 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
18637
18638 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
18639 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
18640 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
18641 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
18642 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
18643 (avl-tree-stack-first):
18644 * emacs-lisp/cconv.el (cconv--analyse-use):
18645 * net/gnutls.el (gnutls-negotiate): Fix typos.
18646
18647 2011-11-24 Glenn Morris <rgm@gnu.org>
18648
18649 * lpr.el (lpr-windows-system, lpr-lp-system):
18650 * mail/binhex.el (binhex-begin-line):
18651 * progmodes/grep.el (grep-history, grep-find-history):
18652 * textmodes/flyspell.el:
18653 * vc/pcvs-defs.el (cvs-global-menu):
18654 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
18655 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
18656 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
18657
18658 * net/tls.el: Fix case of "GnuTLS".
18659
18660 * paths.el (rmail-file-name): Format doc-string for make-docfile.
18661
18662 * version.el (emacs-build-system): Give it a doc-string.
18663
18664 2011-11-24 Juri Linkov <juri@jurta.org>
18665
18666 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
18667
18668 2011-11-24 Glenn Morris <rgm@gnu.org>
18669
18670 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
18671 if called on a non-mime message just toggle the headers. (Bug#8006)
18672
18673 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
18674
18675 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
18676 (allout-lead-with-comment-string, allout-structure-deleted-hook)
18677 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
18678 (allout-rebullet-heading, allout-open-sibtopic)
18679 (allout-toggle-current-subtree-encryption)
18680 (allout-toggle-subtree-encryption, allout-encrypt-string)
18681 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
18682 (allout-distinctive-bullets-string, allout-auto-activation):
18683 * window.el (window-normalize-buffer-to-display):
18684 * progmodes/verilog-mode.el (verilog-batch-indent):
18685 * textmodes/bibtex.el (bibtex-field-braces-opt)
18686 (bibtex-field-strings-opt):
18687 * vc/cvs-status.el (cvs-tree-merge):
18688 Fix typos.
18689
18690 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
18691
18692 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
18693 `non-essential' to t, in order to avoid remote connections.
18694
18695 2011-11-23 Eli Zaretskii <eliz@gnu.org>
18696
18697 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18698 On MS-DOS and MS-Windows, compare with loaddefs.el
18699 case-insensitively.
18700
18701 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18702
18703 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
18704
18705 2011-11-23 Glenn Morris <rgm@gnu.org>
18706
18707 * paths.el (rmail-file-name): Reformat the doc-string so that it
18708 is picked up.
18709
18710 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
18711 (rmail-auto-file): Ignore case in the "special" field names,
18712 as mail-fetch-field does for all others.
18713
18714 * mail/rmail.el (rmail-forward):
18715 * mail/rmailkwd.el (rmail-set-label):
18716 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
18717 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
18718
18719 * mail/rmail.el (rmail-current-message): Doc fix.
18720
18721 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
18722
18723 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
18724
18725 * server.el (server-eval-and-print): Allow C-g (bug#6585).
18726
18727 2011-11-22 Glenn Morris <rgm@gnu.org>
18728
18729 * mail/rmailmm.el (test-rmail-mime-handler)
18730 (test-rmail-mime-bulk-handler)
18731 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
18732
18733 2011-11-21 Juri Linkov <juri@jurta.org>
18734
18735 * calc/calc.el (calc-read-key-sequence):
18736 Let-bind `input-method-function' to nil. (Bug#10018)
18737
18738 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18739
18740 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
18741 Tell the caller that the next line needs recomputation, even
18742 though it doesn't start a sexp (bug#10094).
18743
18744 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
18745
18746 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
18747
18748 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18749
18750 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18751 Use force-same-window.
18752
18753 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18754
18755 * descr-text.el (describe-char-unicode-data):
18756 * json.el (json-string-escape):
18757 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
18758 (Footnote-unicode, Footnote-style-p):
18759 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
18760
18761 2011-11-20 Chong Yidong <cyd@gnu.org>
18762
18763 * window.el (replace-buffer-in-windows): Restore interactive spec.
18764
18765 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18766
18767 * electric.el (electric-indent-mode): Fix last change (too optimistic).
18768
18769 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
18770 (byte-compile-global-not-obsolete-vars): New var.
18771 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
18772 Use it.
18773 (byte-compile-warn-obsolete): Align text with the one in *Help*.
18774
18775 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18776
18777 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
18778 * progmodes/pascal.el (electric-pascal-equal):
18779 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
18780 * xml.el (xml-substitute-special): Fix typos.
18781
18782 2011-11-20 Glenn Morris <rgm@gnu.org>
18783
18784 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
18785 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
18786 Doc fixes.
18787 (rmail-decode-mime-charset): Mark as obsolete.
18788
18789 * mail/rmailsum.el (rmail-message-regexp-p-1):
18790 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
18791 Before using mime functions, check they are set. (Bug#10077)
18792
18793 2011-11-19 Juri Linkov <juri@jurta.org>
18794
18795 * info.el (Info-finder-find-node): Use `package--builtins' instead
18796 of `package-alist'. Use node names formed by the pattern "Keyword "
18797 and the keyword name.
18798
18799 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18800
18801 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
18802
18803 2011-11-19 Juri Linkov <juri@jurta.org>
18804
18805 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
18806 that calls `revert-buffer' on all Info buffers. (Bug#9915)
18807 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
18808 `old-history', `old-history-forward'. Add let-binding
18809 `window-selected'. Remove calls to `kill-buffer',
18810 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
18811 before calling `Info-find-node', so `Info-find-node-2' will reread
18812 the Info file. Restore window positions only when `window-selected'
18813 is non-nil.
18814
18815 2011-11-19 Juri Linkov <juri@jurta.org>
18816
18817 * isearch.el (isearch-lazy-highlight-new-loop):
18818 Remove condition `(not isearch-error)'. (Bug#9918)
18819
18820 * misearch.el (multi-isearch-search-fun): Add condition
18821 `(not bound)' to ignore lazy-highlighting search.
18822 Add the search-failed message "end of multi" when the end of
18823 multi-sequence is reached. Uncapitalize the search-failed
18824 message "Repeat for next buffer".
18825
18826 * info.el (Info-search): Add the search-failed message
18827 "end of the manual" when the end of the manual is reached
18828 in Isearch mode.
18829
18830 2011-11-19 Juri Linkov <juri@jurta.org>
18831
18832 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
18833 Use non-destructive `remove' instead of `delete' because
18834 `Info-history-list' stored to `Info-isearch-initial-history-list' in
18835 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
18836
18837 2011-11-19 Juri Linkov <juri@jurta.org>
18838
18839 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
18840 to nil instead of binding `search-ring' and `regexp-search-ring'.
18841 (Bug#9185)
18842
18843 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18844
18845 * simple.el (line-move): Force movement by logical lines for any
18846 hscrolled window, not only when auto-hscroll-mode is on.
18847 (line-move-visual): Update doc string to that effect. (Bug#10076)
18848
18849 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18850
18851 * language/european.el (macintosh): Define as alias for mac-roman.
18852
18853 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18854
18855 * mail/rmailmm.el (rmail-mime-display-header)
18856 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
18857 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
18858 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
18859 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
18860 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
18861 of a raw aref.
18862 (rmail-mime-entity-segment): To get past the tagline, move forward
18863 2 more lines, to account for the 2 empty lines that precede and
18864 follow the line with the buttons.
18865 (rmail-mime-update-tagline): Move one more line, to get past the
18866 empty line that follows the buttons in the tagline. (Bug#9520)
18867
18868 2011-11-19 Martin Rudalics <rudalics@gmx.at>
18869
18870 * window.el (window-max-delta-1, window-min-delta-1)
18871 (window-min-size-1, window-state-get-1, window-state-put-1)
18872 (window-state-put-2): Use "window--" prefix.
18873
18874 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
18875
18876 * emacs-lisp/smie.el: Improve warnings and conflict detection.
18877 (smie-warning-count): New var.
18878 (smie-set-prec2tab): Use it.
18879 (smie-bnf->prec2): Improve warnings. Add docstring.
18880 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
18881 (smie-bnf--set-class): New function.
18882 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
18883 corner case.
18884
18885 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
18886 (compilation-error-properties, compilation-move-to-column):
18887 Handle compilation-first-column while in the target buffer.
18888
18889 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
18890 Don't hardcode point-min==1.
18891
18892 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
18893 (eshell-rewrite-for-command): Remove workaround.
18894 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
18895 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
18896 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
18897
18898 * files-x.el (modify-file-local-variable): Obey commenting conventions.
18899
18900 2011-11-17 Glenn Morris <rgm@gnu.org>
18901
18902 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18903 Ignore buffer-local generated-autoload-file if it is the same
18904 as the global value. (Bug#10049)
18905
18906 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
18907
18908 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
18909 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
18910 (reftex-toc-previous-heading, reftex-toc-max-level)
18911 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
18912 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
18913 (reftex-toc-do-promote, reftex-toc-promote-prepare)
18914 (reftex-toc-promote-action, reftex-toc-extract-section-number)
18915 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
18916 (reftex-toc-rename-label, reftex-toc-visit-location)
18917 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
18918 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
18919 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
18920 leaving "*toc*" only for references to the buffer.
18921
18922 2011-11-17 Martin Rudalics <rudalics@gmx.at>
18923
18924 * window.el (window-resize, delete-window, split-window):
18925 Replace window-splits by window-combination-resize.
18926 * cus-start.el (window-splits): Replace by window-combination-resize.
18927
18928 2011-11-17 Glenn Morris <rgm@gnu.org>
18929
18930 * progmodes/sh-script.el (sh-font-lock-keywords-var):
18931 Make bash entry derive from sh entry, not shell entry.
18932
18933 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
18934
18935 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
18936 local file name.
18937
18938 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18939
18940 * menu-bar.el (menu-bar-file-menu):
18941 * printing.el (pr-ps-utility):
18942 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
18943 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
18944 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
18945 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
18946 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
18947 (icalendar--convert-cyclic-to-ical)
18948 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
18949 (icalendar--convert-ical-to-diary)
18950 (icalendar--convert-recurring-to-diary)
18951 (icalendar--convert-non-recurring-all-day-to-diary)
18952 (icalendar-import-format-sample):
18953 * progmodes/idlw-shell.el (idlwave-shell-mode):
18954 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
18955 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
18956 (vhdl-ps-print-init): Fix typos.
18957
18958 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
18959
18960 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
18961 FSF and collapse date sequence, obscure author/maintainer email address
18962 better, remove extra version line, track relocation of author's webpage.
18963
18964 * progmodes/python.el (python-pdbtrack-input-prompt)
18965 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
18966 regular python pdb prompts. Adjustments shamelessly taken exactly as
18967 suggested in EmacsWiki page (tiny change):
18968 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
18969
18970 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18971
18972 * expand.el (expand-pos, expand-index, expand-point):
18973 Remove redundant info from docstring.
18974 (expand-add-abbrevs): Doc fix.
18975 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
18976 (expand-sample-perl-mode-expand-list): Fix typos.
18977
18978 * net/dbus.el (dbus-event-member-name):
18979 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
18980 * term/pc-win.el (msdos-create-frame-with-faces):
18981 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
18982
18983 2011-11-16 Martin Rudalics <rudalics@gmx.at>
18984
18985 * window.el (split-window, window-state-get-1)
18986 (window-state-put-1, window-state-put-2): Rename occurrences of
18987 window-nest to window-combination-limit.
18988 * cus-start.el (window-nest): Rename to window-combination-limit.
18989
18990 2011-11-16 Chong Yidong <cyd@gnu.org>
18991
18992 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
18993 regexp (Bug#10033).
18994
18995 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
18996
18997 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
18998 `completing-read' will remove *Completions* and will preserve
18999 current-buffer for us.
19000 (tmm-add-prompt): Users of *Completions* will always (re)set its
19001 major mode.
19002 (tmm-old-comp-map): Remove.
19003
19004 2011-11-16 Glenn Morris <rgm@gnu.org>
19005
19006 * mail/rmailedit.el: Require rmailmm when compiling.
19007 (rmail-old-mime-state): New declaration.
19008 (rmail-edit-current-message): If editing a mime message,
19009 edit the "raw" message from the mbox buffer.
19010 (rmail-cease-edit): Handle mime messages. (Bug#9840)
19011
19012 2011-11-15 Glenn Morris <rgm@gnu.org>
19013
19014 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
19015 which wasn't being used. Add optional arg to force given state.
19016 (rmail-mime): Add optional arg to force given state.
19017
19018 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19019
19020 * allout.el (allout-encryption-plaintext-sanitization-regexps):
19021 * frame.el (display-mm-dimensions-alist):
19022 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
19023 (outline-move-subtree-down):
19024 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
19025 (newsticker--treeview-do-get-node):
19026 * net/quickurl.el (quickurl-list-buffer-name):
19027 * progmodes/dcl-mode.el (dcl-mode):
19028 * progmodes/gdb-mi.el (gdb-mapcar*):
19029 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
19030
19031 2011-11-15 Glenn Morris <rgm@gnu.org>
19032
19033 * mail/rmail.el (rmail-file-coding-system): It's only ever used
19034 in a boolean sense, so just make it a boolean, and fix the doc.
19035 (rmail-show-mime-function, rmail-mime-feature)
19036 (rmail-require-mime-maybe): Doc fixes.
19037 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
19038
19039 * mail/rmailmm.el (rmail-show-mime): Doc fix.
19040
19041 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19042
19043 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
19044 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
19045 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
19046 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
19047
19048 2011-11-15 Glenn Morris <rgm@gnu.org>
19049
19050 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
19051 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
19052 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
19053 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
19054 (rmail-mime, rmail-show-mime): Doc fixes.
19055
19056 * term/ns-win.el (mode-line-frame-identification):
19057 Leave it alone. (Bug#10051)
19058
19059 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
19060
19061 * mail/rmailout.el (rmail-output-to-rmail-buffer):
19062 Handle empty buffers. (Bug#9978)
19063
19064 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
19065
19066 * international/mule.el (define-charset):
19067 * mail/rmailmm.el (rmail-mime-find-header-encoding):
19068 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
19069 * progmodes/verilog-mode.el (verilog-backward-token):
19070 * textmodes/ispell.el (lookup-words):
19071 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
19072
19073 2011-11-14 Glenn Morris <rgm@gnu.org>
19074
19075 * progmodes/executable.el
19076 (executable-make-buffer-file-executable-if-script-p):
19077 Handle file-modes returning nil.
19078
19079 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
19080 message - not necessary, and causes problems. (Bug#9831)
19081
19082 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
19083
19084 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
19085
19086 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
19087 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
19088 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
19089
19090 2011-11-12 Martin Rudalics <rudalics@gmx.at>
19091
19092 * window.el (window-resize, delete-window): Use window-splits
19093 variable instead of function.
19094 (window-state-get-1, window-state-put-2, window-state-put):
19095 Don't deal with windows' splits status.
19096
19097 2011-11-12 Glenn Morris <rgm@gnu.org>
19098
19099 * apropos.el (apropos-do-all, apropos-library, apropos-value)
19100 (apropos-documentation): Doc fixes.
19101
19102 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
19103
19104 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
19105 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
19106
19107 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
19108
19109 * electric.el (electric-indent-post-self-insert-function): Make it
19110 possible for a char to only indent in some circumstances.
19111 (electric-indent-mode): Simplify.
19112
19113 2011-11-11 Martin Rudalics <rudalics@gmx.at>
19114
19115 * window.el (windows-with-parameter): Remove unused function.
19116 (windows-at-side): Rename to window-at-side-list.
19117 (window-check, window-atom-check, window-atom-check-1)
19118 (window-side-check, window-size-ignore, window-size-fixed-1)
19119 (window-in-direction-2): Prefix with "window--".
19120 (window-tree-1): Rename to window--subtree, fix doc-string.
19121
19122 2011-11-11 Glenn Morris <rgm@gnu.org>
19123
19124 * subr.el (eval-after-load): If FILE is already loaded,
19125 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
19126
19127 2011-11-10 Glenn Morris <rgm@gnu.org>
19128
19129 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
19130 Call svn via vc-svn-command rather than vc-do-command.
19131 (vc-svn-command): Add --non-interactive. (Bug#9993)
19132 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
19133
19134 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19135 Add toggle-read-only. (Bug#7292)
19136 * files.el (toggle-read-only): Mention that it should only
19137 be used interactively. (Bug#10006)
19138
19139 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
19140
19141 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19142 Adjust regexp for OCaml warnings.
19143
19144 * electric.el (electric-pair-post-self-insert-function): Let user
19145 turn it off buffer-locally (bug#9932).
19146
19147 * progmodes/python.el (python-beginning-of-statement):
19148 Rewrite (bug#2703).
19149
19150 * progmodes/compile.el: Better handle TABs (bug#9749).
19151 (compilation-internal-error-properties)
19152 (compilation-next-error-function): Obey the target buffer's
19153 compilation-error-screen-columns.
19154
19155 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
19156
19157 * progmodes/meta-mode.el: Remove obsolete comments.
19158 (meta-right-comment-regexp, meta-ignore-comment-regexp):
19159 Fix typos in docstrings.
19160
19161 2011-11-09 Martin Rudalics <rudalics@gmx.at>
19162
19163 * window.el (window-size-fixed-p): Rewrite doc-string.
19164 (window-resizable-p): Rename to window--resizable-p. Update callers.
19165 (window--resizable): New function. Make all callers of
19166 window-resizable call window--resizable instead.
19167 (window-resizable): Rewrite in terms of window--resizable.
19168
19169 2011-11-08 Glenn Morris <rgm@gnu.org>
19170
19171 * progmodes/delphi.el (delphi-mode-syntax-table):
19172 Let define-derived-mode define a proper syntax table. (Bug#9994)
19173
19174 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19175
19176 * window.el: Stay away from defsubst.
19177 (window-list-no-nils): Remove.
19178 (window-state-get-1, window-state-get): Use backquote instead.
19179
19180 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19181
19182 * emacs-lisp/find-func.el (find-function-read):
19183 Fix incorrect use of default argument in `completing-read'.
19184
19185 2011-11-08 Martin Rudalics <rudalics@gmx.at>
19186
19187 * window.el (display-buffer-function, special-display-function):
19188 Mention display-buffer-record-window but do not mention
19189 help-setup parameter in doc-strings.
19190 (window-min-delta): Fix doc-string typo.
19191
19192 2011-11-08 Chong Yidong <cyd@gnu.org>
19193
19194 * window.el (window-total-height, window-total-width): Doc fix.
19195 (window-body-size): Move from C.
19196 (window-body-height, window-body-width): Move to C.
19197
19198 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19199
19200 * window.el: Make special-display like display-buffer-alist (bug#9532).
19201 (display-buffer--special-action): New function, morphed
19202 from display-buffer--special.
19203 (display-buffer): Use it to handle special-display-buffers at higher
19204 priority (just after display-buffer-alist).
19205 (display-buffer-fallback-action, display-buffer--other-frame-action)
19206 (pop-to-buffer-same-window): Remove display-buffer--special.
19207
19208 2011-11-07 Glenn Morris <rgm@gnu.org>
19209
19210 * calendar/cal-menu.el (cal-menu-set-date-title):
19211 Do nothing if not in a calendar. (Bug#9976)
19212
19213 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
19214
19215 * files.el (find-file): Always use selected-window.
19216
19217 2011-11-07 Martin Rudalics <rudalics@gmx.at>
19218
19219 * window.el (window-combinations): Make WINDOW argument
19220 mandatory. Rewrite doc-string.
19221 (walk-window-subtree, window-atom-check, window-min-delta)
19222 (window-max-delta, window--resize-this-window)
19223 (window--resize-root-window-vertically, window-tree)
19224 (balance-windows, window-state-put): Rewrite doc-strings as to
19225 not mention the term "subwindow".
19226 (window--resize-subwindows-skip-p): Rename to
19227 window--resize-child-windows-skip-p.
19228 (window--resize-subwindows-normal): Rename to
19229 window--resize-child-windows-normal.
19230 (window--resize-subwindows): Rename to
19231 window--resize-child-windows.
19232 (window-or-subwindow-p): Rename to window--in-subtree-p.
19233
19234 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19235
19236 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
19237 Ensure that mbox format messages end in two newlines (Bug#9974).
19238
19239 2011-11-06 Chong Yidong <cyd@gnu.org>
19240
19241 * window.el (window-combination-p): Function deleted; its
19242 side-effect is not used in any existing code.
19243 (window-combinations, window-combined-p): Call window-*-child
19244 directly.
19245
19246 2011-11-05 Chong Yidong <cyd@gnu.org>
19247
19248 * window.el (window-valid-p): Rename from window-any-p.
19249 (window-size-ignore, window-state-get): Callers changed.
19250 (window-normalize-window): Rename from window-normalize-any-window.
19251 New arg LIVE-ONLY, replacing window-normalize-live-window.
19252 (window-normalize-live-window): Delete.
19253 (window-combination-p, window-combined-p, window-combinations)
19254 (walk-window-subtree, window-atom-root, window-min-size)
19255 (window-sizable, window-sizable-p, window-size-fixed-p)
19256 (window-min-delta, window-max-delta, window-resizable)
19257 (window-resizable-p, window-full-height-p, window-full-width-p)
19258 (window-current-scroll-bars, window-point-1, set-window-point-1)
19259 (window-at-side-p, window-in-direction, window-resize)
19260 (adjust-window-trailing-edge, maximize-window, minimize-window)
19261 (window-deletable-p, delete-window, delete-other-windows)
19262 (record-window-buffer, unrecord-window-buffer)
19263 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
19264 (quit-window, split-window, window-state-put)
19265 (set-window-text-height, fit-window-to-buffer)
19266 (shrink-window-if-larger-than-buffer): Callers changed.
19267
19268 2011-11-04 Eli Zaretskii <eliz@gnu.org>
19269
19270 * mail/rmail.el (rmail-simplified-subject): Decode subject with
19271 rfc2047-decode-string.
19272 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
19273 warnings.
19274
19275 * window.el (window-body-height, window-body-width): Mention in
19276 the doc string that the return values are in frame's canonical
19277 units. (Bug#9949)
19278
19279 2011-11-03 Alan Mackenzie <acm@muc.de>
19280
19281 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
19282 change in cc-engine.el.
19283
19284 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
19285
19286 * window.el (switch-to-buffer): Use `force-same-window' interactively.
19287
19288 2011-11-02 Martin Rudalics <rudalics@gmx.at>
19289
19290 * window.el (quit-window): Call unrecord-window-buffer after
19291 showing another buffer in the window. (Bug#9937)
19292 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
19293
19294 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
19295
19296 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
19297 Accept status with more than 9 shelves. (Bug#9935)
19298 Reported by Colin D Bennett <colin@gibibit.com>.
19299
19300 2011-11-01 Martin Rudalics <rudalics@gmx.at>
19301
19302 * help.el (with-help-window): Don't reference
19303 temp-buffer-show-specifiers in doc-string.
19304
19305 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
19306
19307 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
19308 menu-item.
19309
19310 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19311
19312 * whitespace.el: New version 13.2.2.
19313 (whitespace-newline-mode): Disable properly. Reported by Sarah
19314 <EmacsWiki>.
19315
19316 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
19317
19318 * net/newst-treeview.el: Remove "Time-stamp".
19319 (newsticker--group-manage-orphan-feeds): Do not call
19320 newsticker--treeview-tree-update.
19321 (newsticker-treeview-update, newsticker-treeview):
19322 Call newsticker--treeview-tree-update if necessary.
19323
19324 2011-10-30 Martin Rudalics <rudalics@gmx.at>
19325
19326 * window.el (window-iso-combination-p, window-iso-combined-p)
19327 (window-iso-combinations): Remove "iso-" infix.
19328 Suggested by Chong Yidong.
19329 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
19330 (window-max-delta-1, window-resize, window--resize-siblings)
19331 (window--resize-this-window, adjust-window-trailing-edge)
19332 (split-window, balance-windows-1)
19333 (shrink-window-if-larger-than-buffer):
19334 * calendar/calendar.el (calendar-generate-window):
19335 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
19336
19337 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
19338
19339 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
19340 in place (bug#9907).
19341 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
19342 (eshell-rewrite-if-command, eshell-rewrite-for-command)
19343 (eshell-structure-basic-command, eshell-rewrite-while-command)
19344 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
19345 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
19346 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
19347 (eshell-do-pipelines-synchronously, eshell-eval-command):
19348 Use backquotes and prefer setq to set.
19349 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
19350 (eshell-macrop): Use functionp.
19351 (eshell-do-eval): Handle multiple expressions in `while' body.
19352
19353 2011-10-30 Chong Yidong <cyd@gnu.org>
19354
19355 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
19356 instead of set-mark (Bug#9810).
19357
19358 2011-10-30 Chong Yidong <cyd@gnu.org>
19359
19360 * window.el (split-window-below, split-window-right): Rename from
19361 split-window-above-each-other and split-window-side-by-side
19362 respectively. All callers changed.
19363 (split-window-sensibly, split-window-sensibly): Use them.
19364 (split-window-keep-point): Doc fix.
19365
19366 * isearch.el: Add isearch-scroll property to split-window-below
19367 and split-window-right.
19368
19369 * follow.el (follow-mode):
19370 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19371 * progmodes/ada-xref.el (ada-gdb-application):
19372 * emulation/vip.el (vip-buffer-in-two-windows):
19373 * image-dired.el (image-dired-dired-with-window-configuration):
19374 * dired-x.el (dired-do-find-marked-files):
19375 * dired.el (dired-pop-to-buffer):
19376 * bs.el (bs--show-with-configuration):
19377 * vc/emerge.el (emerge-setup-windows):
19378 * textmodes/two-column.el (2C-two-columns):
19379 * textmodes/reftex-toc.el (reftex-toc):
19380 * progmodes/gdb-mi.el (gdb-setup-windows):
19381 * progmodes/fortran.el (fortran-window-create):
19382 * net/newst-treeview.el (newsticker--treeview-window-init):
19383 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
19384 * emulation/tpu-edt.el (tpu-gold-map):
19385 * emulation/crisp.el (crisp-mode-map):
19386 * calendar/calendar.el (calendar-basic-setup): Callers changed.
19387
19388 2011-10-29 Chong Yidong <cyd@gnu.org>
19389
19390 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
19391
19392 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
19393
19394 * textmodes/flyspell.el (flyspell-word): Fix char offset for
19395 forged Ispell output (Bug#7904).
19396
19397 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
19398
19399 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19400
19401 * doc-view.el: Avoid ugly errors about not finding nil.
19402 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
19403 (doc-view-dvipdf-program, doc-view-unoconv-program)
19404 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
19405 Avoid nil or absolute file name as default value.
19406 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
19407
19408 2011-10-28 Alan Mackenzie <acm@muc.de>
19409
19410 * progmodes/cc-defs.el (c-version): -> 5.32.2.
19411
19412 2011-10-28 Alan Mackenzie <acm@muc.de>
19413
19414 Amend the handling of c-beginning/end-of-defun in nested declaration
19415 scopes.
19416
19417 * progmodes/cc-vars.el (c-defun-tactic): Move here from
19418 cc-langs.el. Change it to a defcustom.
19419
19420 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
19421 cc-vars.el.
19422
19423 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19424 Prevent "class foo : bar" being spuriously recognized as a label.
19425
19426 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
19427 Add parameter `inclusive' (to include enclosing braces in the region).
19428 (c-widen-to-enclosing-decl-scope): New function.
19429 (c-while-widening-to-decl-block): New macro.
19430 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
19431 outward for defun boundaries, and correspondingly change symbol
19432 `respect-enclosure' to `go-outward'.
19433 (c-declaration-limits): Change algorithm to report only the "innermost"
19434 defun's boundaries.
19435
19436 2011-10-28 Deniz Dogan <deniz@dogan.se>
19437
19438 * net/rcirc.el (rcirc-mode): Use hard newlines.
19439
19440 2011-10-28 Alan Mackenzie <acm@muc.de>
19441
19442 Amend to indent and fontify macros "which include their own semicolon"
19443 correctly, using the "virtual semicolon" mechanism.
19444
19445 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
19446
19447 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
19448 Recode to scan one line at a time rather than having \n and \r
19449 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
19450 (c-forward-label): Amend for virtual semicolons.
19451 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
19452
19453 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
19454 of the new C macros.
19455
19456 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
19457 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
19458 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
19459 (c-opt-cpp-macro-define): Make into a full language variable.
19460 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
19461 AWK Mode (including \n, \r) removed, no longer needed.
19462
19463 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
19464 Invoke c-make-macro-with-semi-re.
19465
19466 * progmodes/cc-vars.el (c-macro-with-semi-re):
19467 (c-macro-names-with-semicolon): New variables.
19468 (c-make-macro-with-semi-re): New function.
19469
19470 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19471
19472 * vc/log-edit.el: Fill empty field rather than adding new one.
19473 (log-edit-add-field): New function.
19474 (log-edit-insert-changelog): Use it.
19475
19476 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19477
19478 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
19479
19480 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19481
19482 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
19483 (gdb--check-interpreter): New function.
19484 (gdb): Use it.
19485
19486 2011-10-27 Glenn Morris <rgm@gnu.org>
19487
19488 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
19489 (least-positive-float, least-negative-float)
19490 (least-positive-normalized-float, least-negative-normalized-float)
19491 (float-epsilon, float-negative-epsilon):
19492 Remove unnecessary declarations.
19493
19494 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
19495 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
19496 (least-positive-float, least-negative-float)
19497 (least-positive-normalized-float, least-negative-normalized-float)
19498 (float-epsilon, float-negative-epsilon): Add doc-strings,
19499 based on those in cl.texi.
19500
19501 * files.el (set-visited-file-name): If the major-mode changed,
19502 reload the local variables. (Bug#9796)
19503
19504 2011-10-27 Chong Yidong <cyd@gnu.org>
19505
19506 * subr.el (change-major-mode-after-body-hook): New hook.
19507 (run-mode-hooks): Run it.
19508
19509 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19510 Use change-major-mode-before-body-hook.
19511
19512 * simple.el (fundamental-mode):
19513 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
19514 change introducing fundamental-mode-hook.
19515
19516 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
19517
19518 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
19519
19520 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
19521
19522 * ido.el (ido-file-name-all-completions-1): Do not require
19523 tramp.el explicitly. (Bug#7583)
19524
19525 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
19526
19527 * progmodes/octave-mod.el:
19528 * progmodes/octave-inf.el: Update maintainer.
19529
19530 2011-10-26 Chong Yidong <cyd@gnu.org>
19531
19532 * subr.el (with-wrapper-hook): Rewrite doc.
19533
19534 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
19535
19536 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
19537 filenames "/method:foo:". (Bug#9793)
19538
19539 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
19540
19541 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
19542 (bug#9865).
19543
19544 2011-10-24 Glenn Morris <rgm@gnu.org>
19545
19546 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
19547
19548 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
19549
19550 * notifications.el: Add the requirement of a running D-Bus session
19551 bus to the Commentary.
19552
19553 2011-10-24 Juri Linkov <juri@jurta.org>
19554
19555 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19556 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
19557 (Bug#9364)
19558
19559 2011-10-24 Juri Linkov <juri@jurta.org>
19560
19561 * info.el (Info-following-node-name-re): Add newline to the list
19562 of allowed characters for leading space. (Bug#9824)
19563
19564 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
19565
19566 * progmodes/octave-inf.el (inferior-octave-mode-map):
19567 Fix C-c C-h binding.
19568 * progmodes/octave-mod.el (octave-help): Remove.
19569
19570 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
19571
19572 Sync with Tramp 2.2.3.
19573
19574 * net/tramp-cache.el (top): Pacify byte-compiler using
19575 `init-file-user' and `site-run-file'.
19576
19577 * net/trampver.el: Update release number.
19578
19579 2011-10-23 Chong Yidong <cyd@gnu.org>
19580
19581 * files.el (toggle-read-only): Remove obsolete comment about
19582 version control.
19583
19584 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
19585 for toggle-read-only. Note that this hasn't called vc-next-action
19586 since 2008-05-02, though it wasn't documented at the time.
19587
19588 * vc/ediff-init.el (ediff-toggle-read-only-function):
19589 Use toggle-read-only.
19590
19591 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
19592
19593 Fix bug #9560, sporadic wrong indentation; improve instrumentation
19594 of c-parse-state.
19595
19596 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
19597 correct faulty logical expression.
19598 (c-parse-state-state, c-record-parse-state-state):
19599 (c-replay-parse-state-state): New defvar/defuns.
19600 (c-debug-parse-state): Use new functions.
19601
19602 2011-10-22 Martin Rudalics <rudalics@gmx.at>
19603
19604 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
19605 last fix. Use window-in-direction correctly.
19606
19607 2011-10-21 Chong Yidong <cyd@gnu.org>
19608
19609 * progmodes/idlwave.el (idlwave-mode):
19610 * progmodes/vera-mode.el (vera-mode): No need to set
19611 require-final-newline; that's done in prog-mode.
19612 Suggested by Stefan Monnier.
19613
19614 2011-10-21 Martin Rudalics <rudalics@gmx.at>
19615
19616 * mouse.el (mouse-drag-window-above)
19617 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
19618 (mouse-drag-mode-line-1, mouse-drag-header-line)
19619 (mouse-drag-vertical-line-rightward-window): Remove.
19620 (mouse-drag-line): New function.
19621 (mouse-drag-mode-line, mouse-drag-header-line)
19622 (mouse-drag-vertical-line): Call mouse-drag-line.
19623 * window.el (window-at-side-p, windows-at-side): New functions.
19624
19625 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
19626
19627 * tar-mode.el (tar-grind-file-mode):
19628 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
19629
19630 2011-10-21 Chong Yidong <cyd@gnu.org>
19631
19632 * progmodes/idlwave.el (idlwave-mode):
19633 * progmodes/vera-mode.el (vera-mode):
19634 Use mode-require-final-newline.
19635
19636 2011-10-20 Glenn Morris <rgm@gnu.org>
19637
19638 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
19639
19640 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
19641
19642 * emulation/cua-base.el (cua-set-mark): Fix case of string.
19643
19644 2011-10-20 Chong Yidong <cyd@gnu.org>
19645
19646 * emulation/cua-base.el (cua-mode):
19647 * mail/footnote.el (footnote-mode):
19648 * mail/mailabbrev.el (mail-abbrevs-mode):
19649 * net/xesam.el (xesam-minor-mode):
19650 * progmodes/bug-reference.el (bug-reference-mode):
19651 * progmodes/cap-words.el (capitalized-words-mode):
19652 * progmodes/compile.el (compilation-minor-mode)
19653 (compilation-shell-minor-mode):
19654 * progmodes/gud.el (gud-tooltip-mode):
19655 * progmodes/hideif.el (hide-ifdef-mode):
19656 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
19657 * progmodes/subword.el (subword-mode):
19658 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
19659 * progmodes/which-func.el (which-function-mode):
19660 * term/tvi970.el (tvi970-set-keypad-mode):
19661 * term/vt100.el (vt100-wide-mode):
19662 * textmodes/flyspell.el (flyspell-mode):
19663 * textmodes/ispell.el (ispell-minor-mode):
19664 * textmodes/nroff-mode.el (nroff-electric-mode):
19665 * textmodes/paragraphs.el (use-hard-newlines):
19666 * textmodes/refill.el (refill-mode):
19667 * textmodes/reftex.el (reftex-mode):
19668 * textmodes/rst.el (rst-minor-mode):
19669 * textmodes/sgml-mode.el (html-autoview-mode)
19670 (sgml-electric-tag-pair-mode):
19671 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
19672 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
19673 * emulation/crisp.el (crisp-mode):
19674 * emacs-lisp/eldoc.el (eldoc-mode):
19675 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
19676 minor mode behavior.
19677
19678 2011-10-19 Juri Linkov <juri@jurta.org>
19679
19680 * descr-text.el (describe-char): Add #x2010 and #x2011 to
19681 the list of hard-coded chars with escape-glyph face.
19682
19683 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
19684
19685 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
19686
19687 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
19688
19689 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
19690 running process.
19691
19692 2011-10-19 Glenn Morris <rgm@gnu.org>
19693
19694 * vc/vc-bzr.el (vc-bzr-after-dir-status):
19695 Ignore ignored files. (Bug#9726)
19696
19697 2011-10-19 Chong Yidong <cyd@gnu.org>
19698
19699 Doc fix for minor modes, stating that an omitted argument enables
19700 the mode unconditionally when called from Lisp.
19701
19702 * abbrev.el (abbrev-mode):
19703 * allout.el (allout-mode):
19704 * autoinsert.el (auto-insert-mode):
19705 * autoarg.el (autoarg-mode, autoarg-kp-mode):
19706 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
19707 (global-auto-revert-mode):
19708 * battery.el (display-battery-mode):
19709 * composite.el (global-auto-composition-mode)
19710 (auto-composition-mode):
19711 * delsel.el (delete-selection-mode):
19712 * desktop.el (desktop-save-mode):
19713 * dired-x.el (dired-omit-mode):
19714 * dirtrack.el (dirtrack-mode):
19715 * doc-view.el (doc-view-minor-mode):
19716 * double.el (double-mode):
19717 * electric.el (electric-indent-mode, electric-pair-mode):
19718 * emacs-lock.el (emacs-lock-mode):
19719 * epa-hook.el (auto-encryption-mode):
19720 * follow.el (follow-mode):
19721 * font-core.el (font-lock-mode):
19722 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
19723 * help.el (temp-buffer-resize-mode):
19724 * hilit-chg.el (highlight-changes-mode)
19725 (highlight-changes-visible-mode):
19726 * hi-lock.el (hi-lock-mode):
19727 * hl-line.el (hl-line-mode, global-hl-line-mode):
19728 * icomplete.el (icomplete-mode):
19729 * ido.el (ido-everywhere):
19730 * image-file.el (auto-image-file-mode):
19731 * image-mode.el (image-minor-mode):
19732 * iswitchb.el (iswitchb-mode):
19733 * jka-cmpr-hook.el (auto-compression-mode):
19734 * linum.el (linum-mode):
19735 * longlines.el (longlines-mode):
19736 * master.el (master-mode):
19737 * mb-depth.el (minibuffer-depth-indicate-mode):
19738 * menu-bar.el (menu-bar-mode):
19739 * minibuf-eldef.el (minibuffer-electric-default-mode):
19740 * mouse-sel.el (mouse-sel-mode):
19741 * msb.el (msb-mode):
19742 * mwheel.el (mouse-wheel-mode):
19743 * outline.el (outline-minor-mode):
19744 * paren.el (show-paren-mode):
19745 * recentf.el (recentf-mode):
19746 * reveal.el (reveal-mode, global-reveal-mode):
19747 * rfn-eshadow.el (file-name-shadow-mode):
19748 * ruler-mode.el (ruler-mode):
19749 * savehist.el (savehist-mode):
19750 * scroll-all.el (scroll-all-mode):
19751 * scroll-bar.el (scroll-bar-mode):
19752 * server.el (server-mode):
19753 * shell.el (shell-dirtrack-mode):
19754 * simple.el (auto-fill-mode, transient-mark-mode)
19755 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
19756 (line-number-mode, column-number-mode, size-indication-mode)
19757 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
19758 * strokes.el (strokes-mode):
19759 * time.el (display-time-mode):
19760 * t-mouse.el (gpm-mouse-mode):
19761 * tool-bar.el (tool-bar-mode):
19762 * tooltip.el (tooltip-mode):
19763 * type-break.el (type-break-mode-line-message-mode)
19764 (type-break-query-mode):
19765 * view.el (view-mode):
19766 * whitespace.el (whitespace-mode, whitespace-newline-mode)
19767 (global-whitespace-mode, global-whitespace-newline-mode):
19768 * xt-mouse.el (xterm-mouse-mode): Doc fix.
19769
19770 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19771 Fix autogenerated docstring.
19772
19773 2011-10-19 Juri Linkov <juri@jurta.org>
19774
19775 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
19776 by checking environment variables "DESKTOP_SESSION" and
19777 "XDG_CURRENT_DESKTOP". (Bug#9779)
19778
19779 2011-10-19 Juri Linkov <juri@jurta.org>
19780
19781 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
19782 (browse-url-chromium-program, browse-url-chromium-arguments):
19783 New defcustoms.
19784 (browse-url-default-browser): Check for `browse-url-chromium' and
19785 call `browse-url-chromium-program'.
19786 (browse-url-chromium): New command. (Bug#9779)
19787
19788 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
19789
19790 * facemenu.el (list-colors-duplicates): On Windows, detect more
19791 duplicates by assuming that only colors matching "^System" are
19792 special "system colors". (Bug#9722)
19793
19794 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
19795
19796 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
19797 to distinguish the author from the committer.
19798
19799 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
19800
19801 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
19802
19803 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
19804
19805 * international/mule.el (sgml-html-meta-auto-coding-function):
19806 Add support for detecting encoding in HTML5 specified only as
19807 <meta charset="UTF-8">. Implementation just makes http-equiv and
19808 content-type parts from HTML4 encoding string optional. (Bug#9716)
19809
19810 2011-10-18 Glenn Morris <rgm@gnu.org>
19811
19812 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
19813
19814 2011-10-18 Chong Yidong <cyd@gnu.org>
19815
19816 * faces.el (cursor): Doc fix.
19817
19818 2011-10-17 Chong Yidong <cyd@gnu.org>
19819
19820 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
19821
19822 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
19823
19824 * dirtrack.el (dirtrack): Support shell buffers with path
19825 prefixes, e.g. tramp-based remote shells. (Bug#9647)
19826
19827 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
19828
19829 * json.el: Bump version to 1.3 and note change in History.
19830 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
19831
19832 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
19833
19834 * comint.el (comint-insert-input, comint-send-input)
19835 (comint-get-old-input-default, comint-backward-matching-input)
19836 (comint-next-prompt): Use nil instead of `input' for field property of
19837 past user input (bug#114).
19838
19839 * minibuffer.el (completion--replace): Inherit surrounding properties
19840 (bug#114).
19841 (minibuffer-complete-and-exit): Use it.
19842
19843 * comint.el (comint--table-subvert): Quote the all-completions output
19844 (bug#9160).
19845
19846 2011-10-17 Martin Rudalics <rudalics@gmx.at>
19847
19848 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
19849
19850 * menu-bar.el (menu-bar-file-menu): Add entry for making new
19851 window on right of selected. (Bug#9350) Reword other window
19852 entries and separate them from frame entries.
19853
19854 2011-10-15 Glenn Morris <rgm@gnu.org>
19855
19856 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
19857 Doc fixes.
19858
19859 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
19860
19861 * net/network-stream.el (network-stream-open-starttls):
19862 Improve detection of failure due to lack of TLS support.
19863
19864 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
19865 putting the input text in front and in bold.
19866
19867 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
19868
19869 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
19870
19871 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
19872 empty buffer.
19873
19874 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
19875 unread-command-events rather than pushing yet-another event.
19876
19877 2011-10-14 Eli Zaretskii <eliz@gnu.org>
19878
19879 * mail/sendmail.el (sendmail-query-once): Improve the wording of
19880 the explanation of the possible choices. Make the options passed
19881 to completing-read shorter.
19882
19883 2011-10-13 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
19884
19885 * textmodes/flyspell.el (flyspell-large-region): Make sure
19886 extended character mode is used if defined (Bug#1339).
19887
19888 2011-10-13 Eli Zaretskii <eliz@gnu.org>
19889
19890 * simple.el (what-cursor-position): Fix the display of the
19891 character info for LRE, LRO, RLE, and RLO characters by appending
19892 an invisible PDF.
19893
19894 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
19895
19896 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
19897 even in case of error; add debug spec; simplify data flow.
19898 (with-timeout-handler): Remove.
19899
19900 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
19901
19902 Fix Bug#6019, Bug#9315.
19903
19904 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
19905 complete `buffer-file-name', the local file name part could look
19906 remotely (for example on VMS).
19907
19908 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
19909 `tramp-run-real-handler'.
19910 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
19911 already quoted by '"'.
19912
19913 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
19914 Let `file-name-handler-alist' be nil, the local file name part
19915 could look remotely (for example on VMS).
19916
19917 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
19918
19919 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
19920 from here...
19921 (flyspell-post-command-hook): ...to here.
19922
19923 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19924
19925 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
19926 if not needed.
19927 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
19928 using completion. Protect against "slow" callers.
19929 Remove the "message hack".
19930
19931 2011-10-11 Juri Linkov <juri@jurta.org>
19932
19933 * isearch.el (isearch-lazy-highlight-word): New variable.
19934 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
19935 Use it. (Bug#9727)
19936
19937 2011-10-11 Glenn Morris <rgm@gnu.org>
19938
19939 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
19940 like f90-previous-statement does.
19941
19942 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19943
19944 * eshell/eshell.el (eshell-command): History should be saved
19945 only in interactive use, to avoid error.
19946
19947 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19948
19949 * minibuffer.el (completion-file-name-table): Fix last change,
19950 i.e. ignore normal errors but not the other ones.
19951
19952 2011-10-10 Martin Rudalics <rudalics@gmx.at>
19953
19954 * window.el (special-display-buffer-names)
19955 (special-display-regexps): Remove some remnants of earlier
19956 changes from doc-strings.
19957 (quit-windows-on): New function.
19958
19959 * vc/vc.el (vc-revert, vc-rollback):
19960 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
19961 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
19962 (Bug#6183) (Bug#7074) (Bug#7447)
19963
19964 2011-10-09 Martin Rudalics <rudalics@gmx.at>
19965
19966 * window.el (frame-auto-hide-function): Add version tag.
19967 (Bug#9699)
19968
19969 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
19970
19971 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
19972 condition.
19973
19974 2011-10-09 Leo Liu <sdl.web@gmail.com>
19975
19976 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
19977 (Bug#9701)
19978
19979 2011-10-08 Glenn Morris <rgm@gnu.org>
19980
19981 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
19982 before the first code statement zero indent. (Bug#9690)
19983
19984 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
19985
19986 * simple.el (count-words-region): Always count in the region.
19987 Report the number of lines and characters too.
19988 (count-words): New command, which counts in the buffer if the
19989 region is inactive, as count-words-region used to.
19990 (count-words--message): New function. Handle plurals.
19991 (count-lines-region): Make it an alias for count-words-region.
19992
19993 * bindings.el (esc-map): Replace count-lines-region with
19994 count-words-region.
19995
19996 2011-10-08 Martin Rudalics <rudalics@gmx.at>
19997
19998 * window.el (window--delete): Delete dedicated frame
19999 unconditionally when argument KILL is non-nil. (Bug#9699)
20000 (switch-to-buffer): Fix doc-string typo.
20001
20002 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20003
20004 * eshell/eshell.el (eshell-command): Avoid using hooks.
20005
20006 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
20007
20008 * bindings.el ([M-left],[M-right]): Bind to left-word and
20009 right-word respectively.
20010
20011 2011-10-07 Glenn Morris <rgm@gnu.org>
20012
20013 * cus-start.el (debug-on-quit): Fix custom type.
20014
20015 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20016
20017 * subr.el (define-key-after): Clarify that the function is not
20018 useful for non-menu keymaps.
20019
20020 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
20021
20022 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20023
20024 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
20025 in current minibuffer (Fix bug with recursive minibuffers).
20026
20027 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
20028
20029 * progmodes/gdb-mi.el (gdb): Doc fix.
20030
20031 2011-10-05 Martin Rudalics <rudalics@gmx.at>
20032
20033 * window.el (frame-auto-hide-function): New option replacing
20034 frame-auto-delete. Suggested by Stefan Monnier.
20035 (window--delete): Call frame-auto-hide-function instead of
20036 investigating frame-auto-delete.
20037 (window-point-1, set-window-point-1): New functions.
20038 (window-in-direction, record-window-buffer, window-state-get-1)
20039 (display-buffer-record-window): Use window-point-1 instead of
20040 window-point.
20041 (set-window-buffer-start-and-point): Use set-window-point-1.
20042
20043 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20044
20045 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
20046
20047 2011-10-05 Glenn Morris <rgm@gnu.org>
20048
20049 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
20050 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
20051
20052 2011-10-05 Leo Liu <sdl.web@gmail.com>
20053
20054 * subr.el (read-char-choice): Fix argument to buffer-live-p which
20055 works with buffer object.
20056
20057 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20058
20059 * mpc.el (mpc-tool-bar-map): Add labels.
20060
20061 2011-10-04 Glenn Morris <rgm@gnu.org>
20062
20063 * calendar/holidays.el (calendar-check-holidays): Doc fix.
20064
20065 2011-10-04 Martin Rudalics <rudalics@gmx.at>
20066
20067 * window.el (window--delete): New function.
20068 (frame-auto-delete): Resuscitate option.
20069 (bury-buffer, replace-buffer-in-windows)
20070 (quit-window): Rewrite using window--delete.
20071 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20072 Pass display-buffer-mark-dedicated to window--display-buffer-2
20073 (Bug#9639).
20074
20075 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20076
20077 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
20078 returns a list (bug#9554). Add remote file name completion.
20079 * comint.el (comint--table-subvert): Curry and get quote&unquote
20080 functions as arguments.
20081 (comint--complete-file-name-data): Adjust call accordingly.
20082 * pcomplete.el (pcomplete--table-subvert): Remove.
20083 (pcomplete-completions-at-point): Use comint--table-subvert instead.
20084
20085 * minibuffer.el (completion-table-case-fold): Use currying.
20086 (completion--styles-type, completion--cycling-threshold-type):
20087 New constants.
20088 (completion-styles, completion-category-overrides)
20089 (completion-cycle-threshold): Use them.
20090 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
20091 completion-table-case-fold.
20092
20093 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
20094
20095 * minibuffer.el (completion-category-overrides): Fix type of styles
20096 and add more user friendly tags (bug#9660).
20097
20098 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20099
20100 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
20101 (mule-input-method-string): New widget.
20102 (default-input-method, language-info-custom-alist): Use it.
20103
20104 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
20105
20106 * pcomplete.el: Require comint.
20107 (pcomplete--common-suffix): Remove.
20108 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
20109 (pcomplete--table-subvert): Sync with comint--table-subvert.
20110 (pcomplete--entries): Use comint-completion-file-name-table.
20111 * comint.el (comint-unquote-filename): Simplify.
20112 (comint-completion-file-name-table): New function (bug#9616).
20113 (comint--complete-file-name-data): Use it.
20114
20115 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
20116 (pcmpl-gnu-tar-buffer): Remove.
20117 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
20118 around. Make sure pcomplete-suffix-list is only changed temporarily.
20119 Don't look inside the tar's file if it's too large.
20120
20121 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
20122
20123 * cus-edit.el (custom-mode-map):
20124 * epa.el (epa-key-list-mode-map):
20125 * man.el (Man-mode-map):
20126 * startup.el (splash-screen-keymap):
20127 * simple.el (special-mode-map): Use scroll-up-command and
20128 scroll-down-command.
20129
20130 * progmodes/idlw-help.el (idlwave-help-mode-map):
20131 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
20132 * net/newst-plainview.el (newsticker-mode-map):
20133 * emulation/ws-mode.el (wordstar-mode-map):
20134 * emulation/vi.el (vi-com-map):
20135 * calc/calc-graph.el (calc-graph-show-dumb):
20136 * term/sun.el (terminal-init-sun):
20137 * term/ns-win.el (global-map):
20138 * progmodes/grep.el (grep-mode-map):
20139 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
20140 * mail/rmail.el (rmail-mode-map):
20141 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
20142
20143 * custom.el (custom-safe-themes, load-theme): Treat value of t for
20144 custom-safe-themes as special.
20145
20146 2011-10-01 Julien Danjou <julien@danjou.info>
20147
20148 * notifications.el (notifications-notify): Fix docstring.
20149
20150 2011-10-01 Per Starbäck <per@starback.se>
20151
20152 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
20153
20154 2011-09-30 Martin Rudalics <rudalics@gmx.at>
20155
20156 * startup.el (command-line-1): Fix last fix by inserting
20157 initial-scratch-message into *scratch* before displaying it.
20158 (Bug#9605) and (Bug#9636)
20159
20160 2011-09-29 Eli Zaretskii <eliz@gnu.org>
20161
20162 * simple.el (line-move): If auto-hscroll-mode is disabled and the
20163 window is hscrolled, move by logical lines. (Bug#9607)
20164 (line-move-visual): Update the doc string to the above effect.
20165
20166 2011-09-29 Martin Rudalics <rudalics@gmx.at>
20167
20168 * window.el (display-buffer-record-window): When WINDOW is the
20169 selected window use `point' instead of `window-point'. (Bug#9626)
20170
20171 * startup.el (command-line-1): Use insert-before-markers when
20172 inserting initial-scratch-message. (Bug#9605)
20173
20174 * help.el (help-window): Remove variable.
20175
20176 2011-09-29 Glenn Morris <rgm@gnu.org>
20177
20178 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
20179
20180 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
20181
20182 * descr-text.el (describe-char-categories): Accept category
20183 descriptions more than one line long.
20184
20185 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
20186
20187 * simple.el (delete-trailing-whitespace): Fix last change.
20188
20189 * progmodes/perl-mode.el (perl-syntax-propertize-function):
20190 Don't confuse "y => 3" as the beginning of a `y' operation.
20191
20192 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
20193 object has more than 4 slots (bug#9613).
20194
20195 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
20196
20197 * subr.el (with-output-to-temp-buffer):
20198 * net/quickurl.el (quickurl, quickurl-browse-url):
20199 Fix typos in docstrings.
20200
20201 2011-09-27 Eli Zaretskii <eliz@gnu.org>
20202
20203 * minibuffer.el (completion-styles)
20204 (completion-category-overrides): Cross reference each other in doc
20205 strings.
20206
20207 2011-09-27 Glenn Morris <rgm@gnu.org>
20208
20209 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
20210 to split-string. (Bug#9606)
20211
20212 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20213
20214 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
20215 (bug#9615).
20216
20217 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
20218
20219 * emacs-lisp/package.el (list-packages): Fix echo area message.
20220
20221 2011-09-27 Leo Liu <sdl.web@gmail.com>
20222
20223 * ido.el (ido-read-internal): Accept cons cell HIST arg.
20224
20225 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
20226
20227 * net/dbus.el (dbus-unregister-object): Don't release services for
20228 registered signals. (Bug#9581)
20229
20230 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
20231
20232 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
20233 function that picks between cfengine 2 and 3 support
20234 automatically. Update docs accordingly.
20235
20236 2011-09-22 Kenichi Handa <handa@m17n.org>
20237
20238 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
20239 ZERO.
20240 (indian-itrans-v5-table-for-tamil): New variable.
20241 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
20242
20243 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
20244
20245 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
20246 that's true if the current command involved collapsing of text.
20247 It's reset to false at the beginning of the next command.
20248 (allout-post-command-business): Move the cursor to the beginning
20249 of entry if the cursor is hidden and collapsing activity just
20250 happened.
20251
20252 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
20253
20254 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
20255 tracking (Bug#9541).
20256
20257 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
20258
20259 * net/newst-reader.el (newsticker-html-renderer)
20260 (newsticker-show-news): Automatically load html rendering package
20261 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
20262 because w3m-fill-column is let-bound" and the error "Symbol's value
20263 as variable is void: w3m-fill-column".
20264
20265 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
20266
20267 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
20268 Release services only if they are defined. (Bug#9581)
20269
20270 2011-09-23 Richard Stallman <rms@gnu.org>
20271
20272 * textmodes/paragraphs.el (forward-sentence): For backwards case,
20273 distinguish start of paragraph from start of its text.
20274
20275 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
20276
20277 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
20278 (rmail-generate-viewer-buffer): Put that hook on view buffer.
20279 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
20280
20281 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
20282
20283 * international/mule-diag.el (mule-diag): Insert a newline after
20284 each fontset description.
20285
20286 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20287
20288 * simple.el (delete-trailing-whitespace):
20289 Document last change; simplify.
20290
20291 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
20292
20293 * simple.el (delete-trailing-whitespace): Also delete
20294 extra newlines at the end of the buffer.
20295
20296 * textmodes/picture.el: Make motion commands obey shift-select-mode.
20297 (picture-newline): Use forward-line so as to ignore fields.
20298
20299 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20300
20301 * subr.el (with-wrapper-hook): Fix edebug spec.
20302
20303 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
20304
20305 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
20306 (bug#4538).
20307
20308 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
20309
20310 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
20311 Fix nasty bug using wrong cached values.
20312
20313 2011-09-23 Alan Mackenzie <acm@muc.de>
20314
20315 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
20316
20317 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
20318
20319 * window.el (pop-to-buffer): Ensure right window is selected if we
20320 chose another frame.
20321
20322 2011-09-22 Eli Zaretskii <eliz@gnu.org>
20323
20324 * simple.el (what-cursor-position): Use get-char-property-change
20325 and next-single-char-property-change, to be able to show display
20326 properties that come from overlays as well as text properties.
20327
20328 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
20329
20330 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
20331
20332 * cmuscheme.el (run-scheme, switch-to-scheme):
20333 * cus-edit.el (customize-group, custom-buffer-create)
20334 (customize-browse):
20335 * info.el (info):
20336 * shell.el (shell):
20337 * mail/sendmail.el (mail):
20338 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
20339
20340 2011-09-22 Richard Stallman <rms@gnu.org>
20341
20342 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
20343 move back only to line beg, don't move back over blank lines.
20344
20345 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
20346
20347 * files.el (copy-directory): Set directory attributes only in case
20348 they could be retrieved from the source directory. (Bug#9565)
20349
20350 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
20351
20352 * progmodes/hideshow.el (hs-looking-at-block-start-p)
20353 (hs-find-block-beginning, hs-hide-level-recursive):
20354 Ignore strings as well as comments. (Bug#9502)
20355
20356 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
20357
20358 * progmodes/sql.el (sql-comint-postgres):
20359 Convert port number to a string. (Bug#9566)
20360
20361 2011-09-22 Martin Rudalics <rudalics@gmx.at>
20362
20363 * window.el (quit-window): Undedicate window when switching to
20364 previous buffer. Reported by Thierry Volpiatto
20365 <thierry.volpiatto@gmail.com>.
20366 (special-display-popup-frame): When popping up a new frame reset
20367 its previous buffers to nil. Simplify code.
20368
20369 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
20370
20371 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
20372 and process filter, as done also in `shell-command'.
20373
20374 2011-09-21 Martin Rudalics <rudalics@gmx.at>
20375
20376 * window.el (set-window-buffer-start-and-point):
20377 Call set-window-start with NOFORCE argument t.
20378 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20379 (quit-window): Reword doc-string. Handle new format of
20380 quit-restore parameter. Don't delete window if it has a
20381 previous buffer we can show instead of the present one.
20382 (display-buffer-record-window): Rewrite using a new format for
20383 the quit-restore window parameter
20384 (special-display-popup-frame, display-buffer-same-window)
20385 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20386 (display-buffer-pop-up-window, display-buffer-use-some-window):
20387 Adapt symbol passed to display-buffer-record-window.
20388 * help.el (help-window-setup): Handle new format of quit-restore
20389 parameter.
20390
20391 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
20392
20393 * faces.el (face-list): Fix docstring (bug#9564).
20394
20395 * window.el (display-buffer--action-function-custom-type):
20396 Don't include internal functions in the Custom interface.
20397
20398 2011-09-20 Juri Linkov <juri@jurta.org>
20399
20400 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
20401 (Info-forward-node, Info-backward-node, Info-next-preorder)
20402 (Info-last-preorder): Use it. (Bug#9528)
20403
20404 2011-09-20 Juri Linkov <juri@jurta.org>
20405
20406 * info.el (Info-last-preorder): Visit last menu item only when
20407 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
20408
20409 2011-09-20 Julien Danjou <julien@danjou.info>
20410
20411 * password-cache.el (password-cache-remove): Remove entries even if the
20412 value is nil, so that password with a nil value (negative caching) is
20413 possible to invalidate.
20414
20415 2011-09-20 Lawrence Mitchell <wence@gmx.li>
20416
20417 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
20418 all whitespace around breakpoint. (Bug#9553)
20419 (f90-find-breakpoint): Only break at whitespace inside a comment.
20420
20421 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
20422
20423 * minibuffer.el (completion-file-name-table): Keep track of errors.
20424 (completion-table-with-predicate): Handle the case where pred1 is nil.
20425 * pcomplete.el (pcomplete-completions-at-point): Simplify.
20426
20427 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20428
20429 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
20430 (debugger-return-value): Signal an error if the debugging context does
20431 not await any return value.
20432
20433 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
20434 * image-mode.el (image-toggle-display-text)
20435 (image-toggle-display-image): Stay away from evil `intangible'.
20436
20437 2011-09-19 Leo Liu <sdl.web@gmail.com>
20438
20439 * replace.el (occur-revert-arguments): Make it permanent-local.
20440 (occur-mode): Don't call font-lock-defontify.
20441
20442 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
20443
20444 * net/ldap.el (ldap-search-internal): Don't push empty search
20445 result (Bug#9508).
20446
20447 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20448
20449 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
20450
20451 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
20452
20453 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
20454 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
20455
20456 2011-09-18 Juri Linkov <juri@jurta.org>
20457
20458 * buff-menu.el (Buffer-menu-mode-map):
20459 * dired.el (dired-mode-map):
20460 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
20461 (lisp-interaction-mode-map):
20462 * emacs-lisp/package.el (package-menu-mode-map):
20463 * epa.el (epa-key-list-mode-map):
20464 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
20465 (menu-bar-options-menu):
20466 * outline.el (outline-mode-menu-bar-map):
20467 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
20468 * vc/vc-dir.el (vc-dir-menu-map):
20469 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
20470 Capitalize non-function content words in menu item strings.
20471
20472 * dired.el (dired-mode-map): Add menu item for
20473 `image-dired-dired-toggle-marked-thumbs'.
20474
20475 2011-09-18 Juri Linkov <juri@jurta.org>
20476
20477 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
20478 to `isearch-case-fold-search' and restore its original value
20479 after the `isearch-mode' call.
20480
20481 2011-09-18 Juri Linkov <juri@jurta.org>
20482
20483 * progmodes/grep.el (grep-process-setup): Don't check code for 1
20484 because `zgrep' returns 1 for successful matches (bug#9226).
20485
20486 2011-09-18 Juri Linkov <juri@jurta.org>
20487
20488 * info.el (Info-extract-menu-node-name): Check the second match
20489 for empty string (second test-case of bug#9528).
20490 (Info-last-preorder): Let-bind `Info-history' to nil to not add
20491 intermediate nodes to the history (first test-case of bug#9528).
20492
20493 2011-09-18 Juri Linkov <juri@jurta.org>
20494
20495 * info.el (Info-mode-syntax-table): New variable.
20496 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
20497
20498 2011-09-18 Juri Linkov <juri@jurta.org>
20499
20500 * info.el (Info-file-supports-index-cookies):
20501 Increment line-beginning-position's arg from 3 to 4 because makeinfo
20502 outputs one more line for long file names (bug#4142).
20503
20504 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20505
20506 * newcomment.el (comment-normalize-vars): If prompting for
20507 comment-start, set comment-start-skip too (Bug#8424).
20508
20509 2011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
20510
20511 * icomplete.el: Fix previous fix of Bug#5849.
20512 (icomplete-mode): Don't set completion-show-inline-help.
20513 (icomplete-minibuffer-setup): Set completion-show-inline-help
20514 locally during icompletion.
20515
20516 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20517
20518 * woman.el (woman2-process-escapes): Don't delete unrecognized
20519 escapes (Bug#7843).
20520
20521 * files.el (inhibit-first-line-modes-regexps): Add image files.
20522 (hack-local-variables-prop-line): Return nil for malformed
20523 prop-lines (Bug#9044).
20524
20525 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
20526
20527 * net/tramp.el (top): Don't require 'shell.
20528 (tramp-methods): Fix docstring.
20529 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
20530 Return complete remote file name. Handle "smb" case.
20531 Use `tramp-tmpdir', if defined for the respective method.
20532 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
20533
20534 * net/tramp-compat.el (top): Require 'shell.
20535
20536 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20537 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
20538 `tramp-current-host'.
20539 (tramp-get-remote-tmpdir): Remove.
20540
20541 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
20542 `tramp-tmpdir' entries.
20543 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
20544 (tramp-smb-handle-file-attributes): Ignore errors.
20545 (tramp-smb-wait-for-output): Check also for process end.
20546
20547 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
20548
20549 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
20550 when sending QUIT (bug#9312).
20551
20552 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
20553
20554 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
20555 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
20556 occur-mode-display-occurrence.
20557 (occur-edit-mode): Add usage message.
20558 (occur-cease-edit): New command.
20559 (occur-after-change-function): Use text properties to find the
20560 position of the prefix text.
20561 (occur-engine): Set stickiness of prefix text properties.
20562
20563 2011-09-17 Glenn Morris <rgm@gnu.org>
20564
20565 * progmodes/etags.el (complete-tag):
20566 Fix call to completion-in-region. (Bug#9526)
20567
20568 2011-09-17 Juri Linkov <juri@jurta.org>
20569
20570 * textmodes/ispell.el (ispell-word): Add to the error message
20571 the word, ispell program name and current dictionary (bug#9121).
20572 (ispell-tex-arg-end): Capitalize "error" in the error message.
20573
20574 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
20575
20576 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
20577 check. (Bug#4251)
20578
20579 2011-09-17 Juri Linkov <juri@jurta.org>
20580
20581 * window.el (window-safe-min-height, window-safe-min-width):
20582 Fix typos (followup to bug#9522).
20583
20584 2011-09-17 Sven Joachim <svenjoac@gmx.de>
20585
20586 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
20587
20588 2011-09-16 Eli Zaretskii <eliz@gnu.org>
20589
20590 * simple.el (line-move): If goal-column is set, move by logical
20591 lines, not by display lines. (Bug#971)
20592 (next-line, previous-line, goal-column, line-move-visual): Doc fix
20593 to reflect the above change.
20594
20595 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
20596
20597 * image.el (imagemagick-register-types): Use regexp-opt.
20598
20599 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20600
20601 * window.el (display-buffer-base-action): Rename from
20602 display-buffer-default-action. Make default value empty.
20603 (display-buffer-overriding-action): Convert to defvar.
20604 (display-buffer-fallback-action): New var.
20605
20606 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20607
20608 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
20609 declaration.
20610 (package--add-to-archive-contents): If there is a duplicate entry
20611 with an older version, remove it.
20612 (package-menu-mark-delete, package-menu-mark-install)
20613 (package-menu-mark-unmark): Make unused args optional.
20614 (package-menu-mark-obsolete-for-deletion):
20615 Use package-menu-get-status instead of a regexp search.
20616 (package-menu-get-status): Use tabulated-list-entry.
20617 (package-menu-mark-upgrades): New command.
20618 (package-menu-mode-map): Bind it to U. Add it to menu bar.
20619 (package-menu-execute): Do installation before deletion.
20620 (package-menu-refresh, package-menu-execute): Use derived-mode-p
20621 instead of checking major-mode.
20622 (package-menu--find-upgrades): New function.
20623
20624 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20625
20626 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
20627 passwords in the log buffer.
20628 (smtpmail-process-filter): Update the process marker so that the
20629 "broken by peer" status message is inserted in the right place.
20630
20631 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
20632
20633 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
20634 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
20635 bibtex-completion-at-point-function.
20636 (bibtex-completion-at-point-function): Use them.
20637
20638 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
20639
20640 * mpc.el (mpc-constraints-tag-lookup): New function.
20641 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
20642 also to browser "album|playlist".
20643
20644 2011-09-14 Juri Linkov <juri@jurta.org>
20645
20646 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
20647 (isearch-edit-string): Use length of `isearch-string' when
20648 `isearch-fail-pos' returns nil.
20649 (isearch-message): Remove duplicate code and call
20650 `isearch-fail-pos' with arg `t'.
20651
20652 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
20653
20654 * replace.el (occur-mode-goto-occurrence): Don't force using other
20655 window (Bug#9499).
20656
20657 * dired-aux.el (dired-do-chmod): Don't provide initial input.
20658
20659 2011-09-14 Martin Rudalics <rudalics@gmx.at>
20660
20661 * window.el (display-buffer-window): Remove.
20662 (display-buffer-record-window): Use help-setup window parameter
20663 instead of variable display-buffer-window.
20664 (display-buffer-function, special-display-buffer-names)
20665 (special-display-function): Mention help-setup parameter instead
20666 of display-buffer-window in doc-string.
20667 * help.el (help-window-setup): New argument help-window.
20668 Use help-window-setup parameter instead of display-buffer-window.
20669 Reword some messages.
20670 (with-help-window): Pass window used for displaying the buffer
20671 to help-window-setup. Don't set display-buffer-window.
20672
20673 2011-09-13 Glenn Morris <rgm@gnu.org>
20674
20675 * emacs-lisp/debug.el (debugger-make-xrefs):
20676 Preserve point. (Bug#9462)
20677
20678 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20679
20680 * window.el (window-deletable-p): Use next-frame.
20681
20682 2011-09-13 Martin Rudalics <rudalics@gmx.at>
20683
20684 * window.el (window-auto-delete): Remove.
20685 (window-deletable-p): Remove argument FORCE. Don't deal with
20686 dedication and previous buffers.
20687 (switch-to-prev-buffer): Don't delete window.
20688 (delete-windows-on): Delete a window's frame if and only if the
20689 window is dedicated.
20690 (replace-buffer-in-windows): Delete buffer's window or frame if
20691 and only if window is dedicated.
20692 (quit-window): Handle quit-restore as before last change.
20693 (bury-buffer): Delete window only if window-deletable-p returns t.
20694
20695 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20696
20697 * window.el (window-deletable-p): Never delete the last frame on a
20698 given terminal.
20699
20700 2011-09-13 Glenn Morris <rgm@gnu.org>
20701
20702 * help.el (describe-key-briefly): Copy previous standard-output change.
20703
20704 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
20705
20706 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
20707
20708 2011-09-13 Glenn Morris <rgm@gnu.org>
20709
20710 * emacs-lisp/lisp-mode.el (lisp-indent-function):
20711 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
20712
20713 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
20714
20715 * dired-aux.el (dired-mark-read-string): Don't return default
20716 value on empty input (Bug#9361).
20717 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
20718 Omit initial minibuffer contents.
20719 (dired-do-chmod): Signal an error on empty input.
20720 (dired-mark-read-string): Don't return default on empty input.
20721
20722 * files.el (file-modes-symbolic-to-number): Doc fix.
20723
20724 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20725
20726 * international/mule-cmds.el (ucs-completions): Remove.
20727 (read-char-by-name): Use complete-with-action instead; add metadata.
20728
20729 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20730
20731 * window.el (display-buffer--action-function-custom-type)
20732 (display-buffer--action-custom-type): New vars.
20733 (display-buffer-alist, display-buffer-default-action)
20734 (display-buffer-overriding-action): Add defcustom types.
20735
20736 * frame.el (delete-other-frames): Doc fix (Bug#276).
20737
20738 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20739
20740 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
20741
20742 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20743
20744 Change modes that used same-window-* vars to use switch-to-buffer.
20745
20746 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
20747 Use switch-to-buffer.
20748
20749 * cus-edit.el (customize-group, custom-buffer-create)
20750 (customize-browse, custom-buffer-create-other-window):
20751 Use switch-to-buffer or switch-to-buffer-other-window.
20752
20753 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
20754 (Info-prev, Info-up, Info-speedbar-goto-node)
20755 (info-display-manual): Use switch-to-buffer.
20756 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
20757
20758 * mail/sendmail.el (mail): Use switch-to-buffer.
20759 (mail-recover): Use switch-to-buffer-other-window.
20760
20761 * cmuscheme.el (run-scheme, switch-to-scheme):
20762 * ielm.el (ielm):
20763 * shell.el (shell):
20764 * net/rlogin.el (rlogin):
20765 * net/telnet.el (telnet, rsh):
20766 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
20767
20768 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20769
20770 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
20771
20772 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20773
20774 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
20775 so don't mention it (bug#9301).
20776 (dired-sort-toggle-or-edit): Clarify string further.
20777
20778 * faces.el (face-spec-set-match-display): Make `(type graphic)'
20779 match `x', `w32' and `ns', like the manual says (bug#9029).
20780
20781 * subr.el (eval-after-load): Doc string clarification (bug#9125).
20782 (process-kill-buffer-query-function): Mention the buffer name in
20783 the query.
20784
20785 * image-mode.el (image-next-line): The line parameter is mandatory
20786 (bug#9258).
20787
20788 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
20789 which can be useful (bug#9301).
20790
20791 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
20792
20793 * subr.el (match-string): Mention that the current buffer should
20794 be the same as the search was done in (bug#9282).
20795
20796 * facemenu.el: Disable the remove-* commands if the mark isn't
20797 active (bug#9162).
20798
20799 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20800
20801 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
20802 of display-buffer.
20803 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
20804
20805 * replace.el (occur-mode-goto-occurrence)
20806 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
20807 and display-buffer.
20808
20809 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
20810 display-buffer.
20811
20812 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
20813 special-display and same-window variables.
20814 (mail-other-window): Use switch-to-buffer-other-window.
20815 (mail-other-frame): USe switch-to-buffer-other-frame.
20816
20817 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
20818 Use display-buffer-other-frame.
20819 (gdb-display-gdb-buffer): Use pop-to-buffer.
20820
20821 * progmodes/gud.el (gud-goto-info): Use info-other-window.
20822
20823 * progmodes/python.el: Don't set same-window-buffer-names.
20824
20825 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
20826
20827 * window.el (display-buffer-alist): Add *Python*.
20828
20829 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20830
20831 * window.el (display-buffer-alist): Add entry for buffers
20832 previously handled same-window-*.
20833 (display-buffer-alist, display-buffer-default-action)
20834 (display-buffer-overriding-action): Mark as risky.
20835 (display-buffer-alist): Document action function changes.
20836 (display-buffer--same-window-action)
20837 (display-buffer--other-frame-action): New variables.
20838 (switch-to-buffer, display-buffer-other-frame): Use them.
20839 (display-buffer): Rename reuse-frame entry to reusable-frames.
20840 (display-buffer-reuse-selected-window): Function deleted.
20841 (display-buffer-reuse-window): Handle reusable-frames alist entry.
20842 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
20843 (display-buffer-special): New function.
20844 (display-buffer--maybe-pop-up-frame-or-window): Rename from
20845 display-buffer-reuse-or-pop-window. Split off special-display
20846 part into display-buffer-special.
20847 (display-buffer-use-some-window): Don't perform any special
20848 pop-up-frames handling.
20849 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
20850 (display-buffer--maybe-same-window): Rename from
20851 display-buffer-maybe-same-window.
20852
20853 * info.el: Don't set same-window-regexps.
20854 (info-setup): New function.
20855 (info-other-window, info): Call it.
20856
20857 * cus-edit.el: Don't set same-window-regexps.
20858 (customize-group): New argument.
20859 (customize-group-other-window): Use it.
20860 (customize-face, customize-face-other-window): Likewise.
20861 (custom-buffer-create-other-window): Use pop-to-buffer directly.
20862
20863 * net/rlogin.el:
20864 * net/telnet.el:
20865 * progmodes/gud.el: Don't set same-window-regexps.
20866
20867 * cmuscheme.el:
20868 * ielm.el:
20869 * shell.el:
20870 * mail/sendmail.el:
20871 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
20872
20873 2011-09-10 Juri Linkov <juri@jurta.org>
20874
20875 * isearch.el (isearch-edit-string): Remove obsolete mention of
20876 `C-w' (`isearch-yank-word-or-char') from docstring.
20877 (isearch-query-replace): Fix typo in docstring (bug#9466).
20878
20879 2011-09-10 Juri Linkov <juri@jurta.org>
20880
20881 * paren.el (show-paren-function): Don't show escaped parens.
20882 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
20883
20884 2011-09-10 Eli Zaretskii <eliz@gnu.org>
20885
20886 * mail/sendmail.el (mml-to-mime, mml-attach-file)
20887 (mm-default-file-encoding): Remove autoload forms, they are
20888 replaced with autoload cookies in mml.el and mm-encode.el.
20889 (mail-add-attachment): New command.
20890 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
20891 (mail-mode): Mention mail-insert-file and mail-add-attachment in
20892 the doc string.
20893 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
20894
20895 2011-09-10 Reuben Thomas <rrt@sc3d.org>
20896
20897 * simple.el (count-words-region): Use buffer if there's no region
20898 (bug#9429).
20899
20900 2011-09-09 Juri Linkov <juri@jurta.org>
20901
20902 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
20903 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
20904 (wdired-isearch-filter-read-only): New function. (Bug#6362)
20905
20906 2011-09-09 Alan Mackenzie <acm@muc.de>
20907
20908 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
20909 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
20910
20911 2011-09-09 Eli Zaretskii <eliz@gnu.org>
20912
20913 Fix for Savannah bug#9392.
20914 * simple.el (mail-encode-mml): New defvar.
20915
20916 * mail/rmail.el (mail-encode-mml): Add a defvar.
20917 (rmail-enable-mime-composing): Default to t.
20918 (rmail-forward): Use MIME method of forwarding only if both
20919 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
20920 Set mail-encode-mml non-nil if the MIME method was used.
20921
20922 * mail/sendmail.el (mml-to-mime): Add autoload form.
20923 (mail-encode-mml): Add a defvar.
20924 (mail-mode): Make mail-encode-mml buffer-local and initialize it
20925 to nil.
20926 (mail-send): If mail-encode-mml is non-nil, run the outgoing
20927 message through mml-to-mime, and reset mail-encode-mml to nil.
20928
20929 2011-09-09 Glenn Morris <rgm@gnu.org>
20930
20931 * woman.el (woman-if-body): When processing an .el block,
20932 do not delete the next .el block as well. (Bug#9447)
20933 (woman-special-characters): Add oq, cq, and hy characters.
20934
20935 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20936
20937 * window.el (window-deletable-p): Make sure window is live before
20938 invoking window-prev-buffers.
20939
20940 2011-09-08 Leo Liu <sdl.web@gmail.com>
20941
20942 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
20943
20944 2011-09-08 Juri Linkov <juri@jurta.org>
20945
20946 * progmodes/compile.el (compilation-environment): Make it
20947 a defcustom (bug#8340).
20948
20949 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20950
20951 * window.el (frame-auto-delete): Rename to window-auto-delete.
20952 Make it control auto-deletion of windows and/or frames.
20953 (window-deletable-p): New argument FORCE. Rewrite conditions
20954 for deleting window/frame. (Bug#9419)
20955 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
20956 Rewrite handling of case when window/frame can be deleted.
20957 (delete-windows-on): Call window-deletable-p with new FORCE
20958 argument t. (Bug#9456)
20959
20960 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
20961
20962 * help-mode.el (help-mode): Restore autoload.
20963
20964 2011-09-07 Juri Linkov <juri@jurta.org>
20965
20966 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
20967 `compilation-environment'. Set buffer-local
20968 `compilation-environment' to `thisenv' later after (funcall mode).
20969 (Bug#8340)
20970
20971 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
20972 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
20973 instead of replacing its value. (Bug#8340)
20974
20975 2011-09-07 Juri Linkov <juri@jurta.org>
20976
20977 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
20978 based on text properties put by `grep-filter' instead of matching
20979 escape sequences.
20980 (grep-mode): Set buffer-local `compilation-error-screen-columns'
20981 to the value of `grep-error-screen-columns' (bug#9438).
20982
20983 2011-09-07 Juri Linkov <juri@jurta.org>
20984
20985 * simple.el (next-error-highlight, next-error-highlight-no-select):
20986 Doc fix (bug#9432).
20987
20988 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
20989
20990 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20991 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
20992
20993 2011-09-07 Leo Liu <sdl.web@gmail.com>
20994
20995 * net/rcirc.el (rcirc-mode): Conditionally initialize
20996 rcirc-input-ring.
20997
20998 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
20999
21000 * emacs-lisp/find-func.el (find-function-C-source): Only set
21001 find-function-C-source-directory after checking that we found a source
21002 file there (bug#9440).
21003
21004 2011-09-06 Alan Mackenzie <acm@muc.de>
21005
21006 * isearch.el (isearch-other-meta-char): Wherever a key list is
21007 unread, "unread" the prefix arg, too. This fixes bug #8901.
21008
21009 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
21010
21011 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
21012
21013 2011-09-05 Juri Linkov <juri@jurta.org>
21014
21015 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
21016
21017 2011-09-05 Juri Linkov <juri@jurta.org>
21018
21019 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
21020 keeping point where processing of grep matches begins, and
21021 continue to delete remaining escape sequences from the same point.
21022 (grep-filter): Make leading zero optional in "0?1;31m" because
21023 git-grep emits "\033[1;31m" escape sequences unlike expected
21024 "\033[01;31m" as GNU Grep does (bug#9408).
21025 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
21026
21027 2011-09-05 Juri Linkov <juri@jurta.org>
21028
21029 * subr.el (y-or-n-p): Capitalize "yes".
21030
21031 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
21032
21033 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
21034 `tramp-cache-unload-hook' where appropriate.
21035 (tramp-methods): Rename `tramp-remote-sh' to
21036 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
21037 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
21038
21039 * net/tramp-sh.el (top): Don't require 'shell.
21040 (tramp-methods): Add `tramp-remote-shell' and
21041 `tramp-remote-shell-args' entries.
21042 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
21043 (tramp-sh-handle-shell-command): Remove.
21044 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21045 Use `tramp-remote-shell'.
21046
21047 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
21048
21049 * mail/sendmail.el (sendmail-query-once-function): Delete.
21050 (sendmail-query-once): Save directly to send-mail-function.
21051 Update message-send-mail-function too.
21052
21053 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
21054
21055 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21056
21057 * progmodes/python.el (python-mode-map): Use correct function to
21058 start python interpreter from menu-bar (as reported by Geert
21059 Kloosterman).
21060 (inferior-python-mode-map): Fix typo.
21061 (python-shell-map): Remove.
21062
21063 2011-09-03 Deniz Dogan <deniz@dogan.se>
21064
21065 * net/rcirc.el (rcirc-print): Simplify code for
21066 rcirc-scroll-show-maximum-output. There is no need to walk
21067 through all windows to find the right one.
21068
21069 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21070
21071 * help.el (help-return-method): Doc fix.
21072
21073 2011-09-03 Martin Rudalics <rudalics@gmx.at>
21074
21075 * window.el (window-deletable-p): Don't return a non-nil value
21076 when there's a buffer that was shown in the window before.
21077 (Bug#9419)
21078 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
21079 Set window's previous buffers to nil.
21080
21081 2011-09-03 Eli Zaretskii <eliz@gnu.org>
21082
21083 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
21084 newline before and after the tag line, so it doesn't interfere
21085 with determining the paragraph direction of bidirectional text.
21086
21087 2011-09-03 Leo Liu <sdl.web@gmail.com>
21088
21089 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
21090
21091 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21092
21093 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
21094 (pop-to-buffer): Change interactive spec. Pass second argument
21095 directly to display-buffer.
21096 (display-buffer): Fix interactive spec. Use functionp to
21097 distinguish between a function and a list of functions.
21098
21099 * abbrev.el (edit-abbrevs):
21100 * arc-mode.el (archive-extract):
21101 * autoinsert.el (auto-insert):
21102 * bookmark.el (bookmark-bmenu-list):
21103 * files.el (find-file):
21104 * view.el (view-buffer):
21105 * progmodes/compile.el (compilation-goto-locus):
21106 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
21107
21108 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21109
21110 * window.el (display-buffer-alist): Doc fix.
21111 (display-buffer): Add docstring. Don't treat
21112 display-buffer-default specially.
21113 (display-buffer-reuse-selected-window)
21114 (display-buffer-same-window, display-buffer-maybe-same-window)
21115 (display-buffer-reuse-window, display-buffer-pop-up-frame)
21116 (display-buffer-pop-up-window)
21117 (display-buffer-reuse-or-pop-window)
21118 (display-buffer-use-some-window): New functions.
21119 (display-buffer-default-action): Use them.
21120 (display-buffer-default): Delete.
21121 (pop-to-buffer-1): Fix choice of actions.
21122
21123 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
21124
21125 * minibuffer.el (completion--insert-strings): Don't get confused by
21126 completion entries that end with an LF char.
21127
21128 2011-09-01 Eli Zaretskii <eliz@gnu.org>
21129
21130 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
21131
21132 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
21133
21134 * window.el (display-buffer): Restore interactive spec.
21135 (display-buffer-same-window, display-buffer-other-window):
21136 New functions.
21137 (pop-to-buffer-1): New function. Use the above.
21138 (pop-to-buffer, pop-to-buffer-same-window): Use it.
21139 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
21140
21141 * view.el (view-buffer-other-window, view-buffer-other-frame):
21142 Just use pop-to-buffer.
21143
21144 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
21145
21146 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
21147
21148 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
21149
21150 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
21151
21152 2011-08-31 Richard Stallman <rms@gnu.org>
21153
21154 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
21155 of the separation of rmail-view-buffer from rmail-buffer.
21156 If you say no to "replace original", the decrypt is in the
21157 view buffer. If you say yes, the decrypt goes into the
21158 rmail buffer also.
21159
21160 2011-08-31 Martin Rudalics <rudalics@gmx.at>
21161
21162 * window.el (display-buffer-window): Rewrite doc-string.
21163 (display-buffer-record-window): New function.
21164 (display-buffer-macro-specifiers)
21165 (display-buffer-even-window-sizes, display-buffer-set-height)
21166 (display-buffer-set-width, display-buffer-in-window)
21167 (display-buffer-reuse-window, display-buffer-split-specifiers)
21168 (display-buffer-side-specifiers, display-buffer-split-window-1)
21169 (display-buffer-split-window, display-buffer-split-atom-window)
21170 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21171 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
21172 (display-buffer-other-window-means-other-frame)
21173 (display-buffer-normalize-special)
21174 (display-buffer-normalize-default)
21175 (display-buffer-normalize-argument)
21176 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
21177 (display-buffer-normalize-specifiers, display-buffer-frame)
21178 (display-buffer-same-window, display-buffer-same-frame)
21179 (display-buffer-other-window)
21180 (display-buffer-same-frame-other-window)
21181 (display-buffer-other-frame, pop-to-buffer-same-window)
21182 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
21183 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
21184 (switch-to-buffer-same-frame)
21185 (switch-to-buffer-other-window-same-frame)
21186 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
21187 (display-buffer-alist-set-1, display-buffer-alist-set-2)
21188 (display-buffer-alist-set): Remove.
21189 (display-buffer-function, special-display-buffer-names)
21190 (special-display-regexps, special-display-function):
21191 In doc-string refer to display-buffer-window and quit-restore
21192 parameter.
21193 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
21194 (special-display-frame-alist, special-display-popup-frame)
21195 (same-window-buffer-names, same-window-regexps, same-window-p)
21196 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21197 (split-window-preferred-function, split-height-threshold)
21198 (split-width-threshold, window-splittable-p)
21199 (split-window-sensibly, window--try-to-split-window)
21200 (window--frame-usable-p, even-window-heights)
21201 (window--even-window-heights, window--display-buffer-1)
21202 (window--display-buffer-2, display-buffer-other-frame):
21203 Restore old Emacs 23 code, order and doc-strings where applicable.
21204 (display-buffer-default, display-buffer-assq-regexp): New functions.
21205 (display-buffer-alist): Rewrite doc-string.
21206 (display-buffer-default-action)
21207 (display-buffer-overriding-action): New variables.
21208 (display-buffer, switch-to-buffer): Rewrite.
21209 (pop-to-buffer): Restore Emacs 23 behavior but use
21210 window-normalize-buffer-to-display.
21211 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
21212 Restore Emacs 23 behavior but use
21213 window-normalize-buffer-to-switch-to.
21214 (pop-to-buffer-same-window): Rewrite.
21215 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
21216 Rewrite using Emacs 23 options.
21217
21218 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
21219
21220 * net/tramp.el (tramp-root-regexp): Remove.
21221 (tramp-completion-file-name-regexp-unified)
21222 (tramp-completion-file-name-regexp-separate)
21223 (tramp-completion-file-name-regexp-url): Don't use leading volume
21224 letter on w32 systems. (Bug#5303, Bug#9311)
21225 (tramp-drop-volume-letter): Simplify definition.
21226 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
21227
21228 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
21229
21230 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
21231 (bug#9356).
21232
21233 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
21234
21235 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
21236
21237 2011-08-29 Juri Linkov <juri@jurta.org>
21238
21239 * isearch.el (isearch-done): Don't display message "Mark saved"
21240 when arg `edit' is non-nil to prevent its flicker in the echo area.
21241
21242 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21243
21244 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
21245 obsolete packages for deletion.
21246
21247 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
21248
21249 * help-mode.el (help-mode-map): Add special-mode-map to parent.
21250 (help-mode): Derive help-mode from special-mode. Don't invoke
21251 view-mode from help-mode.
21252 (help-xref-override-view-map): Remove.
21253 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
21254 view-mode is not used anymore.
21255
21256 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21257
21258 * server.el (server-port): Doc fix.
21259
21260 * cus-theme.el (custom-theme-choose-mode): Inherit from
21261 special-mode (Bug#9124).
21262 (custom-theme-choose-mode-map): Add special-mode to parent.
21263
21264 2011-08-28 Alan Mackenzie <acm@muc.de>
21265
21266 * progmodes/cc-fonts.el
21267 (c-make-font-lock-BO-decl-search-function): New function.
21268 (c-basic-matchers-after - "Fontify the clauses after various
21269 keywords"): Extract the three keyword lists for the 3 erroneous
21270 constructs from the list of four, and use the new function above
21271 in place of an old one.
21272
21273 2011-08-28 Deniz Dogan <deniz@dogan.se>
21274
21275 * net/rcirc.el (rcirc-insert-prev-input)
21276 (rcirc-insert-next-input): Remove unused argument.
21277
21278 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21279
21280 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
21281
21282 2011-08-27 Alan Mackenzie <acm@muc.de>
21283
21284 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
21285 handle function pointer parameters properly.
21286
21287 2011-08-27 Martin Rudalics <rudalics@gmx.at>
21288
21289 * window.el (display-buffer-reuse-window): Fix case where
21290 selected window was reused with non-nil OTHER-WINDOW argument.
21291 (Bug#9381)
21292
21293 2011-08-27 Deniz Dogan <deniz@dogan.se>
21294
21295 * net/rcirc.el (rcirc-check-auth-status): Adding support for
21296 oftc's NickServ messages.
21297
21298 2011-08-27 Glenn Morris <rgm@gnu.org>
21299
21300 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
21301
21302 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
21303
21304 * emacs-lisp/package.el (package-install): Call package-initialize
21305 if called interactively.
21306
21307 2011-08-26 Leo Liu <sdl.web@gmail.com>
21308
21309 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
21310
21311 2011-08-25 Juri Linkov <juri@jurta.org>
21312
21313 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
21314 `search-whitespace-regexp' (bug#9364).
21315
21316 2011-08-25 Juri Linkov <juri@jurta.org>
21317
21318 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
21319 `regexp-search-ring' to their global values to protect from
21320 updating by `read-from-minibuffer' (bug#9185).
21321
21322 2011-08-25 Juri Linkov <juri@jurta.org>
21323
21324 * textmodes/ispell.el (ispell-command-loop): Add newline
21325 at the end of the "Use option `i'..." line.
21326
21327 2011-08-25 Juri Linkov <juri@jurta.org>
21328
21329 * battery.el (display-battery-mode): If `battery-status-function'
21330 or `battery-mode-line-format' is nil, display the message and set
21331 `display-battery-mode' to nil (bug#9363).
21332
21333 2011-08-25 Eli Zaretskii <eliz@gnu.org>
21334
21335 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
21336 bidi-string-mark-left-to-right; they are unnecessary now.
21337
21338 2011-08-25 Deniz Dogan <deniz@dogan.se>
21339
21340 * net/quickurl.el: Documentation typo fixes.
21341
21342 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
21343
21344 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
21345
21346 2011-08-25 Glenn Morris <rgm@gnu.org>
21347
21348 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
21349
21350 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
21351 (smtpmail-via-smtp): Handle nil response from smtp.
21352
21353 2011-08-24 Juri Linkov <juri@jurta.org>
21354
21355 * proced.el (proced-marked): Inherit from `error' instead of
21356 `font-lock-warning-face'.
21357
21358 * ibuffer.el (ibuffer-marked-face): Change default face from
21359 `font-lock-warning-face' to `warning'.
21360 (ibuffer-deletion-face): Change default face from
21361 `font-lock-type-face' to `error'.
21362
21363 * battery.el (battery-update): Use the face `error' instead of
21364 `font-lock-warning-face' (bug#6117).
21365
21366 2011-08-24 Juri Linkov <juri@jurta.org>
21367
21368 * faces.el (success): Change face color from "Green3" to
21369 "ForestGreen" on light background (bug#9353).
21370
21371 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
21372
21373 * window.el (quit-window): Rename from quit-restore-window.
21374 Use same arglist as old quit-window.
21375 (frame-auto-delete): Doc fix.
21376
21377 * view.el (view-mode-exit): Use quit-window.
21378
21379 2011-08-24 Juri Linkov <juri@jurta.org>
21380
21381 * isearch.el (isearch-ring-adjust1): Start visiting previous
21382 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
21383 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
21384 for empty search string (when the last search string is reused
21385 automatically) to adjust the isearch ring to the last element and
21386 prepare the correct index for further M-p commands (bug#9185).
21387
21388 2011-08-24 Kenichi Handa <handa@m17n.org>
21389
21390 * international/ucs-normalize.el: If decomposition property of
21391 CHAR is the default one (i.e. a list of CHAR itself), treat it as
21392 nil.
21393 (nfd, nfkd): Likewise.
21394
21395 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21396
21397 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
21398 from process filters aren't reliably transmitted to the surrounding
21399 accept-process-output.
21400 (mpc-proc-check): New function.
21401 (mpc-proc-sync): Use it (bug#8293)
21402
21403 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21404
21405 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
21406 Add compatibility functions (bug#9313).
21407
21408 2011-08-23 Eli Zaretskii <eliz@gnu.org>
21409
21410 * cus-start.el (all): Add entry for bidi-paragraph-direction.
21411
21412 * international/uni-bidi.el: Regenerate.
21413
21414 2011-08-23 Kenichi Handa <handa@m17n.org>
21415
21416 * international/charprop.el:
21417 * international/uni-bidi.el:
21418 * international/uni-category.el:
21419 * international/uni-combining.el:
21420 * international/uni-comment.el:
21421 * international/uni-decimal.el:
21422 * international/uni-decomposition.el:
21423 * international/uni-digit.el:
21424 * international/uni-lowercase.el:
21425 * international/uni-mirrored.el:
21426 * international/uni-name.el:
21427 * international/uni-numeric.el:
21428 * international/uni-old-name.el:
21429 * international/uni-titlecase.el:
21430 * international/uni-uppercase.el: Regenerate.
21431
21432 2011-08-23 Martin Rudalics <rudalics@gmx.at>
21433
21434 * help.el (help-window-setup): Fix message displayed when other
21435 window is reused. (Bug#9341)
21436
21437 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21438
21439 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
21440 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
21441
21442 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
21443 Mark obsolete.
21444 * shell.el (shell-parse-pcomplete-arguments): New function.
21445 (shell-completion-vars): Use it instead (bug#9160).
21446
21447 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
21448
21449 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
21450 strings and comments (bug#9333).
21451
21452 * emacs-lisp/debug.el (debug-arglist): New function.
21453 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
21454 (debug-on-entry-1): Handle interpreted closures (bug#9120).
21455
21456 2011-08-22 Juri Linkov <juri@jurta.org>
21457
21458 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21459 Revert regexp that highlights output switches to its old
21460 pre-2010-10-28 value and remove one `?' from it (bug#9319).
21461
21462 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
21463 to check for empty output (bug#9226).
21464
21465 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
21466
21467 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
21468 symbol-constituent as the default, as that stops font-lock from
21469 working properly (Bug#8843).
21470
21471 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21472
21473 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
21474 `coding-system-for-*' around the process open call to avoid
21475 auth-source side effects.
21476 (smtpmail-try-auth-methods): Expand the secret password.
21477 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
21478 probe hangs.
21479
21480 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21481
21482 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
21483
21484 * emacs-lisp/find-func.el (find-function-noselect): New arg
21485 lisp-only.
21486
21487 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
21488 signal an error for built-in functions (Bug#6664).
21489
21490 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21491
21492 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
21493 (smtpmail-try-auth-methods): Use it.
21494
21495 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21496
21497 * font-lock.el (font-lock-fontify-region)
21498 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
21499 (font-lock-default-unfontify-buffer)
21500 (font-lock-default-fontify-region)
21501 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
21502
21503 * progmodes/compile.el (compilation-error-properties):
21504 Fix confusion between file struct and message struct (Bug#9319).
21505 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
21506 `ant' regexp.
21507
21508 * net/browse-url.el (browse-url-firefox): Don't call
21509 browse-url-firefox-sentinel unless using -remote (Bug#9328).
21510
21511 2011-08-20 Glenn Morris <rgm@gnu.org>
21512
21513 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
21514
21515 * tutorial.el (tutorial--default-keys): Update some default bindings.
21516
21517 * files.el (hack-local-variables): Fully ignore case for "mode:".
21518
21519 2011-08-20 Alan Mackenzie <acm@muc.de>
21520
21521 Resolve invalid use of a regexp in regexp-opt.
21522
21523 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
21524 detection for a java annotation.
21525
21526 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
21527 detection for a java annotation.
21528
21529 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
21530 handling for java.
21531 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
21532
21533 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
21534
21535 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
21536 (Bug#9274).
21537
21538 2011-08-20 Alan Mackenzie <acm@muc.de>
21539
21540 Fontify CPP expressions correctly when starting in the middle of
21541 such a construct. Mainly for when jit-lock etc. starts a chunk
21542 here.
21543
21544 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
21545 variable.
21546 (c-make-font-lock-search-form): New function, extracted from
21547 c-make-font-lock-search-function.
21548 (c-make-font-lock-search-function): Use the above function.
21549 (c-make-font-lock-context-search-function): New function.
21550 (c-cpp-matchers): Enhance the preprocessor expression case with
21551 the above function
21552 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
21553 which takes an expression.
21554
21555 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
21556
21557 2011-08-20 Martin Rudalics <rudalics@gmx.at>
21558
21559 * window.el (display-buffer-reuse-window)
21560 (display-buffer-pop-up-window): Don't reuse or split a side
21561 window.
21562
21563 2011-08-19 Glenn Morris <rgm@gnu.org>
21564
21565 * files.el (hack-local-variables-prop-line, hack-local-variables):
21566 Downcase "Mode:". (Bug#9331)
21567
21568 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
21569
21570 * international/characters.el: Add L and R categories.
21571
21572 * subr.el (bidi-string-mark-left-to-right): Rename from
21573 string-mark-left-to-right. Use category search.
21574
21575 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
21576
21577 2011-08-18 Juri Linkov <juri@jurta.org>
21578
21579 * faces.el (error, warning, success): New faces with definitions
21580 copied from old default values of `font-lock-warning-face',
21581 `compilation-warning', `compilation-info' (bug#6117).
21582
21583 * font-lock.el (font-lock-warning-face): Inherit from `error'.
21584
21585 * progmodes/compile.el (compilation-error): Inherit from `error'.
21586 (compilation-warning): Inherit from `warning'.
21587 (compilation-info): Inherit from `success'.
21588
21589 * dired.el (dired-marked): Inherit from `warning'.
21590 (dired-flagged): Inherit from `error'.
21591
21592 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21593
21594 * mail/smtpmail.el (auth-source): Require to avoid problems with
21595 binding variables (bug#9298). Also clean up some unused
21596 autoloads.
21597
21598 * net/network-stream.el (network-stream-open-starttls):
21599 Support using starttls.el without using gnutls-cli.
21600
21601 2011-08-17 Juri Linkov <juri@jurta.org>
21602
21603 * progmodes/grep.el (rgrep): Handle the case when
21604 `grep-find-command' is a cons cell (bug#9278).
21605
21606 2011-08-17 Martin Rudalics <rudalics@gmx.at>
21607
21608 * window.el (display-buffer-pop-up-frame): Run frame creation
21609 function with BUFFER current (as special-display-popup-frame
21610 does). Reported by Drew Adams.
21611
21612 2011-08-17 Daiki Ueno <ueno@unixuser.org>
21613
21614 * epa-mail.el: Simplify GnuPG group expansion using
21615 epg-expand-group.
21616 (epa-mail-group-alist, epa-mail-group-modtime)
21617 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
21618 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
21619 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
21620 Remove.
21621
21622 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
21623
21624 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
21625
21626 2011-08-16 Alan Mackenzie <acm@muc.de>
21627
21628 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
21629 Correct, to avoid the inside of macros.
21630
21631 2011-08-16 Richard Stallman <rms@gnu.org>
21632
21633 * epa-mail.el: Handle GnuPG group definitions.
21634 (epa-mail-group-alist, epa-mail-group-modtime)
21635 (epa-mail-gnupg-conf-file): New variables.
21636 (epa-mail-parse-groups, epa-mail-sync-groups)
21637 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
21638 (epa-mail-expand-recipients): New functions.
21639 (epa-mail-encrypt): Call epa-mail-expand-recipients.
21640
21641 * mail/rmail.el (rmail-epa-decrypt): New command.
21642
21643 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
21644 Don't bind buffer-read-only, just inhibit-read-only.
21645 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
21646 (epa-decrypt-armor-in-region): Make error message clearer.
21647
21648 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
21649
21650 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
21651 and "a2b" to "ab" for `prefix'.
21652
21653 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
21654
21655 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
21656 filter groups.
21657 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
21658 Fourquet (Bug#8804).
21659
21660 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
21661
21662 * startup.el (argi): Declare as global variable (bug#9275).
21663
21664 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
21665
21666 * subr.el (string-mark-left-to-right): Search the entire string
21667 for RTL script, not just the terminating character. Doc fix.
21668
21669 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
21670
21671 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
21672 New function.
21673 (js--regexp-literal, js-syntax-propertize-function): Remove.
21674 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
21675 (js-mode-map): Don't rebind electric keys.
21676 (js-insert-and-indent): Remove.
21677 (js-mode): Setup electric-layout and electric-indent instead.
21678
21679 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
21680
21681 2011-08-12 Daiki Ueno <ueno@unixuser.org>
21682
21683 * epa.el (epa-progress-callback-function): Fix the logic of
21684 displaying progress.
21685 * epa-file.el (epa-file-insert-file-contents): Make progress
21686 display more user-friendly.
21687 (epa-file-write-region): Ditto.
21688
21689 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
21690
21691 * subr.el (string-mark-left-to-right): New function.
21692
21693 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
21694 Use string-mark-left-to-right.
21695 (list-buffers-noselect): Caller changed.
21696
21697 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21698 Use string-mark-left-to-right.
21699 (tabulated-list-print): Recenter after moving point.
21700
21701 2011-08-10 Juri Linkov <juri@jurta.org>
21702
21703 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
21704 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
21705 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
21706
21707 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
21708
21709 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
21710 (Bug#7554).
21711
21712 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
21713
21714 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
21715 character. (Bug#6594)
21716
21717 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
21718
21719 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
21720 (image-dired--with-db-file): New macro.
21721 (image-dired-write-tags, image-dired-remove-tag)
21722 (image-dired-create-gallery-lists, image-dired-write-comments)
21723 (image-dired-get-comment, image-dired-mark-tagged-files)
21724 (image-dired-list-tags, image-dired-gallery-generate): Use it.
21725 (image-dired-gallery-generate): Use insert-file-contents.
21726
21727 * time.el (display-time-world-list, display-time-world-display):
21728 * time-stamp.el (time-stamp-string):
21729 * vc/add-log.el (add-change-log-entry): Use setenv instead of
21730 set-time-zone-rule (Bug#7337).
21731
21732 2011-08-08 Daiki Ueno <ueno@unixuser.org>
21733
21734 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
21735 (epg-error-to-string, epg-errors-to-string): New function.
21736 (epg-wait-for-completion): Reverse errors list.
21737 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
21738 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
21739 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
21740 (epg-sign-keys, epg-generate-key-from-file)
21741 (epg-generate-key-from-string): Format errors by using
21742 epg-errors-to-string (bug#9255).
21743 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
21744
21745 2011-08-07 Juri Linkov <juri@jurta.org>
21746
21747 * faces.el (list-faces-display): Remove extra angle bracket
21748 from `help-mode-map'.
21749
21750 * info.el (Info-history-toc-nodes): Doc fix.
21751
21752 * longlines.el (longlines-mode): Doc fix.
21753
21754 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
21755
21756 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
21757 of statements and in a few more cases (bug#9183).
21758
21759 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
21760 New functions.
21761 (cl-transform-lambda): Use them (bug#9239).
21762
21763 2011-08-05 Martin Rudalics <rudalics@gmx.at>
21764
21765 * window.el (display-buffer-same-window)
21766 (display-buffer-same-frame, display-buffer-other-window)
21767 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21768 (pop-to-buffer-other-window)
21769 (pop-to-buffer-same-frame-other-window)
21770 (pop-to-buffer-other-frame): Make them defuns.
21771 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
21772
21773 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21774
21775 * subr.el (make-composed-keymap): Move from C. Change calling
21776 convention, and improve docstring to bring attention to a subtle point.
21777 * minibuffer.el (completing-read-default): Adjust accordingly.
21778
21779 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
21780
21781 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
21782 (tramp-open-shell): Use `tramp-shell-quote-argument'.
21783
21784 * net/trampver.el: Update release number.
21785
21786 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21787
21788 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
21789 "in" (bug#9190).
21790
21791 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21792
21793 * mail/sendmail.el (sendmail-query-once): Restore the current
21794 buffer after querying (bug#9074).
21795
21796 * dired.el (dired-flagged): Use different faces for marked and
21797 flagged files (bug#6117).
21798
21799 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
21800 (bug#4433).
21801
21802 * ido.el (ido-mode): Switch off the message if called
21803 non-interactively.
21804
21805 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
21806 before 587, since it appears that that's more likely to work for
21807 more people.
21808
21809 * cus-edit.el (custom-file): When running under emacs -q, always
21810 refuse to save the customizations, even if the .emacs file doesn't
21811 exist.
21812
21813 * info.el: Remove the `Info-beginning-of-buffer' function
21814 (bug#8325).
21815
21816 * net/network-stream.el (network-stream-open-starttls):
21817 Use `starttls-available-p' to see whether starttls.el can be used.
21818
21819 2011-08-01 Martin Rudalics <rudalics@gmx.at>
21820
21821 * window.el (display-buffer-in-window): Don't set dedicated status
21822 of window here (Bug#9215).
21823 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21824 (display-buffer-pop-up-side-window)
21825 (display-buffer-in-side-window): Set dedicated status of window here.
21826
21827 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
21828
21829 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
21830 before binding generated-autoload-file.
21831
21832 2011-08-01 Deniz Dogan <deniz@dogan.se>
21833
21834 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
21835
21836 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
21837
21838 Sync with Tramp 2.2.2.
21839
21840 * net/trampver.el: Update release number.
21841
21842 2011-07-30 Juri Linkov <juri@jurta.org>
21843
21844 * dired-aux.el (dired-touch-initial): Remove function.
21845 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
21846 current time, and `default' to the last modification time of the
21847 current marked file (bug#6887).
21848
21849 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
21850
21851 * simple.el (goto-line): Use string-to-number to provide a
21852 numeric argument to read-number (bug#9163).
21853
21854 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
21855
21856 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
21857 connection process, it could be nil.
21858
21859 2011-07-27 Leo Liu <sdl.web@gmail.com>
21860
21861 Simplify url handling in rcirc-mode.
21862
21863 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
21864 (rcirc-browse-url-at-mouse): Remove.
21865 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
21866
21867 2011-07-26 Alan Mackenzie <acm@muc.de>
21868
21869 Fontify bitfield declarations properly.
21870
21871 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
21872 (c-symbol-chars): Now exported as a lang variable.
21873 (c-not-primitive-type-keywords): New lang variable.
21874
21875 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
21876 QT keyword "more" to prevent "more slots: ...." being spuriously
21877 parsed as a bitfield declaration.
21878
21879 * progmodes/cc-engine.el (c-beginning-of-statement-1):
21880 Refactor and enhance to handle bitfield declarations.
21881 (c-punctuation-in): New function.
21882 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
21883 declarations properly.
21884
21885 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
21886
21887 * calendar/icalendar.el (icalendar--all-events): Take care of
21888 multiple vcalendars in a single file.
21889 (icalendar--convert-float-to-ical): Checkdoc fixes.
21890
21891 2011-07-25 Deniz Dogan <deniz@dogan.se>
21892
21893 * image.el (insert-image): Clarifying docstring.
21894
21895 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
21896
21897 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
21898 `tramp-send-command-and-check' if there is no error.
21899 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
21900
21901 2011-07-22 Alan Mackenzie <acm@muc.de>
21902
21903 Prevent cc-langs.elc being loaded at run time.
21904
21905 * progmodes/cc-mode.el: Remove two autoload forms which loaded
21906 cc-langs.
21907
21908 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
21909 "(require 'cc-langs)". Quote a form so it will evaluate at
21910 (cc-mode's) compilation time.
21911
21912 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
21913
21914 * net/tramp.el (tramp-file-name-handler): Avoid recursive
21915 loading. (Bug#9114)
21916
21917 2011-07-21 Martin Rudalics <rudalics@gmx.at>
21918
21919 * window.el (display-buffer-pop-up-window)
21920 (display-buffer-pop-up-side-window)
21921 (display-buffer-in-side-window): Call display-buffer-set-height
21922 and display-buffer-set-width after setting the new window's
21923 buffer so `fit-window-to-buffer' and friends work on the right buffer.
21924
21925 2011-07-20 Sam Steingold <sds@gnu.org>
21926
21927 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
21928 (etags-tags-included-tables): Call `convert-standard-filename' on
21929 the file names contained in TAGS so that windows Emacs can handle
21930 TAGS files created by cygwin ctags.
21931
21932 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
21933
21934 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
21935 which apparently didn't work.
21936
21937 2011-07-19 Roland Winkler <winkler@gnu.org>
21938
21939 * proced.el (proced-send-signal): For *Marked Processes* buffer
21940 put point at beginning of buffer.
21941
21942 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
21943
21944 * proced.el (proced-format): Make header lines align with the text
21945 (bug#1779).
21946
21947 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21948
21949 * view.el (view-buffer): Allow running in `special' modes if we're
21950 visiting a file (bug#8615).
21951
21952 2011-07-19 Martin Rudalics <rudalics@gmx.at>
21953
21954 * window.el (display-buffer-alist-of-strings-p)
21955 (display-buffer-alist-set-1, display-buffer-alist-set-2):
21956 New functions.
21957 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
21958 more accurately.
21959
21960 2011-07-18 Alan Mackenzie <acm@muc.de>
21961
21962 Fontify declarators properly when, e.g., a jit-lock chunk begins
21963 inside a declaration.
21964
21965 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
21966
21967 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21968 New function.
21969 (c-complex-decl-matchers): Insert reference to
21970 c-font-lock-enclosing-decls.
21971
21972 * progmodes/cc-engine.el (c-backward-single-comment):
21973 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
21974 to nil around calls to (forward-comment -1).
21975
21976 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21977
21978 * image.el (put-image): Doc typo fix.
21979
21980 * progmodes/etags.el (tags-search): Doc typo fix.
21981
21982 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
21983 password if we get errors 550 to 554.
21984
21985 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
21986
21987 * net/gnutls.el (gnutls-log-level): Remove.
21988
21989 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
21990 indentation character (bug#6380).
21991
21992 * files.el (buffer-offer-save): Made permanently local (bug#6241).
21993
21994 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
21995 to clarify what the problem is (bug#4291).
21996
21997 * simple.el (current-kill): Clarify what
21998 `interprogram-paste-function' does (bug#7500).
21999 (auto-fill-mode): Document `auto-fill-function' in relation to
22000 `auto-fill-mode' (bug#2470).
22001
22002 2011-07-16 Lawrence Mitchell <wence@gmx.li>
22003
22004 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
22005 method if slot is read-only (bug#9035).
22006
22007 2011-07-16 Martin Rudalics <rudalics@gmx.at>
22008
22009 * frame.el (select-frame-set-input-focus): New argument NORECORD.
22010 * window.el (pop-to-buffer): Select window used even if it was
22011 selected before, see discussion of (Bug#8615), (Bug#6954).
22012 Pass argument NORECORD on to select-frame-set-input-focus.
22013
22014 2011-07-15 Glenn Morris <rgm@gnu.org>
22015
22016 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
22017 Respect help-form.
22018
22019 2011-07-09 Lawrence Mitchell <wence@gmx.li>
22020
22021 * net/gnutls.el (gnutls-min-prime-bits): New variable.
22022 (gnutls-negotiate): Use it.
22023
22024 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22025
22026 * net/gnutls.el (gnutls-negotiate):
22027 Upcase `gnutls-algorithm-priority'.
22028
22029 2011-07-15 Glenn Morris <rgm@gnu.org>
22030
22031 * jka-compr.el (jka-compr-verbose): Move from here...
22032 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
22033 Add missing :version tag.
22034 * info.el: No need to require jka-compr when compiling.
22035
22036 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22037
22038 * net/gnutls.el (gnutls-algorithm-priority): New variable.
22039 (gnutls-negotiate): Use it.
22040
22041 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
22042
22043 * info.el (Info-beginning-of-buffer): New command.
22044 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
22045 announcing `b' as the key (bug#8325).
22046 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
22047
22048 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
22049
22050 * international/mule-cmds.el
22051 (describe-specified-language-support): Make the error message
22052 clearer (bug#8905).
22053
22054 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
22055
22056 * isearch.el (isearch-barrier): Add a doc string, since it's
22057 mentioned in a function doc string (bug#8678).
22058
22059 2011-07-15 Martin Rudalics <rudalics@gmx.at>
22060
22061 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
22062 buffer argument (Bug#9083) and self-identifying label argument.
22063
22064 2011-07-15 Glenn Morris <rgm@gnu.org>
22065
22066 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
22067
22068 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22069
22070 * man.el (Man-fontify-manpage): Fix message when formatting the
22071 man page (bug#7929).
22072
22073 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22074
22075 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
22076 argument LRM; if non-nil, append an invisible LRM character to the
22077 buffer name.
22078 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
22079 last argument non-nil, when formatting buffer names.
22080 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
22081 paragraph direction.
22082
22083 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22084
22085 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
22086 the man page name (bug#7929).
22087
22088 * image.el (put-image): Mention the `put-image' overlay property
22089 (bug#7834).
22090
22091 * scroll-bar.el (set-scroll-bar-mode): Mention that
22092 `scroll-bar-mode' lists the values (bug#7772).
22093
22094 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
22095 command (bug#7729).
22096
22097 * rect.el (apply-on-rectangle): Return the point after the last
22098 operation.
22099 (string-rectangle): Go to the point after the last operation
22100 (bug#7522).
22101
22102 * printing.el (pr-toggle-region): Clarify the documentation
22103 slightly (bug#7493).
22104
22105 * time.el (display-time-update):
22106 Allow `display-time-mail-function' to return nil (bug#7158).
22107 Fix suggested by Detlev Zundel.
22108
22109 * vc/diff.el (diff): Clarify the order the file names are read
22110 (bug#7111).
22111
22112 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
22113 the doc string (bug#7015).
22114
22115 * font-lock.el (font-lock-maximum-decoration): Mention what
22116 numeric levels mean (bug#6935).
22117
22118 * startup.el (initial-buffer-choice): Don't mention the `none'
22119 selection, which is against policy.
22120
22121 2011-07-14 Martin Rudalics <rudalics@gmx.at>
22122
22123 * window.el (display-buffer-normalize-special):
22124 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
22125
22126 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22127
22128 * subr.el (version<, version<=, version=): Mention "-CVS" and
22129 "-12345" alpha version numbers.
22130
22131 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22132
22133 * bindings.el: Add advertised binding for set-mark-command
22134 (Bug#5772).
22135
22136 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22137
22138 * bindings.el (mode-line-other-buffer):
22139 * bookmark.el (bookmark-bmenu-2-window):
22140 * bs.el (bs-cycle-next, bs-cycle-previous):
22141 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
22142 switch-to-buffer.
22143
22144 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22145 Delete.
22146
22147 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
22148
22149 * follow.el (follow-debug-message, follow-redisplay):
22150 * jka-cmpr-hook.el (with-auto-compression-mode):
22151 Fix typos in docstrings.
22152
22153 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22154
22155 * subr.el (with-silent-modifications): Clarify somewhat what the
22156 macro inhibits (bug#6525).
22157
22158 * simple.el (eval-expression): Note what it does if called
22159 interactively (bug#6495).
22160
22161 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22162
22163 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
22164 Use pop-to-buffer buffer-or-name if it is nil.
22165
22166 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22167 Remove switch-to-buffer.
22168
22169 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22170
22171 * files.el (make-directory): Clarify that an error will be raised
22172 if there's an error (bug#6397).
22173
22174 * startup.el (initial-buffer-choice): Add `none' as a choice
22175 (bug#6234).
22176
22177 * subr.el (add-hook): Clarify section about buffer-local hooks
22178 (bug#6218).
22179
22180 * dired.el (dired-flagged): Clarify doc string (bug#6117).
22181
22182 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22183
22184 * tabify.el (untabify): Preserve the current column so that point
22185 doesn't move (bug#6032).
22186
22187 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22188
22189 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
22190 Rewrite to avoid awkward possessive "s" (bug#5986).
22191
22192 2011-07-13 Glenn Morris <rgm@gnu.org>
22193
22194 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
22195 (dired-insert-directory): Give a message the first time
22196 if ls is found not to support --dired.
22197
22198 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22199
22200 * simple.el (toggle-truncate-lines): Clarify what is toggled
22201 (bug#5580). Text by Drew Adams.
22202
22203 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22204
22205 * simple.el (blink-matching-open): Make the error message from the
22206 last change less verbose.
22207
22208 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
22209
22210 * font-lock.el (font-lock-comment-face): Use the high contrast
22211 "yellow" color for font-lock-comment-face on low color terminals
22212 using a dark background color (bug#4221).
22213
22214 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22215
22216 * dired.el (dired-insert-set-properties): Make the doc string
22217 reflect what it does now (bug#5325).
22218
22219 * simple.el (blink-matching-open): Say that we were unable to find
22220 the match within the limit, if we're limited (bug#5122).
22221
22222 * international/mule-cmds.el (prefer-coding-system): Add an
22223 example (bug#4869).
22224
22225 * progmodes/etags.el (tags-search): Document `file-list-form'
22226 (bug#4731).
22227
22228 2011-07-13 Lawrence Mitchell <wence@gmx.li>
22229
22230 * net/browse-url.el (browse-url-default-browser)
22231 (browse-url-browser-function): Make the default browser choice a
22232 bit more logical (bug#4300). Also clean up the doc string.
22233
22234 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22235
22236 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
22237 binary endings (bug#4440).
22238
22239 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22240
22241 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
22242 which can be pretty annoying (bug#8971).
22243
22244 * jka-compr.el (jka-compr-verbose): New variable, and use
22245 throughout (bug#8971).
22246
22247 * info.el (Info-find-file): Fall back on the installation
22248 directory if we can't find the info node anywhere else.
22249
22250 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
22251
22252 * vc/vc.el (vc-revert-file):
22253 Don't set file time-stamp in the past. (Bug#5181)
22254
22255 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22256
22257 * files.el (after-find-file): Give a better error message when
22258 trying to find a symlink that points to a file that doesn't exist
22259 (bug#4398).
22260
22261 * progmodes/cc-vars.el: Remove (probably) misleading comment
22262 (bug#4396).
22263
22264 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
22265
22266 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
22267
22268 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22269
22270 * mouse-sel.el: Hack restoring functionality, while keeping
22271 compatibility with 2010-07-03 changes to mouse selection.
22272 (mouse-sel-primary-overlay): New var.
22273 (mouse-sel-selection-alist): Use it.
22274 (mouse-sel-mode): Doc fix; remove points that are default features
22275 of mouse.el.
22276
22277 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
22278
22279 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22280 Fix previous fix (bug#2490).
22281
22282 2011-07-12 Roland Winkler <winkler@gnu.org>
22283
22284 * textmodes/bibtex.el (bibtex-initialize):
22285 Use pop-to-buffer-same-window.
22286 (bibtex-search-entries): Fix interactive call.
22287
22288 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22289
22290 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22291 Fontise bytecomp Error lines more correctly (bug#2490).
22292 Fix suggested by Johan BockgĂ¥rd.
22293
22294 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
22295
22296 * dired-x.el (dired-guess-default): Use `delete-dups'.
22297
22298 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22299
22300 * dired.el (dired-mark-prompt):
22301 * dired-aux.el (dired-read-shell-command): Doc fix.
22302
22303 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22304
22305 * mail/sendmail.el (sendmail-query-once):
22306 Use `customize-save-variable' unconditionally, now that it works under
22307 emacs -Q.
22308
22309 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22310
22311 * cus-edit.el (custom-file): Take an optional no-error variable.
22312 (customize-save-variable): Set the variable, and give a warning if
22313 running under "emacs -q".
22314
22315 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
22316
22317 * loadhist.el (unload-feature-special-hooks):
22318 Add `auto-coding-functions', `fill-nobreak-predicate' and
22319 `find-directory-functions' (bug#5327).
22320
22321 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22322
22323 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
22324
22325 * cus-edit.el (custom-guess-name-alist): -alist variables should
22326 use the `alist' type (bug#3120). Suggested by Drew Adams.
22327
22328 * printing.el: Add documentation to all the `pr-toggle-' commands.
22329
22330 2011-07-11 Leo Liu <sdl.web@gmail.com>
22331
22332 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
22333 backends where it makes sense (bug#2623).
22334
22335 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22336
22337 * dired-x.el (dired-guess-default): Remove duplicate shell command
22338 entries (bug#2028).
22339 (dired-guess-default): Fix grammar in doc string (bug#2028).
22340 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
22341
22342 * subr.el (remove-duplicates): New conveniency function.
22343
22344 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
22345
22346 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
22347 (bug#1526).
22348
22349 2011-07-10 Martin Rudalics <rudalics@gmx.at>
22350
22351 * window.el (display-buffer-normalize-default): Don't invert
22352 meaning of even-window-heights. Reported by Eli Zaretskii
22353 <eliz@gnu.org>.
22354
22355 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
22356
22357 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
22358
22359 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
22360
22361 * window.el (display-buffer): Fix arguments to
22362 display-buffer-reuse-window in last change.
22363
22364 * faces.el (link): Use a less saturated blue on light backgrounds.
22365
22366 * startup.el (fancy-startup-text, fancy-about-text)
22367 (fancy-startup-tail): Use font-lock faces, for background safety.
22368
22369 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
22370
22371 * emulation/viper-cmd.el (viper-change-state-to-vi):
22372 Limit triggering of abbrev expansion (Bug#9038).
22373
22374 2011-07-09 Martin Rudalics <rudalics@gmx.at>
22375
22376 * window.el (display-buffer-default-specifiers): Remove.
22377 (display-buffer-macro-specifiers): Remove default specifiers.
22378 (display-buffer-alist): Default to nil.
22379 (display-buffer-reuse-window): New optional argument other-window.
22380 (display-buffer-pop-up-window): Allow splitting internal
22381 windows. Check whether a live window was created.
22382 (display-buffer-other-window-means-other-frame)
22383 (display-buffer-normalize-arguments): Rename to
22384 display-buffer-normalize-argument and rewrite. Set the
22385 other-window specifier.
22386 (display-buffer-normalize-special): New function.
22387 (display-buffer-normalize-options): Rename to
22388 display-buffer-normalize-default and rewrite.
22389 (display-buffer-normalize-options-inhibit): Remove.
22390 (display-buffer-normalize-specifiers): Rewrite.
22391 (display-buffer): Process other-window specifier and call
22392 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
22393 more faithfully.
22394 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
22395 (display-buffer-alist-set): Don't handle 'unset default values.
22396 (display-buffer-in-window, display-buffer-alist-set):
22397 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
22398 <tassilo@member.fsf.org>.
22399
22400 2011-07-09 Leo Liu <sdl.web@gmail.com>
22401
22402 * register.el (insert-register): Restore accidental change on
22403 2011-06-26. (Bug#9028)
22404
22405 2011-07-09 Glenn Morris <rgm@gnu.org>
22406
22407 * subr.el (remq): Handle the empty list. (Bug#9024)
22408
22409 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
22410
22411 * mail/sendmail.el (send-mail-function): No longer delay custom
22412 initialization.
22413 * custom.el (custom-initialize-delay): Doc fix.
22414
22415 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22416
22417 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
22418
22419 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
22420
22421 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
22422 human-friendly prompt.
22423
22424 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22425
22426 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
22427 provided by a particular plugin.
22428
22429 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
22430
22431 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
22432 save customizations (with "emacs -Q"), just set the variable
22433 instead of erroring out.
22434
22435 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22436
22437 2011-07-08 Juri Linkov <juri@jurta.org>
22438
22439 * arc-mode.el (archive-zip-expunge, archive-zip-update)
22440 (archive-zip-update-case): Use 7z if found by `executable-find'.
22441 The order of searching the available programs is the same as in
22442 `archive-zip-extract' (bug#8968).
22443
22444 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22445
22446 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
22447 (menu-bar-options-menu): Tweak descriptions.
22448
22449 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22450
22451 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
22452 menu items into verb phrases (bug#1421). Also refill to fit under
22453 80 columns.
22454
22455 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22456
22457 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
22458 (Info-read-node-name): Doc fix (Bug#1084).
22459
22460 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
22461 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
22462 (end-of-sexp, beginning-of-sexp)
22463 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
22464 (forward-symbol, forward-same-syntax, word-at-point)
22465 (sentence-at-point): Doc fix (Bug#1144).
22466
22467 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22468
22469 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
22470 should cover it (bug#1281).
22471
22472 * cus-edit.el (custom-show): Mark as obsolete.
22473
22474 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
22475 negotiation fails, then possibly try again with a non-encrypted
22476 connection (bug#9017).
22477
22478 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
22479 be used.
22480
22481 2011-07-07 Richard Stallman <rms@gnu.org>
22482
22483 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
22484 property, and handle its changed format.
22485 Look for the correct line number.
22486 Use file's line contents (but not past first =) to find
22487 correct line in message.
22488
22489 2011-07-07 Kenichi Handa <handa@m17n.org>
22490
22491 * international/characters.el (build-unicode-category-table):
22492 Delete it.
22493 (unicode-category-table): Set it by unicode-property-table-internal.
22494
22495 * international/mule-cmds.el (char-code-property-alist): Move to
22496 to src/chartab.c.
22497 (get-char-code-property): Call unicode-property-table-internal to
22498 load a file. Call get-unicode-property-internal where necessary.
22499 (put-char-code-property): Call unicode-property-table-internal to
22500 load a file. Call put-unicode-property-internal where necessary.
22501 put-unicode-property-internal where necessary.
22502 (char-code-property-description):
22503 Call unicode-property-table-internal to load a file.
22504
22505 * international/charprop.el:
22506 * international/uni-bidi.el:
22507 * international/uni-category.el:
22508 * international/uni-combining.el:
22509 * international/uni-comment.el:
22510 * international/uni-decimal.el:
22511 * international/uni-decomposition.el:
22512 * international/uni-digit.el:
22513 * international/uni-lowercase.el:
22514 * international/uni-mirrored.el:
22515 * international/uni-name.el:
22516 * international/uni-numeric.el:
22517 * international/uni-old-name.el:
22518 * international/uni-titlecase.el:
22519 * international/uni-uppercase.el: Regenerate.
22520
22521 * loadup.el: Load international/charprop.el before
22522 international/characters.
22523
22524 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22525
22526 * window.el (next-buffer, previous-buffer): Signal an error if
22527 called from a minibuffer window.
22528
22529 * bindings.el: Revert 2011-07-04 change.
22530
22531 2011-07-06 Richard Stallman <rms@gnu.org>
22532
22533 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
22534 (rmail-mime-insert-bulk, rmail-mime-insert-text):
22535 Treat markers like ints.
22536 (rmail-mime-entity): Doc fix.
22537
22538 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22539
22540 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
22541 defcustom again for backwards compatibility.
22542
22543 * simple.el (shell-command-on-region): Fill.
22544
22545 * dired-aux.el (dired-kill-line): Add a doc string.
22546
22547 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
22548 to "\\sw\\|\\s_" (bug#358).
22549
22550 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
22551 (dired-unmark-backward): Ditto.
22552 (dired-flag-backup-files): Ditto.
22553
22554 * dired-x.el (dired-mark-sexp): Ditto.
22555
22556 2011-07-06 Richard Stallman <rms@gnu.org>
22557
22558 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
22559 (rmail-mime-entity): New arg TRUNCATED.
22560 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
22561 New functions.
22562 (rmail-mime-save): Warn if entity is truncated.
22563 (rmail-mime-toggle-hidden): Likewise, for showing.
22564 (rmail-mime-process-multipart): Record when an entity is truncated.
22565
22566 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
22567 if ENTITY is a string.
22568
22569 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22570
22571 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
22572 of faces when `M-C-x'-ing their definitions (bug#8378).
22573 Also clean up the code slightly.
22574
22575 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
22576 because that makes the colors go away.
22577
22578 * mail/sendmail.el (send-mail-function): Change the default to
22579 `sendmail-query-once'.
22580 (sendmail-query-once): Add an autoload cookie.
22581
22582 * net/network-stream.el (network-stream-open-starttls): Try using
22583 a plain connection even if the server offered STARTTLS, and we
22584 kinda wanted to use it, if Emacs doesn't have any STARTTLS
22585 capability. This should make smtpmail.el work in slightly more
22586 configurations.
22587
22588 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
22589
22590 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22591 New defun.
22592 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
22593
22594 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
22595
22596 * progmodes/sql.el: Version 3.0
22597 (sql-product-alist): Add product :completion-object,
22598 :completion-column, and :statement attributes.
22599 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
22600 (sql-mode-syntax-table): Mark all punctuation.
22601 (sql-font-lock-keywords-builder): Temporarily remove fallback on
22602 ansi keywords.
22603 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
22604 (sql-mode-oracle-font-lock-keywords): Improve.
22605 (sql-oracle-show-reserved-words): New function for development.
22606 (sql-product-font-lock): Simplify for source code buffers.
22607 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
22608 New functions.
22609 (sql-highlight-product): Set product specific syntax table.
22610 (sql-mode-map): Add statement movement functions.
22611 (sql-ansi-statement-starters, sql-oracle-statement-starters):
22612 New variable.
22613 (sql-statement-regexp, sql-beginning-of-statement)
22614 (sql-end-of-statement, sql-signum): New functions.
22615 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
22616 (sql-show-sqli-buffer): Bug fix.
22617 (sql-interactive-mode): Store connection data as buffer local.
22618 (sql-connect): Add NEW-NAME parameter. Redesign interaction
22619 with sql-interactive-mode.
22620 (sql-save-connection): Save buffer local settings.
22621 (sql-connection-menu-filter): Change menu entry name.
22622 (sql-product-interactive): Bug fix.
22623 (sql-preoutput-hold): New variable.
22624 (sql-interactive-remove-continuation-prompt): Bug fixes.
22625 (sql-debug-redirect): New variable.
22626 (sql-str-literal): New function.
22627 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
22628 Redesign.
22629 (sql-oracle-save-settings, sql-oracle-restore-settings)
22630 (sql-oracle-list-all, sql-oracle-list-table): New functions.
22631 (sql-completion-object, sql-completion-column)
22632 (sql-completion-sqlbuf): New variables.
22633 (sql-build-completions-1, sql-build-completions)
22634 (sql-try-completion): New functions.
22635 (sql-read-table-name): Use them.
22636 (sql-contains-names): New buffer local variable.
22637 (sql-list-all, sql-list-table): Use it.
22638 (sql-oracle-completion-types): New variable.
22639 (sql-oracle-completion-object, sql-sqlite-completion-object)
22640 (sql-postgres-completion-object): New functions.
22641
22642 2011-07-06 Glenn Morris <rgm@gnu.org>
22643
22644 * window.el (pop-to-buffer): Doc fix.
22645
22646 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
22647
22648 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
22649
22650 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
22651
22652 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
22653
22654 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
22655
22656 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
22657
22658 * button.el (button): Inherit from link face. Suggested by Dan
22659 Nicolaescu.
22660
22661 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22662
22663 * progmodes/gdb-mi.el: Fit in 80 columns.
22664 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
22665 switch-to-buffer.
22666
22667 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
22668 if imenu is simply not configured (bug#8941).
22669
22670 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
22671
22672 * allout.el (allout-post-undo-hook): New allout outline-change
22673 event hook to signal undo activity.
22674 (allout-post-command-business): Run allout-post-undo-hook if an
22675 undo just occurred.
22676 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
22677 * allout-widgets.el (allout-widgets-after-undo-function):
22678 Ensure the integrity of the current item's decoration after it has been
22679 in the vicinity of an undo.
22680 (allout-widgets-mode): Include allout-widgets-after-undo-function
22681 on the new allout-post-undo-hook.
22682
22683 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22684
22685 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
22686 Let define-derived-mode define it.
22687 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
22688 cycles of abbrev-table inheritance (bug#8998).
22689
22690 2011-07-05 Roland Winkler <winkler@gnu.org>
22691
22692 * textmodes/bibtex.el: Add support for biblatex.
22693 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
22694 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
22695 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
22696 (bibtex-entry-alist, bibtex-field-alist): New variables.
22697 (bibtex-entry-field-alist): Obsolete alias for
22698 bibtex-BibTeX-entry-alist.
22699 (bibtex-entry-alist, bibtex-field-alist): New widgets.
22700 (bibtex-set-dialect): New command.
22701 (bibtex-entry-type, bibtex-entry-head)
22702 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
22703 Bind via bibtex-set-dialect.
22704 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
22705 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
22706 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
22707 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
22708 Define via bibtex-set-dialect.
22709 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
22710 Obey bibtex-no-opt-remove-re.
22711 (bibtex-vec-push, bibtex-vec-incr): New functions.
22712 (bibtex-format-entry, bibtex-field-list)
22713 (bibtex-print-help-message, bibtex-validate)
22714 (bibtex-search-entries): Use new format of bibtex-entry-alist.
22715
22716 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22717
22718 * progmodes/compile.el (compilation-goto-locus):
22719 * net/tramp-cmds.el (tramp-append-tramp-buffers):
22720 * bs.el (bs-cycle-next, bs-cycle-previous):
22721 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
22722 * bindings.el (mode-line-other-buffer):
22723 * autoinsert.el (auto-insert):
22724 * arc-mode.el (archive-extract):
22725 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
22726
22727 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22728
22729 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
22730 Fix check of `emacs-lock-unlockable-modes'.
22731 Coerce true values of `emacs-lock--try-unlocking' to t.
22732
22733 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22734
22735 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
22736 * emacs-lock.el: New file.
22737
22738 2011-07-05 Julien Danjou <julien@danjou.info>
22739
22740 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
22741 than `boundp' to check if face is set.
22742
22743 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22744
22745 * register.el (registerv-make):
22746 * window.el (window-min-height): Fix typos in docstrings.
22747
22748 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
22749
22750 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
22751 Update doc string.
22752
22753 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22754
22755 * server.el (server-execute): Catch quit and call
22756 `server-return-error' to pass the error back to emacsclient and
22757 close the connection (bug#8942).
22758
22759 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
22760
22761 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
22762 insecure exception for current topic. Also note that auto-saves
22763 are handled differently.
22764
22765 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
22766 State variables for tracking auto-save inhibition situation.
22767
22768 (allout-write-contents-hook-handler): Rename from
22769 'allout-write-file-hook-handler', and describe how it depends on
22770 write-contents-functions sensitivity to non-nil value to prevent
22771 file write.
22772
22773 (allout-auto-save-hook-handler): Remove. auto-save does not check
22774 this in individual buffers, only in the starting buffer, so this
22775 is not the right way for us to inhibit auto-save in a buffer
22776 according to its condition.
22777
22778 (allout-mode): Use new allout-write-contents-hook-handler, and
22779 only with write-contents-functions. Remove auto-save provisions -
22780 they're implemented elsewhere.
22781
22782 (allout-before-change-handler): If undo is in progress, note that
22783 for attention of allout-post-command-business.
22784
22785 (allout-post-command-business): If the command we're following was
22786 an undo, check for change in the status of encrypted items and
22787 adjust auto-save inhibitions accordingly.
22788
22789 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
22790 according to whether there are or aren't any plain-text topics
22791 pending encryption.
22792
22793 (allout-inhibit-auto-save-info-for-decryption):
22794 Adjust buffer-saved-size and some allout state to inhibit auto-saves
22795 if there are plain-text topics pending encryption.
22796
22797 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
22798 buffer-saved-size and some allout state to not inhibit auto-saves
22799 if there are no longer any plain-text topics pending encryption.
22800
22801 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
22802 No longer provide for exemption of the current topic.
22803
22804 2011-07-04 Juri Linkov <juri@jurta.org>
22805
22806 Add 7z operations to delete and save changed members (bug#8968).
22807 * arc-mode.el (archive-7z-expunge, archive-7z-update):
22808 New defcustoms.
22809 (archive-7z-write-file-member): New function.
22810 (archive-7z-summarize): Fix the number of dashes in the
22811 listing output.
22812
22813 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22814
22815 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
22816 (bug#8958).
22817
22818 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
22819
22820 * bindings.el: Ignore next-buffer and previous-buffer in
22821 minibuffer-local-map.
22822
22823 * font-lock.el (font-lock-builtin-face): Change light background
22824 color to dark slate blue (Bug#6693).
22825
22826 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
22827
22828 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
22829
22830 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22831
22832 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
22833 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22834 Add switch-to-buffer.
22835
22836 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22837
22838 * isearch.el (isearch-search-fun-function): Clarify further the
22839 meaning of the function returned.
22840
22841 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
22842
22843 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
22844
22845 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
22846 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
22847 Use it.
22848 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
22849 `tramp-default-remote-path' does not exist.
22850 (tramp-send-command-and-read): New optional argument NOERROR.
22851 (tramp-open-connection-setup-interactive-shell)
22852 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
22853 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
22854 (tramp-process-sentinel): Flush also process' connection property.
22855 (tramp-sh-handle-start-file-process): Do not set process
22856 sentinel. It is done now ...
22857 (tramp-maybe-open-connection): ... here. (Bug#8929)
22858
22859 2011-07-04 MON KEY <monkey@sandpframing.com>
22860
22861 * play/animate.el (animate-string): Doc fixes and allow changing
22862 the buffer name (bug#5417).
22863
22864 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22865
22866 * play/animate.el (animation-buffer-name): Rename from *animate*.
22867
22868 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
22869
22870 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
22871 This is simpler and helps future-proof the code.
22872 (timer-until): Use time-subtract and float-time.
22873 (timer--time-less-p): Use time-less-p.
22874
22875 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22876
22877 * type-break.el (timep): Use the value of `float-time' to avoid a
22878 byte-compiler warning.
22879
22880 * server.el (server-eval-and-print): Return any result, even nil.
22881
22882 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
22883
22884 * type-break.el: Accept time formats that the builtins accept.
22885 (timep, type-break-time-difference): Accept any format that
22886 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
22887 This is simpler and helps future-proof the code.
22888 (type-break-time-difference): Round rather than ignoring
22889 subseconds components.
22890
22891 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22892
22893 * info.el (Info-apropos-matches): Make non-interactive, since it
22894 doesn't seem to do anything useful as a command (bug#8829).
22895
22896 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
22897
22898 * frame.el (frame-background-mode, frame-set-background-mode):
22899 Move from faces.el.
22900 (frame-default-terminal-background): New function.
22901
22902 * custom.el (custom-push-theme): Don't record faces in `changed'
22903 theme; this doesn't work correctly for per-frame face settings.
22904 (disable-theme): Use face-set-after-frame-default to reset faces.
22905 (custom--frame-color-default): New function.
22906
22907 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22908
22909 * dired.el (dired-flagging-regexp): Remove unused variable
22910 (bug#8769).
22911
22912 2011-03-29 Kevin Ryde <user42@zip.com.au>
22913
22914 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22915 `perl-Test2' extend to match possible "fail #N" rep count
22916 (bug#8377).
22917
22918 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22919
22920 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
22921 `smtpmail-via-smtp' now returns the error instead of nil.
22922
22923 * isearch.el (isearch-search-fun-function): Clarify the doc string
22924 (bug#8101).
22925
22926 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
22927
22928 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
22929 unnecessary spaces (bug#8987).
22930
22931 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22932
22933 * net/network-stream.el (open-network-stream): Use the
22934 :end-of-capability command thoughout.
22935
22936 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
22937
22938 * net/network-stream.el (open-network-stream): Add the
22939 :end-of-capability command parameter, used by pop3.el.
22940
22941 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22942
22943 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
22944
22945 * fringe.el (fringe-query-style): Remove redundant text " (type ?
22946 for list)" (bug#6475).
22947
22948 * files.el (file-expand-wildcards): Ignore non-readable
22949 sub-directories while trying to find matches instead of signaling
22950 an error (bug#6297).
22951
22952 * man.el (Man-reference-regexp): Allow matching possible
22953 word-wrapped references (bug#6289).
22954
22955 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
22956 for consistency with the other vc buffers (bug#6197).
22957 (vc-checkin): Ditto.
22958
22959 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
22960
22961 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
22962
22963 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22964
22965 * custom.el (defcustom): Clarify that :set is only used in the
22966 Customize user interface (bug#6089).
22967
22968 * progmodes/flymake.el (flymake-mode): If the buffer isn't
22969 associated with a file, refuse to run instead of erroring out
22970 (bug#6084).
22971
22972 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
22973 the doc string, since it appears that using `fill-column' always
22974 controls the width (bug#7845).
22975
22976 * simple.el (shell-command-on-region): Say where the error output
22977 went if `shell-command-default-error-buffer' is set (bug#6857).
22978
22979 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
22980
22981 * allout.el (allout-yank-processing): Adjust cursor position for
22982 backwards-deleted space.
22983
22984 (allout-rebullet-heading): Register changes with
22985 allout-exposure-changed-hook, so the modified topic is properly
22986 decorated.
22987
22988 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22989
22990 * minibuffer.el (completion-in-region): Document PREDICATE
22991 (bug#7136).
22992
22993 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
22994 of keyword/argument pairs (bug#6904).
22995
22996 * replace.el (multi-occur):
22997 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
22998
22999 2011-07-02 Drew Adams <drew.adams@oracle.com>
23000
23001 * dired.el (dired-mark-if): Make the message about whether it's
23002 marking or unmarking clearer (bug#8523).
23003
23004 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23005
23006 * disp-table.el (display-table-print-array): New function.
23007 (describe-display-table): Use it to print the vectors more pretty
23008 (Bug#8859).
23009
23010 2011-07-02 Martin Rudalics <rudalics@gmx.at>
23011
23012 * window.el (window-state-get-1): Don't assign clone numbers.
23013 Add clone-of item to list of window parameters.
23014 (window-state-put-2): Don't process clone numbers.
23015 (display-buffer-alist): Fix doc-string.
23016
23017 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
23018
23019 * subr.el (remq): Don't allocate if it's not needed.
23020 (keymap--menu-item-binding, keymap--menu-item-with-binding)
23021 (keymap--merge-bindings): New functions.
23022 (keymap-canonicalize): Use them to refine the canonicalization.
23023 * minibuffer.el (minibuffer-local-completion-map)
23024 (minibuffer-local-must-match-map): Move initialization from C.
23025 (minibuffer-local-filename-completion-map): Move initialization from C;
23026 don't inherit from anything here.
23027 (minibuffer-local-filename-must-match-map): Make obsolete.
23028 (completing-read-default): Use make-composed-keymap to combine
23029 minibuffer-local-filename-completion-map with either
23030 minibuffer-local-must-match-map or
23031 minibuffer-local-filename-completion-map.
23032
23033 2011-07-01 Glenn Morris <rgm@gnu.org>
23034
23035 * type-break.el (type-break-time-sum): Use dolist.
23036
23037 * textmodes/flyspell.el (flyspell-word-search-backward):
23038 Replace CL function.
23039
23040 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23041
23042 * mouse.el (mouse--strip-first-event): New function.
23043 (function-key-map): Use it to map fringe clicks to normal clicks
23044 by default.
23045
23046 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
23047 (vc-bzr-revision-completion-table): Add support for annotate and date.
23048
23049 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
23050 inherit from parent.
23051
23052 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23053
23054 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
23055 (dired-show-file-type): Doc fixup (bug#8818).
23056
23057 * dired.el (dired-mode): Fix up the doc string as suggested by
23058 Drew Adams (bug#8817).
23059
23060 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
23061 cookie, since the manual says that it should be possible to add
23062 this function to `find-file-hook' (bug#8709).
23063
23064 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23065
23066 * progmodes/cfengine.el: Moved all cfengine3.el functionality
23067 here. Noted Ted Zlatanov as the maintainer.
23068 (cfengine-common-settings, cfengine-common-syntax): New functions
23069 to set up common things between `cfengine-mode' and
23070 `cfengine3-mode'.
23071 (cfengine3-mode): New mode.
23072 (cfengine3-defuns cfengine3-defuns-regex
23073 (cfengine3-class-selector-regex cfengine3-category-regex)
23074 (cfengine3-vartypes cfengine3-font-lock-keywords)
23075 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
23076 (cfengine3-indent-line): Add from cfengine3.el.
23077
23078 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
23079
23080 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
23081
23082 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
23083
23084 2011-07-01 Martin Rudalics <rudalics@gmx.at>
23085
23086 * window.el (same-window-buffer-names, same-window-regexps)
23087 (same-window-p, special-display-frame-alist)
23088 (special-display-popup-frame, special-display-function)
23089 (special-display-buffer-names, special-display-regexps)
23090 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
23091 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23092 (split-window-preferred-function, split-height-threshold)
23093 (split-width-threshold, even-window-heights)
23094 (display-buffer-mark-dedicated, window-splittable-p)
23095 (split-window-sensibly, window-safely-shrinkable-p):
23096 Un-obsolete.
23097 (display-buffer): Don't spread args with function specifier
23098 because special-display-popup-frame won't like it.
23099
23100 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
23101
23102 Time-stamp simplifications and fixes.
23103 These improve accuracy slightly, and future-proof the code
23104 against some potential changes to current-time format.
23105
23106 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
23107 by using time-since and float-time.
23108
23109 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
23110 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
23111 + NNN microseconds".
23112
23113 * type-break.el (type-break-time-sum): Rewrite using time-add.
23114
23115 * play/hanoi.el (hanoi-current-time-float): Remove.
23116 All uses replaced by float-time.
23117
23118 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
23119 This yields a more-accurate answer.
23120 (rng-time-to-float): Remove; no longer needed.
23121
23122 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
23123
23124 * calendar/timeclock.el (timeclock-seconds-to-time):
23125 Defalias to seconds-to-time, since they're the same thing.
23126
23127 * emacs-lisp/elp.el (elp-elapsed-time):
23128 * emacs-lisp/benchmark.el (benchmark-elapse):
23129 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
23130
23131 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23132
23133 * window.el (bury-buffer): Don't iconify the only frame.
23134 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
23135 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
23136
23137 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
23138
23139 * eshell/em-smart.el (eshell-smart-display-navigate-list):
23140 Add mouse-yank-primary.
23141
23142 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23143
23144 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
23145
23146 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23147
23148 * emacs-lisp/find-func.el (find-library--load-name): New fun.
23149 (find-library-name): Use it to find relative load names when provided
23150 absolute file name (bug#8803).
23151
23152 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23153
23154 * textmodes/flyspell.el (flyspell-word): Consider words that
23155 differ only in case as potential doublons (bug#5687).
23156
23157 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
23158 Remove two rather uninteresting debugging-like messages to make
23159 debbugs.el more silent.
23160
23161 * comint.el (comint-password-prompt-regexp): Accept "Response" as
23162 a password-like phrase.
23163
23164 2011-06-30 Masatake YAMATO <yamato@redhat.com>
23165
23166 * progmodes/cc-guess.el: New file.
23167
23168 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
23169
23170 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
23171 derived from `c-basic-common-init'.
23172
23173 * progmodes/cc-mode.el (top-level): Require cc-guess.
23174 (c-basic-common-init): Use `cc-choose-style-for-mode'.
23175
23176 2011-06-30 Lawrence Mitchell <wence@gmx.li>
23177
23178 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
23179
23180 2011-06-30 Alan Mackenzie <acm@muc.de>
23181
23182 * progmodes/cc-engine.el (c-guess-continued-construct):
23183 Correct the handling of template-args-cont, particularly for when font
23184 lock is disabled. Name this case as "CASE G".
23185
23186 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
23187
23188 * allout.el (allout-yank-processing): Fix injection of extra space
23189 between bullet and non-whitespace character in first topic when
23190 pasting, ensuring that the actual spacing in the pasted topic
23191 following the bullet char is preserved. This extra space was
23192 causing pasted encrypted topics to get a decrypted status even
23193 when the content was actually still encrypted. Now the decryption
23194 status from before the paste is preserved.
23195
23196 (allout-flag-region): Set all allout overlays so they evaporate
23197 when reduced to zero length (evanescent), to prevent overlay
23198 leakage.
23199
23200 2011-06-30 Glenn Morris <rgm@gnu.org>
23201
23202 * w32-fns.el (w32-charset-info-alist): Declare.
23203
23204 * find-dired.el (find-grep-options): Simplify.
23205
23206 * term/ns-win.el (ns-set-resource): Declare.
23207
23208 * ses.el (row, col): Declare dynamic variables honestly.
23209
23210 * textmodes/reftex-parse.el (index-tags): Declare.
23211
23212 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
23213
23214 * cus-edit.el (customize-push-and-save): New function.
23215
23216 * files.el (hack-local-variables-confirm): Use it.
23217
23218 * custom.el (load-theme): New arg NO-CONFIRM.
23219 Use customize-push-and-save (Bug#8720).
23220 (custom-enabled-themes): Doc fix.
23221
23222 * cus-theme.el (customize-create-theme)
23223 (custom-theme-merge-theme): Callers to load-theme changed.
23224
23225 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23226
23227 * thingatpt.el (thing-at-point-short-url-regexp): Require that
23228 short URLs have at least one dot in them (bug #7614).
23229
23230 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
23231 nil, because using a pty is apparently too slow (bug #895).
23232
23233 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
23234
23235 * mail/sendmail.el (sendmail-query-once): New function.
23236 (sendmail-query-once-function): New variable.
23237
23238 2011-06-29 Glenn Morris <rgm@gnu.org>
23239
23240 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
23241
23242 * ses.el (top-level): Require cl when compiling.
23243 (ses-set-localvars): Fix error statement.
23244 Call it at compile time to silence a storm of warnings.
23245
23246 2011-06-29 Martin Rudalics <rudalics@gmx.at>
23247
23248 * window.el (normalize-live-buffer): Rename to
23249 window-normalize-buffer.
23250 (normalize-live-frame): Rename to window-normalize-frame.
23251 (normalize-any-window): Rename to window-normalize-any-window.
23252 (normalize-live-window): Rename to window-normalize-live-window.
23253 (make-window-atom): Rename to window-make-atom.
23254 (window-resize-reset): Rename to window--resize-reset.
23255 (window-resize-reset-1): Rename to window--resize-reset-1.
23256 (resize-mini-window): Rename to window--resize-mini-window.
23257 (resize-subwindows-skip-p): Rename to
23258 window--resize-subwindows-skip-p.
23259 (resize-subwindows-normal): Rename to
23260 window--resize-subwindows-normal.
23261 (resize-subwindows): Rename to window--resize-subwindows.
23262 (resize-other-windows): Rename to window--resize-siblings.
23263 (resize-this-window): Rename to window--resize-this-window.
23264 (resize-root-window): Rename to window--resize-root-window.
23265 (resize-root-window-vertically): Rename to
23266 window--resize-root-window-vertically.
23267 (normalize-buffer-to-display): Rename to
23268 window-normalize-buffer-to-display.
23269 (normalize-buffer-to-switch-to): Rename to
23270 window-normalize-buffer-to-switch-to.
23271 Correspondingly update all callers of the functions listed
23272 above.
23273 (display-buffer-alist, display-buffer-normalize-arguments)
23274 (display-buffer-normalize-options, display-buffer)
23275 (display-buffer-alist-set): Use "function" instead of
23276 "fun-with-args".
23277
23278 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
23279
23280 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
23281 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
23282 debbugs.gnu.org. Mention acknowledgment email.
23283
23284 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
23285
23286 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
23287 buffer multibyteness, since it shouldn't matter.
23288
23289 2011-06-28 Martin Rudalics <rudalics@gmx.at>
23290
23291 * window.el (display-buffer-in-side-window): Handle dedicated
23292 windows as in display-buffer-reuse-window.
23293 (display-buffer-normalize-alist): Use value of override
23294 specifier.
23295 (display-buffer-normalize-specifiers): Use value of
23296 other-window-means-other-frame specifier.
23297 (display-buffer-alist): Rewrite some texts in widgets.
23298 (display-buffer): Spread arguments when calling function
23299 specified by fun-with-args.
23300
23301 2011-06-28 Deniz Dogan <deniz@dogan.se>
23302
23303 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
23304 Unnest `let'.
23305
23306 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
23307 selectors (Bug#5732).
23308 (css-proprietary-nmstart-re): Use `regexp-opt'.
23309
23310 2011-06-27 Jari Aalto <jari.aalto@cante.net>
23311
23312 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
23313 (eshell-ls-date-format): New defcustom.
23314 (eshell-ls-file): Use it.
23315
23316 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23317
23318 * help-fns.el (describe-variable): Fix message for terminal-local vars.
23319
23320 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
23321
23322 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
23323 (ange-ftp-make-tmp-name): New arg.
23324 (ange-ftp-file-local-copy): Use it.
23325
23326 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
23327
23328 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
23329 no-conversion (Bug#8870).
23330
23331 2011-06-27 Martin Rudalics <rudalics@gmx.at>
23332
23333 * window.el (window-right, window-left, window-child)
23334 (window-child-count, window-last-child)
23335 (window-iso-combination-p, walk-window-tree-1)
23336 (window-atom-check-1, window-tree-1, delete-window)
23337 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
23338 new naming conventions - window-vchild, window-hchild,
23339 window-next and window-prev are now called window-top-child,
23340 window-left-child, window-next-sibling and window-prev-sibling
23341 respectively.
23342 (resize-window-reset): Rename to window-resize-reset.
23343 (resize-window-reset-1): Rename to window-resize-reset-1.
23344 (resize-window): Rename to window-resize.
23345 (window-min-height, window-min-width)
23346 (resize-mini-window, resize-this-window, resize-root-window)
23347 (resize-root-window-vertically, adjust-window-trailing-edge)
23348 (enlarge-window, shrink-window, maximize-window)
23349 (minimize-window, delete-window, quit-restore-window)
23350 (split-window, balance-windows, balance-windows-area-adjust)
23351 (balance-windows-area, window-state-put-2)
23352 (display-buffer-even-window-sizes, display-buffer-set-height)
23353 (display-buffer-set-width, set-window-text-height)
23354 (fit-window-to-buffer): Rename all "resize-window" prefixed
23355 calls to use the "window-resize" prefix convention.
23356 (display-buffer-alist): Fix symbol for label specifier.
23357 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
23358 corresponding specifier.
23359 Reported by Juanma Barranquero <lekktu@gmail.com>.
23360
23361 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23362
23363 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
23364 convention.
23365 (ses-call-printer): Does not pass an empty string to formatter when the
23366 cell is empty to keep from barking printer Calc math-format-value.
23367
23368 2011-06-27 Richard Stallman <rms@gnu.org>
23369
23370 * battery.el (battery-mode-line-limit): New variable.
23371 (battery-update): Handle it.
23372
23373 * mail/rmailmm.el (rmail-mime-process-multipart):
23374 Handle truncated messages.
23375
23376 2011-06-27 Glenn Morris <rgm@gnu.org>
23377
23378 * progmodes/flymake.el (flymake-err-line-patterns):
23379 Allow for column numbers in the ant/javac pattern. (Bug#8866)
23380
23381 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23382
23383 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
23384 (ses--clean-!, ses--clean-_): New functions.
23385 (ses-range): Add configurability of readout order, and conversion
23386 to Calc vector.
23387
23388 * ses.el (ses-repair-cell-reference-all): New function.
23389 (ses-cell-symbol): Set macro as safe, so that it can be used in
23390 formulas.
23391
23392 * ses.el: Update cycle detection algorithm.
23393 (ses-localvars): Add ses--Dijkstra-attempt-nb and
23394 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
23395 (ses-set-localvars): New function.
23396 (ses-make-cell): Add property-list as a cell element.
23397 (ses-cell-property-get-fun, ses-cell-property-get)
23398 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
23399 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
23400 New functions.
23401 (ses-cell-property-set, ses-cell-property-pop)
23402 (ses-cell-property-get-handle): New macro.
23403 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
23404 New aliases, used for code readability.
23405 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
23406 cycle detection.
23407 (ses-self-reference-early-detection): New defcustom.
23408 (ses-formula-references): Robustify against self-referring cells.
23409 (ses-mode): Use ses-set-localvars.
23410 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
23411 before lauching the update processing.
23412 (ses-initialize-Dijkstra-attempt): New function.
23413 (ses-recalculate-cell): Update for cycle detection based on
23414 Dijkstra algorithm.
23415
23416 * ses.el: Fix commenting and indenting convention.
23417
23418 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23419
23420 * bs.el (bs-cycle-next): Complete last change.
23421
23422 2011-06-27 Drew Adams <drew.adams@oracle.com>
23423
23424 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
23425
23426 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
23427
23428 * net/network-stream.el (network-stream-open-starttls):
23429 Don't re-get capabilities unless we've reestablished connection.
23430 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
23431
23432 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
23433 to binary to possibly avoid line encoding issues on Windows (among
23434 other things).
23435
23436 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23437
23438 * net/network-stream.el (open-network-stream): Return an :error
23439 saying what the problem was, if possible.
23440
23441 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
23442 server.
23443
23444 * net/network-stream.el (network-stream-open-starttls): If we
23445 wanted to use STARTTLS, and the server offered it, but we weren't
23446 able to because we had no STARTTLS support, then close the connection.
23447 (open-network-stream): Return an :error element, if present.
23448
23449 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23450
23451 * hl-line.el (hl-line-sticky-flag): Doc fix.
23452 (global-hl-line-sticky-flag): New option (Bug#8323).
23453 (global-hl-line-highlight): Obey it.
23454
23455 * vc/vc.el (vc-revert-show-diff): Default to t.
23456
23457 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
23458
23459 * allout-widgets.el (allout-widgets-post-command-business):
23460 Stop decorating intermediate isearch matches. They're not being
23461 undecorated when an isearch is continued past, and isearch
23462 automatically collapses them. This leads to "widget leaks", where
23463 decorated items accumulate in collapsed areas. Lines with lots of
23464 hidden widgets can slow down cursor travel, substantially.
23465 Too much complicated machinery would be needed to ensure undecoration,
23466 so we're doing without this nicety.
23467
23468 (allout-widgets-tally-string): Don't try to do a hash-table-count
23469 of allout-widgets-tally when it's nil. This eliminates spurious "Error
23470 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
23471 *Messages* when allout-widgets-maintain-tally is t.
23472
23473 2011-06-26 Martin Rudalics <rudalics@gmx.at>
23474
23475 * window.el (display-buffer-normalize-argument): Rename to
23476 display-buffer-normalize-arguments. Handle special meaning of
23477 LABEL argument. Respect special-display-function when popping up
23478 a new frame. Fix code searching for a window showing the buffer
23479 on another frame.
23480 (display-buffer-normalize-specifiers):
23481 Call display-buffer-normalize-arguments.
23482 (display-buffer-in-window): Don't undedicate the window if its
23483 buffer remains the same.
23484 Reported by Drew Adams <drew.adams@oracle.com>.
23485 (display-buffer-alist): Add choice for same-window macro
23486 specfier.
23487 (display-buffer): Mention special meaning of LABEL argument in
23488 doc-string. Fix quoting. Don't pop up a new frame even as
23489 fallback.
23490
23491 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
23492
23493 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
23494 avoid deleting the current window in some cases (bug#8911).
23495
23496 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
23497
23498 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
23499 (Bug#8934)
23500
23501 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23502
23503 * net/network-stream.el (network-stream-open-starttls):
23504 Use built-in TLS support if `gnutls-available-p' is true.
23505 (network-stream-open-tls): Ditto.
23506
23507 2011-06-26 Leo Liu <sdl.web@gmail.com>
23508
23509 * register.el (registerv): New struct.
23510 (registerv-make): New function.
23511 (jump-to-register, describe-register-1, insert-register):
23512 Support the jump-func, print-func and insert-func slot of a registerv
23513 struct. (Bug#8415)
23514
23515 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23516
23517 * vc/vc.el (vc-revert-show-diff): New defcustom.
23518 (vc-diff-internal): New arg specifying diff buffer.
23519 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
23520 reuse an existing *vc-diff* buffer (Bug#8927).
23521
23522 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
23523
23524 2011-06-26 Glenn Morris <rgm@gnu.org>
23525
23526 * progmodes/f90.el (f90-critical-indent): New option.
23527 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
23528 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
23529 (f90-mode): Doc fix.
23530 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
23531 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
23532 (f90-beginning-of-block, f90-next-block, f90-indent-region)
23533 (f90-match-end): Handle block, critical.
23534
23535 2011-06-25 Glenn Morris <rgm@gnu.org>
23536
23537 * calendar/diary-lib.el (diary-included-files): Doc fix.
23538 (diary-include-files): New function, extracted from
23539 diary-include-other-diary-files and diary-mark-included-diary-files.
23540 (diary-include-other-diary-files, diary-mark-included-diary-files):
23541 Just call diary-include-files.
23542 (diary-mark-entries): Reset diary-included-files on first call.
23543
23544 * calendar/diary-lib.el (diary-mark-entries)
23545 (diary-mark-included-diary-files):
23546 Visit included diary-files in temp buffers.
23547
23548 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
23549 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
23550 (f90-start-block-re, f90-imenu-generic-expression)
23551 (f90-looking-at-program-block-start, f90-no-block-limit):
23552 Add support for submodules.
23553
23554 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23555 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
23556
23557 2011-06-25 Eli Zaretskii <eliz@gnu.org>
23558
23559 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
23560 buffer-file-type before setting its value, to avoid disastrous
23561 global effects on decoding files for DOS/Windows systems. (Bug#8780)
23562
23563 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23564
23565 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
23566
23567 * ses.el (ses-unload-function):
23568 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
23569
23570 * proced.el (proced-unload-function):
23571 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
23572
23573 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
23574
23575 * server.el (server-create-window-system-frame): Add parameters arg.
23576 (server-process-filter): Doc fix. Handle frame-parameters.
23577
23578 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23579
23580 Fix bug#8730, bug#8781.
23581
23582 * loadhist.el (unload--set-major-mode): New function.
23583 (unload-feature): Use it.
23584
23585 * progmodes/python.el (python-after-info-look): Add autoload cookie.
23586 (python-unload-function): New function.
23587
23588 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
23589
23590 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
23591
23592 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
23593
23594 * net/browse-url.el (browse-url-firefox-program): Add icecat to
23595 the candidates list.
23596
23597 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
23598
23599 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
23600
23601 2011-06-23 Richard Stallman <rms@gnu.org>
23602
23603 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
23604 (rmail-variables): Set next-error-move-function.
23605 (rmail-what-message): Take argument POS.
23606 (rmail-next-error-move): New function.
23607
23608 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
23609
23610 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
23611 messages for adjacent non-terminals.
23612
23613 2011-06-23 Richard Stallman <rms@gnu.org>
23614
23615 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
23616 (rmail-show-message-1): Preserve buffer modified flag.
23617 (rmail-start-mail): Don't specify use of rmail-mail-return;
23618 that's done by mail-bury now.
23619 (rmail-mail-return): Handle arg NEWBUF.
23620
23621 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
23622
23623 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
23624 SIZE is a number.
23625
23626 2011-06-23 Martin Rudalics <rudalics@gmx.at>
23627
23628 * window.el (get-lru-window, get-mru-window)
23629 (get-largest-window): Never return a minibuffer window.
23630 (display-buffer-pop-up-window): Fix a bug that could lead to
23631 reusing the minibuffer window.
23632 (display-buffer): Pass original specifier argument to
23633 display-buffer-function instead of the normalized one.
23634 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
23635
23636 2011-06-22 Leo Liu <sdl.web@gmail.com>
23637
23638 * minibuffer.el (completing-read-function)
23639 (completing-read-default): Move from minibuf.c.
23640
23641 2011-06-22 Richard Stallman <rms@gnu.org>
23642
23643 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
23644 to Rmail even if not started by a special Rmail command.
23645
23646 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
23647 Copy the buffer currently showing just one message.
23648
23649 2011-06-22 Roland Winkler <winkler@gnu.org>
23650
23651 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
23652 (bibtex-clean-entry): First delete the old key so that a
23653 customized algorithm for generating the new key does not get
23654 confused by the old key.
23655 (bibtex-url): Obey regexp of first step.
23656 (bibtex-search-entries): Do not use add-to-list with local
23657 list-var.
23658
23659 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23660
23661 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
23662 stored a user name, then query for the password first, instead of
23663 waiting for SMTP to give an error message and the trying again.
23664
23665 2011-06-22 Lawrence Mitchell <wence@gmx.li>
23666
23667 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
23668 BUFFER in call-process.
23669
23670 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23671
23672 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
23673 QUIT twice.
23674 (smtpmail-try-auth-methods): Require user name and password from
23675 auth-source.
23676
23677 2011-06-22 Martin Rudalics <rudalics@gmx.at>
23678
23679 * window.el (display-buffer-default-specifiers)
23680 (display-buffer-alist): Remove entries for pop-up-frame-alist.
23681 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
23682 (split-window): Normalize SIDE argument (Bug#8916).
23683
23684 * frame.el (pop-up-frame-alist, pop-up-frame-function)
23685 (special-display-frame-alist, special-display-popup-frame):
23686 Remove duplicate declarations. These are now in window.el.
23687
23688 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
23689
23690 * mail/smtpmail.el (smtpmail-via-smtp):
23691 Set :use-starttls-if-possible so that we always use STARTTLS if the
23692 server supports it. SMTP servers that support STARTTLS commonly
23693 require it.
23694
23695 * net/network-stream.el (network-stream-open-starttls): Support
23696 upgrading to STARTTLS always, even if we don't have built-in support.
23697 (open-network-stream): Add the :always-query-capabilities keyword.
23698
23699 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
23700 upgrades with `open-network-stream', and rely solely on
23701 auth-source for all credentials. Big changes throughout the file,
23702 but in particular:
23703 (smtpmail-auth-credentials): Remove.
23704 (smtpmail-starttls-credentials): Remove.
23705 (smtpmail-via-smtp): Check for servers saying they want AUTH after
23706 MAIL FROM, too.
23707
23708 * net/network-stream.el (network-stream-open-starttls):
23709 Provide support for client certificates both for external and built-in
23710 STARTTLS.
23711 (auth-source): Require.
23712 (open-network-stream): Document the :client-certificate keyword.
23713 (network-stream-certificate): Change cert-cert to cert and
23714 cert-key to key.
23715
23716 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
23717
23718 * net/tramp-cache.el (top): Don't load the persistency file when
23719 "emacs -Q" has been called.
23720
23721 2011-06-21 Tim Harper <timcharper@gmail.com>
23722
23723 * term/ns-win.el (ns-initialize-window-system):
23724 Set application-specific `ApplePressAndHoldEnabled' system
23725 resource to NO as it is not yet supported by the NS port.
23726
23727 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
23728
23729 * misc.el (list-dynamic-libraries--refresh): Compute header here...
23730 (list-dynamic-libraries): ...not here.
23731
23732 2011-06-21 Leo Liu <sdl.web@gmail.com>
23733
23734 * subr.el (sha1): Implement sha1 using secure-hash.
23735
23736 2011-06-21 Martin Rudalics <rudalics@gmx.at>
23737
23738 * window.el (display-buffer-alist): In default value do not
23739 enforce searching a window on any but the selected frame.
23740 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
23741 (display-buffer-select-window): Remove function.
23742 (display-buffer-in-window): When a window on another frame gets
23743 reused, do not select it any more but just raise its frame if
23744 necessary (Bug#8851) and (Bug#8856).
23745 (display-buffer-normalize-options): Handle pop-up-frames related
23746 options more faithfully.
23747 (pop-to-buffer): Don't rely on `display-buffer' selecting the
23748 window if it is on another frame.
23749 (display-buffer-alist, display-buffer-default-specifiers):
23750 Don't make new frame unsplittable by default.
23751 (display-buffer-normalize-argument): Fix doc-string typo and use
23752 'same-frame-other-window instead of 'other-window when associating
23753 with display-buffer-macro-specifiers.
23754
23755 2011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
23756
23757 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
23758 New functions.
23759 (5x5-mode-map, 5x5-mode-menu): Bind them.
23760 (5x5-draw-grid): Tweak the solver's rendering.
23761
23762 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23763
23764 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
23765 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
23766
23767 2011-06-21 Drew Adams <drew.adams@oracle.com>
23768
23769 * menu-bar.el: Use function variable instead of switch-to-buffer.
23770 (menu-bar-select-buffer-function): New variable.
23771 (menu-bar-update-buffers): Use it (bug#8876).
23772
23773 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23774
23775 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
23776 variable's status.
23777
23778 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
23779
23780 * x-dnd.el (x-dnd-version-from-flags)
23781 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
23782 and long as number (Bug#8899).
23783 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
23784
23785 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
23786
23787 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
23788 (completion-try-completion, completion-all-completions): Compute the
23789 metadata argument if it's missing; make it optional (bug#8795).
23790
23791 * wid-edit.el: Use lex-bind and move towards completion-at-point.
23792 (widget-complete): Use new :completion-function property.
23793 (widget-completions-at-point): New function.
23794 (default): Use :completion-function instead of :complete.
23795 (widget-default-completions): Rename from widget-default-complete;
23796 Rewrite.
23797 (widget-string-complete, widget-file-complete, widget-color-complete):
23798 Remove functions.
23799 (file, symbol, function, variable, coding-system, color):
23800 * international/mule-cmds.el (default-input-method, charset)
23801 (language-info-custom-alist):
23802 * cus-edit.el (face): Use new property :completions.
23803
23804 * progmodes/pascal.el (pascal-completions-at-point): New function.
23805 (pascal-mode): Use it.
23806 (pascal-mode-map): Use completion-at-point.
23807 (pascal-toggle-completions): Make obsolete.
23808 (pascal-complete-word, pascal-show-completions):
23809 * progmodes/octave-mod.el (octave-complete-symbol):
23810 Redefine as obsolete alias.
23811 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
23812 Signal absence of completion info for old Octave,
23813 (inferior-octave-complete): Redefine as obsolete alias.
23814 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
23815 (meta-completions-at-point): Rename from meta-complete-symbol and
23816 adapt it for use on completion-at-point-functions.
23817 (meta-common-mode): Use it.
23818 (meta-looking-at-backward, meta-match-buffer): Remove.
23819 (meta-complete-symbol): Redefine as obsolete alias.
23820 (meta-common-mode-map): Use completion-at-point.
23821 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
23822 (makefile-mode-map): Use completion-at-point.
23823 (makefile-completions-at-point): Rename from makefile-complete and
23824 adapt it for use on completion-at-point-functions.
23825 (makefile-mode): Use it.
23826 (makefile-complete): Redefine as obsolete alias.
23827
23828 2011-06-20 Deniz Dogan <deniz@dogan.se>
23829
23830 * net/rcirc.el: Delete trailing whitespaces once and for all.
23831
23832 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
23833
23834 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
23835
23836 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
23837
23838 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
23839
23840 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
23841
23842 2011-06-19 Martin Rudalics <rudalics@gmx.at>
23843
23844 * window.el (display-buffer-other-window-means-other-frame):
23845 Call display-buffer-normalize-alist.
23846 (display-buffer-normalize-specifiers-1): Rename to
23847 display-buffer-normalize-argument. New argument other-frame.
23848 Rewrite.
23849 (display-buffer-normalize-specifiers-2): Rename to
23850 display-buffer-normalize-options.
23851 (display-buffer-normalize-alist-1): New function.
23852 (display-buffer-normalize-specifiers-3): Rename to
23853 display-buffer-normalize-alist.
23854 Call display-buffer-normalize-alist-1.
23855 (display-buffer-normalize-options-inhibit): New variable.
23856 (display-buffer-normalize-specifiers): Rewrite calling
23857 display-buffer-normalize-alist,
23858 display-buffer-normalize-argument, and
23859 display-buffer-normalize-options. Don't call the latter if
23860 display-buffer-normalize-options-inhibit is non-nil.
23861 (frame-auto-delete): New option.
23862 (window-deletable-p): Use frame-auto-delete.
23863 (window-list-no-nils, window-state-ignored-parameters)
23864 (window-state-get-1, window-state-get, window-state-put-list)
23865 (window-state-put-1, window-state-put-2, window-state-put):
23866 New functions.
23867 (display-buffer-normalize-options): Move special-display-p group
23868 after pop-up-frame group (Bug#8851) and (Bug#8856).
23869
23870 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
23871
23872 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
23873 groups (Bug#8776).
23874 (rx-submatch-n): New function.
23875 (rx): Document it.
23876
23877 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
23878 (Bug#8768).
23879
23880 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
23881
23882 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
23883
23884 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
23885 anytime existing face settings are present (Bug#8889).
23886
23887 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
23888 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
23889 Remove unused argument.
23890
23891 2011-06-18 Martin Rudalics <rudalics@gmx.at>
23892
23893 * window.el (display-buffer-default-specifiers):
23894 Remove pop-up-frame. Add pop-up-window-min-height,
23895 pop-up-window-min-width, and another reuse-window specifier
23896 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
23897 (display-buffer-normalize-specifiers-2):
23898 Handle split-height-threshold and split-width-threshold also when
23899 pop-up-windows is unset. Add a reuse-window specifier for the
23900 case popping up a new window fails.
23901 (special-display-popup-frame): Remove double quoting.
23902 (display-buffer-normalize-specifiers-1): Fix thinko.
23903
23904 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
23905
23906 * shell.el (shell-completion-vars): Set pcomplete-termination-string
23907 according to comint-completion-addsuffix.
23908
23909 * pcomplete.el: Convert to lexical binding and fix bug#8819.
23910 (pcomplete-suffix-list): Mark as obsolete.
23911 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
23912 pcomplete-seen in the closure.
23913 (pcomplete-comint-setup): Setup completion-at-point as well.
23914 (pcomplete--entries): New function.
23915 (pcomplete--env-regexp): New var.
23916 (pcomplete-entries): Rewrite to work with partial-completion and
23917 without relying on pcomplete-suffix-list.
23918 (pcomplete-pare-list): Remove, unused.
23919
23920 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23921
23922 * window.el (display-buffer-alist): Set pop-up-window-min-height
23923 and pop-up-window-min-width in default value. Reported by
23924 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
23925 other-window-means-other-frame.
23926 (display-buffer-macro-specifiers): Comment out entry for
23927 other-window specifier.
23928 (display-buffer-other-window-means-other-frame): New function.
23929 (display-buffer-normalize-specifiers-1): New arguments
23930 buffer-name and label. Treat other-window case specially.
23931 (display-buffer-normalize-specifiers-2): Treat other-window case
23932 specially.
23933 (display-buffer-normalize-specifiers-3): New function.
23934 (display-buffer-normalize-specifiers):
23935 Call display-buffer-normalize-specifiers-3.
23936
23937 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23938
23939 * window.el (same-window-p): Fix two typos introduced when
23940 adding with-no-warnings.
23941 (display-buffer-normalize-specifiers-1): Don't check
23942 pop-up-frames for 'unset initialization.
23943 (display-buffer-normalize-specifiers-2): Major rewrite using
23944 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
23945 (pop-up-frames, display-buffer-reuse-frames)
23946 (display-buffer-mark-dedicated): Don't initialize to 'unset.
23947 Suggested by David Engster <deng@randomsample.de>.
23948 (even-window-heights): Initialize to 'unset.
23949 (display-buffer-alist-set): Handle new 'unset initializations.
23950 (display-buffer-macro-specifiers): Don't pop up a new frame in the
23951 other window case.
23952
23953 2011-06-16 Martin Rudalics <rudalics@gmx.at>
23954
23955 * window.el (display-buffer-normalize-specifiers-1):
23956 Respect current value of pop-up-frames for most reasonable values of
23957 second argument of display-buffer (Bug#8865).
23958 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
23959 (switch-to-buffer-other-window-same-frame)
23960 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
23961 Adams (Bug#8875).
23962 (display-buffer): Don't check noninteractive when calling
23963 display-buffer-pop-up-frame.
23964 (display-buffer-pop-up-frame): Never pop up a frame in
23965 noninteractive mode (Bug#8857).
23966 (enlarge-window, shrink-window): Don't report an error when the
23967 window can't be resized as requested (Bug#8862).
23968
23969 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23970
23971 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
23972
23973 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
23974
23975 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
23976
23977 2011-06-15 Alan Mackenzie <acm@muc.de>
23978
23979 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
23980 for declarators, disable knr checking to speed up for normal files.
23981 2: Refactor, replacing a sequence of nested if forms by a cond form.
23982
23983 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
23984
23985 * net/network-stream.el (open-network-stream): Add the keyword
23986 :always-query-capabilities for the case where you want to force a
23987 `plain' network connection, but the protocol still requires the
23988 capabilitiy command (i.e., SMTP and EHLO).
23989
23990 * subr.el (process-live-p): Rename from `process-alive-p' for
23991 consistency with other `-live-p' functions.
23992
23993 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23994
23995 * window.el (same-window-buffer-names, same-window-regexps)
23996 (special-display-frame-alist, special-display-popup-frame)
23997 (special-display-function, special-display-buffer-names)
23998 (special-display-regexps, pop-up-frame-alist)
23999 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
24000 (pop-up-windows, split-window-preferred-function)
24001 (split-height-threshold, split-width-threshold, even-window-heights)
24002 (display-buffer-mark-dedicated): Don't encourage the use of
24003 display-buffer-alist from Elisp code.
24004
24005 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
24006
24007 * progmodes/python.el (python-mode): Derive from prog-mode.
24008 * progmodes/ps-mode.el (ps-mode):
24009 * progmodes/mixal-mode.el (mixal-mode):
24010 * progmodes/cfengine.el (cfengine-mode):
24011 * progmodes/ld-script.el (ld-script-mode): Likewise.
24012
24013 2011-06-15 Martin Rudalics <rudalics@gmx.at>
24014
24015 * window.el (display-buffer-alist): Trim default value to avoid
24016 popping up a new frame (Bug#8857) or reusing an arbitrary window
24017 on another frame.
24018 (display-buffer): Do not fall back on popping up a new frame in
24019 batch mode (Bug#8857).
24020
24021 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
24022
24023 * cus-theme.el (describe-theme-1): Use custom-theme-p.
24024 (custom-theme-summary): New function.
24025 (customize-themes): Use it.
24026
24027 2011-06-13 Glenn Morris <rgm@gnu.org>
24028
24029 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
24030
24031 2011-06-13 Martin Rudalics <rudalics@gmx.at>
24032
24033 * help.el (help-window): Remove variable.
24034 (help-window-point-marker, temp-buffer-max-height)
24035 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
24036 (help-print-return-message): Don't set help-window.
24037 (resize-temp-buffer-window): Rewrite cod eand doc-string.
24038 (help-window-setup-finish): Remove.
24039 (help-window-display-message, help-window-setup)
24040 (with-help-window): Major rewrite based on new
24041 display-buffer-window variable.
24042
24043 * help-mode.el (help-mode-finish): Remove help-window related
24044 code.
24045
24046 * view.el (view-exits-all-viewing-windows): Remove reference to
24047 view-return-to-alist in doc-string.
24048 (view-return-to-alist): Make obsolete.
24049 (view-buffer): Call pop-to-buffer-same-window and remove
24050 undo-window code.
24051 (view-buffer-other-window): Call pop-to-buffer-other-window and
24052 simplify code. Ignore second argument.
24053 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
24054 simplify code. Ignore second argument.
24055 (view-return-to-alist-update): Make obsolete.
24056 (view-mode-enter): Rename second argument to QUIT-RESTORE.
24057 Rewrite using quit-restore window parameters.
24058 (view-mode-exit): Rename second argument to EXIT-ONLY.
24059 Rewrite using quit-restore-window.
24060 (View-exit, View-exit-and-edit, View-leave, View-quit)
24061 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
24062 appropriate arguments.
24063 (view-end-message): Use quit-restore window parameter.
24064
24065 * window.el (display-buffer-function): Rewrite doc-string.
24066 (display-buffer-window, display-buffer-alist): New variables.
24067 (display-buffer-split-specifiers)
24068 (display-buffer-side-specifiers)
24069 (display-buffer-macro-specifiers): New constants.
24070 (display-buffer-even-window-sizes, display-buffer-set-height)
24071 (display-buffer-set-width, display-buffer-select-window)
24072 (display-buffer-in-window, display-buffer-reuse-window)
24073 (display-buffer-split-window-1, display-buffer-split-window)
24074 (display-buffer-split-atom-window, display-buffer-pop-up-window)
24075 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
24076 (display-buffer-in-side-window, normalize-buffer-to-display)
24077 (display-buffer-normalize-specifiers-1)
24078 (display-buffer-normalize-specifiers-2)
24079 (display-buffer-normalize-specifiers, display-buffer-frame):
24080 New functions.
24081 (display-buffer): Major rewrite.
24082 (display-buffer-other-window, display-buffer-other-frame)
24083 (pop-to-buffer, switch-to-buffer-other-window)
24084 (switch-to-buffer-other-frame): Rewrite.
24085 (display-buffer-same-window, display-buffer-same-frame)
24086 (display-buffer-same-frame-other-window)
24087 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
24088 (pop-to-buffer-other-window)
24089 (pop-to-buffer-same-frame-other-window)
24090 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
24091 (switch-to-buffer-other-window-same-frame): New functions.
24092 (same-window-p, special-display-p): Rewrite disabling warnings.
24093 Make obsolete.
24094 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
24095 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
24096 Make obsolete
24097 (same-window-buffer-names, same-window-regexps)
24098 (special-display-frame-alist, special-display-popup-frame)
24099 (special-display-function, special-display-buffer-names)
24100 (special-display-regexps, pop-up-frame-alist)
24101 (pop-up-frame-function, split-window-preferred-function)
24102 (split-height-threshold, split-width-threshold)
24103 (even-window-heights): Make obsolete.
24104
24105 2011-06-12 Glenn Morris <rgm@gnu.org>
24106
24107 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
24108 Misc simplifications.
24109
24110 2011-06-12 Martin Rudalics <rudalics@gmx.at>
24111
24112 * window.el (window-safely-shrinkable-p): Restore function which
24113 was inadvertently removed in change from 2011-06-11. Declare as
24114 obsolete.
24115
24116 * calendar/calendar.el (calendar-generate-window):
24117 Use window-iso-combined-p instead of combination of one-window-p and
24118 window-safely-shrinkable-p.
24119
24120 2011-06-12 Glenn Morris <rgm@gnu.org>
24121
24122 * progmodes/fortran.el (fortran-mode-syntax-table):
24123 * progmodes/f90.el (f90-mode-syntax-table):
24124 Set % to punctuation. (Bug#8820)
24125 (f90-find-tag-default): Remove, no longer needed.
24126
24127 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
24128
24129 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
24130
24131 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
24132
24133 * image.el (image-animated-p): Return animation delay in seconds.
24134 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
24135 (image-animate-timeout): Remove DELAY argument. Don't assume
24136 every subimage has the same delay; get it from image-animated-p.
24137 (image-animate): Caller changed.
24138
24139 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
24140
24141 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
24142 to ignored backtrace functions.
24143
24144 2011-06-11 Glenn Morris <rgm@gnu.org>
24145
24146 * calendar/appt.el (appt-disp-window-function): Doc fix.
24147 (appt-check): Handle overlapping appointments. (Bug#8337)
24148
24149 2011-06-11 Martin Rudalics <rudalics@gmx.at>
24150
24151 * window.el (window-tree-1, window-tree): New functions, moving
24152 the latter to window.el.
24153 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
24154 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
24155 (bw-refresh-edges): Remove.
24156 (balance-windows-1, balance-windows-2): New functions.
24157 (balance-windows): Rewrite in terms of window tree functions,
24158 balance-windows-1 and balance-windows-2.
24159 (bw-adjust-window): Remove.
24160 (balance-windows-area-adjust): New function with functionality of
24161 bw-adjust-window but using resize-window.
24162 (set-window-text-height): Rewrite doc-string.
24163 Use normalize-live-window and resize-window.
24164 (enlarge-window-horizontally, shrink-window-horizontally):
24165 Rename argument to DELTA.
24166 (window-buffer-height): New function.
24167 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
24168 Rewrite using new window resize routines.
24169 (kill-buffer-and-window, mouse-autoselect-window-select):
24170 Use ignore-errors instead of condition-case.
24171 (quit-window): Call delete-frame instead of delete-windows-on
24172 for the only buffer on frame.
24173
24174 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24175
24176 * loadup.el (top-level): Load window before files for the sake
24177 of replace-buffer-in-windows.
24178
24179 * files.el (read-buffer-to-switch)
24180 (switch-to-buffer-other-window)
24181 (switch-to-buffer-other-frame, display-buffer-other-frame):
24182 Move to window.el.
24183
24184 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
24185 (previous-buffer): Move to window.el.
24186
24187 * bindings.el (unbury-buffer): Move to window.el.
24188
24189 * window.el (delete-other-windows-vertically): Move after
24190 definition of delete-other-windows.
24191 (other-window, delete-windows-on, replace-buffer-in-windows):
24192 Move here from window.c.
24193 (record-window-buffer, unrecord-window-buffer)
24194 (set-window-buffer-start-and-point, switch-to-prev-buffer)
24195 (switch-to-next-buffer): New functions.
24196 (get-next-valid-buffer, last-buffer, next-buffer): Move here
24197 from simple.el. Call switch-to-next-buffer.
24198 (previous-buffer): Move here from simple.el.
24199 Call switch-to-prev-buffer.
24200 (bury-buffer): Move here from buffer.c. Switch to previous
24201 buffer when window cannot be deleted.
24202 (unbury-buffer): Move here from bindings.el.
24203 (ctl-x-map): Move binding for other-window from window.c to
24204 here.
24205 (read-buffer-to-switch, switch-to-buffer-other-window)
24206 (switch-to-buffer-other-frame): Move here from files.el.
24207 (normalize-buffer-to-switch-to): New functions.
24208 (switch-to-buffer): Move here from buffer.c.
24209 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
24210
24211 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24212
24213 * window.el (window-min-height, window-min-width): Move here
24214 from window.c. Add defcustoms and rewrite doc-strings.
24215 (resize-mini-window, resize-window): New functions.
24216 (adjust-window-trailing-edge, enlarge-window, shrink-window):
24217 Move here from window.c.
24218 (maximize-window, minimize-window): New functions.
24219 (delete-window, delete-other-windows, split-window): Move here
24220 from window.c.
24221 (window-split-min-size): New function.
24222 (split-window-keep-point): Mention split-window-above-each-other
24223 instead of split-window-vertically.
24224 (split-window-above-each-other, split-window-vertically):
24225 Rename split-window-vertically to split-window-above-each-other
24226 and provide defalias for old definition.
24227 (split-window-side-by-side, split-window-horizontally):
24228 Rename split-window-horizontally to split-window-side-by-side
24229 and provide defalias for the old definition.
24230 (ctl-x-map): Move bindings for delete-window,
24231 delete-other-windows and enlarge-window here from window.c.
24232 Replace bindings for split-window-vertically and
24233 split-window-horizontally by bindings for
24234 split-window-above-each-other and split-window-side-by-side.
24235
24236 * cus-start.el (all): Remove entries for window-min-height and
24237 window-min-width. Add entries for window-splits and
24238 window-nest.
24239
24240 2011-06-09 Glenn Morris <rgm@gnu.org>
24241
24242 * calendar/appt.el (appt-mode-line): New function.
24243 (appt-check, appt-disp-window): Use it.
24244
24245 * files.el (hack-one-local-variable-eval-safep):
24246 Allow minor-modes with explicit +/-1 arguments.
24247
24248 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
24249
24250 * term/xterm.el (xterm): Add defgroup.
24251 (xterm-extra-capabilities): Add defcustom to supply known xterm
24252 capabilities, skip querying them, or query them (default).
24253 (terminal-init-xterm): Use it.
24254 (terminal-init-xterm-modify-other-keys): New function to set up
24255 modifyOtherKeys support to simplify `terminal-init-xterm'.
24256
24257 2011-06-09 Martin Rudalics <rudalics@gmx.at>
24258
24259 * window.el (resize-window-reset, resize-window-reset-1)
24260 (resize-subwindows-skip-p, resize-subwindows-normal)
24261 (resize-subwindows, resize-other-windows, resize-this-window)
24262 (resize-root-window, resize-root-window-vertically)
24263 (window-deletable-p, window-or-subwindow-p)
24264 (frame-root-window-p): New functions.
24265
24266 2011-06-09 Glenn Morris <rgm@gnu.org>
24267
24268 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
24269 (ange-ftp-get-files): Use it.
24270
24271 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
24272
24273 * mail/sendmail.el (mail-recover-1, mail-recover):
24274 * files.el (recover-file, recover-session):
24275 Handle dired-listing-switches not being just a single short option.
24276
24277 2011-06-09 Glenn Morris <rgm@gnu.org>
24278
24279 * calendar/appt.el (appt-display-message, appt-disp-window):
24280 Handle lists of appointments.
24281
24282 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24283
24284 * window.el (one-window-p): Move down in code.
24285 Rewrite doc-string.
24286 (window-current-scroll-bars): Rewrite doc-string.
24287 Normalize live window argument.
24288 (walk-windows, get-window-with-predicate, count-windows):
24289 Rewrite doc-string. Use window-list-1.
24290 (window-in-direction-2, window-in-direction, get-mru-window):
24291 New functions.
24292
24293 2011-06-08 Reuben Thomas <rrt@sc3d.org>
24294
24295 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
24296 Doc fix (Bug#8713).
24297
24298 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
24299
24300 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
24301
24302 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
24303
24304 * loadhist.el (unload-feature-special-hooks):
24305 Add `comint-output-filter-functions'.
24306
24307 2011-06-08 Ivan Kanis <gnu@kanis.fr>
24308
24309 * calendar/appt.el (appt-check): Move some initializations into the let.
24310
24311 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24312
24313 * window.el (window-height): Defalias to window-total-height.
24314 (window-width): Defalias to window-body-width.
24315
24316 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
24317
24318 * image-mode.el (image-toggle-animation): New command.
24319 (image-mode-map): Bind it to RET.
24320 (image-mode): Update message.
24321 (image-toggle-display-image): Avoid a spurious cache flush.
24322 (image-transform-rotation): Doc fix.
24323 (image-transform-properties): Return quickly in the normal case.
24324 (image-animate-loop): Rename from image-animate-max-time.
24325
24326 * image.el (image-animate-max-time): Move to image-mode.el.
24327 (create-animated-image): Remove unnecessary function.
24328 (image-animate): Rename from image-animate-start. New arg.
24329 (image-animate-stop): Remove; just use image-animate-timer.
24330 (image-animate-timer): Use car-safe.
24331 (image-animate-timeout): Rename argument.
24332
24333 2011-06-07 Martin Rudalics <rudalics@gmx.at>
24334
24335 * window.el (get-lru-window, get-largest-window): Move here from
24336 window.c. Rename first argument to ALL-FRAMES.
24337 Rephrase doc-strings.
24338 (get-buffer-window-list): Rewrite using window-list-1.
24339 Rephrase doc-string.
24340 (window-safe-min-height, window-safe-min-width): New constants.
24341 (window-size-ignore, window-min-size, window-min-size-1)
24342 (window-sizable, window-sizable-p, window-size-fixed-1)
24343 (window-size-fixed-p, window-min-delta-1, window-min-delta)
24344 (window-max-delta-1, window-max-delta, window-resizable)
24345 (window-resizable-p, window-total-height, window-total-width)
24346 (window-body-width): New functions.
24347 (window-full-height-p, window-full-width-p): Rewrite using
24348 window-total-size.
24349 (window-body-height): Rewrite using window-body-size.
24350
24351 2011-06-06 Martin Rudalics <rudalics@gmx.at>
24352
24353 * window.el (window-right, window-left, window-child)
24354 (window-child-count, window-last-child, window-any-p)
24355 (normalize-live-buffer, normalize-live-frame)
24356 (normalize-any-window, normalize-live-window)
24357 (window-iso-combination-p, window-iso-combined-p)
24358 (window-iso-combinations)
24359 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
24360 (windows-with-parameter, window-with-parameter)
24361 (window-atom-root, make-window-atom, window-atom-check-1)
24362 (window-atom-check, window-side-check, window-check):
24363 New functions.
24364 (ignore-window-parameters, window-sides, window-sides-vertical)
24365 (window-sides-slots): New variables.
24366 (window-size-fixed): Move down in code. Minor doc-string fix.
24367
24368 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
24369
24370 * comint.el (comint-dynamic-complete-as-filename)
24371 (comint-dynamic-complete-filename): Correctly call
24372 completion-in-region.
24373
24374 2011-06-05 Deniz Dogan <deniz@dogan.se>
24375
24376 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
24377 in last change.
24378
24379 2011-06-05 Deniz Dogan <deniz@dogan.se>
24380
24381 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
24382 (rcirc): Use it to prompt for encryption.
24383
24384 2011-06-05 Roland Winkler <winkler@gnu.org>
24385
24386 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
24387 (bibtex-search-entries): New command bound to C-c C-a.
24388 (bibtex-display-entries): New function.
24389
24390 2011-06-05 Roland Winkler <winkler@gnu.org>
24391
24392 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
24393 (bibtex-insert-kill): After yanking insert newline if necessary.
24394 (bibtex-initialize): Call bibtex-string-files-init only once.
24395 (bibtex-mode): Do not call easy-menu-add.
24396 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
24397 (bibtex-yank): Set arg properly if nil.
24398
24399 2011-06-05 Roland Winkler <winkler@gnu.org>
24400
24401 * textmodes/bibtex.el (bibtex-search-entry-globally):
24402 New variable.
24403 (bibtex-search-entry): Use it.
24404
24405 2011-06-05 Roland Winkler <winkler@gnu.org>
24406
24407 * textmodes/bibtex.el (bibtex-entry-format): New option
24408 sort-fields.
24409 (bibtex-format-entry, bibtex-reformat): Honor this option.
24410 (bibtex-parse-entry): Return fields in proper order.
24411
24412 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
24413
24414 * doc-view.el (doc-view-remove-if): Move computation of result out
24415 of `dolist' to silence misleading lexical-binding warning.
24416
24417 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
24418
24419 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
24420 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
24421
24422 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24423
24424 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
24425 "SunOS 5.10".
24426
24427 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24428
24429 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
24430 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
24431 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
24432 (tramp-parse-putty):
24433 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
24434 (tramp-completion-function-alist-ssh)
24435 (tramp-completion-function-alist-telnet)
24436 (tramp-completion-function-alist-su)
24437 (tramp-completion-function-alist-putty): Set `tramp-autoload'
24438 cookie.
24439
24440 * net/tramp-ftp.el:
24441 * net/tramp-sh.el:
24442 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
24443 load "tramp.el" `tramp-set-completion-function'.
24444
24445 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
24446
24447 * shell.el: Require and use pcomplete.
24448 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
24449 (shell-completion-vars): Set pcomplete-default-completion-function.
24450
24451 2011-06-04 Deniz Dogan <deniz@dogan.se>
24452
24453 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
24454 `memq' (Bug#8799).
24455
24456 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24457
24458 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
24459
24460 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
24461
24462 * bs.el (bs--mark-unmark, bs--nth-wrapper):
24463 * mpc.el (mpc-select-extend, mpc-songpointer-context):
24464 * vc/log-view.el (log-view-beginning-of-defun):
24465 * vc/smerge-mode.el (smerge-apply-resolution-patch)
24466 (smerge-refine-forward, smerge-refine-chopup-region):
24467 Silence warning for unused `dotimes' counter variables.
24468
24469 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24470
24471 * net/tramp.el (tramp-with-progress-reporter): Rename from
24472 with-progress-reporter. Use `declare'.
24473 * net/tramp-smb.el:
24474 * net/tramp-sh.el:
24475 * net/tramp-gvfs.el: Update all uses.
24476
24477 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
24478
24479 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
24480 buffer isn't killed before making it current.
24481
24482 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24483
24484 Silence various byte-compiler warnings.
24485 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
24486 `access-type' and new obsolescence format.
24487 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
24488 new format.
24489 (byte-compile-check-variable): New `access-type' argument.
24490 Only warn if the access-type is obsolete.
24491 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24492 (byte-compile-variable-set): Adjust callers.
24493 * help-fns.el (describe-variable): Adjust to new obsolescence format.
24494 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
24495 setting it as obsolete.
24496 * simple.el (minibuffer-completing-symbol):
24497 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
24498 access as obsolete.
24499 * minibuffer.el (minibuffer-completing-file-name): Don't make it
24500 obsolete yet.
24501 * international/quail.el (quail-mouse-choose-completion): Remove unused
24502 code referring to obsolete var.
24503 (quail-choose-completion-string): Remove.
24504 * server.el (server-clients-with, server-kill-buffer-query-function)
24505 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
24506 * proced.el (proced-send-signal):
24507 * emacs-lisp/lisp.el (lisp-complete-symbol):
24508 Replace completion-annotate-function with completion-extra-properties.
24509
24510 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24511
24512 * simple.el (goto-line): Use read-number.
24513 (overriding-map-is-bound): Remove.
24514 (saved-overriding-map): Change default.
24515 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
24516 Take the map as argument.
24517 (universal-argument, negative-argument, digit-argument): Use it.
24518 (restore-overriding-map): Adjust.
24519 (do-auto-fill): Use fill-forward-paragraph.
24520 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
24521
24522 * minibuffer.el (minibuffer-inactive-mode-map): New var.
24523 (minibuffer-inactive-mode): New major mode.
24524 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
24525 the *Messages* buffer" hack.
24526 (mouse-popup-menubar): Don't burp if the event is a normal key.
24527
24528 Miscellaneous tweaks.
24529 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
24530 lexical scoping as in subr.el's dolist and dotimes.
24531 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
24532 Silence compiler warning.
24533 * thingatpt.el (forward-whitespace): Trivial coding style fix.
24534 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
24535 * international/ccl.el (ccl-compile): Trivial simplification.
24536 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
24537 * emacs-lisp/testcover.el (testcover-end): Remove spurious
24538 `printflag' argument.
24539 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
24540 Purecopy the whole obsolescence data.
24541
24542 2011-06-01 Leo Liu <sdl.web@gmail.com>
24543
24544 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
24545 improve doc-string as suggested by Marco Pessotto
24546 <melmothx@gmail.com>.
24547 (rcirc-print): Fix last change.
24548
24549 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24550
24551 * minibuffer.el (complete-with-action): Return nil for the metadata and
24552 boundaries of non-functional tables.
24553 (completion-table-dynamic): Return nil for the metadata.
24554 (completion-table-with-terminator): Add default case, using
24555 complete-with-action.
24556 (completion--metadata): New function.
24557 (completion-all-sorted-completions, minibuffer-completion-help): Use it
24558 to try and avoid pathological performance problems.
24559 (completion--embedded-envvar-table): Return `category' metadata.
24560
24561 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
24562
24563 * subr.el (process-alive-p): New tiny convenience function.
24564
24565 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24566
24567 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
24568 content but also its previous major mode.
24569
24570 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
24571
24572 * emacs-lisp/debug.el (debug): Restore the previous content of the
24573 *Backtrace* buffer when we exit with C-M-c.
24574
24575 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24576
24577 * minibuffer.el: Add metadata method to completion tables.
24578 (completion-category-overrides): New defcustom.
24579 (completion-metadata, completion--field-metadata)
24580 (completion-metadata-get, completion--styles)
24581 (completion--cycle-threshold): New functions.
24582 (completion-try-completion, completion-all-completions):
24583 Add `metadata' argument to choose completion-styles.
24584 (completion--do-completion): Use metadata to choose cycling.
24585 (completion-all-sorted-completions): Use metadata for sorting.
24586 Remove :completion-cycle-penalty which is not needed any more.
24587 (completion--try-word-completion): Add `metadata' argument.
24588 (minibuffer-completion-help): Check metadata for annotation function
24589 and sorting.
24590 (completion-file-name-table): Return `category' metadata.
24591 (minibuffer-completing-file-name): Make obsolete.
24592 * simple.el (minibuffer-completing-symbol): Make obsolete.
24593 * icomplete.el (icomplete-completions): Pass new `metadata' param to
24594 completion-try-completion.
24595
24596 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
24597
24598 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
24599
24600 2011-05-30 Leo Liu <sdl.web@gmail.com>
24601
24602 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
24603 (rcirc-print): Decode all incoming messages (bug#8744).
24604 (rcirc-decode-coding-system): Allow value nil for automatic coding
24605 system detection.
24606
24607 2011-06-01 Glenn Morris <rgm@gnu.org>
24608
24609 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
24610
24611 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24612
24613 * image.el (image-animate-max-time): Allow nil and t values.
24614 Default to nil.
24615 (create-animated-image): Doc fix.
24616 (image-animate-start): Remove second arg; just use
24617 image-animate-max-time.
24618 (image-animate-timeout): Doc fix. Args changed.
24619
24620 * image-mode.el (image-toggle-display-image): Ensure that the
24621 image spec passed to the animate timer is the same object as in
24622 the buffer's display property (Bug#6981).
24623 (image-transform-properties): Doc fix.
24624
24625 * image.el (image-animate-max-time): Default to nil.
24626
24627 2011-05-29 Martin Rudalics <rudalics@gmx.at>
24628
24629 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
24630 entire buffer list (Bug#8184).
24631
24632 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24633
24634 * image.el (imagemagick-types-inhibit)
24635 (imagemagick-register-types): Doc fix.
24636
24637 2011-05-29 Deniz Dogan <deniz@dogan.se>
24638
24639 * net/rcirc.el (rcirc): Use the user's stored encryption method by
24640 default.
24641
24642 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24643
24644 * select.el: Don't perform clipboard-manager saving in hooks;
24645 leave the hooks empty.
24646
24647 2011-05-28 Leo Liu <sdl.web@gmail.com>
24648
24649 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
24650 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
24651 (occur-edit-mode): New major mode (Bug#8463).
24652 (occur-after-change-function): New function.
24653 (occur-engine): Give Occur tags a read-only property.
24654
24655 2011-05-28 Kevin Ryde <user42@zip.com.au>
24656
24657 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
24658
24659 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24660
24661 * bindings.el (help-echo): Make the initial non-indicator dash
24662 empty on graphical terminals (Bug#7295).
24663
24664 * files.el (auto-mode-alist): Move config rule after the
24665 in-stripping one (Bug#8547).
24666
24667 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
24668
24669 * startup.el (normal-splash-screen): Remove gratuitous mode-line
24670 setting (Bug#8740).
24671
24672 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
24673
24674 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
24675 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
24676 (Bug#8539).
24677
24678 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24679
24680 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
24681
24682 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
24683
24684 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
24685 (hs-hide-block-at-point, hs-find-block-beginning)
24686 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
24687 (Bug#8279).
24688
24689 2011-05-28 Glenn Morris <rgm@gnu.org>
24690
24691 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
24692
24693 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24694
24695 * help-fns.el (describe-function-1): If the function is a derived
24696 major mode, print the parent mode.
24697
24698 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
24699 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
24700
24701 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
24702
24703 * minibuffer.el (completion--capf-wrapper): Check applicability before
24704 returning non-nil for non-exclusive completion data.
24705 * progmodes/etags.el (tags-completion-at-point-function):
24706 * info-look.el (info-lookup-completions-at-point): Mark as
24707 non-exclusive.
24708 (info-complete): Adjust accordingly.
24709
24710 * info-look.el: Convert to lexical-binding and completion-at-point.
24711 (info-lookup-completions-at-point): New function.
24712 (info-complete): Use it and completion-in-region.
24713
24714 2011-05-28 Drew Adams <drew.adams@oracle.com>
24715
24716 * isearch.el: Let M-e start with point at the first mismatched char.
24717 (isearch-fail-pos): New function.
24718 (isearch-edit-string): Use it.
24719
24720 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24721
24722 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24723
24724 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
24725
24726 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
24727 traversal functions for avl-trees.
24728 (avl-tree--stack): New struct.
24729 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
24730 (avl-tree-enter): Add optional `updatefun' arg.
24731 (avl-tree--do-enter): Add optional `updatefun' arg.
24732 Change return value.
24733 (avl-tree-delete): Add optional `test' and `nilflag' args.
24734 (avl-tree--do-delete): Add `test' and `nilflag' args.
24735 Change return value.
24736 (avl-tree-member): Add optional `nilflag'
24737 (avl-tree-member-p): New function.
24738 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
24739 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
24740 (avl-tree-stack-empty-p): New functions.
24741
24742 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
24743 avl-tree--del-balance1 and make it work both ways.
24744 (avl-tree--del-balance2): Remove.
24745 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
24746 make it work both ways.
24747 (avl-tree--enter-balance2): Remove.
24748 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
24749 New macros.
24750 (avl-tree--mapc, avl-tree-map): Add direction argument.
24751
24752 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
24753
24754 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
24755
24756 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
24757
24758 * select.el: Support clipboard managers with built-in function
24759 x-clipboard-manager-save, via delete-frame-functions and
24760 kill-emacs-hook.
24761 (xselect-convert-to-targets): Add MULTIPLE target to list.
24762 (xselect-convert-to-save-targets): New function.
24763
24764 2011-05-27 Kenichi Handa <handa@m17n.org>
24765
24766 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
24767 let-binding rfc2047-encode-encoded-words to nil.
24768
24769 2011-05-27 Glenn Morris <rgm@gnu.org>
24770
24771 * mail/emacsbug.el: Don't require url-util.
24772
24773 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
24774
24775 * files.el (set-auto-mode):
24776 Also respect mode: entries at the end of the file. (Bug#8586)
24777
24778 2011-05-26 Glenn Morris <rgm@gnu.org>
24779
24780 * files.el (hack-local-variables-prop-line, hack-local-variables):
24781 Downcase mode names, as seems to be traditional.
24782 (hack-local-variables, hack-local-variables-apply): Doc fixes.
24783
24784 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
24785 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
24786
24787 2011-05-25 Julien Danjou <julien@danjou.info>
24788
24789 * textmodes/rst.el (rst-define-level-faces): Do not define face
24790 symbol if it is already defined.
24791
24792 2011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
24793
24794 * play/5x5.el (5x5-new-game, 5x5-randomize):
24795 Reset 5x5-solver-output to nil when a new grid is cast.
24796 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
24797 these debugging traces, as defmacro breaks the compiled code.
24798
24799 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24800
24801 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24802
24803 2011-05-24 Leo Liu <sdl.web@gmail.com>
24804
24805 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
24806 (vc-bzr-sha1): Adapt.
24807
24808 * sha1.el: Remove. Function `sha1' is now builtin.
24809
24810 * bindings.el: Provide sha1 feature.
24811
24812 2011-05-24 Kenichi Handa <handa@m17n.org>
24813
24814 * mail/sendmail.el: Require `rfc2047'.
24815 (mail-insert-from-field): Do not perform RFC2047 encoding.
24816 (mail-encode-header): New function.
24817 (sendmail-send-it): Set buffer-file-coding-system of the work
24818 buffer to the return value of select-message-coding-system.
24819 Call mail-encode-header.
24820
24821 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
24822
24823 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
24824
24825 * mail/supercite.el (sc-default-cite-frame):
24826 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
24827
24828 2011-05-24 Glenn Morris <rgm@gnu.org>
24829
24830 * progmodes/python.el (brm-menu): Declare.
24831
24832 * emulation/viper.el (viper-set-hooks): Declare.
24833
24834 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
24835 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
24836 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
24837 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
24838 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
24839 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
24840
24841 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
24842
24843 Add an :exit-function for completion-at-point.
24844
24845 * minibuffer.el (completion--done): New fun.
24846 (completion--do-completion): Use it. New arg `expect-exact'.
24847 (minibuffer-complete, minibuffer-complete-word): Don't output message,
24848 since completion--do-completion does it for us now.
24849 (minibuffer-force-complete): Use completion--done and
24850 completion--replace. Handle sole-completion case with more care.
24851 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
24852 (completion-extra-properties): New var.
24853 (completion-annotate-function): Make obsolete.
24854 (minibuffer-completion-help): Adjust accordingly.
24855 Use completion-list-insert-choice-function.
24856 (completion-at-point, completion-help-at-point):
24857 Bind completion-extra-properties.
24858 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
24859 * simple.el (completion-list-insert-choice-function): New var.
24860 (completion-setup-function): Preserve it.
24861 (choose-completion): Pay attention to it, shuffle the code a bit.
24862 (choose-completion-string): New arg `insert-function'.
24863
24864 * textmodes/bibtex.el: Convert to lexical binding.
24865 (bibtex-mode-map): Use completion-at-point.
24866 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
24867 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
24868 (bibtex-complete): Define as obsolete alias.
24869 (bibtex-complete-internal): Remove.
24870 (bibtex-format-entry): Remove unused sub-group in regexp.
24871 * shell.el (shell--command-completion-data)
24872 (shell-environment-variable-completion):
24873 * pcomplete.el (pcomplete-completions-at-point):
24874 * comint.el (comint--complete-file-name-data): Use :exit-function
24875 instead of completion-table-with-terminator so it also works for
24876 choose-completion.
24877
24878 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24879
24880 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
24881
24882 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
24883 (bug#8710).
24884
24885 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
24886
24887 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
24888
24889 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
24890 customization variable and implement: If non-nil, auto-fill will
24891 be inhibited while on topic's header line.
24892
24893 2011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
24894
24895 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
24896 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
24897 always have a solution in grid size = 5 cases.
24898 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
24899 (5x5-solver-output, 5x5-log-buffer): New vars.
24900 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
24901 Make these variables buffer local to achieve 5x5 multi-session-ness.
24902 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
24903 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
24904 (5x5-solve-suggest): New funs.
24905 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
24906 randomize a grid so that we ensure that there is always a solution.
24907 (5x5-make-random-grid): Allow other movement than flipping.
24908
24909 2011-05-23 Kevin Ryde <user42@zip.com.au>
24910
24911 * emacs-lisp/advice.el (ad-read-advised-function):
24912 Use `function-called-at-point' as the default, if it has
24913 advice and passes PREDICATE.
24914
24915 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24916
24917 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
24918 byte-compile-lambda if it's actually a lambda.
24919
24920 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
24921 Fix function quoting. Use backquote better.
24922
24923 2011-05-22 Yuanle Song <sylecn@gmail.com>
24924
24925 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
24926 matching (Bug#8516).
24927
24928 2011-05-22 Jari Aalto <jari.aalto@cante.net>
24929
24930 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
24931 different face (Bug#8178).
24932
24933 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
24934
24935 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
24936 defface (Bug#8144).
24937
24938 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
24939
24940 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
24941 funcall as well (bug#8712). Warn when performing those conversions.
24942 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
24943
24944 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
24945
24946 2011-05-22 Glenn Morris <rgm@gnu.org>
24947
24948 * files.el (hack-local-variables-prop-line): Small simplifications.
24949 (hack-local-variables, hack-local-variables-prop-line):
24950 If MODE-ONLY, return the mode, rather than just `t'.
24951
24952 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
24953
24954 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
24955
24956 2011-05-21 Glenn Morris <rgm@gnu.org>
24957
24958 * files.el (hack-local-variables-prop-line, hack-local-variables):
24959 If only interested in the mode, don't bother doing the other stuff.
24960
24961 * image-mode.el (image-after-revert-hook):
24962 Redraw all frames on which the image is visible. (Bug#8567)
24963
24964 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
24965
24966 * wid-edit.el (widget-checklist-match-inline):
24967 Fix 2011-04-19 change. (Bug#8649)
24968
24969 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
24970
24971 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
24972 Also allow singlespace after single-letter capitals followed by a dot.
24973
24974 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
24975 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
24976
24977 2011-05-20 Nix <nix@esperi.org.uk>
24978
24979 * files.el (basic-save-buffer-2):
24980 Fix handling of break-hardlink-on-save with non-existent files.
24981
24982 2011-05-19 Deniz Dogan <deniz@dogan.se>
24983
24984 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
24985 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
24986
24987 2011-05-19 Glenn Morris <rgm@gnu.org>
24988
24989 * progmodes/f90.el (f90-type-def-re):
24990 Handle "type, bind(c)". (Bug#8691)
24991
24992 * emacs-lisp/autoload.el (batch-update-autoloads):
24993 Set autoload-excludes by parsing loadup.el rather than Makefiles.
24994
24995 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
24996
24997 * net/tramp.el (tramp-process-actions): Set "first-password-request"
24998 property for the correct connection in case of multihops.
24999
25000 2011-05-18 Glenn Morris <rgm@gnu.org>
25001
25002 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
25003 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
25004
25005 Rationalize calendar handling of day and month abbrev-arrays.
25006 * calendar/calendar.el (calendar-customized-p): New function.
25007 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
25008 (calendar-day-name-array, calendar-month-name-array): Doc fix.
25009 Add :set function.
25010 (calendar-abbrev-length, calendar-day-abbrev-array)
25011 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
25012 (calendar-day-abbrev-array, calendar-month-abbrev-array):
25013 Elements may no longer be nil.
25014 (calendar-day-name, calendar-month-name):
25015 Update for changed nature of abbrev arrays.
25016 * calendar/diary-lib.el (diary-name-pattern):
25017 Update for changed nature of abbrev arrays.
25018 (diary-mark-entries-1): Update calendar-make-alist calls.
25019 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
25020 * calendar/cal-html.el (cal-html-day-abbrev-array):
25021 Simply inherit from calendar-day-abbrev-array.
25022
25023 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
25024
25025 * progmodes/grep.el (grep-mode): Disable default
25026 compilation-directory-matcher setting (bug#8684).
25027
25028 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
25029
25030 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
25031 instead of "head" and "tail". There were problems with SunOS 5.9,
25032 and it performs better.
25033
25034 2011-05-17 Glenn Morris <rgm@gnu.org>
25035
25036 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
25037
25038 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
25039 Replace obsolete function.
25040
25041 * shell.el (pcomplete-parse-arguments-function): Declare.
25042
25043 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
25044 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
25045 (appt-check): Doc fixes.
25046 (appt-disp-window-function, appt-delete-window-function):
25047 Remove needless special case in custom :type.
25048 (appt-display-count): Default to 0, not nil.
25049 (appt-check): Reset appt-display-count to 0, not nil.
25050
25051 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
25052
25053 * progmodes/python.el (python-font-lock-keywords):
25054 Add the Python 3.X keyword "nonlocal" (bug#8639).
25055
25056 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
25057
25058 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
25059
25060 2011-05-16 Kevin Ryde <user42@zip.com.au>
25061
25062 * info-look.el (makefile-automake-mode): New setups, looking in
25063 automake manual, then makefile-mode.
25064 (makefile-mode): Remove automake manual, have it just in
25065 makefile-automake-mode since there's various things different or
25066 not relevant to plain make.
25067 (makefile-mode): Remove "other-modes" non-existent automake-mode,
25068 believe a hypothetical automake-mode would go to makefile-mode,
25069 not the other way around.
25070
25071 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
25072
25073 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
25074 hunk-end tags (Bug#8672).
25075
25076 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
25077 vc-annotate-show-diff-revision-at-line (Bug#8671).
25078
25079 2011-05-14 Glenn Morris <rgm@gnu.org>
25080
25081 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
25082 in the middle of an existing one with multiple authors. (Bug#8645)
25083 (change-log-font-lock-keywords): Also handle multiple author lines
25084 with leading tabs. (Bug#8644)
25085
25086 * calendar/appt.el (appt-check): Rename some local variables.
25087 Some simplification/reordering.
25088
25089 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
25090 (feedmail-sendmail-f-doesnt-sell-me-out)
25091 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25092 (feedmail-debug-sit-for, feedmail-queue-express-hook)
25093 (feedmail-queue-runner-message-sender): Set :version.
25094 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
25095 (bbdb-dwim-net-address, vm-mail): Declare.
25096 (feedmail-binmail-gnulinuxish-template):
25097 Rename from feedmail-binmail-linuxish-template.
25098 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
25099 Use insert-buffer-substring.
25100
25101 2011-05-14 Bill Carpenter <bill@carpenter.org>
25102
25103 * mail/feedmail.el (feedmail-patch-level): Increase.
25104 (feedmail-debug): New custom group.
25105 (feedmail-confirm-outgoing-timeout)
25106 (feedmail-sendmail-f-doesnt-sell-me-out)
25107 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25108 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
25109 (feedmail-sender-line, feedmail-from-line)
25110 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
25111 (feedmail-spray-this-address)
25112 (feedmail-spray-address-fiddle-plex-list)
25113 (feedmail-queue-use-send-time-for-date)
25114 (feedmail-queue-use-send-time-for-message-id)
25115 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
25116 (feedmail-buffer-eating-function):
25117 Doc fixes.
25118 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
25119 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
25120 (feedmail-message-action-scroll-down): New functions.
25121 (feedmail-queue-directory, feedmail-queue-draft-directory):
25122 Use expand-file-name.
25123 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
25124 Remove C-v help entry.
25125 (feedmail-queue-buffer-file-name): New variable.
25126 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
25127 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
25128 (feedmail-message-action-send-strong, feedmail-message-action-edit)
25129 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
25130 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
25131 (feedmail-message-action-toggle-spray)
25132 (feedmail-run-the-queue-no-prompts)
25133 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
25134 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
25135 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
25136 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
25137 (feedmail-envelope-deducer, feedmail-fiddle-from)
25138 (feedmail-fiddle-sender, feedmail-default-date-generator)
25139 (feedmail-fiddle-date, feedmail-fiddle-message-id)
25140 (feedmail-fiddle-spray-address)
25141 (feedmail-fiddle-list-of-spray-fiddle-plexes)
25142 (feedmail-fiddle-list-of-fiddle-plexes)
25143 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
25144 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
25145 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
25146 Change default. Doc fix.
25147 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
25148 (feedmail-binmail-linuxish-template): New constant.
25149 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
25150 Respect feedmail-sendmail-f-doesnt-sell-me-out.
25151 (feedmail-send-it): Add debug call.
25152 Use feedmail-queue-buffer-file-name, and
25153 feedmail-send-it-immediately-wrapper.
25154 (feedmail-message-action-send): Add debug call.
25155 Use feedmail-send-it-immediately-wrapper.
25156 (feedmail-queue-express-to-queue): Add debug call.
25157 Run feedmail-queue-express-hook.
25158 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
25159 (feedmail-message-action-help-blat):
25160 Rename from feedmail-queue-send-edit-prompt-help-first.
25161 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
25162 Check line-endings. Handle errors better.
25163 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
25164 Doc fix. Add debug call.
25165 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
25166 Use feedmail-queue-send-edit-prompt-inner.
25167 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
25168 (feedmail-queue-send-edit-prompt-inner): New function, extracted
25169 from feedmail-queue-send-edit-prompt.
25170 (feedmail-queue-send-edit-prompt-help)
25171 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
25172 (feedmail-tidy-up-slug): Add debug call.
25173 Respect feedmail-queue-slug-suspect-regexp.
25174 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
25175 (feedmail-dump-message-to-queue): Add debug call.
25176 Expand queue-directory.
25177 (feedmail-dump-message-to-queue): Change message slightly.
25178 Use feedmail-say-chatter.
25179 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
25180 (feedmail-send-it-immediately-wrapper): New function.
25181 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
25182 Insert empty string rather than newline. Handle full-frame case.
25183 Use catch/throw. Use feedmail-say-chatter.
25184 (feedmail-fiddle-from): Try mail-host-address.
25185 (feedmail-default-message-id-generator): Doc fix.
25186 Bind system-time-locale. Handle missing end.
25187 (feedmail-fiddle-x-mailer): Add debug call.
25188 Handle feedmail-x-mailer-line being nil.
25189 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
25190 Add debug call. Use buffer-substring-no-properties.
25191 (feedmail-say-debug, feedmail-say-chatter): New functions.
25192 (feedmail-find-eoh): Give an explicit error.
25193
25194 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
25195
25196 * net/newst-treeview.el (newsticker-treeview-face): Change default
25197 family from helvetica to sans.
25198 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
25199 etc/images/newsticker.
25200
25201 * net/newst-reader.el (newsticker-feed-face): Change default
25202 family from helvetica to sans.
25203
25204 * net/newst-plainview.el (newsticker-new-item-face)
25205 (newsticker-old-item-face, newsticker-immortal-item-face)
25206 (newsticker-obsolete-item-face, newsticker-date-face)
25207 (newsticker-statistics-face): Change default family from
25208 helvetica to sans.
25209 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
25210 etc/images/newsticker.
25211
25212 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
25213 (newsticker--process-auto-mark-filter-match): Tell user about
25214 auto-marking.
25215
25216 2011-05-13 Didier Verna <didier@xemacs.org>
25217
25218 Common Lisp indentation improvements on defmethod and lambda-lists.
25219 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
25220 TODO entries.
25221 (lisp-lambda-list-keyword-parameter-indentation)
25222 (lisp-lambda-list-keyword-parameter-alignment)
25223 (lisp-lambda-list-keyword-alignment): New customizable user options.
25224 (lisp-indent-defun-method): Improve docstring.
25225 (extended-loop-p): Fix comment.
25226 (lisp-indent-lambda-list-keywords-regexp): New variable.
25227 (lisp-indent-lambda-list): New function.
25228 (lisp-indent-259): Use it.
25229 (lisp-indent-defmethod): Support for more than one
25230 method qualifier and properly indent methods lambda-lists.
25231 (defgeneric): Provide a missing common-lisp-indent-function property.
25232
25233 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
25234
25235 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
25236 bounds for the empty string (bug#8667).
25237
25238 2011-05-13 Glenn Morris <rgm@gnu.org>
25239
25240 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
25241
25242 * mail/sendmail.el (sendmail-program): Try executable-find first.
25243 (sendmail-send-it): `sendmail-program' cannot be unbound.
25244
25245 * calendar/appt.el (appt-make-list): Simplify.
25246 (appt-time-msg-list): Doc fix.
25247 (appt-check): Change mode-line message at the time of the appointment.
25248
25249 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
25250
25251 * progmodes/ld-script.el (ld-script-keywords)
25252 (ld-script-builtins): Update keywords list.
25253
25254 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25255
25256 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
25257
25258 * shell.el (shell-completion-vars): New function.
25259 (shell-mode):
25260 * simple.el (read-shell-command): Use it.
25261 (blink-matching-open): No need for " [...]" in minibuffer-message.
25262
25263 2011-05-12 Glenn Morris <rgm@gnu.org>
25264
25265 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
25266 (appt-check): Simplify.
25267
25268 2011-05-12 Eli Zaretskii <eliz@gnu.org>
25269
25270 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
25271 literal "/dev/null".
25272
25273 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25274
25275 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
25276 Fix typo.
25277
25278 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
25279
25280 * progmodes/which-func.el (which-function):
25281 Use add-log-current-defun instead of add-log-current-defun-function,
25282 which might not be defined (Bug#8260).
25283
25284 2011-05-12 Glenn Morris <rgm@gnu.org>
25285
25286 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
25287 Let byte-compile-initial-macro-environment always take precedence.
25288
25289 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25290
25291 * net/rcirc.el: Add support for SSL/TLS connections.
25292 (rcirc-server-alist): New field `encryption'.
25293 (rcirc): Check `encryption' settings.
25294 (rcirc-connect): New arg `encryption'. Use open-network-stream.
25295 Merge make-local-variable into `set'.
25296 (rcirc--connection-open-p): New function.
25297 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
25298 the process is not a network process (e.g. running gnutls-cli).
25299 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
25300 Make rcirc-(en|de)code-coding-system local here.
25301 (rcirc-mode): Merge make-local-variable into `set'.
25302 (rcirc-parent-buffer): Make permanent buffer-local.
25303 (rcirc-multiline-minor-mode): Don't do it here.
25304 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
25305 there's no server buffer.
25306
25307 2011-05-11 Glenn Morris <rgm@gnu.org>
25308
25309 * newcomment.el (comment-kill): Prefix "unused" local.
25310
25311 * term/w32console.el (get-screen-color): Declare.
25312
25313 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
25314 Handle symbol elements of byte-compile-initial-macro-environment.
25315
25316 2011-05-10 Leo Liu <sdl.web@gmail.com>
25317
25318 * bookmark.el (bookmark-bmenu-mode-map):
25319 Bind bookmark-bmenu-search to `/'.
25320
25321 * mail/footnote.el: Convert to utf-8 encoding.
25322 (footnote-unicode-string, footnote-unicode-regexp): New variable.
25323 (Footnote-unicode): New function.
25324 (footnote-style-alist): Add unicode style to the list.
25325 (footnote-style): Doc fix.
25326
25327 2011-05-10 Jim Meyering <meyering@redhat.com>
25328
25329 Fix doubled-word typos.
25330 * international/quail.el (quail-insert-kbd-layout): and and -> and
25331 * kermit.el: and and -> and
25332 * net/ldap.el (ldap-search-internal): to to -> to
25333 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
25334 * progmodes/js.el (js-mode): and and -> and
25335 * textmodes/artist.el (artist-move-to-xy): at at -> at
25336 (artist-draw-region-trim-line-endings): if if -> if
25337 And Safetyc -> Safety.
25338 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
25339
25340 2011-05-10 Glenn Morris <rgm@gnu.org>
25341 Stefan Monnier <monnier@iro.umontreal.ca>
25342
25343 * files.el (hack-one-local-variable-eval-safep):
25344 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
25345
25346 2011-05-10 Glenn Morris <rgm@gnu.org>
25347
25348 * calendar/diary-lib.el (diary-list-entries-hook)
25349 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
25350 (diary-nongregorian-marking-hook, diary-list-entries)
25351 (diary-include-other-diary-files, diary-mark-entries)
25352 (diary-mark-included-diary-files): Doc fixes.
25353
25354 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25355
25356 * misc.el: Require tabulated-list.el during compilation.
25357
25358 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25359
25360 * progmodes/compile.el (compilation-start):
25361 Run compilation-filter-hook for the async case too.
25362 (compilation-filter-hook): Doc fix.
25363
25364 2011-05-09 Deniz Dogan <deniz@dogan.se>
25365
25366 * wdired.el: Remove outdated installation comment. Fix usage
25367 comment.
25368
25369 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25370
25371 * misc.el: Implement new command `list-dynamic-libraries'.
25372 (list-dynamic-libraries--loaded-only-p): New variable.
25373 (list-dynamic-libraries--refresh): New function.
25374 (list-dynamic-libraries): New command.
25375
25376 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25377
25378 * progmodes/compile.el (compilation-error-regexp-alist-alist):
25379 Fix the ant regexp to handle end-line and end-column info from jikes.
25380 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
25381 higher priority to avoid clobbering by gnu.
25382
25383 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25384
25385 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
25386 if the face has existing theme settings (Bug#8454).
25387
25388 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
25389
25390 * progmodes/perl-mode.el (perl-imenu-generic-expression):
25391 Only match variables declared via `my' or `our' (Bug#8261).
25392
25393 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
25394 special file names `.' and `..' (Bug#8259).
25395
25396 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25397
25398 * progmodes/grep.el (grep-mode-font-lock-keywords):
25399 Remove buffer-changing entries.
25400 (grep-filter): New function.
25401 (grep-mode): Add it to compilation-filter-hook.
25402
25403 * progmodes/compile.el (compilation-filter-hook)
25404 (compilation-filter-start): New defvars.
25405 (compilation-filter): Call compilation-filter-hook prior to
25406 updating the process mark.
25407
25408 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
25409
25410 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
25411
25412 2011-05-07 Eli Zaretskii <eliz@gnu.org>
25413
25414 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
25415 mailclient-send-it even if window-system is nil. (Bug#8595)
25416
25417 * term/w32console.el (terminal-init-w32console):
25418 Call get-screen-color and use its output to set the frame
25419 background-mode. (Bug#8597)
25420
25421 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
25422
25423 Make bytecomp.el understand that defmethod defines funs (bug#8631).
25424 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
25425 New functions.
25426 (defgeneric, eieio--defmethod): Use them.
25427 (eieio-defgeneric): Remove.
25428 (defmethod): Call defgeneric in a way visible to the byte-compiler.
25429
25430 2011-05-07 Glenn Morris <rgm@gnu.org>
25431
25432 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
25433 Use let rather than let*.
25434 (timeclock-find-discrep): Remove unused local.
25435
25436 * calendar/diary-lib.el (diary-comment-start): Doc fix.
25437
25438 * calendar/appt.el (appt-time-msg-list): Doc fix.
25439
25440 2011-05-06 Noah Friedman <friedman@splode.com>
25441
25442 * apropos.el (apropos-print-doc): Only use
25443 emacs-lisp-docstring-fill-column when it is bound to an integer,
25444 per that variable's documentation.
25445
25446 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
25447
25448 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
25449 and warnings are not silently discarded (e.g. use -d instead of -P).
25450
25451 2011-05-06 Glenn Morris <rgm@gnu.org>
25452
25453 * calendar/appt.el (appt-message-warning-time): Doc fix.
25454 (appt-warning-time-regexp): New option.
25455 (appt-make-list): Respect appt-message-warning-time.
25456
25457 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
25458 New options.
25459 (diary-add-to-list): Strip comments from the displayed string.
25460 (diary-mode): Set comment-start and comment-end.
25461
25462 * vc/diff-mode.el (smerge-refine-subst): Declare.
25463 (diff-refine-hunk): Don't require smerge-mode when compiling.
25464
25465 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
25466
25467 * simple.el (list-processes): Return nil as the docstring says.
25468
25469 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25470
25471 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
25472 to "".
25473 (ange-ftp-write-region, ange-ftp-insert-file-contents)
25474 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
25475 determining of binary transfer. (Bug#7383)
25476
25477 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25478
25479 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25480 Fix port computation bug. (Bug#8618)
25481
25482 2011-05-05 Glenn Morris <rgm@gnu.org>
25483
25484 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
25485
25486 * simple.el (shell-dynamic-complete-functions)
25487 (comint-dynamic-complete-functions): Declare.
25488
25489 * net/network-stream.el (gnutls-negotiate):
25490 * simple.el (tabulated-list-print): Fix declarations.
25491
25492 * progmodes/gud.el (syntax-symbol, syntax-point):
25493 Remove unnecessary and incorrect declarations.
25494
25495 * emacs-lisp/check-declare.el (check-declare-scan):
25496 Handle byte-compile-initial-macro-environment in bytecomp.el.
25497
25498 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
25499
25500 Fix earlier half-done eieio-defmethod change (bug#8338).
25501 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
25502 Streamline and change calling convention.
25503 (defmethod): Adjust accordingly and simplify.
25504 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
25505 new eieio--defmethod.
25506 (slot-boundp): Minor CSE simplification.
25507
25508 2011-05-05 Milan Zamazal <pdm@zamazal.org>
25509
25510 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
25511 (glasses-make-readable): Use glasses-separate-capital-groups.
25512
25513 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
25514
25515 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
25516 (warning-series): Doc fix.
25517 (display-warning): Don't try to create the buffer if we just found it.
25518
25519 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
25520
25521 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
25522 (autoload-find-generated-file): New function.
25523 (generate-file-autoloads): Bind generated-autoload-file to
25524 buffer-file-name.
25525 (update-file-autoloads, update-directory-autoloads):
25526 Use autoload-find-generated-file. If called interactively, prompt for
25527 output file (Bug#7989).
25528 (batch-update-autoloads): Doc fix.
25529
25530 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
25531
25532 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
25533
25534 2011-05-04 Glenn Morris <rgm@gnu.org>
25535
25536 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
25537 function, so it follows changes in calendar-date-style.
25538 (diary-fancy-date-matcher): New function.
25539 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
25540 (diary-fancy-font-lock-fontify-region-function):
25541 Use diary-fancy-date-pattern as a function.
25542
25543 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
25544 non-numbers for `year' etc pseudo-variables. (Bug#8583)
25545
25546 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
25547
25548 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
25549 instead of positional arguments. Allow :keylist and :crlfiles
25550 arguments.
25551 (open-gnutls-stream): Call it.
25552
25553 * net/network-stream.el (network-stream-open-starttls): Adjust to
25554 call `gnutls-negotiate' with :process and :hostname arguments.
25555
25556 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
25557
25558 * minibuffer.el (completion--message): New function.
25559 (completion--do-completion, minibuffer-complete)
25560 (minibuffer-force-complete, minibuffer-complete-word): Use it.
25561 (completion--do-completion): Don't ignore completion-auto-help when in
25562 icomplete-mode.
25563
25564 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
25565 internal encoding (e.g. tibetan zero is not whitespace).
25566 (global-whitespace-mode): Prefer save-current-buffer.
25567 (whitespace-trailing-regexp): Remove useless save-match-data.
25568 (whitespace-empty-at-bob-regexp): Minor simplification.
25569
25570 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
25571
25572 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
25573
25574 2011-05-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
25575
25576 * textmodes/ispell.el (ispell-add-per-file-word-list):
25577 Use `concat' to create string for insertion.
25578
25579 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25580
25581 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
25582 Avoid open-line which runs post-self-insert-hook.
25583 (bibtex-fill-entry): Remove unused `end' var.
25584
25585 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
25586
25587 * textmodes/ispell.el (ispell-add-per-file-word-list):
25588 Protect against `nil' value of `comment-start' (Bug#8579).
25589
25590 2011-05-03 Leo Liu <sdl.web@gmail.com>
25591
25592 * isearch.el (isearch-yank-pop): New command.
25593 (isearch-mode-map): Bind it to `M-y'.
25594 (isearch-forward): Mention it.
25595
25596 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25597
25598 * simple.el (minibuffer-complete-shell-command): Remove.
25599 (minibuffer-local-shell-command-map): Use completion-at-point.
25600 (read-shell-command): Setup completion vars here instead.
25601 (read-expression-map): Bind TAB to symbol completion.
25602
25603 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
25604 error directly rather via storing it into `results'.
25605
25606 2011-05-02 Leo Liu <sdl.web@gmail.com>
25607
25608 * vc/diff.el: Fix description.
25609
25610 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
25611
25612 * server.el (server-eval-at): New function.
25613
25614 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
25615
25616 * net/network-stream.el (open-network-stream): Take a :nowait
25617 parameter and pass it on to `make-network-process'.
25618 (network-stream-open-plain): Ditto.
25619
25620 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
25621
25622 * faces.el (face-spec-set-match-display): Don't match toolkit
25623 options on terminal frames.
25624
25625 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
25626
25627 * progmodes/pascal.el: Use lexical binding.
25628 (pascal-mode-map): Remove author preferences.
25629
25630 * pcomplete.el (pcomplete-std-complete): Don't abuse
25631 completion-at-point.
25632
25633 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25634
25635 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
25636 removing code that has been dead since 1991 or so.
25637
25638 * startup.el (command-line): When warning about "_emacs", use a
25639 delayed warning to allow the user to filter it out.
25640
25641 2011-04-28 Deniz Dogan <deniz@dogan.se>
25642
25643 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
25644 user has not joined.
25645
25646 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25647
25648 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
25649 aren't any completions at point.
25650
25651 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25652
25653 * subr.el (display-delayed-warnings): New function.
25654 (delayed-warnings-hook): New variable.
25655
25656 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25657
25658 * minibuffer.el (completion-at-point, completion-help-at-point):
25659 Don't presume that a given completion-at-point-function will always
25660 use the same calling convention.
25661
25662 * pcomplete.el (pcomplete-completions-at-point):
25663 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
25664 pcomplete-seen is non-nil.
25665 (pcomplete-comint-setup): Also recognize the new comint/shell
25666 completion functions.
25667 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
25668 pcomplete-seen is non-nil.
25669
25670 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
25671
25672 * calendar/icalendar.el (diary-lib): Add require statement.
25673 (icalendar--create-uid): Read out a uid from a text-property on
25674 the first character in the entry. This allows for code to add its
25675 own uid to the entry.
25676 (icalendar--convert-float-to-ical): Add export of
25677 `diary-float'-entries save for those with the optional DAY
25678 argument.
25679
25680 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
25681
25682 * subr.el (shell-quote-argument): Use alternate escaping strategy
25683 when we spot a variable reference in a string.
25684
25685 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25686
25687 * cus-start.el (all): Define customization for debug-on-event.
25688
25689 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25690
25691 * subr.el (shell-quote-argument): Escape correctly under Windows.
25692
25693 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25694
25695 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
25696
25697 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
25698
25699 * net/tramp.el (tramp-process-actions): Add POS argument.
25700 Delete region between POS and (pos).
25701
25702 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25703 Use `nil' position in `tramp-process-actions' call.
25704 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
25705
25706 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
25707 position in `tramp-process-actions' call.
25708
25709 * net/trampver.el: Update release number.
25710
25711 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25712
25713 * custom.el (defcustom): Obey lexical-binding.
25714
25715 Fix octave-inf completion problems reported by Alexander Klimov.
25716 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
25717 Inherit from octave-mode-syntax-table.
25718 (inferior-octave-mode): Set info-lookup-mode.
25719 (inferior-octave-completion-at-point): New function.
25720 (inferior-octave-complete): Use it and completion-in-region.
25721 (inferior-octave-dynamic-complete-functions): Use it as well, and use
25722 comint-filename-completion.
25723 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
25724 symbol elements which shouldn't be word elements.
25725 (octave-font-lock-keywords, octave-beginning-of-defun)
25726 (octave-function-header-regexp): Adjust regexps accordingly.
25727 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
25728
25729 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
25730
25731 * net/gnutls.el (gnutls-errorp): Declare before first use.
25732
25733 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
25734
25735 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
25736 verify-error, and verify-hostname-error parameters. Check whether
25737 default trustfile exists before going to use it. Add missing
25738 argument to gnutls-message-maybe call. Return value.
25739 Reported by Claudio Bley <claudio.bley@gmail.com>.
25740 (open-gnutls-stream): Add usage example.
25741
25742 * net/network-stream.el (network-stream-open-starttls): Give host
25743 parameter to `gnutls-negotiate'.
25744 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
25745 * subr.el (shell-quote-argument): Escape correctly under Windows.
25746
25747 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
25748
25749 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
25750 Use correct match group (bug#8438).
25751
25752 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25753
25754 * emacs-lisp/package.el (package-built-in-p): Fix typo.
25755 (package-menu--generate): New arg specifying packages to show.
25756 (package-menu-refresh, package-menu-execute, list-packages):
25757 Callers changed.
25758 (package-show-package-list): New function, replacing deleted
25759 package--list-packages (renamed because it is non-internal).
25760
25761 * finder.el (finder-list-matches): Use package-show-package-list
25762 instead of deleted package--list-packages.
25763
25764 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
25765 Based on a previous implementation by Juanma Barranquero (Bug#8366).
25766 (vc-annotate-mode-map): Bind it to RET.
25767
25768 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
25769
25770 * progmodes/etags.el (next-file): Don't use set-buffer to change
25771 buffers (Bug#8478).
25772
25773 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25774
25775 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
25776
25777 * apropos.el (apropos-label-face): Avoid variable-pitch face.
25778 (apropos-accumulator): Doc fix.
25779 (apropos-function, apropos-macro, apropos-command)
25780 (apropos-variable, apropos-face, apropos-group, apropos-widget)
25781 (apropos-plist): Add face property.
25782 (apropos-symbols-internal): Fix indentation.
25783 (apropos-print): Simplify help, and recognize apropos-multi-type.
25784 (apropos-print-doc): Use button-type-get to extract the button's
25785 face property. Fill docstring (Bug#8352).
25786
25787 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
25788
25789 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
25790
25791 * play/mpuz.el (mpuz-silent): Doc fix.
25792 (mpuz-mode-map): Use mapc.
25793 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
25794 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
25795 Fix typos in docstrings.
25796
25797 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
25798 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
25799
25800 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
25801
25802 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
25803
25804 * minibuffer.el (completion--do-completion): Avoid the "Next char
25805 not unique" prompt if icomplete-mode is enabled (Bug#5849).
25806
25807 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
25808 mouse-2 into unread-command-events, it is interpreted correctly.
25809
25810 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
25811 (image-toggle-display): Doc fix.
25812
25813 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
25814
25815 * textmodes/page.el (what-page): Use line-number-at-pos to
25816 calculate line number (Bug#6825).
25817
25818 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25819
25820 * eshell/esh-mode.el (find-tag-interactive): Declare function.
25821 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
25822 Pass argument NO-DEFAULT to `find-tag-interactive'.
25823
25824 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25825
25826 Lexical-binding cleanup.
25827
25828 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
25829 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
25830 * progmodes/ada-prj.el (ada-prj-initialize-values)
25831 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
25832 (ada-prj-show-value):
25833 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
25834 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
25835 (antlr-invalidate-context-cache, antlr-options-menu-filter)
25836 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
25837 * progmodes/bug-reference.el (bug-reference-push-button):
25838 * progmodes/fortran.el (fortran-line-length):
25839 * progmodes/glasses.el (glasses-change):
25840 * progmodes/octave-mod.el (octave-fill-paragraph):
25841 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
25842 (python-pdbtrack-grub-for-buffer, python-sentinel):
25843 * progmodes/sql.el (sql-save-connection):
25844 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
25845 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
25846 Mark unused parameters.
25847
25848 * progmodes/compile.el (compilation--flush-directory-cache)
25849 (compilation--flush-parse, compile-internal): Mark unused parameters.
25850 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
25851 (compilation-next-error-function): Remove unused variable `timestamp'.
25852
25853 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
25854 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
25855
25856 * progmodes/dcl-mode.el (dcl-end-of-command):
25857 Remove unused variable `start'.
25858 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
25859 (dcl-option-value-basic, dcl-option-value-offset)
25860 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
25861 Mark unused parameters.
25862 (dcl-save-local-variable): Remove unused variable `val'.
25863 (mode): Declare.
25864
25865 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
25866 Mark unused parameters.
25867 (delphi-ignore-changes): Move before first use.
25868 (delphi-charset-token-at): Remove unused variable `start'.
25869 (delphi-else-start): Remove unused variable `if-count'.
25870 (delphi-comment-block-start, delphi-comment-block-end):
25871 Remove unused variable `kind'.
25872 (delphi-indent-line): Remove unused variable `new-point'.
25873
25874 * progmodes/ebrowse.el (ebrowse-files-list)
25875 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
25876 Mark unused parameters. Don't quote `lambda'.
25877 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
25878 Don't quote `lambda'.
25879 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
25880 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
25881 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
25882 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
25883 Use `ignore-errors'.
25884 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
25885 (ebrowse-view/find-file-and-search-pattern)
25886 (ebrowse-view/find-member-declaration/definition):
25887 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
25888 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
25889 Rename parameter PREFIX-ARG to PREFIX.
25890 (ebrowse-tags-read-name): Remove unused variables `start' and
25891 `member-info'.
25892 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
25893 to `tags-file'.
25894
25895 * progmodes/etags.el (local-find-tag-hook): Declare.
25896 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
25897 Mark unused parameters.
25898
25899 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
25900 (executable-interpret): Mark unused parameter.
25901
25902 * progmodes/flymake.el (flymake-process-sentinel)
25903 (flymake-after-change-function)
25904 (flymake-create-temp-with-folder-structure)
25905 (flymake-get-include-dirs-dot): Mark unused parameters.
25906 (flymake-safe-delete-directory): Remove unused variable `err'.
25907
25908 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
25909 (speedbar-timer-fn, speedbar-line-text)
25910 (speedbar-change-expand-button-char, speedbar-delete-subblock)
25911 (speedbar-center-buffer-smartly): Declare functions.
25912 (gdb-find-watch-expression): Remove unused variable `array'.
25913 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
25914 (gdb-starting): Mark unused parameters.
25915 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
25916 (gdb-table-string): Remove unused variable `res'.
25917 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
25918 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
25919 (gdb-display-buffer): Remove unused variable `cur-size'.
25920
25921 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
25922 allow lexical-binding compilation.
25923 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
25924 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
25925 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
25926 Mark unused parameters.
25927 (gud-gdb-marker-filter): Remove unused variable `match'.
25928 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
25929 lambda expressions and funcall them, instead of using `fset'.
25930
25931 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
25932 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
25933
25934 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
25935 variable `header-beg'; use `let'.
25936
25937 * progmodes/icon.el (indent-icon-exp): Remove unused variables
25938 `restart', `last-sexp' and `at-do'.
25939
25940 * progmodes/js.el (js--debug): Mark unused parameter.
25941 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
25942 (js--splice-into-items): Remove unused variable `item'.
25943 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
25944
25945 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
25946 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
25947 (makefile-complete): Remove unused variable `try'.
25948 (makefile-fill-paragraph, makefile-match-function-end):
25949 Mark unused parameters.
25950
25951 * progmodes/octave-inf.el (inferior-octave-complete):
25952 Remove unused variable `proc'.
25953 (inferior-octave-output-digest): Mark unused parameter.
25954
25955 * progmodes/perl-mode.el (perl-calculate-indent):
25956 Remove unused variable `err'.
25957
25958 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
25959 (prolog-indent-line): Mark unused parameters.
25960 (prolog-indent-line): Remove unused variable `beg'.
25961
25962 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
25963 (reporter-dont-compact-list): Declare.
25964
25965 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
25966 Remove unused variable `char'.
25967 (sh-debug): Mark unused parameter.
25968 (sh-get-indent-info): Remove unused variable `start'.
25969 (sh-calculate-indent): Remove unused variable `var'.
25970
25971 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
25972 (simula-electric-keyword): Remove unused variable `null'.
25973 (simula-search-backward, simula-search-forward): Remove unused
25974 variables `begin' and `end'.
25975
25976 * progmodes/vera-mode.el (vera-guess-basic-syntax):
25977 Remove unused variable `pos'.
25978 (vera-electric-tab, vera-comment-uncomment-region):
25979 Mark unused parameters.
25980 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
25981
25982 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
25983
25984 * emacs-lisp/package.el (package--builtins, package-alist)
25985 (package-load-descriptor, package-built-in-p, package-activate)
25986 (define-package, package-installed-p)
25987 (package-compute-transaction, package-buffer-info)
25988 (package--push): Doc fix. Distinguish more clearly between
25989 version strings and version lists.
25990
25991 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
25992
25993 Lexical-binding cleanup.
25994
25995 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
25996 (5x5-make-mutate-best):
25997 * play/fortune.el (fortune-in-buffer):
25998 * play/gomoku.el (gomoku-init-display):
25999 * play/solitaire.el (solitaire, solitaire-do-check):
26000 * play/tetris.el (tetris-default-update-speed-function):
26001 Mark unused parameters.
26002
26003 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
26004 (bubbles--shift): Remove unused variable `char-org'.
26005 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
26006 (bubbles--show-images): Remove unused variable `char'.
26007
26008 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
26009 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
26010 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
26011 (decipher-analyze-buffer): Use ?\s.
26012 (decipher-make-checkpoint): Remove unused variable `mapping'.
26013
26014 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
26015
26016 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
26017 Remove unused variable `result'; use `let'.
26018
26019 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
26020 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
26021 (gametree-children-shown-p, gametree-compute-reduced-score):
26022 Use `ignore-errors'.
26023
26024 * play/handwrite.el (ps-lpr-switches): Declare.
26025 (handwrite): Remove unused variables `pmin' and `lastp'.
26026
26027 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
26028
26029 * play/landmark.el (landmark-init-display)
26030 (landmark-update-naught-weights): Mark unused parameters.
26031 (landmark-y): Remove unused variable `noise'. Simplify.
26032 (landmark-human-plays): Remove unused variable `score'.
26033
26034 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
26035 (mpuz-try-proposal): Remove unused variable `game'.
26036
26037 * play/zone.el (life-patterns): Declare.
26038
26039 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
26040
26041 * vc/vc.el (ediff-vc-internal): Declare function.
26042
26043 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26044
26045 * shell.el: Use lexical-binding and std completion UI.
26046 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
26047 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
26048 comint-preoutput-filter-functions rather than on
26049 comint-output-filter-functions.
26050 (shell-command-completion, shell--command-completion-data)
26051 (shell-filename-completion, shell-environment-variable-completion)
26052 (shell-c-a-p-replace-by-expanded-directory): New functions.
26053 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
26054 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
26055 (shell-dynamic-complete-environment-variable): Use them.
26056 (shell-dynamic-complete-as-environment-variable)
26057 (shell-dynamic-complete-as-command): Remove.
26058 (shell-match-partial-variable): Match past point.
26059 * comint.el: Clean up use of completion-at-point-functions.
26060 (comint-completion-at-point): New function.
26061 (comint-mode): Use it completion-at-point-functions.
26062 (comint-dynamic-complete): Make it obsolete.
26063 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
26064 (comint-c-a-p-replace-by-expanded-history): New function.
26065 (comint-dynamic-complete-functions)
26066 (comint-replace-by-expanded-history): Use it.
26067 * minibuffer.el (completion-table-with-terminator): Allow dynamic
26068 termination strings. Try harder to avoid second try-completion.
26069 (completion-in-region-mode-map): Disable bindings that don't work yet.
26070
26071 * comint.el: Use lexical-binding. Require CL.
26072 (comint-dynamic-complete-functions): Use comint-filename-completion.
26073 (comint-completion-addsuffix): Tweak custom type.
26074 (comint-filename-completion, comint--common-suffix)
26075 (comint--common-quoted-suffix, comint--table-subvert)
26076 (comint--complete-file-name-data): New functions.
26077 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
26078 (comint-dynamic-list-filename-completions): Use them.
26079 (comint-dynamic-simple-complete): Make obsolete.
26080
26081 * minibuffer.el (completion-in-region-mode):
26082 Keep completion-in-region-mode--predicate global.
26083 (completion-in-region--postch):
26084 Assume completion-in-region-mode--predicate is not null.
26085
26086 * progmodes/flymake.el (flymake-start-syntax-check-process):
26087 Obey `dir'. Simplify.
26088
26089 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
26090 we're in VC after all.
26091
26092 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
26093
26094 * vc/vc.el (vc-diff-build-argument-list-internal)
26095 (vc-version-ediff, vc-ediff): New commands.
26096 (vc-version-diff): Use vc-diff-build-argument-list-internal.
26097
26098 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26099
26100 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
26101 add sanity check.
26102
26103 * obsolete/erc-hecomplete.el: Make obsolete.
26104 * obsolete/: Standardize obsolescence info in the header.
26105
26106 2011-04-20 Glenn Morris <rgm@gnu.org>
26107
26108 * calendar/solar.el (solar-horizontal-coordinates):
26109 Use the longitude argument rather than `calendar-longitude'.
26110 (solar-date-next-longitude): Remove unused locals.
26111
26112 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
26113
26114 * whitespace.el: New version 13.2.1.
26115
26116 2011-04-20 felix <EmacsWiki> (tiny change)
26117
26118 * whitespace.el (global-whitespace-mode): Keep highlight when
26119 switching between major modes on a file.
26120
26121 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
26122
26123 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
26124 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
26125 multi-line comments as well.
26126
26127 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
26128
26129 Lexical-binding cleanup.
26130
26131 * arc-mode.el (archive-mode-revert):
26132 * cmuscheme.el (scheme-interactively-start-process):
26133 * custom.el (custom-initialize-delay):
26134 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
26135 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
26136 * emacs-lock.el (emacs-lock-clear-sentinel):
26137 * ezimage.el (defezimage):
26138 * follow.el (follow-avoid-tail-recenter):
26139 * fringe.el (set-fringe-mode-1):
26140 * generic-x.el (bat-generic-mode-compile):
26141 * help-mode.el (help-info-variable, help-do-xref)
26142 (help-mode-revert-buffer):
26143 * help.el (view-emacs-todo):
26144 * iswitchb.el (iswitchb-completion-help):
26145 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
26146 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
26147 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
26148 * locate.el (locate-update):
26149 * longlines.el (longlines-encode-region)
26150 (longlines-after-change-function):
26151 * outline.el (outline-isearch-open-invisible):
26152 * ps-def.el (declare-function, charset-dimension, char-width)
26153 (encode-char):
26154 * ps-mule.el (ps-mule-plot-string):
26155 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
26156 (recentf-edit-list-select, recentf-edit-list-validate)
26157 (recentf-open-files-action):
26158 * rect.el (delete-whitespace-rectangle-line)
26159 (rectangle-number-line-callback):
26160 * register.el (window-configuration-to-register)
26161 (frame-configuration-to-register):
26162 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
26163 * select.el (xselect-convert-to-string, xselect-convert-to-length)
26164 (xselect-convert-to-targets, xselect-convert-to-delete)
26165 (xselect-convert-to-filename, xselect-convert-to-charpos)
26166 (xselect-convert-to-lineno, xselect-convert-to-colno)
26167 (xselect-convert-to-os, xselect-convert-to-host)
26168 (xselect-convert-to-user, xselect-convert-to-class)
26169 (xselect-convert-to-name, xselect-convert-to-integer)
26170 (xselect-convert-to-atom, xselect-convert-to-identity):
26171 * subr.el (declare, ignore, process-kill-without-query)
26172 (text-clone-maintain):
26173 * terminal.el (te-get-char, te-tic-sentinel):
26174 * tool-bar.el (tool-bar-make-keymap):
26175 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
26176 * type-break.el (type-break-mode, type-break-noninteractive-query):
26177 * view.el (View-back-to-mark):
26178 * wid-browse.el (widget-browse-action, widget-browse-widget)
26179 (widget-browse-widgets, widget-browse-sexp):
26180 * widget.el (define-widget-keywords):
26181 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
26182 Mark unused parameters.
26183
26184 * align.el (align-adjust-col-for-rule): Mark unused parameter.
26185 (align-areas): Remove unused variable `look'.
26186 (align-region): Remove unused variables `real-end' and `pos-list'.
26187
26188 * apropos.el (apropos-score-doc): Remove unused variable `i'.
26189
26190 * bindings.el (mode-line-modified, mode-line-remote):
26191 Mark unused parameters.
26192 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
26193
26194 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
26195 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
26196
26197 * comint.el (comint-history-isearch-pop-state)
26198 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
26199 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
26200 (comint-substitute-in-file-name): Doc fix.
26201
26202 * completion.el (cmpl-statistics-block): Mark unused parameter.
26203 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
26204 (save-completions-to-file, load-completions-from-file):
26205 Remove unused local variable `e'.
26206
26207 * composite.el (compose-chars): Remove unused variable `len'.
26208 (lgstring-insert-glyph): Remove unused variable `g'.
26209 (compose-glyph-string): Remove unused variables `ascent',
26210 `descent', `lbearing' and `rbearing'.
26211 (compose-glyph-string-relative): Remove unused variables
26212 `lbearing', `rbearing' and `wadjust'.
26213 (compose-gstring-for-graphic): Remove unused variables `header',
26214 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
26215 (compose-gstring-for-terminal): Remove unused variables `header'
26216 and `nchars'. Use `let', not `let*'.
26217
26218 * cus-edit.el (Custom-set, Custom-save, custom-reset)
26219 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
26220 (Custom-buffer-done, custom-buffer-create-internal)
26221 (custom-browse-visibility-action, custom-browse-group-tag-action)
26222 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
26223 (widget-magic-mouse-down-action, custom-toggle-parent)
26224 (custom-add-parent-links, custom-toggle-hide-variable)
26225 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
26226 (custom-toggle-hide-face, face, hook, custom-group-link-action)
26227 (custom-face-menu-create, custom-variable-menu-create, get)
26228 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
26229 (custom-reset-standard-save-and-update): Remove unused variable `value'.
26230 (customize-apropos): Remove unused variable `tests'.
26231 (custom-group-value-create): Remove unused variable `hidden-p'.
26232 (sort-fold-case): Declare.
26233
26234 * cus-theme.el (custom-reset-standard-faces-list)
26235 (custom-reset-standard-variables-list): Declare.
26236 (customize-create-theme, custom-theme-revert, custom-theme-write)
26237 (custom-theme-choose-mode, customize-themes, custom-theme-save):
26238 Mark unused parameters.
26239
26240 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
26241
26242 * delim-col.el (delimit-columns-max): Move defvar before first use.
26243
26244 * descr-text.el (describe-char-categories): Don't quote `lambda'.
26245 (describe-char): Don't quote `lambda'. Mark unused parameter.
26246
26247 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
26248 (auto-insert): Declare.
26249 (desktop-restore-file-buffer): Rename desktop-* parameters;
26250 mark unused ones.
26251 (desktop-create-buffer): Rename desktop-* parameters and bind them.
26252 (desktop-buffer): Rename desktop-* parameters.
26253
26254 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
26255 (dframe-reposition-frame-xemacs, dframe-help-echo)
26256 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
26257 Mark unused parameters.
26258
26259 * dired-aux.el (backup-extract-version-start, overwrite-query)
26260 (overwrite-backup-query, rename-regexp-query)
26261 (rename-non-directory-query): Declare.
26262 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
26263 (dired-add-entry): Remove unused variable `orig-file-name'.
26264 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
26265 Use parameter PRESERVE-TIME instead of accessing dynamic variable
26266 `dired-copy-preserve-time' directly.
26267 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
26268 (dired-insert-subdir-newpos): Rename unused variable `pos'.
26269
26270 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
26271 (dired-virtual-revert, dired-make-relative-symlink):
26272 Mark unused parameters.
26273 (manual-program): Declare.
26274 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
26275 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
26276 wrapped in `with-no-warnings' to avoid replacing one warning by another.
26277
26278 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
26279
26280 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
26281
26282 * echistory.el (electric-history-in-progress, Helper-return-blurb):
26283 Declare.
26284
26285 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
26286
26287 * electric.el (Electric-command-loop): Rename parameter
26288 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
26289
26290 * expand.el (expand-in-literal): Remove unused variable `here'.
26291
26292 * facemenu.el (facemenu-add-new-color):
26293 Remove unused variable `docstring'.
26294
26295 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
26296 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
26297 (face-attr-construct): Mark unused parameter. Doc fix.
26298 (read-color): Remove unused variable `hex-string'.
26299
26300 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
26301 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
26302 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
26303 (display-buffer-other-frame): Remove unused variable `old-window'.
26304 (kill-buffer-hook): Declare.
26305 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
26306 Mark unused parameters.
26307 (after-find-file): Pass 1 to `auto-save-mode', not t.
26308
26309 * files-x.el (auto-insert): Declare.
26310 (modify-file-local-variable-prop-line): Remove unused variable `val'.
26311
26312 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
26313 variable `buf'. Mark unused parameter.
26314 (find-lisp-insert-directory): Mark unused parameter.
26315
26316 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
26317 (format-encode-region): Remove unused variables `cur-buf' and `result'.
26318 (format-common-tail): Remove, unused.
26319 (format-deannotate-region): Remove unused variable `loc'.
26320 (format-annotate-region): Remove unused variable `p'.
26321 (format-annotate-single-property-change): Remove unused variables
26322 `default' and `tail'.
26323
26324 * forms.el (read-file-filter): Declare.
26325 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
26326
26327 * frame.el (frame-creation-function-alist): Mark unused parameter.
26328 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
26329
26330 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
26331 Remove unused parameters.
26332 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
26333 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
26334
26335 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
26336 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
26337 (hfy-prepare-tag-map): Mark unused parameters.
26338 (htmlfontify-buffer): Use `called-interactively-p'.
26339
26340 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
26341 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
26342 (ibuffer-do-occur): Mark unused parameters.
26343 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
26344 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
26345
26346 * ibuffer.el: Don't quote `lambda'.
26347 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
26348 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
26349 Mark unused parameters.
26350
26351 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
26352 (ido-completing-read): Mark unused parameters.
26353 (ido-copy-current-word): Mark unused parameters;
26354 remove unused variable `name'.
26355 (ido-sort-merged-list): Remove unused parameter `dirs'.
26356
26357 * ielm.el (ielm-input-sender): Mark unused parameter.
26358 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
26359 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
26360 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
26361 `ielm-string' as a dynamic variable accessible from the IELM prompt.
26362 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
26363
26364 * image-dired.el (image-dired-display-thumbs): Remove unused
26365 variables `curr-file' and `count'.
26366 (image-dired-remove-tag): Remove unused variable `start'.
26367 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
26368 variable `curr-file'
26369 (image-dired-rotate-original): Remove unused variable `temp-file'.
26370 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
26371 Remove unused variable `file'.
26372 (image-dired-gallery-generate): Remove unused variable `curr'.
26373 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
26374
26375 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
26376
26377 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
26378
26379 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
26380
26381 * isearch.el (minibuffer-history-symbol): Declare.
26382 (isearch-edit-string): Remove unused variable `err'.
26383 (isearch-message-prefix, isearch-message-suffix):
26384 Mark unused parameters.
26385
26386 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
26387
26388 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
26389
26390 * makesum.el (double-column): Remove unused variable `cnt'.
26391
26392 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
26393 (ido-ignore-item-temp-list): Declare.
26394
26395 * mouse-drag.el (mouse-drag-throw): Remove unused variables
26396 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
26397 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
26398 (mouse-drag-drag): Remove unused variables `mouse-delta' and
26399 `mouse-col-delta'.
26400
26401 * mouse-sel.el (mouse-extend-internal):
26402 Remove unused variable `orig-window-frame'.
26403
26404 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
26405 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
26406 Move declarations before first use.
26407 (pcomplete-opt): Mark unused parameters; doc fix.
26408
26409 * proced.el (proced-revert): Mark unused parameter.
26410 (proced-send-signal): Remove unused variable `err'.
26411
26412 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
26413 Rename parameter PREFIX-ARG to ARG.
26414 (ps-basic-plot-string, ps-basic-plot-whitespace):
26415 Mark unused parameters.
26416
26417 * replace.el (replace-count): Define.
26418 (occur-revert-function): Mark unused parameters.
26419 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
26420 (isearch-case-fold-search, isearch-string): Declare.
26421 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
26422 bind `case-fold-search'. Remove unused variables `beg' and `end',
26423 and simplify.
26424 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
26425 COUNT and bind `replace-count'.
26426 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
26427 to COUNT.
26428
26429 * savehist.el (print-readably, print-string-length): Declare.
26430
26431 * shadowfile.el (shadow-expand-cluster-in-file-name):
26432 Remove unused variable `cluster'.
26433 (shadow-copy-file): Remove unused variable `i'.
26434 (shadow-noquery, shadow-clusters, shadow-site-cluster)
26435 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
26436 (shadow-define-literal-group, shadow-define-regexp-group)
26437 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
26438
26439 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
26440 (shell): Use `called-interactively-p'.
26441 (shell-directory-tracker): Remove unused variable `chdir-failure'.
26442
26443 * simple.el (compilation-context-lines, comint-file-name-quote-list)
26444 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
26445 (delete-backward-char): Remove unused variable `ocol'.
26446 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
26447 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
26448 (event-apply-hyper-modifier, event-apply-shift-modifier)
26449 (event-apply-control-modifier, event-apply-meta-modifier):
26450 Mark unused parameters.
26451 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
26452 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
26453
26454 * speedbar.el (speedbar-ignored-directory-expressions)
26455 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
26456 (speedbar-find-file, speedbar-dir-follow)
26457 (speedbar-directory-buttons-follow, speedbar-tag-find)
26458 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
26459 (speedbar-buffers-line-directory, speedbar-buffer-click):
26460 Mark unused parameters.
26461 (speedbar-tag-file): Remove unused variable `mode'.
26462 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
26463
26464 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
26465
26466 * talk.el (talk): Remove unused variable `display'.
26467
26468 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
26469 (tar-write-region-annotate): Mark unused parameter.
26470
26471 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
26472 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
26473 Declare them, wrapped in `with-no-warnings' to avoid replacing one
26474 warning by another.
26475
26476 * time-stamp.el (time-stamp-string-preprocess):
26477 Remove unused variable `require-padding'.
26478
26479 * tree-widget.el (widget-glyph-enable): Declare.
26480 (tree-widget-action): Mark unused parameter.
26481
26482 * w32-fns.el (x-get-selection): Mark unused parameter.
26483 (autoload-make-program, generated-autoload-file): Declare.
26484
26485 * wdired.el (wdired-revert): Mark unused parameters.
26486 (wdired-xcase-word): Remove unused variable `err'.
26487
26488 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
26489 (whitespace-help-scroll): Remove unused variable `data-help'.
26490
26491 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
26492 (widget-image-insert, widget-after-change, default)
26493 (widget-default-format-handler, widget-default-notify)
26494 (widget-default-prompt-value, widget-info-link-action)
26495 (widget-url-link-action, widget-function-link-action)
26496 (widget-variable-link-action, widget-file-link-action)
26497 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
26498 (widget-field-prompt-internal, widget-field-action, widget-field-match)
26499 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
26500 (widget-insert-button-action, widget-delete-button-action, visibility)
26501 (widget-documentation-link-action, widget-documentation-string-action)
26502 (widget-const-prompt-value, widget-regexp-match, symbol)
26503 (widget-coding-system-prompt-value)
26504 (widget-key-sequence-value-to-external, sexp)
26505 (widget-sexp-value-to-internal, character, vector, cons)
26506 (widget-choice-prompt-value, widget-boolean-prompt-value)
26507 (widget-color--choose-action): Mark unused parameters.
26508 (widget-item-match-inline, widget-choice-match-inline)
26509 (widget-checklist-match, widget-checklist-match-inline)
26510 (widget-group-match): Rename parameter VALUES to VALS.
26511 (widget-field-value-set): Remove unused variable `size'.
26512 (widget-color-action): Remove unused variables `value' and `start'.
26513
26514 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
26515 variable `dir'. Doc fix.
26516 (windmove-find-other-window): Don't pass it.
26517
26518 * window.el (count-windows): Mark unused parameter.
26519 (bw-adjust-window): Remove unused variable `err'.
26520
26521 * woman.el (woman-file-name): Remove unused variable `default'.
26522 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
26523 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
26524 (global-font-lock-mode): Declare.
26525 (woman-decode-region): Mark unused parameter.
26526 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
26527
26528 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
26529 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
26530 (x-dnd-handle-moz-url): Remove unused variable `title'.
26531 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
26532
26533 * xml.el (xml-parse-tag, xml-parse-attlist):
26534 Remove unused variable `pos'.
26535
26536 2011-04-19 Glenn Morris <rgm@gnu.org>
26537
26538 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
26539 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
26540 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
26541 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
26542 * calendar/cal-html.el (cal-html-insert-minical):
26543 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
26544 (calendar-mark-date-pattern):
26545 Prefix "unused" locals.
26546
26547 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
26548 optional argument `style'.
26549
26550 * calendar/appt.el (appt-make-list):
26551 * calendar/cal-china.el (calendar-chinese-date-string):
26552 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
26553 (diary-hebrew-yahrzeit):
26554 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
26555 * calendar/calendar.el (calendar-generate-window):
26556 * calendar/time-date.el (time-to-days):
26557 Remove unused local variables.
26558
26559 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
26560
26561 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
26562 glyphless-char-display table.
26563 (tabulated-list-glyphless-char-display): New var.
26564
26565 2011-04-18 Sam Steingold <sds@gnu.org>
26566
26567 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
26568 to acknowledgments.
26569
26570 2011-04-17 Glenn Morris <rgm@gnu.org>
26571
26572 * calendar/diary-lib.el (diary-sexp-entry):
26573 * calendar/holidays.el (holiday-sexp):
26574 Set debug-on-error rather than the removed stack-trace-on-error.
26575
26576 2011-04-16 Glenn Morris <rgm@gnu.org>
26577
26578 * progmodes/f90.el: Use lexical-binding.
26579 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
26580
26581 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26582
26583 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
26584 (mail-mode): Setup mailalias completion here instead.
26585 * mail/mailalias.el: Use lexical-binding.
26586 (pattern, mailalias-done): Declare dynamic.
26587 (mail-completion-at-point-function): New function, from mail-complete.
26588 (mail-complete): Use it.
26589 (mail-completion-expand): New function.
26590 (mail-get-names): Use it.
26591 (mail-directory, mail-directory-process, mail-directory-stream):
26592 Don't use `pattern' for lexically bound arg.
26593
26594 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
26595
26596 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
26597 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
26598 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
26599
26600 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
26601 (byte-save-window-excursion, byte-temp-output-buffer-setup)
26602 (byte-interactive-p): Define them again, for use when inlining
26603 old code.
26604
26605 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
26606
26607 * loadup.el: Use `string-to-number', not `string-to-int'.
26608
26609 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26610
26611 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
26612 gud-gdb-complete-command.
26613 (gud-gdb-completions): New function, from gud-gdb-complete-command.
26614 (gud-gdb-completion-at-point): New function.
26615 (gud-gdb-completions): Remove.
26616
26617 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
26618
26619 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
26620 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
26621 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
26622 whether `executable-find' is bound.
26623
26624 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
26625
26626 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
26627
26628 * minibuffer.el (completion-in-region-mode-predicate)
26629 (completion-in-region-mode--predicate): New vars.
26630 (completion-in-region, completion-in-region--postch)
26631 (completion-in-region-mode): Use them.
26632 (completion--capf-wrapper): Also return the hook function.
26633 (completion-at-point, completion-help-at-point):
26634 Adjust and provide a predicate.
26635
26636 Preserve arg names for advice of subr and lexical functions (bug#8457).
26637 * help-fns.el (help-function-arglist): Consolidate the subr and
26638 new-byte-code cases. Add argument `preserve-names' to extract names
26639 from the docstring when needed.
26640 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
26641 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
26642 (ad-arglist): Use help-function-arglist's new arg.
26643 (ad-definition-type): Use cond.
26644
26645 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
26646
26647 * autorevert.el (auto-revert-handler):
26648 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
26649 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
26650 Don't quote lambda.
26651
26652 * image-mode.el (image-transform-set-scale):
26653 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
26654
26655 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
26656
26657 * net/network-stream.el (network-stream-open-starttls): Only do
26658 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
26659 Upgrades via gnutls-cli are too slow to be done opportunistically.
26660
26661 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
26662
26663 * dframe.el (dframe-current-frame): Remove spurious quote.
26664
26665 2011-04-12 Glenn Morris <rgm@gnu.org>
26666
26667 * calendar/cal-tex.el (cal-tex-end-document):
26668 Try to automatically use latin1 input if needed.
26669
26670 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
26671 Don't try to cons a mark onto an empty element.
26672
26673 2011-04-11 Leo Liu <sdl.web@gmail.com>
26674
26675 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
26676 buffers.
26677 (ido-kill-buffer-at-head): Support killing virtual buffers.
26678
26679 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
26680
26681 * minibuffer.el (completion-show-inline-help): New var.
26682 (completion--do-completion, minibuffer-complete)
26683 (minibuffer-force-complete, minibuffer-complete-word):
26684 Inhibit minibuffer messages if completion-show-inline-help is nil.
26685
26686 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
26687 to avoid interference from inline help (Bug#5849).
26688
26689 2011-04-10 Leo Liu <sdl.web@gmail.com>
26690
26691 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
26692 Fix typo.
26693
26694 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
26695
26696 * image-mode.el (image-toggle-display-image): Signal an error if
26697 not in Image mode.
26698 (image-transform-mode, image-transform-resize)
26699 (image-transform-set-rotation): Doc fix.
26700 (image-transform-set-resize): Delete.
26701 (image-transform-set-scale, image-transform-fit-to-height)
26702 (image-transform-fit-to-width): Handle image-toggle-display-image
26703 and image-transform-resize directly.
26704
26705 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
26706
26707 * doc-view.el (doc-view-fit-width-to-window)
26708 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
26709 New functions for fitting the shown image to the Emacs window size.
26710 (doc-view-mode-map): Add bindings for the new functions.
26711
26712 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
26713
26714 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
26715 Fix typo in docstring.
26716
26717 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26718
26719 * files.el (file-size-human-readable): Produce one digit after
26720 decimal, like "ls -lh" does.
26721
26722 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
26723 the file size representation.
26724
26725 * simple.el (list-processes): If async subprocesses are not
26726 available, error out with a clear error message.
26727
26728 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
26729
26730 * help.el (help-form-show): New function, to be called from C.
26731 Put help-form output in a buffer named differently than *Help*.
26732
26733 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26734
26735 * files.el (file-size-human-readable): New function.
26736
26737 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
26738 computing the representation inline. Don't require `cl'.
26739
26740 2011-04-08 Glenn Morris <rgm@gnu.org>
26741
26742 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
26743
26744 * net/browse-url.el (browse-url-firefox):
26745 Test system-type, not system-configuration.
26746
26747 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
26748 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
26749 Use log-edit-empty-buffer-p. (Bug#7598)
26750
26751 * net/rlogin.el (rlogin-process-connection-type): Simplify.
26752 (rlogin-mode-map): Initialize in the defvar.
26753 (rlogin): Use ignore-errors.
26754
26755 * replace.el (occur-mode-map): Some fixes for menu items.
26756
26757 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
26758
26759 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
26760
26761 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26762
26763 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
26764 issuing unused warnings.
26765
26766 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
26767 macro directly.
26768
26769 * simple.el: Lisp reimplement of list-processes. Based on an
26770 earlier reimplementation by Leo Liu, but using tabulated-list.el.
26771 (process-menu-mode): New major mode.
26772 (list-processes--refresh, list-processes):
26773 (process-menu-visit-buffer): New functions.
26774
26775 * files.el (save-buffers-kill-emacs): Don't assume any return
26776 value of list-processes, which is undocumented anyway.
26777
26778 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26779
26780 * emacs-lisp/tabulated-list.el: New file.
26781
26782 * emacs-lisp/package.el: Use Tabulated List mode.
26783 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
26784 (package-menu-mode): Derive from tabulated-list-mode. Set up the
26785 table format using Tabulated List mode variables.
26786 (package--push): New macro, replacing package-list-maybe-add.
26787 (package-menu--generate): Use package--push. Renamed from
26788 package--generate-package-list.
26789 (package-menu-refresh, list-packages): Use it.
26790 (package-menu--print-info): Rename from package-print-package.
26791 Return insertion data instead of inserting it directly.
26792 (package-menu-describe-package, package-menu-execute):
26793 Use tabulated-list-get-id.
26794 (package-menu-mark-delete, package-menu-mark-install)
26795 (package-menu-mark-unmark, package-menu-backup-unmark)
26796 (package-menu-mark-obsolete-for-deletion):
26797 Use tabulated-list-put-tag.
26798 (package--list-packages, package-menu-revert)
26799 (package-menu-get-package, package-menu-get-version)
26800 (package-menu-sort-by-column): Functions deleted.
26801 (package-menu-package-list, package-menu-sort-key): Vars deleted.
26802 (package-menu--status-predicate, package-menu--version-predicate)
26803 (package-menu--name-predicate)
26804 (package-menu--description-predicate): Handle arguments in the
26805 Tabulated List format.
26806 (package-list-packages-no-fetch): Call list-packages.
26807
26808 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
26809
26810 * files.el (after-find-file-from-revert-buffer): Remove variable.
26811 (after-find-file): Don't bind it.
26812 (revert-buffer-in-progress-p): New variable.
26813 (revert-buffer): Bind it.
26814 Pass nil for `after-find-file-from-revert-buffer'.
26815
26816 * saveplace.el (save-place-find-file-hook): Use new variable
26817 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
26818
26819 2011-04-06 Glenn Morris <rgm@gnu.org>
26820
26821 * Makefile.in (AUTOGEN_VCS): New variable.
26822 (autoloads): Use $AUTOGEN_VCS.
26823
26824 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
26825 * calendar/calendar.el (calendar-mode-map):
26826 Check for toolkit scroll bars. (Bug#8305)
26827
26828 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26829
26830 * minibuffer.el (completion-in-region--postch)
26831 (completion-in-region-mode): Remove unnecessary messages.
26832
26833 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
26834
26835 * font-lock.el (font-lock-refresh-defaults):
26836 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
26837 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
26838
26839 * info.el (Info-directory-list, Info-read-node-name-2)
26840 (Info-split-parameter-string): Doc fixes.
26841 (Info-virtual-nodes): Reflow docstring.
26842 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
26843 (Info-apropos-toc-nodes, info-finder, Info-get-token)
26844 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
26845 Fix typos in docstrings.
26846 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
26847 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
26848 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
26849 (Info-restore-desktop-buffer): Mark unused parameters.
26850 (Info-directory-find-file, Info-directory-find-node)
26851 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
26852 (Info-virtual-index-find-node, Info-apropos-find-file)
26853 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
26854 Mark unused parameters; fix typos in docstrings.
26855 (Info-virtual-index): Remove unused local variable `nodename'.
26856
26857 2011-04-05 Deniz Dogan <deniz@dogan.se>
26858
26859 * net/rcirc.el: Update my e-mail address.
26860 (rcirc-mode-map): Remove M-o binding.
26861
26862 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26863
26864 * startup.el (command-line): Save the cursor's theme-face
26865 directly, instead of using face-override-spec.
26866
26867 * custom.el (load-theme): Minor optimization in assigning faces.
26868
26869 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26870
26871 * help-fns.el (describe-variable): Complete all variables having
26872 documentation, including keywords.
26873 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
26874
26875 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26876
26877 Convert to lexical-binding.
26878
26879 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
26880 (bs--get-marked-string, bs--get-modified-string)
26881 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
26882 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
26883 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
26884
26885 * ehelp.el (electric-help-execute-extended)
26886 (electric-help-ctrl-x-prefix):
26887 * hexl.el (hexl-revert-buffer-function):
26888 * linum.el (linum-after-change, linum-after-scroll):
26889 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
26890
26891 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
26892
26893 2011-04-04 Daiki Ueno <ueno@unixuser.org>
26894
26895 * epa-dired.el:
26896 * epa-mail.el:
26897 * epa-hook.el:
26898 * epa-file.el:
26899 * epa.el:
26900 * epg.el: Use lexical binding.
26901
26902 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
26903
26904 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
26905
26906 * textmodes/flyspell.el (flyspell-word): Recognize default
26907 dictionary case for flyspell-mark-duplications-exceptions.
26908 Use regexp matching for languages.
26909 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
26910 default dictionary (Bug#7926).
26911
26912 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
26913
26914 * emacs-lisp/package.el (package--with-work-buffer):
26915 Recognize https URLs.
26916
26917 * net/network-stream.el: Move from gnus/proto-stream.el.
26918 Change prefix to network-stream throughout.
26919 (open-protocol-stream): Merge into open-network-stream, leaving
26920 open-protocol-stream as an alias. Handle nil BUFFER args.
26921
26922 * subr.el (open-network-stream): Move to net/network-stream.el.
26923
26924 2011-04-02 Glenn Morris <rgm@gnu.org>
26925
26926 * find-dired.el (find-exec-terminator): New option.
26927 (find-ls-option): Test for -ls support.
26928 (find-ls-subdir-switches): Test for -b in find-ls-option.
26929 (find-dired, find-grep-dired): Doc fixes.
26930 (find-dired): Use find-exec-terminator.
26931
26932 * find-dired.el (find-ls-option, find-ls-subdir-switches)
26933 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
26934 (find-name-arg): Remove purecopy.
26935
26936 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
26937 (grep-compute-defaults): Check for `-exec COMMAND +' support.
26938 Set grep-find-use-xargs, grep-find-command, and grep-find-template
26939 accordingly. Don't add the null-device if not needed.
26940
26941 * files.el (save-some-buffers): Doc fix.
26942
26943 2011-04-02 Eli Zaretskii <eliz@gnu.org>
26944
26945 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
26946
26947 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
26948
26949 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
26950 Use `dolist' rather than `mapcar'.
26951
26952 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
26953
26954 Add lexical binding.
26955
26956 * subr.el (apply-partially): Use new closures rather than CL.
26957 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
26958 (dolist, dotimes): Use slightly different expansion for lexical code.
26959 (functionp): Move to C.
26960 (letrec): New macro.
26961 (with-wrapper-hook): Use it and apply-partially instead of CL.
26962 (eval-after-load): Preserve lexical-binding.
26963 (save-window-excursion, with-output-to-temp-buffer): Turn them
26964 into macros.
26965
26966 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
26967
26968 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
26969 than the arglist.
26970 (help-add-fundoc-usage): Don't add `Not documented'.
26971 (help-function-arglist): Handle closures, subroutines, and new
26972 byte-code-functions.
26973 (help-make-usage): Remove leading underscores.
26974 (describe-function-1): Handle closures.
26975 (describe-variable): Use special-variable-p for completion.
26976
26977 * files.el (lexical-binding): Declare safe.
26978
26979 * emacs-lisp/pcase.el: Don't use destructuring-bind.
26980 (pcase--memoize): Rename from pcase-memoize. Change weakness.
26981 (pcase): Add `let' pattern.
26982 Change memoization so it actually works.
26983 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
26984 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
26985 <let>: New case.
26986
26987 * emacs-lisp/macroexp.el: Use lexical binding.
26988 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
26989 Don't convert ' to #' without checking that it's indeed quoting
26990 a lambda.
26991
26992 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
26993 Use eval-sexp-add-defvars.
26994 (eval-sexp-add-defvars): New fun.
26995
26996 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
26997
26998 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
26999 Don't autoload.
27000 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
27001 than the internal `byte-compile-lambda'.
27002 (defmethod): Don't hide code under quotes.
27003 (eieio-defmethod): New `code' argument.
27004
27005 * emacs-lisp/eieio-comp.el: Remove.
27006
27007 * emacs-lisp/edebug.el (edebug-eval-defun)
27008 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
27009 (edebug-toggle): Avoid `eval'.
27010
27011 * emacs-lisp/disass.el (disassemble-internal): Handle new
27012 `closure' objects.
27013 (disassemble-1): Handle new byte codes.
27014
27015 * emacs-lisp/cl.el (pushnew): Silence warning.
27016
27017 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
27018 (cl-byte-compile-throw): Remove.
27019 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
27020
27021 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
27022 closures.
27023
27024 * emacs-lisp/cconv.el: New file.
27025
27026 * emacs-lisp/bytecomp.el: Use lexical binding instead of
27027 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
27028 (byte-compile-initial-macro-environment):
27029 Handle declare-function here.
27030 (byte-compile--lexical-environment): New var.
27031 (byte-stack-ref, byte-stack-set, byte-discardN)
27032 (byte-discardN-preserve-tos): New lap codes.
27033 (byte-interactive-p): Don't use any more.
27034 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
27035 New macros.
27036 (byte-compile-lapcode): Use them and handle new lap codes.
27037 (byte-compile-obsolete): Remove.
27038 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
27039 (byte-compile-arglist-warn): Check late def of inlinable funs.
27040 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
27041 since they should have been expanded by now.
27042 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
27043 (byte-compile-from-buffer): Remove unused second arg.
27044 (byte-compile-preprocess): New function.
27045 (byte-compile-toplevel-file-form): New function to distinguish
27046 file-form calls from outside from file-form calls from hunk-handlers.
27047 (byte-compile-file-form): Simplify.
27048 (byte-compile-file-form-defsubst): Remove.
27049 (byte-compile-file-form-defmumble): Simplify now that
27050 byte-compile-lambda always returns a byte-code-function.
27051 (byte-compile): Preprocess.
27052 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
27053 Remove, not used any more.
27054 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
27055 (byte-compile-make-args-desc): New funs.
27056 (byte-compile-lambda): Handle lexical functions. Always return
27057 a byte-code-function.
27058 (byte-compile-reserved-constants): New var, to make up room for
27059 closed-over variables.
27060 (byte-compile-constants-vector): Obey it.
27061 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
27062 (byte-compile-macroexpand-declare-function): New function.
27063 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
27064 byte-code-functions.
27065 (byte-compile-form): Check obsolescence here.
27066 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
27067 (byte-compile-variable-ref): Remove.
27068 (byte-compile-dynamic-variable-op): New fun.
27069 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
27070 (byte-compile-variable-set): New funs.
27071 (byte-compile-discard): Add 2 args.
27072 (byte-compile-stack-ref, byte-compile-stack-set)
27073 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
27074 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
27075 macroexpand-all instead.
27076 (byte-compile-quote-form): Remove.
27077 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
27078 (byte-compile-bind, byte-compile-unbind): New funs.
27079 (byte-compile-let): Handle let* and lexical binding.
27080 (byte-compile-let*): Remove.
27081 (byte-compile-catch, byte-compile-unwind-protect)
27082 (byte-compile-track-mouse, byte-compile-condition-case):
27083 Handle a new :fun-body form, used for lexical scoping.
27084 (byte-compile-save-window-excursion)
27085 (byte-compile-with-output-to-temp-buffer): Remove.
27086 (byte-compile-defun): Simplify.
27087 (byte-compile-stack-adjustment): New fun.
27088 (byte-compile-out): Use it.
27089 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
27090
27091 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
27092 handler any more.
27093
27094 * emacs-lisp/byte-opt.el: Use lexical binding.
27095 (byte-inline-lapcode): Remove (to bytecomp).
27096 (byte-compile-inline-expand): Pay attention to inlining to/from
27097 lexically bound code.
27098 (byte-compile-unfold-lambda): Don't handle byte-code-functions
27099 any more.
27100 (byte-optimize-form-code-walker): Don't handle save-window-excursion
27101 any more and don't call compiler-macros.
27102 (byte-compile-splice-in-already-compiled-code): Remove.
27103 (byte-code): Don't inline any more.
27104 (disassemble-offset): Receive `bytes' as argument rather than via
27105 dynamic scoping.
27106 (byte-compile-tag-number): Declare before first use.
27107 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
27108 `return' even if make-spliceable.
27109 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
27110 obsolete interactive-p.
27111 (byte-optimize-lapcode): Optimize new lap-codes.
27112 Don't trip up on new form of `byte-constant' lap code.
27113
27114 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
27115
27116 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
27117
27118 * custom.el (custom-initialize-default, custom-declare-variable):
27119 Use `defvar'.
27120
27121 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
27122 New variables.
27123 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
27124 (COMPILE_FIRST): Add macroexp and cconv.
27125 * makefile.w32-in: Mirror changes in Makefile.in.
27126
27127 * vc/cvs-status.el:
27128 * vc/diff-mode.el:
27129 * vc/log-edit.el:
27130 * vc/log-view.el:
27131 * vc/smerge-mode.el:
27132 * textmodes/bibtex-style.el:
27133 * textmodes/css-mode.el:
27134 * startup.el:
27135 * uniquify.el:
27136 * minibuffer.el:
27137 * newcomment.el:
27138 * reveal.el:
27139 * server.el:
27140 * mpc.el:
27141 * emacs-lisp/smie.el:
27142 * doc-view.el:
27143 * dired.el:
27144 * abbrev.el: Use lexical binding.
27145
27146 2011-04-01 Eli Zaretskii <eliz@gnu.org>
27147
27148 * info.el (info-display-manual): New function.
27149
27150 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
27151
27152 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
27153
27154 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
27155
27156 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
27157 an entry for that server in rcirc-authinfo. (Bug#8385)
27158
27159 2011-03-31 Glenn Morris <rgm@gnu.org>
27160
27161 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
27162
27163 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
27164
27165 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
27166
27167 * progmodes/python.el (python-default-interpreter)
27168 (python-python-command-args, python-jython-command-args)
27169 (python-which-shell, python-which-args, python-which-bufname)
27170 (python-file-queue, python-comint-output-filter-function)
27171 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
27172 variables and functions.
27173
27174 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
27175
27176 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
27177 (completion-in-region-mode): New minor mode.
27178 (completion-in-region): Use it.
27179 (completion-in-region--data, completion-in-region-mode-map): New vars.
27180 (completion-in-region--postch): New function.
27181 (completion--capf-misbehave-funs, completion--capf-safe-funs):
27182 New vars.
27183 (completion--capf-wrapper): New function.
27184 (completion-at-point): Use it to track well-behavedness of
27185 hook functions.
27186 (completion-help-at-point): New command.
27187
27188 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
27189
27190 * vc/add-log.el (add-change-log-entry): Don't use whitespace
27191 syntax class to search for whitespace on a single line
27192 (Message-ID: <4D938140.4030905@redhat.com>).
27193
27194 2011-03-30 Leo Liu <sdl.web@gmail.com>
27195
27196 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
27197 New commands.
27198 (edit-abbrevs-map): Bind them here.
27199 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
27200
27201 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
27202
27203 * allout.el (allout-hide-by-annotation, allout-flag-region):
27204 Reduce possibility of overlay leakage by making them volatile.
27205
27206 * allout-widgets.el (allout-widgets-tally): Define as nil so the
27207 hash is not shared between buffers. Mode initialization is
27208 responsible for giving it a useful starting value.
27209 (allout-item-span): Reduce possibility of overlay leakage by
27210 making them volatile.
27211 (allout-widgets-count-buttons-in-region): Add diagnostic function
27212 for tracking down button overlay leaks.
27213
27214 2011-03-29 Leo Liu <sdl.web@gmail.com>
27215
27216 * ido.el (ido-read-internal): Use the default history var
27217 minibuffer-history if no HISTORY is specified.
27218
27219 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
27220
27221 * net/imap.el (imap-shell-open, imap-process-connection-type):
27222 Use imap-process-connection-type for 'shell' streams as well as
27223 Kerberos, SSL, other subprocesses.
27224
27225 2011-03-28 Leo Liu <sdl.web@gmail.com>
27226
27227 * abbrev.el (abbrev-table-empty-p): New function.
27228 (prepare-abbrev-list-buffer): Place empty abbrev tables after
27229 nonempty ones. (Bug#5937)
27230
27231 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
27232
27233 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
27234
27235 2011-03-27 Leo Liu <sdl.web@gmail.com>
27236
27237 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
27238 for foreground and background colors.
27239 (ansi-color-make-color-map): Adapt.
27240
27241 2011-03-25 Leo Liu <sdl.web@gmail.com>
27242
27243 * midnight.el (midnight-time-float): Remove. Note it calculates
27244 the microsecond component incorrectly and seconds-to-time does the
27245 same job.
27246 Remove redundant (require 'timer).
27247
27248 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
27249 (ido-completions): Remove unused arguments. (Bug#8329)
27250
27251 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
27252
27253 * minibuffer.el (completion--flush-all-sorted-completions):
27254 Remove itself from hook.
27255 (completion-at-point): Let the functions perform the completion
27256 immediately and return nil or t.
27257 * comint.el (comint-dynamic-complete-functions): Now identical to
27258 completion-at-point-functions.
27259 (comint-dynamic-list-input-ring): Remove unused var `index'.
27260 (comint--match-partial-filename, comint--unquote&expand-filename):
27261 New funs, split from comint-match-partial-filename.
27262 (comint-dynamic-complete): Use completion-at-point.
27263 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
27264
27265 2011-03-24 Drew Adams <drew.adams@oracle.com>
27266
27267 * thingatpt.el: Support `defun'.
27268
27269 2011-03-23 Leo Liu <sdl.web@gmail.com>
27270
27271 * abbrevlist.el: Move to obsolete/abbrevlist.el.
27272
27273 * help-mode.el (help-mode-finish): Tweak regexp.
27274
27275 2011-03-23 Glenn Morris <rgm@gnu.org>
27276
27277 * eshell/esh-opt.el (eshell-eval-using-options):
27278 Do not bind unused local variable `eshell-option-stub'.
27279
27280 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
27281
27282 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27283
27284 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
27285 keymap variable in `with-no-warnings' to avoid a warning when the
27286 keymap has been already `defconst'ed.
27287
27288 2011-03-22 Leo Liu <sdl.web@gmail.com>
27289
27290 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
27291 encode all chars in abbrevs; otherwise use emacs-mule or
27292 utf-8-emacs. (Bug#8308)
27293
27294 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27295
27296 * simple.el (backward-delete-char-untabify):
27297 Avoid warning about using `delete-backward-char'.
27298
27299 * image.el (image-type-file-name-regexps): Make it variable.
27300 `imagemagick-register-types' modifies it, and the user may want
27301 to add new extensions for known image types.
27302 (imagemagick-register-types): Throw error if not using ImageMagick.
27303
27304 2011-03-22 Leo Liu <sdl.web@gmail.com>
27305
27306 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
27307 located before rcirc-prompt-end-marker.
27308 (rcirc-complete): Error if point is not after rcirc prompt.
27309 Handle the case when table is nil.
27310 (rcirc-user-authenticated): Define to fix compiler warning.
27311
27312 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
27313
27314 * custom.el (custom--inhibit-theme-enable): Make it affect only
27315 custom-theme-set-variables and custom-theme-set-faces.
27316 (provide-theme): Ignore custom--inhibit-theme-enable.
27317 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
27318 (custom-enabling-themes): Delete variable.
27319 (enable-theme): Accept only loaded themes as arguments.
27320 Ignore the special custom-enabled-themes variable.
27321 (custom-enabled-themes): Forbid themes from setting this.
27322 Eliminate use of custom-enabling-themes.
27323 (custom-push-theme): Quote "changed" custom var entry.
27324
27325 2011-03-21 Leo Liu <sdl.web@gmail.com>
27326
27327 * ido.el (ido-read-internal): Add ido-selected to history instead
27328 of user input.
27329
27330 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
27331
27332 * subr.el (deferred-action-list, deferred-action-function):
27333 Mark obsolete.
27334
27335 2011-03-21 Leo Liu <sdl.web@gmail.com>
27336
27337 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
27338 change on 2011-02-13 (bug#8309).
27339
27340 * minibuffer.el (read-file-name-function): Change default value.
27341 (read-file-name--defaults): Rename from read-file-name-defaults.
27342 (read-file-name-default): Rename from read-file-name.
27343 (read-file-name): Call read-file-name-function.
27344
27345 2011-03-21 Glenn Morris <rgm@gnu.org>
27346
27347 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
27348 Doc fixes.
27349
27350 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
27351
27352 * cus-theme.el: Add missing provide statement.
27353 (customize-create-theme): Extract theme value correctly.
27354 (custom-theme-visit-theme): Autoload.
27355 (customize-create-theme): Prompt before inserting default faces.
27356
27357 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
27358
27359 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
27360 units and musical notes.
27361
27362 2011-03-20 Leo Liu <sdl.web@gmail.com>
27363
27364 * ido.el (ido-read-internal): Use completing-read-default.
27365 (ido-completing-read): Fix compatibility with completing-read.
27366
27367 2011-03-20 Christian Ohler <ohler@gnu.org>
27368
27369 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
27370 (ert-delete-all-tests): Use `called-interactively-p' rather than
27371 `interactive-p'.
27372 (ert--make-xrefs-region): Respect END.
27373
27374 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27375
27376 * dired-aux.el (dired-create-directory): Signal an error if the
27377 directory already exists (Bug#8246).
27378
27379 * facemenu.el (list-colors-display): Call list-faces-display
27380 inside with-help-window.
27381 (list-colors-print): Use display property to align the final
27382 column, instead of checking window-width.
27383
27384 2011-03-19 Eli Zaretskii <eliz@gnu.org>
27385
27386 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
27387 windows-nt systems.
27388 (emerge-protect-metachars): Quote correctly for ms-dos and
27389 windows-nt systems.
27390
27391 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
27392
27393 * info.el (info-initialize): Replace all uses of `:' with
27394 path-separator for compatibility with non-Unix systems.
27395 Cache quoting of path-separator. (Bug#8258)
27396
27397 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
27398
27399 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
27400 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
27401 (mouse-avoidance-mode): Fix typos in docstrings.
27402
27403 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27404
27405 * startup.el (package-subdirectory-regexp): Move from package.el.
27406 Omit \\` and \\', and let callers add them.
27407
27408 * emacs-lisp/package.el (package-strip-version)
27409 (package-load-all-descriptors): Add \\` and \\' to
27410 package-subdirectory-regexp before using it.
27411 (package-untar-buffer): New arg DIR; ensure that file untars only
27412 into this expected directory. Remove superfluous delete-region.
27413 (package-unpack): Caller changed.
27414 (package-tar-file-info): Use package-subdirectory-regexp.
27415
27416 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
27417
27418 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
27419 diff-mode-shared-map (bug#8284).
27420 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
27421
27422 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
27423
27424 * calendar/time-date.el (format-seconds): Use assoc instead of
27425 assoc-string, since assoc-string doesn't exist in XEmacs.
27426
27427 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
27428
27429 * custom.el (custom-known-themes): Reflow docstring.
27430 (custom-theme-load-path): Fix typo in docstring.
27431 (load-theme): Fix typo in error message.
27432 (custom-available-themes, custom-variable-theme-value):
27433 Use `let', not `let*'.
27434
27435 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
27436
27437 * calc/README: Mention inclusion of musical notes.
27438
27439 * calc/calc-units.el (calc-lu-quant): Rename from
27440 `calc-logunits-quantity'.
27441 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
27442 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
27443 (calc-db): Rename from `calc-dblevel'.
27444 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
27445 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
27446 (calc-np): Rename from `calc-nplevel'.
27447 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
27448 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
27449 (calc-lu-plus): Rename from `calc-logunits-add'.
27450 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
27451 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
27452 (calc-lu-minus): Rename from `calc-logunits-sub'.
27453 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
27454 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
27455 (calc-lu-times): Rename from `calc-logunits-mul'.
27456 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
27457 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
27458 (calc-lu-divide): Rename from `calc-logunits-div'.
27459 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
27460 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
27461
27462 * calc/calc-ext.el (calc-init-extensions): Update the names of the
27463 functions being autoloaded.
27464
27465 * calc/calc.el (calc-lu-power-reference): Rename from
27466 `calc-logunits-power-reference'.
27467 (calc-lu-field-reference): Rename from
27468 `calc-logunits-field-reference'.
27469
27470 * calc/calc-help.el (calc-l-prefix-help):
27471 Mention musical note functions.
27472
27473 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
27474
27475 * minibuffer.el (completion-all-sorted-completions):
27476 Use :completion-cycle-penalty text property if present.
27477
27478 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
27479
27480 * allout.el (allout-yank-processing): Adjust for new rebulleting
27481 regime so bullet being yanked is used without prompting the user
27482 for a choice.
27483
27484 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27485
27486 * startup.el (command-line): Warn the user that _emacs is deprecated.
27487
27488 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27489
27490 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
27491 (delphi-verbose, delphi-comment-face, delphi-string-face)
27492 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
27493 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
27494 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
27495 (delphi-new-comment-line, delphi-font-lock-defaults)
27496 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
27497 Fix typos in docstrings.
27498
27499 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
27500
27501 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
27502 Invert the roles of character and string values for INSTEAD, so a
27503 string is used for the more common case of a defaulting prompt.
27504
27505 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27506
27507 * progmodes/ruby-mode.el (ruby-backward-sexp):
27508 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
27509 * play/gamegrid.el (gamegrid-make-face):
27510 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
27511 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
27512 * notifications.el (notifications-notify):
27513 * net/xesam.el (xesam-search-engines):
27514 * net/quickurl.el (quickurl-list-insert):
27515 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
27516
27517 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
27518
27519 * startup.el (command-line): Update package subdirectory regexp.
27520
27521 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27522
27523 * allout.el (allout-abbreviate-flattened-numbering)
27524 (allout-mode-deactivate-hook): Fix up obsolescence "date".
27525
27526 * subr.el (read-char-choice): Only show the cursor after the prompt,
27527 not after the answer.
27528
27529 2011-03-15 Kevin Ryde <user42@zip.com.au>
27530
27531 * help-fns.el (variable-at-point): Skip leading quotes, if any
27532 (bug#8253).
27533
27534 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27535
27536 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
27537 warning message.
27538
27539 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
27540
27541 * shell.el (shell): When called interactively, offer to change the
27542 shell file name on remote hosts.
27543
27544 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
27545
27546 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
27547 integration for LDAP parameters. The host, base, user or binddn,
27548 and secret tokens can be specified in a netrc file, for instance.
27549 This is optional because an `auth-source' parameter must be
27550 specified in the search attributes.
27551
27552 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
27553
27554 * help.el (describe-mode): Link to the mode's definition (bug#8185).
27555
27556 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27557
27558 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
27559 into declaration. Remove redundant and harmful binding.
27560
27561 2011-03-12 Eli Zaretskii <eliz@gnu.org>
27562
27563 * files.el (file-ownership-preserved-p): Pass `integer' as an
27564 explicit 2nd argument to `file-attributes'. If the file's owner
27565 is the Administrators group on Windows, and the current user is
27566 Administrator, consider that a match.
27567
27568 * server.el (server-ensure-safe-dir): Consider server directory
27569 safe on MS-Windows if its owner is the Administrators group while
27570 the current Emacs user is Administrator. Use `=' to compare
27571 numerical UIDs, since they could be integers or floats.
27572
27573 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
27574
27575 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
27576
27577 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
27578
27579 Sync with Tramp 2.2.1.
27580
27581 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
27582
27583 * net/trampver.el: Update release number.
27584
27585 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27586
27587 * progmodes/compile.el (compilation--previous-directory): Fix up
27588 various nil/dead-marker mismatches (bug#8014).
27589 (compilation-directory-properties, compilation-error-properties):
27590 Don't call it at a position past the one we're about to change.
27591
27592 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
27593 Disable obsolescence warnings in the file that declares it.
27594
27595 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
27596
27597 * allout-widgets.el (allout-widgets-tally):
27598 Initialize allout-widgets-tally as a hash table rather than nil to
27599 prevent mode-line redisplay warnings. Also, clarify the module
27600 description and fix a comment typo.
27601
27602 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
27603
27604 * help-fns.el (describe-variable): Don't complete keywords.
27605 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
27606
27607 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
27608
27609 * emacs-lisp/package.el (package-version-join): Impose a standard
27610 string representation for pre/alpha/beta version lists.
27611 (package-unpack-single): Standardize the directory name by passing
27612 it through package-version-join.
27613 (package-strip-rcs-id): Accept any version string that does not
27614 signal an error in version-to-list.
27615
27616 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
27617
27618 * simple.el (delete-trailing-whitespace): Return nil for the
27619 benefit of `write-file-functions'.
27620
27621 2011-03-10 Glenn Morris <rgm@gnu.org>
27622
27623 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
27624
27625 * vc/vc-git.el (vc-git-program): New option.
27626 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
27627 (vc-git--call): Use it.
27628
27629 * eshell/esh-util.el (eshell-condition-case): Doc fix.
27630
27631 * cus-edit.el (Custom-newline): If no button at point, look
27632 for a subgroup button at start-of-line. (Bug#2298)
27633
27634 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
27635
27636 2011-03-10 Julien Danjou <julien@danjou.info>
27637
27638 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
27639 `cursor-type' is nil.
27640
27641 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
27642
27643 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
27644
27645 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
27646
27647 * allout.el: Change so yank of distinctive-bullet items
27648 preserves the existing header prefix, rebulleting it if necessary,
27649 rather than replacing it. This is necessary for proper operation
27650 of cooperative addons like allout-widgets.
27651 (allout-make-topic-prefix, allout-rebullet-heading):
27652 Change SOLICIT arg to INSTEAD, and interpret additionally a string
27653 value as alternate bullet to be used, instead of prompting the user
27654 for a bullet character.
27655
27656 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
27657
27658 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
27659 Do not use `tramp-file-name-port', because this returns also
27660 `tramp-default-port'.
27661
27662 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
27663
27664 * net/rcirc.el (rcirc-handler-001): Remove useless
27665 with-rcirc-process-buffer.
27666 (rcirc-check-auth-status): Swap arguments to string-match.
27667
27668 2011-03-09 Glenn Morris <rgm@gnu.org>
27669
27670 * shell.el (shell-mode):
27671 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
27672
27673 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
27674 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
27675
27676 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27677
27678 * emacs-lisp/package.el (package-refresh-contents)
27679 (package-menu-execute): Use condition-case-no-debug.
27680
27681 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
27682
27683 * simple.el (shell-command-to-string): Use `process-file'.
27684
27685 * emacs-lisp/package.el (package-tar-file-info): Handle also
27686 remote files.
27687
27688 * emacs-lisp/package-x.el (package-upload-buffer-internal):
27689 Use `equal' for upload base check.
27690
27691 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
27692
27693 * textmodes/texinfo.el (texinfo-environments):
27694 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
27695
27696 2011-03-08 Glenn Morris <rgm@gnu.org>
27697
27698 * cus-start.el (cursor-in-non-selected-windows):
27699 Fix :set quoting oddness. (Bug#8192)
27700
27701 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
27702 in some setf expressions. (Bug#2159)
27703
27704 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27705
27706 * custom.el (custom-available-themes): Return themes in
27707 alphabetical order.
27708
27709 See ChangeLog.15 for earlier changes.
27710
27711 ;; Local Variables:
27712 ;; coding: utf-8
27713 ;; End:
27714
27715 Copyright (C) 2011-2013 Free Software Foundation, Inc.
27716
27717 This file is part of GNU Emacs.
27718
27719 GNU Emacs is free software: you can redistribute it and/or modify
27720 it under the terms of the GNU General Public License as published by
27721 the Free Software Foundation, either version 3 of the License, or
27722 (at your option) any later version.
27723
27724 GNU Emacs is distributed in the hope that it will be useful,
27725 but WITHOUT ANY WARRANTY; without even the implied warranty of
27726 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27727 GNU General Public License for more details.
27728
27729 You should have received a copy of the GNU General Public License
27730 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.