Remove spurious syntax-table text properties inserted by C-y.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-05-27 Alan Mackenzie <acm@muc.de>
2
3 Remove spurious syntax-table text properties inserted by C-y.
4 * progmodes/cc-mode.el (c-after-change): Also clear hard
5 syntax-table property with value nil.
6
7 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8
9 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10 when reading the events; the buffer layout shall not be changed.
11
12 2013-05-27 Leo Liu <sdl.web@gmail.com>
13
14 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
15 New variable.
16 (inferior-octave-directory-tracker): Automatically re-sync
17 default-directory.
18 (octave-help): Improve handling of 'See also'.
19
20 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
21
22 * doc-view.el: Minor naming convention tweaks.
23 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
24
25 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
26 even if there's no `display' property yet (bug#14435).
27
28 2013-05-25 Eli Zaretskii <eliz@gnu.org>
29
30 * subr.el (unmsys--file-name): Rename from reveal-filename.
31
32 * Makefile.in (custom-deps, finder-data, autoloads)
33 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
34 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
35 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
36
37 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
38
39 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
40 error-completion on the first 2 args of condition-case (bug#14446).
41 Don't burp at EOB.
42
43 2013-05-25 Leo Liu <sdl.web@gmail.com>
44
45 * comint.el (comint-previous-matching-input): Do not flood the
46 *Messages* buffer with trivial messages.
47
48 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
49
50 * progmodes/flymake.el (flymake-nop): Don't return a string.
51 (flymake-set-at): Fix typo.
52
53 * simple.el (read--expression): New function, extracted from
54 eval-expression. Set completion-at-point-functions (bug#14465).
55 (eval-expression, eval-minibuffer): Use it.
56
57 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
58
59 * progmodes/flymake.el (flymake-save-buffer-in-file)
60 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
61 (flymake-selected-frame, flymake-log, flymake-ins-after)
62 (flymake-set-at, flymake-get-buildfile-from-cache)
63 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
64 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
65 Refine the doc string.
66 (flymake-get-file-name-mode-and-masks): Reformat.
67 (flymake-get-real-file-name-function): Fix a minor bug.
68
69 2013-05-24 Juri Linkov <juri@jurta.org>
70
71 * progmodes/grep.el (grep-mode-font-lock-keywords):
72 Support =linenumber= format used by git-grep for lines with
73 function names. (Bug#13549)
74
75 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
76
77 * progmodes/octave.el (octave-smie-rules): Return nil rather than
78 0 after a semi-colon; it works better for smie-auto-fill.
79 (octave--indent-new-comment-line): New function.
80 (octave-indent-new-comment-line): Use it (indirectly).
81 (octave-mode): Don't disable smie-auto-fill. Use add-function to
82 modify comment-line-break-function.
83
84 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
85 (smie-setup): Use add-function to set it.
86
87 2013-05-24 Sam Steingold <sds@gnu.org>
88
89 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
90 argument (before the `interactive' argument).
91
92 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
93
94 * image-mode.el (image-mode-winprops): Add winprops to
95 image-mode-winprops-alist before running
96 image-mode-new-window-functions.
97 * doc-view.el (doc-view-new-window-function): Don't delay
98 doc-view-goto-page via timers (bug#14435).
99
100 2013-05-24 Tassilo Horn <tsdh@gnu.org>
101
102 * doc-view.el: Integrate with desktop.el. (Bug#14435)
103 (doc-view-desktop-save-buffer): New function.
104 (doc-view-restore-desktop-buffer): New function.
105 (desktop-buffer-mode-handlers):
106 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
107 handler.
108 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
109 `desktop-save-buffer' function.
110
111 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
112
113 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
114 (tramp-gvfs-file-name-handler): Raise a user error when
115 `tramp-gvfs-enabled' is nil.
116 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
117 Do not raise a user error when loading package. (Bug#14447)
118
119 * net/xesam.el: Move to obsolete/.
120
121 2013-05-24 Glenn Morris <rgm@gnu.org>
122
123 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
124
125 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
126
127 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
128 (Info-find-node, Man-getpage-in-background): Declare.
129
130 * mail/unrmail.el (unrmail):
131 Replace obsolete detect-coding-with-priority.
132
133 * net/socks.el (socks-split-string): Use this rather than split-string.
134 (socks-nslookup-host): Update for above change.
135 (dynamic-choice, s5-dynamic-choice-match)
136 (s5-dynamic-choice-match-inline, s5-widget-value-create):
137 Comment out unused code.
138
139 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
140 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
141 (gud-tooltip-echo-area): Make obsolete.
142 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
143
144 * progmodes/js.el (js--optimize-arglist): Declare.
145
146 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
147
148 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
149 (ediff-window-C): Declare.
150
151 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
152 Tweak requires to silence compiler.
153
154 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
155 (he-search-string, he-tried-table, he-expand-list)
156 (he-init-string, he-string-member, he-substitute-string)
157 (he-reset-string): Declare.
158
159 * obsolete/options.el (list-options): Use custom-variable-p,
160 rather than obsolete alias.
161
162 2013-05-23 Sam Steingold <sds@gnu.org>
163
164 * simple.el (shell-command-on-region): Pass the `replace' argument
165 down to `call-process-region' to comply with the doc as reported on
166 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
167
168 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
169
170 * emacs-lisp/smie.el (smie-indent-forward-token)
171 (smie-indent-backward-token): Handle string tokens (bug#14381).
172
173 2013-05-23 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
174
175 * ielm.el (ielm-menu): New menu.
176 (inferior-emacs-lisp-mode): Set comment-start.
177
178 2013-05-23 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
179
180 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
181 Fix deactivate action.
182
183 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
184 Add cleveref macros.
185
186 * lisp/textmodes/reftex-parse.el
187 (reftex-locate-bibliography-files): Accept options for
188 bibliography commands.
189 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
190 Add addbibresource. Basic Biblatex support.
191
192 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
193
194 * net/tramp-gvfs.el (top):
195 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
196 when loading package. (Bug#14447)
197
198 2013-05-23 Glenn Morris <rgm@gnu.org>
199
200 * progmodes/js.el: No need to load comint when compiling.
201 (ring-insert, comint-send-string, comint-send-input)
202 (comint-last-input-end, ido-chop): Declare.
203
204 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
205 * vc/ediff-mult.el: Adjust requires.
206 (ediff-directories-internal, ediff-directory-revisions-internal)
207 (ediff-patch-file-internal): Declare.
208 * vc/ediff-ptch.el: Adjust requires.
209 (ediff-use-last-dir, ediff-buffers-internal): Declare.
210 (ediff-find-file): Autoload.
211 * vc/ediff-util.el: No need to load ediff when compiling.
212 (ediff-regions-internal): Declare.
213 * vc/ediff-wind.el: Adjust requires.
214 (ediff-compute-toolbar-width): Define when compiling.
215 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
216 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
217 (dired-get-filename, dired-get-marked-files)
218 (ediff-last-dir-patch, ediff-patch-default-directory)
219 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
220 (ediff-patch-buffer-internal): Declare.
221
222 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
223 (ispell-process, ispell-buffer-local-words, lm-summary)
224 (lm-section-start, lm-section-end): Declare.
225 (checkdoc-ispell-init): Simplify.
226
227 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
228 (he-string-member, he-reset-string, he-substitute-string): Declare.
229
230 * eshell/em-ls.el: Adjust requires.
231 (eshell-glob-regexp): Declare.
232 * eshell/em-tramp.el: Adjust requires.
233 (eshell-parse-command): Autoload.
234 * eshell/em-xtra.el: Adjust requires.
235 (eshell-parse-command): Autoload.
236 * eshell/esh-ext.el: Adjust requires.
237 (eshell-parse-command, eshell-close-handles): Autoload.
238 * eshell/esh-io.el: Adjust requires.
239 (eshell-output-filter): Autoload.
240 * eshell/esh-util.el: No need to load tramp when compiling.
241 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
242 Declare.
243 (eshell-parse-ange-ls): Require ange-ftp and tramp.
244 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
245 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
246 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
247 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
248 * eshell/esh-opt.el, eshell/esh-proc.el:
249 * eshell/esh-var.el: Adjust requires.
250 * eshell/eshell.el: Do not require esh-util twice.
251 (eshell-add-input-to-history): Declare.
252 (eshell-command): Check history module is active before using it.
253
254 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
255
256 2013-05-22 Leo Liu <sdl.web@gmail.com>
257
258 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
259
260 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
261
262 * autorevert.el (auto-revert-notify-add-watch)
263 (auto-revert-notify-handler): Add `attrib' for the inotify case,
264 it indicates changes in file modification time.
265
266 2013-05-22 Glenn Morris <rgm@gnu.org>
267
268 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
269 Always delete the autoloaded function from the noruntime and
270 unresolved functions lists.
271
272 * allout.el: No need to load epa, epg, overlay when compiling.
273 (epg-context-set-passphrase-callback, epg-list-keys)
274 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
275 (epg-key-user-id-list): Declare.
276
277 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
278 (viper-set-parsing-style-toggling-macro)
279 (viper-set-emacs-state-searchstyle-macros):
280 Use called-interactively-p on Emacs.
281 (viper-looking-back): Make it an obsolete alias. Update callers.
282 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
283 Use looking-back rather than viper-looking-back.
284 (viper-tmp-insert-at-eob, viper-enlarge-region)
285 (viper-read-string-with-history, viper-register-to-point)
286 (viper-append-to-register, viper-change-state-to-vi)
287 (viper-backward-char-carefully, viper-forward-char-carefully)
288 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
289 (viper-change-state-to-emacs): Declare.
290 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
291 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
292 * emulation/viper-mous.el: Do not load viper-cmd.
293 (viper-backward-char-carefully, viper-forward-char-carefully)
294 (viper-forward-word, viper-adjust-window): Declare.
295
296 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
297
298 * progmodes/idlw-help.el (idlwave-help-fontify):
299 Use called-interactively-p.
300
301 * term/w32console.el (w32-get-console-codepage)
302 (w32-get-console-output-codepage): Declare.
303
304 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
305 Remove unnecessary declarations.
306 (dframe-message): Doc fix.
307
308 * info.el (dframe-select-attached-frame, dframe-current-frame):
309 Declare.
310
311 * speedbar.el (speedbar-message): Make it an obsolete alias.
312 Update all callers.
313 (speedbar-with-attached-buffer)
314 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
315 (speedbar-with-writable): Use backquote.
316 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
317 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
318 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
319 rather than speedbar- aliases.
320 * mail/rmail.el: Load dframe rather than speedbar when compiling.
321 (speedbar-make-specialized-keymap, speedbar-insert-button)
322 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
323 (speedbar-do-function-pointer): Declare.
324 (rmail-speedbar-button, rmail-speedbar-find-file)
325 (rmail-speedbar-move-message):
326 Use dframe-with-attached-buffer rather than speedbar- alias.
327 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
328 (dframe-message, speedbar-make-specialized-keymap)
329 (speedbar-add-expansion-list, speedbar-mode-functions-list)
330 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
331 (speedbar-insert-button, dframe-select-attached-frame)
332 (dframe-maybee-jump-to-attached-frame)
333 (speedbar-change-initial-expansion-list)
334 (speedbar-previously-used-expansion-list-name): Declare.
335 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
336 Use dframe-message, dframe-with-attached-buffer rather than
337 speedbar- aliases.
338 (gud-sentinel): Silence compiler.
339 * progmodes/vhdl-mode.el (speedbar-refresh)
340 (speedbar-do-function-pointer, speedbar-add-supported-extension)
341 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
342 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
343 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
344 (speedbar-file-lists, speedbar-make-tag-line)
345 (speedbar-line-directory, speedbar-goto-this-file)
346 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
347 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
348 (speedbar-make-button, speedbar-reset-scanners)
349 (speedbar-files-item-info, speedbar-line-text)
350 (speedbar-find-file-in-frame, speedbar-set-timer)
351 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
352 (speedbar-with-writable): Do not (re)define it.
353 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
354 rather than speedbar- alias.
355
356 2013-05-21 Leo Liu <sdl.web@gmail.com>
357
358 * progmodes/octave.el (octave-mode-menu): Update and re-organize
359 menu items.
360 (octave-mode): Tweak fill-nobreak-predicate.
361 (inferior-octave-startup): Check process to avoid infinite loop.
362 (inferior-octave): Pop to buffer first to show abornmal process
363 exit information.
364
365 2013-05-21 Glenn Morris <rgm@gnu.org>
366
367 * printing.el (pr-menu-bar): Define when compiling.
368
369 2013-05-21 Leo Liu <sdl.web@gmail.com>
370
371 * progmodes/octave.el (octave-auto-fill): Remove.
372 (octave-indent-new-comment-line): Improve.
373 (octave-mode): Use auto fill mode through
374 comment-line-break-function and fill-nobreak-predicate
375 (octave-goto-function-definition): Support DEFUN_DLD.
376 (octave-beginning-of-defun): Small Tweak
377 (octave-help): Show parent directory.
378
379 2013-05-21 Glenn Morris <rgm@gnu.org>
380
381 * files.el (dired-unmark):
382 * progmodes/gud.el (gdb-input): Update declarations.
383
384 * calculator.el (electric, ehelp): No need to load when compiling.
385 (Electric-command-loop, electric-describe-mode): Declare.
386
387 * doc-view.el (doc-view-current-converter-processes): Move before use.
388
389 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
390 Move MODE-set-explicitly definition before use.
391
392 * international/mule-diag.el (mule-diag):
393 Don't use obsolete window-system-version.
394
395 * mail/feedmail.el (smtpmail): No need to load when compiling.
396 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
397
398 * mail/mail-utils.el (rfc822): No need to load when compiling.
399 (rfc822-addresses): Autoload it.
400 (mail-strip-quoted-names): Trivial simplification.
401
402 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
403 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
404
405 * net/snmp-mode.el (tempo): Don't duplicate requires.
406
407 * progmodes/prolog.el (info): No need to load when compiling.
408 (comint): Require before shell requires it.
409 (Info-goto-node): Autoload it.
410 (Info-follow-nearest-node): Declare.
411 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
412
413 * textmodes/artist.el (picture-mode-exit): Declare.
414
415 * textmodes/reftex-parse.el (reftex-parse-from-file):
416 Trivial rewrite so the compiler can parse it better.
417
418 2013-05-20 Leo Liu <sdl.web@gmail.com>
419
420 * progmodes/octave.el (octave-help-mode-map)
421 (octave-help-mode-finish-hook): New variables.
422 (octave-help-mode, octave-help-mode-finish): New functions.
423 (octave-help): Use octave-help-mode.
424
425 2013-05-20 Glenn Morris <rgm@gnu.org>
426
427 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
428
429 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
430
431 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
432 start at point, so that expansion starting right after opening
433 slash in a regexp is recognized.
434 (ruby-syntax-before-regexp-re): New defvar, extracted from
435 ruby-syntax-propertize-function. Since the value of this regexp
436 is looked up at runtime now, we should be able to turn
437 `ruby-syntax-methods-before-regexp' into a defcustom later.
438 (ruby-syntax-propertize-function): Split regexp matching into two
439 parts, for opening and closing slashes. That allows us to skip
440 over string interpolations and support multiline regexps.
441 Don't call `ruby-syntax-propertize-expansions', instead use another rule
442 for them, which calls `ruby-syntax-propertize-expansion'.
443 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
444 call to `ruby-syntax-propertize-function'.
445 (ruby-syntax-propertize-expansion): Extracted from
446 `ruby-syntax-propertize-expansions'. Handles one expansion.
447 (ruby-syntax-propertize-percent-literal): Leave point right after
448 the percent symbol, so that the expression expansion rule can
449 propertize the contents.
450 (ruby-syntax-propertize-heredoc): Leave point at bol following the
451 heredoc openers.
452 (ruby-syntax-propertize-expansions): Remove.
453
454 2013-05-18 Juri Linkov <juri@jurta.org>
455
456 * man.el (Man-default-man-entry): Remove `-' from the end
457 of the default value. (Bug#14400)
458
459 2013-05-18 Glenn Morris <rgm@gnu.org>
460
461 * comint.el (comint-password-prompt-regexp):
462 Allow "password for XXX" where XXX contains colons (eg https://...).
463
464 2013-05-18 Leo Liu <sdl.web@gmail.com>
465
466 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
467 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
468 (octave-source-directories): Don't check process.
469 (octave-source-directories, octave-find-definition): Doc fix.
470
471 2013-05-18 Glenn Morris <rgm@gnu.org>
472
473 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
474 Remove backspace/delete bindings. (Bug#14392)
475
476 * cus-dep.el (custom-make-dependencies): Sort the output.
477 (custom-versions-load-alist): Convert comment to doc.
478
479 2013-05-17 Leo Liu <sdl.web@gmail.com>
480
481 * newcomment.el (comment-search-backward): Stricter in finding
482 comment start. (Bug#14303)
483
484 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
485 (octave-comment-start-skip): Properly anchored.
486
487 2013-05-17 Leo Liu <sdl.web@gmail.com>
488
489 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
490 Clean up when turned off. (Bug#14395)
491 (smie--highlight-matching-block-overlay): No longer buffer-local.
492 (smie-highlight-matching-block): Adjust.
493
494 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
495
496 Doc string fix for "nanoseconds" (Bug#14406).
497 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
498 Fix doc string typo that had "nanoseconds" instead of "microseconds".
499
500 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
501
502 * calc/calc-units.el (math-extract-units): Preserve powers
503 of units.
504
505 2013-05-17 Leo Liu <sdl.web@gmail.com>
506
507 * subr.el (delete-consecutive-dups): New function.
508 * ido.el (ido-set-matches-1): Use it.
509 * progmodes/octave.el (inferior-octave-completion-table): Use it.
510 * ido.el (ido-remove-consecutive-dups): Remove.
511
512 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
513
514 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
515 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
516 regexp-opt's `words'.
517
518 2013-05-16 Leo Liu <sdl.web@gmail.com>
519
520 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
521 (smie--highlight-matching-block-overlay)
522 (smie--highlight-matching-block-lastpos)
523 (smie--highlight-matching-block-timer): New variables.
524 (smie-highlight-matching-block): New function.
525 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
526 (smie-setup): Conditionally enable smie-blink-matching-open.
527
528 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
529
530 Sync with upstream verilog-mode r840.
531 * progmodes/verilog-mode.el (verilog-mode-version)
532 (verilog-mode-release-date): Update.
533 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
534 (verilog-sig-tieoff): Fix string error on
535 AUTORESET with colon define, bug594. Reported by Andrew Hou.
536 (verilog-read-decls): Fix parameters confusing
537 AUTOINST interfaces, bug565. Reported by Leith Johnson.
538
539 2013-05-16 Eli Zaretskii <eliz@gnu.org>
540
541 * subr.el (reveal-filename): New function.
542
543 * loadup.el: Compute Emacs executable versions on MS-Windows,
544 where executables have the .exe extension. Add a hard link
545 emacs-XX.YY.ZZ.exe on MS-Windows.
546
547 * Makefile.in (XARGS_LIMIT): New variable.
548 (custom-deps, finder-data, autoloads)
549 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
550 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
551 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
552 (compile-main): Limit xargs according to $(XARGS_LIMIT).
553
554 2013-05-16 Leo Liu <sdl.web@gmail.com>
555
556 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
557 (octave-mode-menu, octave-mode-map): Remove its uses.
558
559 2013-05-16 Reto Zimmermann <reto@gnu.org>
560
561 Sync with upstream vhdl mode v3.34.2.
562 * progmodes/vhdl-mode.el: Use `push' throughout.
563 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
564 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
565 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
566 (vhdl-actual-generic-name): New option to derive actual generic name.
567 (vhdl-port-paste-signals): Replace formal by actual generics.
568 (vhdl-beautify): New name for old group vhdl-align. Update users.
569 (vhdl-beautify-options): New option.
570 (vhdl-last-input-event): New compat alias. Use throughout.
571 (vhdl-goto-line): Replace user level function `goto-line'.
572 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
573 vhdl-fix-statement-buffer.
574 (vhdl-create-mode-menu): Add some entries.
575 (vhdl-align-region-groups): Respect vhdl-beautify-options.
576 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
577 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
578 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
579 to force statements on one line.
580 (vhdl-remove-trailing-spaces-region):
581 New, split from vhdl-remove-trailing-spaces.
582 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
583 Respect vhdl-beautify-options.
584 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
585 (vhdl-update-sensitivity-list): Not add with index if exists without.
586 Not include array index with signal. Ignore keywords in comments.
587 (vhdl-get-visible-signals): Regexp tweaks.
588 (vhdl-template-component-inst): Handle empty library.
589 (vhdl-template-type): Add template for 'enum' type.
590 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
591 Use vhdl-replace-string.
592 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
593 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
594 (vhdl-speedbar-initialize): Update for above name change.
595 (vhdl-compose-wire-components): Fix in handling of constants.
596 (vhdl-error-regexp-emacs-alist): New variable.
597 (vhdl-error-regexp-add-emacs): New function;
598 adds support for new compile.el (Emacs 22+)
599 (vhdl-generate-makefile-1): Change target order for single lib. units.
600 Allow use of absolute file names.
601
602 2013-05-16 Leo Liu <sdl.web@gmail.com>
603
604 * simple.el (prog-indent-sexp): Indent enclosing defun.
605
606 2013-05-15 Glenn Morris <rgm@gnu.org>
607
608 * cus-start.el (show-trailing-whitespace): Move to editing basics.
609 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
610 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
611 (whitespace-highlight): Move to whitespace group.
612
613 * comint.el (comint-source):
614 * pcmpl-linux.el (pcmpl-linux):
615 * shell.el (shell-faces):
616 * eshell/esh-opt.el (eshell-opt):
617 * international/ccl.el (ccl): Remove empty custom groups.
618
619 * completion.el (dynamic-completion-mode):
620 * jit-lock.el (jit-lock-debug-mode):
621 * minibuffer.el (completion-in-region-mode):
622 * type-break.el (type-break-mode-line-message-mode)
623 (type-break-query-mode):
624 * emulation/tpu-edt.el (tpu-edt-mode):
625 * progmodes/subword.el (global-subword-mode, global-superword-mode):
626 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
627 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
628
629 * term/xterm.el (xterm): Change parent group to terminals.
630
631 * master.el (master): Remove empty custom group.
632 (master-mode): Remove unused :group argument.
633 * textmodes/refill.el (refill): Remove empty custom group.
634 (refill-mode): Remove unused :group argument.
635
636 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
637
638 * cus-dep.el: Provide a feature.
639 (custom-make-dependencies): Ignore dotfiles (dir-locals).
640 Don't mistakenly ignore files whose basenames match a basename
641 from preloaded-file-list (eg cedet/ede/simple.el).
642 Add a fallback method for getting :group.
643
644 2013-05-15 Juri Linkov <juri@jurta.org>
645
646 * isearch.el (isearch-char-by-name): Rename from
647 `isearch-insert-char-by-name'. Doc fix.
648 (isearch-forward): Mention `isearch-char-by-name' in
649 the docstring. (Bug#13348)
650
651 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
652 `exit-minibuffer' instead of
653 `isearch-nonincremental-exit-minibuffer'.
654 (isearch-edit-string): Remove mention of
655 `isearch-nonincremental-exit-minibuffer' from docstring.
656 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
657 (isearch-forward-exit-minibuffer)
658 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
659
660 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
661
662 * loadup.el: Just use unversioned DOC.
663
664 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
665 literals as extending to EOB.
666 (nxml-last-fontify-end): Remove unused variable.
667 (nxml-after-change1): Use with-silent-modifications.
668 (nxml-extend-after-change-region): Simplify.
669 (nxml-extend-after-change-region1): Remove function.
670 (nxml-after-change1): Don't adjust for dependent regions.
671 (nxml-fontify-matcher): Simplify.
672 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
673 (xmltok-add-dependent): Remove function.
674 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
675 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
676 (xmltok-scan-prolog-after-processing-instruction-open): Treat
677 unclosed <[[, <?, comment, and other literals as extending to EOB.
678 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
679 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
680 Remove functions.
681 (rng-do-some-validation-1): Don't mark dependent regions.
682 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
683 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
684 (nxml-clear-dependent-regions): Remove functions.
685 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
686 (nxml-ensure-scan-up-to-date):
687 Don't clear&mark dependent regions.
688
689 2013-05-15 Leo Liu <sdl.web@gmail.com>
690
691 * progmodes/octave.el (octave-goto-function-definition):
692 Improve and fix callers.
693
694 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
695
696 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
697 the setter (bug#14387).
698
699 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
700 surrounding group (bug#14402).
701
702 2013-05-14 Juri Linkov <juri@jurta.org>
703
704 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
705 (Bug#14390)
706
707 2013-05-14 Glenn Morris <rgm@gnu.org>
708
709 * progmodes/f90.el (f90-imenu-generic-expression):
710 Fix typo in 2013-05-08 change. (Bug#14402)
711
712 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
713
714 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
715 Remove signals for which replies are never received.
716
717 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
718
719 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
720 (gdb-handler-alist, gdb-handler-number): Remove variables.
721 (gdb-handler-list): New variable.
722 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
723 (gdb-pending-handler-p, gdb-handle-reply)
724 (gdb-remove-all-pending-triggers): New functions.
725 (gdb-discard-unordered-replies): New defcustom.
726 (gdb-handler): New defstruct.
727 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
728 instead of gdb-pending-triggers. Update docstring.
729 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
730 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
731 (gdb-var-update-handler, def-gdb-auto-update-trigger)
732 (def-gdb-auto-update-handler, gdb-get-changed-registers)
733 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
734 (gdb-frame-handler): Pending triggers are now automatically managed.
735 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
736 Remove argument.
737 (gdb-input): Automatically handles pending triggers. Update docstring.
738 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
739 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
740 Update comments.
741 (gdb-done-or-error): Now use gdb-handle-reply.
742
743 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
744
745 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
746 gdb-debug-log.
747
748 2013-05-14 Glenn Morris <rgm@gnu.org>
749
750 * subr.el (user-emacs-directory-warning): New option.
751 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
752
753 2013-05-14 Leo Liu <sdl.web@gmail.com>
754
755 * progmodes/octave.el (octave-font-lock-keywords): Fix error
756 during redisplay.
757 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
758 (octave-font-lock-texinfo-comment): Fix invalid search bound
759 error: wrong side of point.
760
761 2013-05-14 Glenn Morris <rgm@gnu.org>
762
763 * progmodes/flymake.el (flymake-xml-program): New option.
764 (flymake-xml-init): Use it.
765
766 * term/xterm.el: Provide a feature.
767
768 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
769
770 2013-05-13 Glenn Morris <rgm@gnu.org>
771
772 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
773 Add compat aliases as a hack workaround. (Bug#14384)
774
775 2013-05-13 Leo Liu <sdl.web@gmail.com>
776
777 * progmodes/octave.el (octave-indent-comment): Fix indentation for
778 ###, and %!.
779 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
780 C-M-q.
781 (octave-comment-start-skip): Include %!.
782 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
783
784 2013-05-12 Leo Liu <sdl.web@gmail.com>
785
786 * progmodes/octave.el (inferior-octave-startup): Store the value
787 of __octave_srcdir__ for octave-source-directories.
788 (inferior-octave-check-process): New function refactored out of
789 inferior-octave-send-list-and-digest.
790 (octave-source-directories)
791 (octave-find-definition-filename-function): New variables.
792 (octave-source-directories)
793 (octave-find-definition-default-filename): New functions.
794 (octave-find-definition): Improve to find functions implemented in C++.
795
796 2013-05-12 Glenn Morris <rgm@gnu.org>
797
798 * calendar/diary-lib.el (diary-outlook-format-1):
799 Don't include dayname in the output. (Bug#14349)
800
801 2013-05-11 Glenn Morris <rgm@gnu.org>
802
803 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
804
805 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
806 Treat cc-provide like provide.
807
808 2013-05-11 Kevin Ryde <user42@zip.com.au>
809
810 * cus-dep.el (custom-make-dependencies):
811 Use generated-autoload-load-name for the sake of files such
812 such cedet/semantic/bovine/c.el, where the base file name
813 is not in load-path. (Bug#5277)
814
815 2013-05-11 Glenn Morris <rgm@gnu.org>
816
817 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
818 Provide features.
819
820 2013-05-11 Leo Liu <sdl.web@gmail.com>
821
822 * progmodes/octave.el (octave-indent-comment): Improve.
823 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
824 (octave-eldoc-function-signatures, octave-eldoc-function):
825 New functions.
826 (octave-mode, inferior-octave-mode): Add eldoc support.
827
828 2013-05-11 Richard Stallman <rms@gnu.org>
829
830 * epa.el (epa-decrypt-file): Take output file name as argument
831 and read it using `interactive'.
832
833 2013-05-11 Leo Liu <sdl.web@gmail.com>
834
835 * progmodes/octave.el (octave-beginning-of-line)
836 (octave-end-of-line): Check before using up-list because it jumps
837 out of more syntactic contructs since moving to smie.
838 (octave-indent-comment): New function.
839 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
840 (octave-begin-keywords, octave-end-keywords)
841 (octave-reserved-words, octave-smie-bnf-table)
842 (octave-smie-rules): Add new keywords from Octave 3.6.4.
843
844 2013-05-11 Glenn Morris <rgm@gnu.org>
845
846 * faces.el (internal-face-x-get-resource):
847 * frame.el (ns-display-monitor-attributes-list):
848 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
849
850 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
851
852 * calc/calc-menu.el: Make it loadable in isolation.
853
854 * net/eudcb-bbdb.el: Make it loadable without bbdb.
855 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
856 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
857 (eudc-bbdb-query-internal): Require 'bbdb.
858
859 * lpr.el (lpr-headers-switches):
860 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
861
862 * progmodes/sql.el (sql-login-params): Fix and improve :type.
863
864 * emulation/edt-mapper.el: In batch mode, error rather than hang.
865
866 * term.el (term-set-escape-char): Make it idempotent.
867
868 2013-05-10 Leo Liu <sdl.web@gmail.com>
869
870 * progmodes/octave.el (inferior-octave-completion-table):
871 No longer a function and all uses changed. Use cache to speed up
872 completion due to bug#11906.
873 (octave-beginning-of-defun): Re-write to be more general.
874
875 2013-05-10 Glenn Morris <rgm@gnu.org>
876
877 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
878
879 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
880
881 * comint.el (comint-redirect-send-command-to-process): Use :around
882 rather than :override for comint-redirect-filter.
883 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
884 Call it instead of comint-redirect-original-filter-function (which
885 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
886
887 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
888
889 * frame.el (display-monitor-attributes-list): Add NS case.
890 (ns-display-monitor-attributes-list): Declare.
891
892 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
893
894 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
895
896 2013-05-09 Glenn Morris <rgm@gnu.org>
897
898 * international/fontset.el (vertical-centering-font-regexp):
899 Set standard-value.
900
901 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
902
903 * bookmark.el (bookmark-search-delay):
904 * cus-start.el (vertical-centering-font-regexp):
905 * ps-mule.el (ps-mule-font-info-database-default):
906 * ps-print.el (ps-default-fg, ps-default-bg):
907 * type-break.el (type-break-good-break-interval):
908 * whitespace.el (whitespace-indentation-regexp)
909 (whitespace-space-after-tab-regexp):
910 * emacs-lisp/testcover.el (testcover-1value-functions)
911 (testcover-noreturn-functions, testcover-progn-functions)
912 (testcover-prog1-functions):
913 * emulation/viper-init.el (viper-emacs-state-cursor-color):
914 * eshell/em-glob.el (eshell-glob-translate-alist):
915 * play/tetris.el (tetris-tty-colors):
916 * progmodes/cpp.el (cpp-face-default-list):
917 * progmodes/flymake.el (flymake-allowed-file-name-masks):
918 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
919 (idlwave-help-browser-generic-args):
920 * progmodes/make-mode.el (makefile-special-targets-list):
921 * progmodes/python.el (python-shell-virtualenv-path):
922 * progmodes/verilog-mode.el (verilog-active-low-regexp)
923 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
924 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
925 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
926 * textmodes/reftex-vars.el (reftex-format-label-function):
927 * textmodes/remember.el (remember-diary-file): Fix custom types.
928
929 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
930 Add :version.
931
932 2013-05-09 Leo Liu <sdl.web@gmail.com>
933
934 * progmodes/octave.el (inferior-octave-completion-at-point):
935 Restore file completion. (Bug#14300)
936 (inferior-octave-startup): Fix incorrect highlighting for the
937 first prompt.
938
939 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
940
941 * progmodes/ruby-mode.el: First cut at SMIE support.
942 (ruby-use-smie): New var.
943 (ruby-smie-grammar): New constant.
944 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
945 (ruby-smie--forward-token, ruby-smie--backward-token)
946 (ruby-smie-rules): New functions.
947 (ruby-mode-variables): Setup SMIE if applicable.
948
949 2013-05-08 Eli Zaretskii <eliz@gnu.org>
950
951 * simple.el (line-move-visual): Signal beginning/end of buffer
952 only if vertical-motion moved less than it was requested. Avoids
953 silly incorrect error messages when there are display strings with
954 multiple newlines at EOL.
955
956 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
957
958 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
959 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
960 (prolog-char-quote-workaround):
961 * progmodes/cperl-mode.el (cperl-under-as-char):
962 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
963 Mark as obsolete.
964 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
965 their declaration.
966 (vhdl-mode-syntax-table-init): Remove.
967
968 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
969 last change.
970
971 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
972 syntax for "_".
973 (ld-script-font-lock-keywords):
974 Change regexps to use things like \_< and \_>.
975
976 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
977 Change all regexps to use things like \_< and \_>.
978
979 * progmodes/autoconf.el (autoconf-definition-regexp)
980 (autoconf-font-lock-keywords, autoconf-current-defun-function):
981 Handle a _ with symbol syntax.
982 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
983
984 * progmodes/ada-mode.el (ada-mode-abbrev-table):
985 Consolidate declaration.
986 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
987 the declaration.
988 (ada-create-syntax-table): Remove.
989 (ada-capitalize-word): Don't mess with the syntax of "_" since it
990 already has the right syntax nowadays.
991 (ada-goto-next-word): Don't change the syntax of "_".
992
993 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
994 with-wrapper-hook.
995
996 2013-05-08 Sam Steingold <sds@gnu.org>
997
998 * thingatpt.el (thing-at-point): Accept optional second argument
999 NO-PROPERTIES to strip the text properties from the return value.
1000 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
1001 to `thing-at-point' instead of stripping the properties ourselves.
1002 Also, when `thing-at-point' fails to find a url, prepend "http://"
1003 to the filename at point on the assumption that the user is
1004 pointing at something like gnu.org/gnu.
1005
1006 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
1007
1008 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1009 * faces.el (crm-separator):
1010 Silence byte-compiler.
1011
1012 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
1013 (tool-bar-map): Remove unneeded defvars.
1014
1015 2013-05-08 Leo Liu <sdl.web@gmail.com>
1016
1017 Re-work a fix for bug#10994 based on Le Wang's patch.
1018 * ido.el (ido-remove-consecutive-dups): New helper.
1019 (ido-completing-read): Use it.
1020 (ido-chop): Revert fix for bug#10994.
1021
1022 2013-05-08 Adam Spiers <emacs@adamspiers.org>
1023
1024 * cus-edit.el (custom-save-variables):
1025 Pretty-print long values. (Bug#14187)
1026
1027 2013-05-08 Glenn Morris <rgm@gnu.org>
1028
1029 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
1030 (m4-mode-syntax-table): Init in the defvar.
1031 (m4-mode-abbrev-table): Let define-derived-mode define it.
1032
1033 2013-05-08 Tom Tromey <tromey@redhat.com>
1034
1035 * progmodes/m4-mode.el (m4-mode-syntax-table):
1036 Do not treat "_" as word constituent. (Bug#14167)
1037
1038 2013-05-07 Glenn Morris <rgm@gnu.org>
1039
1040 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
1041 Remove explicit eshell-isearch-cancel-map.
1042
1043 * progmodes/f90.el (f90-smart-end-names): New option.
1044 (f90-smart-end): Doc fix.
1045 (f90-end-block-optional-name): New constant.
1046 (f90-block-match): Respect f90-smart-end-names.
1047
1048 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1049
1050 * progmodes/octave.el (octave-smie-forward-token): Be more careful
1051 about implicit semi-colons (bug#14218).
1052
1053 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1054
1055 * frame.el (display-monitor-attributes-list)
1056 (frame-monitor-attributes): New functions.
1057
1058 2013-05-06 Leo Liu <sdl.web@gmail.com>
1059
1060 * progmodes/octave.el (octave-syntax-propertize-function): Change
1061 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
1062 (octave-font-lock-keywords): Use octave-operator-regexp.
1063 (octave-completion-at-point): Rename from
1064 octave-completion-at-point-function.
1065 (inferior-octave-directory-tracker): Robustify.
1066 (octave-text-functions): Remove and fix its uses. No such things
1067 any more.
1068
1069 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1070
1071 * emacs-lisp/trace.el (trace--display-buffer): New function.
1072 (trace-make-advice): Use it.
1073
1074 2013-05-06 Juri Linkov <juri@jurta.org>
1075
1076 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
1077 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
1078 Doc fix.
1079 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
1080 in the help string. (Bug#12985)
1081
1082 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1083
1084 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
1085
1086 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1087
1088 * progmodes/perl-mode.el: Add support for here documents.
1089 (perl-syntax-propertize-function): Match here-doc markers.
1090 (perl-syntax-propertize-special-constructs): Find their end.
1091 (perl-imenu-generic-expression): Use [:alnum:].
1092
1093 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
1094 (advice--add-function): Refresh the advice if already present
1095 (bug#14317).
1096
1097 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
1098
1099 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
1100
1101 2013-05-06 Glenn Morris <rgm@gnu.org>
1102
1103 * w32-fns.el (w32-charset-info-alist): Declare.
1104
1105 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
1106 of its defcustom properties.
1107 (eshell-cmpl-initialize): No need to load pcomplete.
1108
1109 * generic-x.el: No need to require comint when compiling.
1110
1111 * net/eudc-export.el: Make it loadable without bbdb.
1112 (top-level): Use require rather than load-library.
1113 (eudc-create-bbdb-record, eudc-bbdbify-phone)
1114 (eudc-batch-export-records-to-bbdb)
1115 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
1116 Require bbdb.
1117
1118 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1119
1120 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
1121 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
1122 some tweaks, instead.
1123
1124 2013-05-05 Leo Liu <sdl.web@gmail.com>
1125
1126 * progmodes/octave.el (octave-font-lock-keywords)
1127 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
1128 (inferior-octave-send-list-and-digest): Improve error message.
1129 (octave-mode, inferior-octave-mode): Use setq-local.
1130 (octave-help): Set info-lookup-mode.
1131
1132 2013-05-05 Richard Stallman <rms@gnu.org>
1133
1134 * vc/compare-w.el (compare-windows-whitespace):
1135 Treat no-break space as whitespace.
1136
1137 * mail/rmailsum.el (rmail-summary-rmail-update):
1138 Detect empty summary and don't change selected message.
1139 (rmail-summary-goto-msg): Likewise.
1140
1141 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
1142 Doc fixes, rename args.
1143
1144 2013-05-05 Alan Mackenzie <acm@muc.de>
1145
1146 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
1147
1148 2013-05-05 Juri Linkov <juri@jurta.org>
1149
1150 * info.el (Info-read-subfile): Use (point-min) instead of (point)
1151 to not add the length of the summary segment to the return value.
1152 (Bug#14125)
1153
1154 2013-05-05 Leo Liu <sdl.web@gmail.com>
1155
1156 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
1157 (inferior-octave-output-filter): Remove.
1158 (octave-send-region, inferior-octave-startup): Fix callers.
1159 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
1160 (octave-binary-file-extensions): New user variable.
1161 (octave-find-definition): Confirm if opening binary files.
1162 (octave-help-file): Use octave-find-definition to get the binary
1163 confirmation.
1164 (octave-help): Adjust for octave-help-file change.
1165
1166 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1167
1168 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
1169 Merge the two entries that handle function definitions.
1170 (pascal--syntax-propertize): New const.
1171 (pascal-mode): Use it. Use setq-local.
1172
1173 2013-05-04 Glenn Morris <rgm@gnu.org>
1174
1175 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
1176 (diary-from-outlook): Respect diary-from-outlook-function.
1177
1178 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1179
1180 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
1181 Move the declaration from C.
1182 (read-minibuffer, eval-minibuffer): Move from C.
1183 (completion-setup-function): Avoid minibuffer-completion-contents.
1184
1185 2013-05-03 Leo Liu <sdl.web@gmail.com>
1186
1187 * progmodes/octave.el (octave-font-lock-keywords): Do not
1188 dehighlight 'end' in comments or strings.
1189 (octave-completing-read, octave-goto-function-definition):
1190 New helpers.
1191 (octave-help-buffer): New user variable.
1192 (octave-help-file, octave-help-function): New button types.
1193 (octave-help): New command and bind it to C-h ;.
1194 (octave-find-definition): New command and bind it to M-.
1195 (user-error): Alias to error if not defined.
1196
1197 2013-05-02 Leo Liu <sdl.web@gmail.com>
1198
1199 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
1200 for \. (bug#14332)
1201 (octave-font-lock-keywords): Include [ and {.
1202
1203 2013-05-02 Leo Liu <sdl.web@gmail.com>
1204
1205 * progmodes/octave.el (inferior-octave-startup-file): Change default.
1206 (inferior-octave): Remove calling comint-mode and return the buffer.
1207 (inferior-octave-startup): Cosmetic changes.
1208
1209 2013-05-02 Leo Liu <sdl.web@gmail.com>
1210
1211 * progmodes/octave.el (octave-syntax-propertize-function):
1212 Include the case when ' is at line beginning. (Bug#14336)
1213
1214 2013-05-02 Glenn Morris <rgm@gnu.org>
1215
1216 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
1217 * desktop.el (vc-dir-mode): Just autoload it here.
1218
1219 2013-05-02 Alan Mackenzie <acm@muc.de>
1220
1221 Eliminate variable c-standard-font-lock-fontify-region-function.
1222 * progmodes/cc-mode.el
1223 (c-standard-font-lock-fontify-region-function): Remove.
1224 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
1225
1226 2013-05-01 Leo Liu <sdl.web@gmail.com>
1227
1228 * progmodes/octave.el: Compatible with older emacs-24 releases.
1229 (inferior-octave-has-built-in-variables): Remove. Built-in
1230 variables were removed from Octave in 2007.
1231 (inferior-octave-startup): Fix uses.
1232 (comint-line-beginning-position): Remove compatibility code for
1233 emacs 21.
1234
1235 2013-05-01 Juri Linkov <juri@jurta.org>
1236
1237 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
1238
1239 2013-05-01 Juri Linkov <juri@jurta.org>
1240
1241 * comint.el (comint-previous-matching-input): Don't print message
1242 "History item: %d" when `isearch-mode' is active.
1243 (comint-history-isearch-message): Print message "History item: %d"
1244 when `comint-input-ring-index' is not empty and this function is
1245 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
1246
1247 2013-05-01 Leo Liu <sdl.web@gmail.com>
1248
1249 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
1250 definitions. Use completion-at-point to insert keywords.
1251 (octave-abbrev-start): Remove.
1252 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
1253
1254 2013-04-30 Leo Liu <sdl.web@gmail.com>
1255
1256 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
1257 change.
1258
1259 2013-04-30 Alan Mackenzie <acm@muc.de>
1260
1261 Handle arbitrarily long C++ member initialisation lists.
1262 * progmodes/cc-engine.el (c-back-over-member-initializers):
1263 new function.
1264 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
1265 (most) member init lists.
1266
1267 2013-04-30 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
1268
1269 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
1270 variable.
1271
1272 2013-04-30 Leo Liu <sdl.web@gmail.com>
1273
1274 * progmodes/octave.el (octave-variables): Remove. No builtin
1275 variables any more. All converted to functions.
1276 (octave-font-lock-keywords, octave-completion-at-point-function):
1277 Fix uses.
1278 (octave-font-lock-texinfo-comment): New user variable.
1279 (octave-texinfo-font-lock-keywords): New variable for texinfo
1280 comment block.
1281 (octave-function-comment-block): New face.
1282 (octave-font-lock-texinfo-comment): New function.
1283 (octave-mode): Font lock texinfo comment block.
1284
1285 2013-04-29 Leo Liu <sdl.web@gmail.com>
1286
1287 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
1288 indexing expression.
1289 (octave-continuation-string): Do not use \.
1290 (inferior-octave-complete-impossible): Remove.
1291 (inferior-octave-completion-table)
1292 (inferior-octave-completion-at-point): Remove its uses.
1293 (inferior-octave-startup): completion_matches was introduced to
1294 Octave in 1996 so safe to assume it.
1295 (octave-function-file-comment): Improve to follow how Octave does it.
1296 (octave-update-function-file-comment): Tweak.
1297
1298 2013-04-29 Leo Liu <sdl.web@gmail.com>
1299
1300 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
1301 (inferior-octave-startup): Remove inferior-octave-startup-hook.
1302 (octave-function-file-comment): Fix typo.
1303 (octave-sync-function-file-names): Use read-char-choice.
1304
1305 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
1306
1307 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
1308 to t for the less important warnings.
1309
1310 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1311
1312 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
1313
1314 2013-04-27 Glenn Morris <rgm@gnu.org>
1315
1316 * vc/log-view.el (log-view-current-entry):
1317 Treat "---" separator lines as part of the following rev. (Bug#14169)
1318
1319 2013-04-27 Juri Linkov <juri@jurta.org>
1320
1321 * subr.el (read-number): Doc fix about using it by interactive
1322 code letter `n'. (Bug#14254)
1323
1324 2013-04-27 Juri Linkov <juri@jurta.org>
1325
1326 * desktop.el (desktop-auto-save-timeout): New option.
1327 (desktop-file-checksum): New variable.
1328 (desktop-save): Add optional arg `auto-save' and don't auto-save
1329 if nothing changed.
1330 (desktop-auto-save-timer): New variable.
1331 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
1332 (after-init-hook): Call `desktop-auto-save-set-timer'.
1333 Suggested by Reuben Thomas <rrt@sc3d.org> in
1334 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
1335
1336 2013-04-27 Leo Liu <sdl.web@gmail.com>
1337
1338 * progmodes/octave.el (octave-function-file-p)
1339 (octave-skip-comment-forward, octave-function-file-comment)
1340 (octave-update-function-file-comment): New functions.
1341 (octave-mode-map): Bind C-c ; to
1342 octave-update-function-file-comment.
1343 (octave-mode-menu): Add octave-update-function-file-comment.
1344 (octave-mode, inferior-octave-mode): Fix doc-string.
1345 (octave-insert-defun): Conform to Octave's coding convention.
1346 (Bug#14285)
1347
1348 * files.el (basic-save-buffer): Don't let errors in
1349 before-save-hook prevent saving buffer.
1350
1351 2013-04-20 Roland Winkler <winkler@gnu.org>
1352
1353 * faces.el (read-face-name): Use completing-read if arg multiple
1354 is nil.
1355
1356 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
1357
1358 * ls-lisp.el (ls-lisp-insert-directory): If no files are
1359 displayed, move point to after the totals line.
1360 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
1361 for the details.
1362
1363 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1364
1365 * emacs-lisp/package.el (package-autoload-ensure-default-file):
1366 Add current dir to the load-path.
1367 (package-generate-autoloads): Don't rely on
1368 autoload-ensure-default-file.
1369
1370 2013-04-26 Reuben Thomas <rrt@sc3d.org>
1371
1372 * textmodes/remember.el (remember-store-in-files): Document that
1373 the file name format is passed to `format-time-string'.
1374
1375 2013-04-26 Leo Liu <sdl.web@gmail.com>
1376
1377 * progmodes/octave.el (octave-sync-function-file-names): New function.
1378 (octave-mode): Use it in before-save-hook.
1379
1380 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1381
1382 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
1383 (bug#14274).
1384
1385 * progmodes/octave.el (octave-smie-forward-token): Properly skip
1386 \n and comment, even if it's not an implicit ; (bug#14218).
1387
1388 2013-04-26 Glenn Morris <rgm@gnu.org>
1389
1390 * subr.el (read-number): Once more use `read' rather than
1391 `string-to-number', to trap non-numeric input. (Bug#14254)
1392
1393 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
1394
1395 * emacs-lisp/syntax.el (syntax-propertize-multiline):
1396 Use `syntax-multiline' text property consistently instead of
1397 `font-lock-multiline'. (bug#14237).
1398
1399 2013-04-26 Glenn Morris <rgm@gnu.org>
1400
1401 * emacs-lisp/shadow.el (list-load-path-shadows):
1402 No longer necessary to check for duplicate simple.el, since
1403 2012-07-07 change to init_lread to not include installation lisp
1404 directories in load-path when running uninstalled. (Bug#14270)
1405
1406 2013-04-26 Leo Liu <sdl.web@gmail.com>
1407
1408 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
1409 (octave-mode, inferior-octave-mode): Use setq-local.
1410 (octave-not-in-string-or-comment-p): Rename to
1411 octave-in-string-or-comment-p.
1412 (octave-in-comment-p, octave-in-string-p)
1413 (octave-in-string-or-comment-p): Replace defsubst with defun.
1414
1415 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
1416
1417 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
1418
1419 2013-04-25 Bastien Guerry <bzg@gnu.org>
1420
1421 * textmodes/remember.el (remember-data-directory)
1422 (remember-directory-file-name-format): Fix custom types.
1423
1424 2013-04-25 Leo Liu <sdl.web@gmail.com>
1425
1426 * progmodes/octave.el (octave-completion-at-point-function):
1427 Make use of inferior octave process.
1428 (octave-initialize-completions): Remove.
1429 (inferior-octave-completion-table): New function.
1430 (inferior-octave-completion-at-point): Use it.
1431 (octave-completion-alist): Remove.
1432
1433 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1434
1435 * progmodes/opascal.el: Use font-lock and syntax-propertize.
1436 (opascal-mode-syntax-table): New var.
1437 (opascal-literal-kind, opascal-is-literal-end)
1438 (opascal-literal-token-at): Rewrite.
1439 (opascal--literal-start-re, opascal-font-lock-keywords)
1440 (opascal--syntax-propertize): New constants.
1441 (opascal-font-lock-defaults): Adjust.
1442 (opascal-mode): Use them. Set comment-<foo> variables as well.
1443 (delphi-comment-face, opascal-comment-face, delphi-string-face)
1444 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
1445 (delphi-other-face, opascal-other-face): Remove face variables.
1446 (opascal-save-state): Remove macro.
1447 (opascal-fontifying-progress-step): Remove constant.
1448 (opascal--ignore-changes): Remove var.
1449 (opascal-set-token-property, opascal-parse-next-literal)
1450 (opascal-is-stable-literal, opascal-complete-literal)
1451 (opascal-is-literal-start, opascal-face-of)
1452 (opascal-parse-region, opascal-parse-region-until-stable)
1453 (opascal-fontify-region, opascal-after-change)
1454 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
1455 (opascal-debug-parse-region, opascal-debug-parse-window)
1456 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
1457 (opascal-debug-fontify-buffer): Remove.
1458 (opascal-debug-mode-map): Adjust accordingly.
1459
1460 2013-04-25 Leo Liu <sdl.web@gmail.com>
1461
1462 Merge octave-mod.el and octave-inf.el into octave.el with some
1463 cleanups.
1464 * progmodes/octave.el: New file renamed from octave-mod.el.
1465 * progmodes/octave-inf.el: Merged into octave.el.
1466 * progmodes/octave-mod.el: Renamed to octave.el.
1467
1468 2013-04-25 Tassilo Horn <tsdh@gnu.org>
1469
1470 * textmodes/reftex-vars.el
1471 (reftex-label-ignored-macros-and-environments): New defcustom.
1472
1473 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
1474
1475 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1476
1477 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
1478 (smie-indent-keyword): Improve the check to ensure that the next
1479 comment is really on the same line.
1480 (smie-indent-comment): Don't align with a subsequent closer (or eob).
1481
1482 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
1483 semi-colons if the line is not otherwise empty (bug#14218).
1484
1485 2013-04-25 Glenn Morris <rgm@gnu.org>
1486
1487 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
1488
1489 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1490
1491 * progmodes/opascal.el (opascal-set-token-property): Rename from
1492 opascal-set-text-properties and only set `token' (bug#14134).
1493 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
1494 (opascal-literal-text-properties): Remove.
1495 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
1496 Adjust callers.
1497
1498 2013-04-24 Reuben Thomas <rrt@sc3d.org>
1499
1500 * textmodes/remember.el (remember-handler-functions): Add an
1501 option for a new handler `remember-store-in-files'.
1502 (remember-data-directory, remember-directory-file-name-format):
1503 New options.
1504 (remember-store-in-files): New function to store remember notes
1505 as separate files within a directory.
1506
1507 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
1508
1509 * progmodes/compile.el (compilation-next-error-function):
1510 Pass "formats" to compilation-find-file (bug#11777).
1511
1512 2013-04-24 Glenn Morris <rgm@gnu.org>
1513
1514 * vc/vc-bzr.el (vc-bzr-print-log):
1515 * vc/vc-hg.el (vc-hg-print-log):
1516 * vc/vc-svn.el (vc-svn-print-log):
1517 Fix START-REVISION with LIMIT != 1. (Bug#14168)
1518
1519 * vc/vc-bzr.el (vc-bzr-print-log):
1520 * vc/vc-cvs.el (vc-cvs-print-log):
1521 * vc/vc-git.el (vc-git-print-log):
1522 * vc/vc-hg.el (vc-hg-print-log):
1523 * vc/vc-mtn.el (vc-mtn-print-log):
1524 * vc/vc-rcs.el (vc-rcs-print-log):
1525 * vc/vc-sccs.el (vc-sccs-print-log):
1526 * vc/vc-svn.el (vc-svn-print-log):
1527 * vc/vc.el (vc-print-log-internal): Doc fixes.
1528
1529 2013-04-23 Glenn Morris <rgm@gnu.org>
1530
1531 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
1532 Remove venerable code attempting to avoid substitute-command-keys.
1533
1534 2013-04-23 Tassilo Horn <tsdh@gnu.org>
1535
1536 * textmodes/reftex-vars.el (reftex-label-regexps):
1537 Call `reftex-compile-variables' after changes to this variable.
1538
1539 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1540
1541 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
1542 Use lexical-binding.
1543 (jit-lock-force-redisplay): Use markers, check buffer's continued
1544 existence and beware narrowed buffers.
1545 (jit-lock-fontify-now): Adjust call accordingly.
1546
1547 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1548
1549 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
1550 to avoid misleading the user.
1551
1552 2013-04-22 Leo Liu <sdl.web@gmail.com>
1553
1554 * info-look.el: Prefer latex2e.info. (Bug#14240)
1555
1556 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
1557
1558 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
1559
1560 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
1561 * net/tramp.el (tramp-call-process): ... here
1562 (tramp-set-completion-function, tramp-parse-putty):
1563 * net/tramp-adb.el (tramp-adb-execute-adb-command):
1564 * net/tramp-gvfs.el (tramp-gvfs-send-command):
1565 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1566 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
1567 (tramp-call-local-coding-command): Use `tramp-call-process'
1568 instead of `tramp-compat-call-process'.
1569
1570 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
1571 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
1572 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
1573 (tramp-find-inline-compress): Improve traces.
1574 (tramp-maybe-send-script): Check for Perl binary.
1575 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
1576
1577 2013-04-22 Daiki Ueno <ueno@gnu.org>
1578
1579 * epg.el (epg-context-pinentry-mode): New function.
1580 (epg-context-set-pinentry-mode): New function.
1581 (epg--start): Pass --pinentry-mode option to gpg command.
1582
1583 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
1584
1585 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
1586 `comint-dynamic-complete' is obsolete since 24.1, replaced by
1587 `completion-at-point'. (Bug#13774)
1588
1589 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
1590 default key binding for `describe-distribution' has been moved to
1591 `C-h C-o'. (Bug#13970)
1592
1593 2013-04-21 Glenn Morris <rgm@gnu.org>
1594
1595 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
1596 Add doc strings.
1597 (vc-print-log): Clarify interactive prompt.
1598
1599 2013-04-20 Glenn Morris <rgm@gnu.org>
1600
1601 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1602 No longer include timestamp etc information.
1603
1604 2013-04-20 Roland Winkler <winkler@gnu.org>
1605
1606 * faces.el (read-face-name): Bug fix, return just one face if arg
1607 multiple is nil. (Bug#14209)
1608
1609 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1610
1611 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
1612 (remove-function): Autoload.
1613
1614 * comint.el (comint-redirect-original-filter-function): Remove.
1615 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
1616 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
1617 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
1618 * progmodes/prolog.el (prolog-consult-compile):
1619 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
1620 Use add/remove-function instead.
1621 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
1622 (gud-tooltip-process-output, gud-tooltip-tips):
1623 Use add/remove-function instead.
1624 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
1625 (scheme-interaction-mode, exit-scheme-interaction-mode):
1626 Use add/remove-function instead.
1627
1628 * vc/vc-dispatcher.el: Use lexical-binding.
1629 (vc--process-sentinel): Rename from vc-process-sentinel.
1630 Change last arg to be the code to run. Don't use vc-previous-sentinel
1631 and vc-sentinel-commands any more.
1632 (vc-exec-after): Allow code to be a function. Use add/remove-function.
1633 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
1634
1635 2013-04-19 Masatake YAMATO <yamato@redhat.com>
1636
1637 * progmodes/sh-script.el (sh-imenu-generic-expression):
1638 Handle function names with a single character. (Bug#14111)
1639
1640 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
1641
1642 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
1643 for subroutines defined in an eval (bug#14182).
1644
1645 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1646
1647 * bookmark.el (bookmark-completing-read): Improve handling of empty
1648 string (bug#14176).
1649
1650 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1651
1652 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
1653
1654 2013-04-19 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1655
1656 New faster Imenu implementation (bug#14058).
1657 * progmodes/python.el:
1658 (python-imenu-prev-index-position):
1659 (python-imenu-format-item-label-function)
1660 (python-imenu-format-parent-item-label-function)
1661 (python-imenu-format-parent-item-jump-label-function):
1662 New vars.
1663 (python-imenu-format-item-label)
1664 (python-imenu-format-parent-item-label)
1665 (python-imenu-format-parent-item-jump-label)
1666 (python-imenu--put-parent, python-imenu--build-tree)
1667 (python-imenu-create-index, python-imenu-create-flat-index)
1668 (python-util-popn): New functions.
1669 (python-mode): Set imenu-create-index-function to
1670 python-imenu-create-index.
1671
1672 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1673
1674 * winner.el (winner-active-region): Use region-active-p, activate-mark
1675 and deactivate-mark (bug#14225).
1676
1677 * simple.el (deactivate-mark): Don't inline it.
1678
1679 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
1680
1681 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
1682
1683 2013-04-18 Tassilo Horn <tsdh@gnu.org>
1684
1685 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
1686 file extensions from the archive-mode entry in order to prefer
1687 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
1688
1689 2013-04-18 Leo Liu <sdl.web@gmail.com>
1690
1691 * bindings.el (help-event-list): Add ?\?.
1692
1693 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1694
1695 * subr.el (with-wrapper-hook): Declare obsolete.
1696 * simple.el (filter-buffer-substring-function): New hook.
1697 (filter-buffer-substring): Use it.
1698 (filter-buffer-substring-functions): Mark obsolete.
1699 * minibuffer.el (completion-in-region-function): New hook.
1700 (completion-in-region): Use it.
1701 (completion-in-region-functions): Mark obsolete.
1702 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
1703 * abbrev.el (abbrev-expand-function): New hook.
1704 (expand-abbrev): Use it.
1705 (abbrev-expand-functions): Mark obsolete.
1706 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
1707 and :filter-return.
1708
1709 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1710
1711 * progmodes/python.el (python-nav--syntactically): Fix cornercases
1712 and do not care about match data.
1713
1714 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1715
1716 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
1717 completion tables when completing error conditions and
1718 `declare' arguments.
1719 (lisp-complete-symbol, field-complete): Mark as obsolete.
1720 (check-parens): Unmatched parens are user errors.
1721 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
1722
1723 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
1724
1725 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
1726 command changed buffer (ie. `flyspell-pre-buffer' is not current
1727 buffer), which prevents making decisions based on invalid value of
1728 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
1729 cause an error when `flyspell-pre-point' was nil after switching
1730 buffers.
1731 (flyspell-post-command-hook): No longer needs to change buffers when
1732 checking pre-word. While at it remove unnecessary progn.
1733
1734 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1735
1736 * textmodes/ispell.el (ispell-add-per-file-word-list):
1737 Fix `flyspell-correct-word-before-point' error when accepting
1738 words and `coment-padding' is an integer by using
1739 `comment-normalize-vars' (Bug #14214).
1740
1741 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1742
1743 New defun movement commands.
1744 * progmodes/python.el (python-nav--syntactically)
1745 (python-nav--forward-defun, python-nav-backward-defun)
1746 (python-nav-forward-defun): New functions.
1747
1748 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1749
1750 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
1751 (python-syntax-context): Use named compiler-macro for backwards
1752 compatibility with Emacs 24.x.
1753
1754 2013-04-17 Leo Liu <sdl.web@gmail.com>
1755
1756 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
1757 octave-hide-process-buffer.
1758
1759 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1760
1761 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
1762 (bug#14216).
1763
1764 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
1765
1766 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
1767 Fix adjustment of offset when receiving incomplete responses from GDB
1768 (bug#14129).
1769
1770 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1771
1772 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
1773 python-mode-abbrev-table.
1774 (python-skeleton-define): Adjust accordingly.
1775 (python-mode-abbrev-table): New table that inherits from it so that
1776 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
1777
1778 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
1779 (abbrev-symbol): Use it.
1780 (abbrev--before-point): Use it since we already handle inheritance.
1781
1782 2013-04-16 Leo Liu <sdl.web@gmail.com>
1783
1784 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
1785 binding to info-lookup-symbol.
1786
1787 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
1788
1789 * minibuffer.el (completion--twq-all):
1790 * term/ns-win.el (ns-initialize-window-system):
1791 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
1792
1793 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1794
1795 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
1796 global bindings.
1797
1798 * doc-view.el (doc-view-start-process): Handle url-handler directories.
1799
1800 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
1801
1802 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
1803 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
1804 to nil.
1805 (ruby-end-of-defun): Remove the unused arg, change the docstring
1806 to reflect that this function is only used as the value of
1807 `end-of-defun-function'.
1808 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
1809 to reflect an earlier change that beginning/end-of-defun functions
1810 jump between methods in a class definition, as well as top-level
1811 functions.
1812
1813 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1814
1815 * minibuffer.el (minibuffer-complete): Don't just scroll
1816 a *Completions* that's been iconified.
1817 (minibuffer-force-complete): Make sure repetitions do cycle when going
1818 through completion-in-region -> minibuffer-complete.
1819
1820 2013-04-15 Alan Mackenzie <acm@muc.de>
1821
1822 Correct the placement of c-cpp-delimiters when there're #s not at
1823 col 0.
1824
1825 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
1826 place a submatch around the #.
1827 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
1828 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
1829 on the #, not BOL.
1830
1831 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1832
1833 * emacs-lisp/nadvice.el: Properly test names when adding advice.
1834 (advice--member-p): New arg `name'.
1835 (advice--add-function, advice-member-p): Use it (bug#14202).
1836
1837 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
1838
1839 Reformulate java imenu-generic-expression.
1840 The old expression contained ill formed regexps.
1841
1842 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
1843 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
1844 (cc-imenu-java-method-arg-regexp): New defconsts.
1845 (cc-imenu-java-build-type-args-regex): New defun.
1846 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
1847 handling of spaces in the regexp.
1848
1849 2013-03-15 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
1850
1851 * textmodes/ispell.el (ispell-command-loop): Remove
1852 flyspell highlight of a word when ispell accepts it (bug #14178).
1853
1854 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
1855
1856 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
1857 uses code from the previous `ange-ftp-run-real-handler'.
1858 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
1859 only in case that function exist. This is needed for proper
1860 unloading of Tramp.
1861
1862 2013-04-15 Tassilo Horn <tsdh@gnu.org>
1863
1864 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
1865
1866 * textmodes/reftex.el (reftex-compile-variables): Use it.
1867
1868 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1869
1870 * files.el (normal-mode): Only use default major-mode if no other mode
1871 was specified.
1872
1873 * emacs-lisp/trace.el (trace-values): New function.
1874
1875 * files.el: Allow : in local variables (bug#14089).
1876 (hack-local-variable-regexp): New var.
1877 (hack-local-variables-prop-line, hack-local-variables): Use it.
1878
1879 2013-04-13 Roland Winkler <winkler@gnu.org>
1880
1881 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
1882 data before it gets modified by bibtex-beginning-of-entry.
1883
1884 2013-04-13 Roland Winkler <winkler@gnu.org>
1885
1886 * textmodes/bibtex.el (bibtex-url): Doc fix.
1887
1888 2013-04-13 Roland Winkler <winkler@gnu.org>
1889
1890 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
1891 does not visit a BibTeX file, exclude it from the list of buffers
1892 returned by bibtex-initialize.
1893
1894 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
1895
1896 * window.el (split-window): Remove interactive form, since as a
1897 command this function is a special case of split-window-below.
1898 Correct doc string.
1899
1900 2013-04-12 Roland Winkler <winkler@gnu.org>
1901
1902 * faces.el (read-face-name): Do not override value of arg default.
1903 Allow single faces and strings as default values. Remove those
1904 elements from return value that are not faces.
1905 (describe-face): Simplify.
1906 (face-at-point): New optional args thing and multiple so that this
1907 function can provide the same functionality previously provided by
1908 read-face-name.
1909 (make-face-bold, make-face-unbold, make-face-italic)
1910 (make-face-unitalic, make-face-bold-italic, invert-face)
1911 (modify-face, read-face-and-attribute): Use face-at-point.
1912
1913 * cus-edit.el (customize-face, customize-face-other-window)
1914 * cus-theme.el (custom-theme-add-face)
1915 * face-remap.el (buffer-face-set)
1916 * facemenu.el (facemenu-set-face): Use face-at-point.
1917
1918 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
1919
1920 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
1921
1922 2013-04-10 Tassilo Horn <tsdh@gnu.org>
1923
1924 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
1925 off leading { and trailing } from field values.
1926
1927 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1928
1929 * emacs-lisp/timer.el (timer--check): New function.
1930 (timer--time, timer-set-function, timer-event-handler): Use it.
1931 (timer-set-idle-time): Simplify.
1932 (timer--activate): CSE.
1933 (timer-event-handler): Give more info in error message.
1934 (internal-timer-start-idle): New function, moved from C.
1935
1936 * mpc.el (mpc-proc): Add `restart' argument.
1937 (mpc-proc-cmd): Use it.
1938 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
1939 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
1940 less often.
1941
1942 2013-04-10 Masatake YAMATO <yamato@redhat.com>
1943
1944 * progmodes/sh-script.el: Implement `sh-mode' own
1945 `add-log-current-defun-function' (bug#14112).
1946 (sh-current-defun-name): New function.
1947 (sh-mode): Use the function.
1948
1949 2013-04-09 Bastien Guerry <bzg@gnu.org>
1950
1951 * simple.el (choose-completion-string): Fix docstring (bug#14163).
1952
1953 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1954
1955 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
1956
1957 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
1958 timer (bug#14156).
1959
1960 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
1961
1962 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
1963 declaration.
1964
1965 2013-04-07 Leo Liu <sdl.web@gmail.com>
1966
1967 * pcmpl-x.el: New file.
1968
1969 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
1970
1971 Do not set x-display-name until X connection is established.
1972 This is needed to prevent from weird situation described at
1973 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
1974 * frame.el (make-frame): Set x-display-name after call to
1975 window system initialization function, not before.
1976 * term/x-win.el (x-initialize-window-system): Add optional
1977 display argument and use it.
1978 * term/w32-win.el (w32-initialize-window-system):
1979 * term/ns-win.el (ns-initialize-window-system):
1980 * term/pc-win.el (msdos-initialize-window-system):
1981 Add compatible optional display argument.
1982
1983 2013-04-06 Eli Zaretskii <eliz@gnu.org>
1984
1985 * files.el (normal-backup-enable-predicate): On MS-Windows and
1986 MS-DOS compare truenames of temporary-file-directory and of the
1987 file, so that 8+3 aliases (usually found in $TEMP on Windows)
1988 don't fail comparison by compare-strings. Also, compare file
1989 names case-insensitively on MS-Windows and MS-DOS.
1990
1991 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1992
1993 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
1994 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
1995
1996 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
1997
1998 * whitespace.el (whitespace-color-on, whitespace-color-off):
1999 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
2000
2001 2013-04-05 Jacek ChrzÄ…szcz <chrzaszcz@mimuw.edu.pl> (tiny change)
2002
2003 * ispell.el (ispell-set-spellchecker-params):
2004 Really set `ispell-args' for all equivs.
2005
2006 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2007
2008 * ido.el (ido-completions): Use extra elements of ido-decorations
2009 (bug#14143).
2010 (ido-decorations): Update docstring.
2011
2012 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
2013
2014 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2015 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
2016 nil during initialization, in order not to miss changes since the
2017 file was opened. (Bug#14140)
2018
2019 2013-04-05 Leo Liu <sdl.web@gmail.com>
2020
2021 * kmacro.el (kmacro-call-macro): Fix bug#14135.
2022
2023 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
2024
2025 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
2026
2027 2013-04-04 Glenn Morris <rgm@gnu.org>
2028
2029 * electric.el (electric-pair-inhibit-predicate): Add :version.
2030
2031 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2032
2033 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
2034 when a package is required several times (bug#14082).
2035
2036 2013-04-04 Roland Winkler <winkler@gnu.org>
2037
2038 * faces.el (read-face-name): Behave as promised by the docstring.
2039 Assume that arg default is a list of faces.
2040 (describe-face): Call read-face-name with list of default faces.
2041
2042 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2043
2044 * bookmark.el: Fix deletion of bookmarks (bug#13972).
2045 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
2046 (bookmark-bmenu-execute-deletions): Only skip first line if it's
2047 the header.
2048 (bookmark-exit-hook-internal): Save even if list is empty.
2049
2050 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
2051
2052 * emacs-lisp/package.el (package-pinned-packages): New var.
2053 (package--add-to-archive-contents): Obey it (bug#14118).
2054
2055 2013-04-03 Alan Mackenzie <acm@muc.de>
2056
2057 Handle `parse-partial-sexp' landing inside a comment opener
2058 (Bug#13244). Also adapt to the new values of element 7 of a parse
2059 state.
2060
2061 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
2062 parameter `not-in-delimiter'. Handle being inside comment opener.
2063 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
2064 character in case we're typing a '*' after a '/'.
2065 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
2066 instead by passing the parameter to c-state-pp-to-literal.
2067
2068 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
2069 for elt. 7 of a parse state.
2070
2071 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
2072
2073 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
2074 * international/latin1-disp.el, international/mule-util.el:
2075 * language/cyril-util.el, language/european.el, language/ind-util.el:
2076 * language/lao-util.el, language/thai.el, language/tibet-util.el:
2077 * language/tibetan.el, language/viet-util.el:
2078 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
2079
2080 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
2081
2082 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
2083 (electric-pair-post-self-insert-function): Use it.
2084 (electric-pair-default-inhibit): New function, extracted from
2085 electric-pair-post-self-insert-function.
2086
2087 2013-03-31 Roland Winkler <winkler@gnu.org>
2088
2089 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
2090
2091 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
2092
2093 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
2094
2095 2013-03-30 FabiĂ¡n Ezequiel Gallina <fabian@anue.biz>
2096
2097 Un-indent after "pass" and "return" statements (Bug#13888)
2098 * progmodes/python.el (python-indent-block-enders): New var.
2099 (python-indent-calculate-indentation): Use it.
2100
2101 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
2102
2103 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
2104 defun. Defining it as defalias could introduce too eager
2105 byte-compiler optimization. (Bug#14030)
2106
2107 2013-03-30 Chong Yidong <cyd@gnu.org>
2108
2109 * iswitchb.el (iswitchb-read-buffer): Fix typo.
2110
2111 2013-03-30 Leo Liu <sdl.web@gmail.com>
2112
2113 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
2114 (kmacro-execute-from-register): Pass the keyboard macro to
2115 kmacro-call-macro or repeating won't work correctly.
2116
2117 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
2118
2119 * progmodes/subword.el: Back to using `forward-symbol'.
2120
2121 * subr.el (forward-whitespace, forward-symbol)
2122 (forward-same-syntax): Move from thingatpt.el.
2123
2124 2013-03-29 Leo Liu <sdl.web@gmail.com>
2125
2126 * kmacro.el (kmacro-to-register): New command.
2127 (kmacro-execute-from-register): New function.
2128 (kmacro-keymap): Bind to 'x'. (Bug#14071)
2129
2130 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
2131
2132 * mpc.el: Use defvar-local and setq-local.
2133 (mpc--proc-connect): Connection failures are not bugs.
2134 (mpc-mode-map): `follow-link' only applies to the buffer's content.
2135 (mpc-volume-map): Bind to the up-events.
2136
2137 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
2138
2139 * progmodes/subword.el (superword-mode): Use `forward-sexp'
2140 instead of `forward-symbol'.
2141
2142 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2143
2144 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
2145 (edebug--recursive-edit): Use it.
2146 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
2147 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
2148
2149 2013-03-28 Leo Liu <sdl.web@gmail.com>
2150
2151 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
2152
2153 2013-03-27 Eli Zaretskii <eliz@gnu.org>
2154
2155 * facemenu.el (list-colors-callback): New defvar.
2156 (list-colors-redisplay): New function.
2157 (list-colors-display): Install list-colors-redisplay as the
2158 revert-buffer-function. (Bug#14063)
2159
2160 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2161
2162 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
2163 and suffixes don't overlap (bug#14061).
2164
2165 * case-table.el: Use lexical-binding.
2166 (case-table-get-table): New function.
2167 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
2168
2169 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
2170
2171 * progmodes/subword.el: Add `superword-mode' to do word motion
2172 over symbol_words (parallels and leverages `subword-mode' which
2173 does word motion inside MixedCaseWords).
2174
2175 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
2176
2177 * eshell/em-unix.el: Move su and sudo to...
2178 * eshell/em-tramp.el: ...Eshell tramp module.
2179
2180 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2181
2182 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
2183 Change return value to be a sexp. Delay `get-buffer' to after
2184 restoring the desktop (bug#13951).
2185
2186 2013-03-26 Leo Liu <sdl.web@gmail.com>
2187
2188 * register.el: Move semantic tag handling back to
2189 cedet/semantic/senator.el. (Bug#14052)
2190
2191 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2192
2193 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
2194 into the prompt either (bug#13963).
2195
2196 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
2197
2198 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
2199 part of "(error-foo)".
2200
2201 2013-03-24 Juri Linkov <juri@jurta.org>
2202
2203 * replace.el (list-matching-lines-prefix-face): New defcustom.
2204 (occur-1): Pass `list-matching-lines-prefix-face' to the function
2205 `occur-engine' if `face-differs-from-default-p' returns t.
2206 (occur-engine): Add `,' inside backquote construct to evaluate
2207 `prefix-face'. Propertize the prefix with the `prefix-face' face.
2208 Pass `prefix-face' to the functions `occur-context-lines' and
2209 `occur-engine-add-prefix'.
2210 (occur-engine-add-prefix, occur-context-lines): Add optional arg
2211 `prefix-face' and propertize the prefix with `prefix-face'.
2212 (Bug#14017)
2213
2214 2013-03-24 Leo Liu <sdl.web@gmail.com>
2215
2216 * nxml/rng-valid.el (rng-validate-while-idle)
2217 (rng-validate-quick-while-idle): Guard against deleted buffer.
2218 (Bug#13999)
2219
2220 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
2221 is the last entry in kill-buffer-hook.
2222
2223 * files.el (kill-buffer-hook): Doc fix.
2224
2225 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
2226
2227 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
2228 Make it safe-local.
2229
2230 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
2231
2232 2013-03-23 Leo Liu <sdl.web@gmail.com>
2233
2234 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
2235 Remove.
2236
2237 * nxml/rng-valid.el (rng-validate-mode)
2238 (rng-after-change-function, rng-do-some-validation):
2239 * nxml/rng-maint.el (rng-validate-buffer):
2240 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
2241 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
2242 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
2243 (nxml-extend-after-change-region): Use with-silent-modifications.
2244
2245 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
2246 timer-idle-list.
2247
2248 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
2249 (rng-next-error-1, rng-previous-error-1): Do not let-bind
2250 timer-idle-list. (Bug#13999)
2251
2252 2013-03-23 Juri Linkov <juri@jurta.org>
2253
2254 * info.el (info-index-match): New face.
2255 (Info-index, Info-apropos-matches): Add a nested subgroup to the
2256 main pattern and add text properties with the new face to matches
2257 in index entries relative to the beginning of the index entry.
2258 (Bug#14015)
2259
2260 2013-03-21 Eric Ludlam <zappo@gnu.org>
2261
2262 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
2263 Inhibit read only while inserting objects.
2264
2265 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
2266
2267 * progmodes/cfengine.el: Update docs to mention
2268 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
2269 symbol motion. Remove "_" from the word syntax.
2270
2271 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
2272
2273 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
2274 syntax for both `cfengine2-mode' and `cfengine3-mode'.
2275
2276 2013-03-20 Juri Linkov <juri@jurta.org>
2277
2278 * info.el (Info-next-reference-or-link)
2279 (Info-prev-reference-or-link): New functions.
2280 (Info-next-reference, Info-prev-reference): Use them.
2281 (Info-try-follow-nearest-node): Handle footnote navigation.
2282 (Info-fontify-node): Fontify footnotes. (Bug#13989)
2283
2284 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2285
2286 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
2287 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
2288
2289 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
2290
2291 Suppress unnecessary non-ASCII chatter during build process.
2292 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
2293 (batch-skkdic-convert): Suppress most of the chatter.
2294 It's not needed so much now that machines are faster,
2295 and its non-ASCII component was confusing; see Dmitry Gutov in
2296 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
2297
2298 2013-03-20 Leo Liu <sdl.web@gmail.com>
2299
2300 * ido.el (ido-chop): Fix bug#10994.
2301
2302 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2303
2304 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
2305 Remove vars.
2306 (whitespace-color-on, whitespace-color-off):
2307 Use `font-lock-fontify-buffer' (Bug#13817).
2308
2309 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
2310
2311 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
2312 remapping in mode-line.
2313 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
2314
2315 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2316
2317 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
2318 value for `whitespace-line' face (Bug#13875).
2319 (whitespace-font-lock-keywords): Change description.
2320 (whitespace-color-on): Don't save `font-lock-keywords' value, save
2321 the constructed keywords instead.
2322 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
2323
2324 2013-03-19 Leo Liu <sdl.web@gmail.com>
2325
2326 * progmodes/compile.el (compilation-display-error): New command.
2327 (compilation-mode-map, compilation-minor-mode-map): Bind it to
2328 C-o. (Bug#13992)
2329
2330 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2331
2332 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
2333
2334 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
2335
2336 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
2337
2338 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
2339
2340 * net/tramp-compat.el (tramp-compat-user-error): New defun.
2341
2342 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2343 * net/tramp-gvfs.el (top):
2344 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
2345 (tramp-handle-shell-command): Use it.
2346 (tramp-dissect-file-name): Raise an error when hostname is a
2347 method name, and neither method nor user is specified.
2348
2349 * net/trampver.el: Update release number.
2350
2351 2013-03-18 Leo Liu <sdl.web@gmail.com>
2352
2353 Make sure eldoc can be turned off properly.
2354 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
2355 eldoc-mode.
2356 (eldoc-display-message-p): Revert last change.
2357 (eldoc-display-message-no-interference-p)
2358 (eldoc-print-current-symbol-info): Tweak.
2359
2360 2013-03-18 Tassilo Horn <tsdh@gnu.org>
2361
2362 * doc-view.el (doc-view-new-window-function): Check the new window
2363 overlay's display property instead the char property of the
2364 buffer's first char. Use `with-selected-window' instead of
2365 `save-window-excursion' with `select-window'.
2366 (doc-view-document->bitmap): Check the current doc-view overlay's
2367 display property instead the char property of the buffer's first char.
2368
2369 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2370
2371 Automate the build of ja-dic.el (Bug#13984).
2372 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
2373 from the input, rather than assume that it's been done for us by the
2374 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
2375 the current date into a ja-dic.el comment, as that complicates
2376 regression testing.
2377
2378 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2379
2380 * whitespace.el: Fix double evaluation.
2381 (whitespace-space, whitespace-hspace, whitespace-tab)
2382 (whitespace-newline, whitespace-trailing, whitespace-line)
2383 (whitespace-space-before-tab, whitespace-indentation)
2384 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
2385 obsolete defvars.
2386 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
2387 (whitespace-color-on): Use a single font-lock-add-keywords call.
2388 Fix double-evaluation of face variables.
2389
2390 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
2391
2392 * net/tramp-adb.el (tramp-adb-parse-device-names):
2393 Use `start-process' instead of `call-process'. Otherwise, the
2394 function might be blocked under MS Windows. (Bug#13299)
2395
2396 2013-03-17 Leo Liu <sdl.web@gmail.com>
2397
2398 Extend eldoc to display info in the mode-line. (Bug#13978)
2399 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
2400 (eldoc-mode-line-string): New variable.
2401 (eldoc-minibuffer-message): New function.
2402 (eldoc-message-function): New variable.
2403 (eldoc-message): Use it.
2404 (eldoc-display-message-p)
2405 (eldoc-display-message-no-interference-p):
2406 Support eldoc-post-insert-mode.
2407
2408 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
2409 (eval-expression): Run it.
2410
2411 2013-03-17 Roland Winkler <winkler@gnu.org>
2412
2413 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
2414 strings in the list of return values.
2415
2416 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2417
2418 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
2419 radix before checking for HMS forms.
2420
2421 2013-03-16 Leo Liu <sdl.web@gmail.com>
2422
2423 * progmodes/scheme.el: Add indentation and font-locking for λ.
2424 (Bug#13975)
2425
2426 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
2427
2428 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
2429 token before point (bug#13942).
2430
2431 2013-03-16 Leo Liu <sdl.web@gmail.com>
2432
2433 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
2434
2435 2013-03-16 Eli Zaretskii <eliz@gnu.org>
2436
2437 * startup.el (command-line-normalize-file-name): Fix handling of
2438 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
2439 <xfq.free@gmail.com> in
2440 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
2441
2442 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
2443
2444 Sync with Tramp 2.2.7.
2445
2446 * net/trampver.el: Update release number.
2447
2448 2013-03-14 Tassilo Horn <tsdh@gnu.org>
2449
2450 * doc-view.el Fix bug#13887.
2451 (doc-view-insert-image): Don't modify overlay associated to
2452 non-live windows, and implement horizontal centering of image in
2453 case it's smaller than the window.
2454 (doc-view-new-window-function): Force redisplay of new windows on
2455 doc-view buffers.
2456
2457 2013-03-13 Karl Fogel <kfogel@red-bean.com>
2458
2459 * saveplace.el (save-place-alist-to-file): Don't sort
2460 `save-place-alist', just pretty-print it (bug#13882).
2461
2462 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
2463
2464 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
2465 whether `default-file-name-coding-system' is bound. It isn't in
2466 XEmacs.
2467
2468 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
2469
2470 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
2471 backquotes for `obsolete' (bug#13929).
2472
2473 * international/mule.el (find-auto-coding): Include file name in
2474 obsolescence warning (bug#13922).
2475
2476 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
2477
2478 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
2479 for CFEngine 3-specific indentation.
2480 (cfengine3-indent-line): Use it. Fix up category regex.
2481 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
2482
2483 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2484
2485 * type-break.el (type-break-file-name):
2486 * textmodes/remember.el (remember-data-file):
2487 * strokes.el (strokes-file):
2488 * shadowfile.el (shadow-initialize):
2489 * saveplace.el (save-place-file):
2490 * ps-bdf.el (bdf-cache-file):
2491 * progmodes/idlwave.el (idlwave-config-directory):
2492 * net/quickurl.el (quickurl-url-file):
2493 * international/kkc.el (kkc-init-file-name):
2494 * ido.el (ido-save-directory-list-file):
2495 * emulation/viper.el (viper-custom-file-name):
2496 * emulation/vip.el (vip-startup-file):
2497 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2498 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
2499
2500 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
2501
2502 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
2503 * language/thai-word.el: Switch to UTF-8.
2504
2505 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2506
2507 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
2508
2509 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2510
2511 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
2512 Use with-current-buffer and don't move point.
2513 (net-utils-run-simple): Remove useless code.
2514 (net-utils-remove-ctl-m): Remove unused custom.
2515
2516 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
2517
2518 * international/characters.el (glyphless-set-char-table-range): New fun.
2519 (update-glyphless-char-display): Use it (bug#13744).
2520
2521 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
2522
2523 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
2524 namespaces in the syntax, indent closer for hanging brace
2525 correctly, allow single-quote delimited 'strings', and make
2526 `cfengine3-mode' the default.
2527
2528 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
2529
2530 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
2531 Use lexical-binding. Fix up docstring according to conventions.
2532 (gdbmi-debug-mode): New var.
2533 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
2534 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
2535 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
2536 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
2537 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
2538 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
2539 (gdbmi-bnf-incomplete-record-result): New functions.
2540 (gdb-car<): Remove function.
2541 (gdbmi-record-list): Remove variable.
2542 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
2543 (gdbmi-bnf-result-state-configs): New const.
2544 (gud-gdbmi-marker-filter): Rewrite.
2545 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
2546 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
2547 Add `token' argument.
2548 (gdb-done, gdb-error): New functions.
2549 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
2550
2551 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2552
2553 * term/xterm.el (xterm--report-background-handler): Don't burp
2554 upon timeout.
2555 (xterm--version-handler): Extract from terminal-init-xterm.
2556 (xterm--query): Don't mishandle timeout. Remove debugging messages.
2557 Allow multiple handlers.
2558 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
2559
2560 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
2561 (xterm--report-background-handler, xterm--query): New functions.
2562 (terminal-init-xterm): Use them.
2563
2564 2013-03-11 Michael R. Mauger <michael@mauger.com>
2565
2566 * progmodes/sql.el Version 3.2
2567 Please note that my address changed to <michael@mauger.com>;
2568 the <mmaug@yahoo.com> address remains active.
2569 (sql-connection-alist): Updates documentation to fix bug#13715.
2570 (sql-connect): Handle missing `sql-connection-alist' correctly.
2571 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
2572 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
2573 property.
2574 (sql-default-value): New function.
2575 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
2576 values were not used.
2577 (sql-rename-buffer): Make sure alternate buffer name has no text
2578 properties.
2579 (sql-input-sender, sql-execute-feature): Fetch variable with
2580 `buffer-local-value' rather than `with-current-buffer'.
2581 (sql-*): Use #' function syntax consistently.
2582 (sql-*): Use message/error/user-error consistently.
2583
2584 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2585
2586 * xt-mouse.el (xterm-mouse-event-read): Remove.
2587 (xterm-mouse--read-event-sequence-1000)
2588 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
2589
2590 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2591
2592 * term/xterm.el (xterm-function-map): Support format used with
2593 formatOtherKeys=1 (bug#13839).
2594
2595 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
2596 (with-no-warnings): Use `declare'.
2597
2598 * whitespace.el (whitespace-enable-predicate): New variable.
2599 (whitespace-enable-predicate): Use it.
2600
2601 * comint.el (comint-send-input, comint-snapshot-last-prompt)
2602 (comint-output-filter, comint-update-fence):
2603 Use with-silent-modifications.
2604
2605 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
2606
2607 * replace.el (occur-read-regexp-defaults-function): New var.
2608 (occur-read-regexp-defaults): New defun.
2609 (occur-read-primary-args): Propagate above change (bug#13892).
2610
2611 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2612
2613 * mouse.el (mouse-drag-track): Remove left-over debugging code.
2614
2615 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
2616
2617 Major rewrite due to changed D-Bus interface of GVFS 1.14.
2618
2619 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
2620 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
2621 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
2622 New defconst.
2623 (tramp-gvfs-file-name-handler-alist) [directory-files]
2624 [directory-files-and-attributes, file-exists-p, file-modes]:
2625 Use Tramp default handler.
2626 [file-acl, file-selinux-context, process-file, set-file-acl]:
2627 [set-file-modes, set-file-selinux-context, shell-command]:
2628 [start-file-process]: Remove handler.
2629 [verify-visited-file-modtime]: New handler.
2630 (tramp-gvfs-dbus-string-to-byte-array)
2631 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
2632 calls of `dbus-string-to-byte-array' and
2633 `tramp-gvfs-dbus-byte-array-to-string'.
2634 (tramp-gvfs-handle-copy-file)
2635 (tramp-gvfs-handle-delete-directory)
2636 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
2637 (tramp-gvfs-handle-file-directory-p)
2638 (tramp-gvfs-handle-file-executable-p)
2639 (tramp-gvfs-handle-file-name-all-completions)
2640 (tramp-gvfs-handle-file-readable-p)
2641 (tramp-gvfs-handle-file-writable-p)
2642 (tramp-gvfs-handle-insert-directory)
2643 (tramp-gvfs-handle-insert-file-contents)
2644 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
2645 (tramp-gvfs-handle-set-visited-file-modtime)
2646 (tramp-gvfs-handle-write-region): Rewrite.
2647 (tramp-gvfs-handle-file-acl)
2648 (tramp-gvfs-handle-file-selinux-context)
2649 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
2650 (tramp-gvfs-handle-set-file-modes)
2651 (tramp-gvfs-handle-set-file-selinux-context)
2652 (tramp-gvfs-handle-shell-command)
2653 (tramp-gvfs-handle-start-file-process)
2654 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
2655 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
2656 over the symlinks. Fix user handling.
2657 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
2658 of the D-Bus signals.
2659 (tramp-gvfs-connection-mounted-p): Handle different names of the
2660 D-Bus methods.
2661 (tramp-gvfs-mount-spec-entry): New defun.
2662 (tramp-gvfs-mount-spec): Use it.
2663 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
2664 there is a share name. Handle different names of the D-Bus
2665 signals and methods. Set connection properties needed for
2666 `tramp-check-cached-permissions'.
2667 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
2668 Return t or nil.
2669
2670 * net/tramp.el (tramp-backtrace): Move up.
2671 (tramp-error): Dump a backtrace into the debug buffer when
2672 `tramp-verbose > 9.
2673 (tramp-file-mode-type-map, tramp-file-mode-from-int)
2674 (tramp-file-mode-permissions, tramp-get-local-uid)
2675 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
2676 tramp-sh.el.
2677
2678 * net/tramp-sh.el (tramp-file-mode-type-map)
2679 (tramp-check-cached-permissions, tramp-file-mode-from-int)
2680 (tramp-file-mode-permissions, tramp-get-local-uid)
2681 (tramp-get-local-gid): Move to tramp.el.
2682
2683 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2684
2685 Separate mouse-1-click-follows-link from mouse-drag-region.
2686 * mouse.el (mouse--down-1-maybe-follows-link): New function.
2687 (key-translation-map): Use it to implement mouse-1-click-follows-link.
2688 (mouse-drag-line, mouse-drag-track):
2689 Remove mouse-1-click-follows-link code.
2690 (mouse--remap-link-click-p): Remove.
2691
2692 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
2693
2694 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
2695 (hi-lock-read-regexp-defaults): New defun.
2696 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2697 (hi-lock-face-phrase-buffer): Propagate above change.
2698 Update docstring (bug#13892).
2699
2700 * subr.el (find-tag-default-as-regexp): New defun.
2701 * replace.el (read-regexp): Propagate above change.
2702
2703 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
2704
2705 * calc/calc-units.el (calc-convert-units): Fix the way that default
2706 new units are stored.
2707
2708 2013-03-07 Matthias Meulien <orontee@gmail.com>
2709
2710 * bookmark.el: Define a face to highlight bookmark names in
2711 bookmark menu buffers, where the default is a bold face similarly
2712 to buffer names in buffer menu buffers.
2713 (bookmark-menu-bookmark): New face to highlight bookmark names.
2714 (bookmark-insert-location): Remove duplicated text property to
2715 conform to buffer list (see `list-buffers').
2716 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
2717 `bookmark-menu-bookmark' to bookmark names.
2718
2719 2013-03-07 Matthias Meulien <orontee@gmail.com>
2720 Karl Fogel <kfogel@red-bean.com>
2721
2722 * bookmark.el: Display the bookmark list header similarly to the
2723 buffer list header (see `list-buffers'), where the default is now
2724 an immovable/immutable header line.
2725 (bookmark-bmenu-use-header-line): New variable.
2726 (bookmark-bmenu-inline-header-height): New name for
2727 `bookmark-bmenu-header-height', to avoid confusion with the code
2728 for the new immovable header. All references changed.
2729 (bookmark-bmenu-set-header): New function.
2730 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
2731 Conditionalize header construction accordingly.
2732 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
2733 the inline header height.
2734 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
2735 Conditionalize the skipping of the inline header height.
2736
2737 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
2738
2739 * progmodes/js.el (js--multi-line-declaration-indentation):
2740 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
2741
2742 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
2743
2744 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2745 Only propertize regexp when not inside a string (Bug#13885).
2746
2747 2013-03-06 Alan Mackenzie <acm@muc.de>
2748
2749 Correct the position of point in some line-up functions.
2750 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
2751 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
2752 point at column 0 rather than at a random place in the line.
2753
2754 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
2755
2756 * net/tramp-compat.el (tramp-compat-delete-directory):
2757 Implement TRASH argument.
2758
2759 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
2760
2761 Keep pre-existing highlighting in completion candidates (Bug#13250).
2762 * minibuffer.el (completions-first-difference): State that the
2763 face is "added" in the docstring.
2764 (completions-common-part): Same. And don't inherit from default.
2765 (completion-hilit-commonality): Prepend 'completions-common-part
2766 and 'completion-first-difference faces to the 'face property,
2767 instead of replacing the value(s).
2768 (completion--insert-strings): Same with 'completions-annotations face.
2769 (completion-hilit-commonality): Use 'face instead of
2770 'font-lock-face, because it gets priority if the completion
2771 strings already have 'face set.
2772
2773 2013-03-04 Alan Mackenzie <acm@muc.de>
2774
2775 Replace `last-command-event' by `last-command-char' in XEmacs.
2776 * progmodes/cc-defs.el (c-last-command-char): New macro.
2777 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
2778 (c-semi&comma-no-newlines-before-nonblanks)
2779 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
2780 in place of `last-command-event'.
2781 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
2782 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
2783 (c-electric-paren, c-electric-continued-statement): Use the new
2784 macro in place of `last-command-event'.
2785
2786 2013-03-04 Glenn Morris <rgm@gnu.org>
2787
2788 * files.el (inhibit-local-variables-regexps):
2789 Add .diff and .patch. (Bug#13862)
2790
2791 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
2792
2793 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
2794 whether the "su" command is available on the device.
2795
2796 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2797
2798 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
2799 (tramp-adb-handle-process-file): Remove superfluous setting.
2800 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
2801 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
2802 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
2803
2804 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
2805
2806 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
2807 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
2808 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
2809 Use dict-key rather than dict-name for the error message.
2810
2811 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2812
2813 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
2814 when reverting (bug#13831).
2815
2816 2013-03-01 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2817
2818 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2819 Always expand affix-file before storing to protect against changed
2820 `default-directory'.
2821 (ispell-print-if-debug): Make sure message is printed at the end
2822 of the debug buffer.
2823
2824 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2825
2826 * net/tramp.el (tramp-obsolete-methods): New defconst.
2827 (tramp-warned-obsolete-methods): New defvar.
2828 (tramp-find-method): Check for obsolete methods. Map them to a
2829 replacement method if appropriate.
2830
2831 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
2832 Remove methods.
2833 (top): Remove completion functions for "scp1", "scp2", "ssh1",
2834 "ssh2" and "plink1".
2835
2836 2013-02-28 Dale Sedivec <dale@codefu.org>
2837
2838 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
2839 Return valid syntax-table property value when converting
2840 quotes within text from string syntax to punctuation syntax (bug#13844).
2841
2842 2013-02-28 Juri Linkov <juri@jurta.org>
2843
2844 * dired-aux.el (dired-diff): If file at point is a backup file,
2845 use its original as the default value, and reverse the order
2846 of arguments to the `diff' call. Doc fix. (Bug#13772)
2847
2848 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
2849
2850 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
2851 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
2852
2853 2013-02-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2854
2855 Initial support for hunspell dictionaries auto-detection (Bug#13639)
2856
2857 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2858 Ask hunspell about available and default dictionaries.
2859 (ispell-parse-hunspell-affix-file): Extract relevant info from
2860 hunspell affix file.
2861 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
2862 `ispell-dictionary-alist' entry for given dictionary after info
2863 provided by `ispell-parse-hunspell-affix-file'.
2864 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
2865 of parsed hunspell dicts and associated affix files.
2866 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
2867 of parsed hunspell dicts and associated parameters.
2868 (ispell-set-spellchecker-params):
2869 Call `ispell-find-hunspell-dictionaries' if hunspell and not
2870 previously done.
2871 (ispell-start-process):
2872 Call `ispell-hunspell-fill-dictionary-entry' for current
2873 dictionary if it is not initialized.
2874
2875 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2876
2877 * imenu.el: Comment nitpicks.
2878
2879 2013-02-28 Sam Steingold <sds@gnu.org>
2880
2881 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
2882 See <http://stackoverflow.com/questions/14720205>.
2883
2884 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2885
2886 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
2887 (net-utils-mode): Use it.
2888 (net-utils--revert-cmd): New var.
2889 (net-utils-run-simple): Set it, and remove bogus interactive spec.
2890 (traceroute): Use net-utils-run-simple.
2891
2892 2013-02-28 Glenn Morris <rgm@gnu.org>
2893
2894 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
2895
2896 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2897
2898 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
2899 (doc-view-fallback-mode): Remove overlays here.
2900 (doc-view-toggle-display): Instead of here. Don't throw away
2901 image-mode-winprops-alist.
2902 (doc-view-goto-page): Don't mess with hscroll.
2903
2904 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2905
2906 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
2907 &optional (bug#13819).
2908
2909 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
2910
2911 * net/tramp-adb.el (tramp-adb-parse-device-names)
2912 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
2913
2914 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
2915
2916 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2917 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
2918 defined. POSIX environments fall back to the "C" locale then and
2919 emit a warning, which shall be suppressed.
2920
2921 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
2922
2923 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
2924 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
2925
2926 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2927
2928 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
2929
2930 2013-02-25 Juri Linkov <juri@jurta.org>
2931
2932 * replace.el (read-regexp): Let-bind `default' to the first
2933 element of `defaults' if it's a list, otherwise it should be
2934 a string or nil. Let-bind `suggestions' to `defaults' if it's
2935 a list, otherwise make a list with the string value. Doc fix.
2936 (Bug#13805)
2937
2938 2013-02-25 Eli Zaretskii <eliz@gnu.org>
2939
2940 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
2941 that match "\`\.#", to avoid compiling lock files, even if they
2942 are readable (as they are on MS-Windows).
2943
2944 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2945
2946 * files.el (basic-save-buffer): Remove redundant directory-creation.
2947
2948 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
2949
2950 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
2951 Add option to force `pi' to remain symbolic.
2952 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
2953 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
2954 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
2955 derivatives, when necessary.
2956
2957 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
2958
2959 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
2960 (ps-mode-octal-region): Use string-make-unibyte.
2961
2962 2013-02-23 Glenn Morris <rgm@gnu.org>
2963
2964 * emulation/viper-cmd.el (viper-submit-report):
2965 * progmodes/ps-mode.el (ps-mode-maintainer-address):
2966 * progmodes/vera-mode.el (vera-mode-help-address):
2967 * textmodes/artist.el (artist-maintainer-address):
2968 * textmodes/reftex.el (reftex-report-bug):
2969 * vc/ediff-util.el (ediff-submit-report):
2970 Add bug-gnu-emacs to bug report address.
2971
2972 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
2973 Remove bug report entries.
2974 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
2975
2976 * emacs-lisp/bytecomp.el (byte-compile-level): New.
2977 (byte-compile-file, byte-compile-from-buffer):
2978 Use separate input/output buffers for each level of recursive
2979 byte-compile-file calls. (Bug#13787)
2980
2981 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
2982
2983 * net/tramp.el (tramp-methods): Fix docstring.
2984 (tramp-ssh-controlmaster-options): Rename it from
2985 `tramp-ssh-controlmaster-template'. Return a string.
2986 (tramp-default-method): Adapt check for
2987 `tramp-ssh-controlmaster-options'.
2988
2989 * net/tramp-sh.el (tramp-methods):
2990 Replace `tramp-ssh-controlmaster-template' by "%c".
2991 (tramp-do-copy-or-rename-file-out-of-band)
2992 (tramp-maybe-open-connection): Use it in format spec. Ensure,
2993 that it is applied for the first hop only.
2994
2995 2013-02-22 Juri Linkov <juri@jurta.org>
2996
2997 * isearch.el (isearch-lazy-highlight-new-loop):
2998 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
2999 to `isearch-other-end' if it is not nil. (Bug#13402)
3000
3001 * replace.el (replace-highlight): Let-bind `isearch-other-end'
3002 to `match-beg'.
3003
3004 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
3005 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
3006 and `isearch-error' to nil.
3007
3008 2013-03-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3009
3010 * progmodes/python.el (python-info-current-defun):
3011 Enhance match-data cluttering prevention.
3012
3013 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
3014
3015 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
3016
3017 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3018 Handle multibyte file names.
3019
3020 2013-02-22 Glenn Morris <rgm@gnu.org>
3021
3022 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
3023 (sgml-transformation-function): Give it a :set function.
3024 (sgml-tag): Doc fix.
3025
3026 * cmuscheme.el (scheme-buffer):
3027 * progmodes/inf-lisp.el (inferior-lisp-buffer):
3028 * progmodes/tcl.el (inferior-tcl-buffer):
3029 * textmodes/tex-mode.el (tex-command): Doc fixes.
3030
3031 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
3032
3033 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
3034
3035 2013-02-21 Bastien Guerry <bzg@gnu.org>
3036
3037 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
3038
3039 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3040
3041 * progmodes/python.el (python-info-current-defun):
3042 Enhance match-data cluttering prevention.
3043
3044 2013-02-21 Glenn Morris <rgm@gnu.org>
3045
3046 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
3047 loaded while outline-regexp is let bound. (Bug#9584)
3048
3049 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3050
3051 * progmodes/python.el (python-info-current-defun): Fix failed
3052 defun name retrieval because of unwanted match-data cluttering.
3053
3054 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
3055
3056 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
3057 defconst. Apply independent check for ControlPersist.
3058
3059 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
3060 temporarily, via "env".
3061
3062 2013-02-21 Glenn Morris <rgm@gnu.org>
3063
3064 * info.el (Info-enable-edit): Remove.
3065 (Info-edit): Disable it rather than using Info-enable.
3066 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
3067 (Info-cease-edit): Make editing of Info files obsolete.
3068
3069 * informat.el (Info-tagify):
3070 Handle buffers not visiting files. (Bug#13763)
3071
3072 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
3073
3074 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
3075
3076 2013-02-21 Glenn Morris <rgm@gnu.org>
3077
3078 * files.el (basic-save-buffer): Move check for existing parent
3079 directory after hooks. (Bug#13773)
3080
3081 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
3082
3083 * simple.el (command-execute): Move from C. Add obsolete check.
3084 (extended-command-history): Move from C.
3085
3086 2013-02-20 Ulrich MĂ¼ller <ulm@gentoo.org>
3087
3088 * jka-cmpr-hook.el (jka-compr-compression-info-list)
3089 (jka-compr-mode-alist-additions): Handle .txz suffix for
3090 XZ-compressed tar archives (bug#13770).
3091
3092 2013-02-20 Bastien Guerry <bzg@gnu.org>
3093
3094 * outline.el (outline-regexp, outline-heading-end-regexp):
3095 Make variables, not options (bug#13731).
3096
3097 2013-02-20 Glenn Morris <rgm@gnu.org>
3098
3099 * image.el (image-current-frame): Change from variable to function.
3100 (image-show-frame): Rename from image-nth-frame. Update callers.
3101 * image-mode.el (image-multi-frame): New variable.
3102 (image-mode-map, image-mode, image-goto-frame):
3103 Use image-multi-frame rather than image-current-frame.
3104 (image-mode, image-goto-frame): Use image-current-frame as
3105 function rather than as variable.
3106
3107 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
3108 * emacs-lisp/cl-macs.el (cl--make-type-test)
3109 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
3110
3111 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3112
3113 * net/tramp-cache.el (tramp-get-hash-table): New defun.
3114 (tramp-get-file-property, tramp-set-file-property)
3115 (tramp-get-connection-property, tramp-set-connection-property): Use it.
3116 (tramp-flush-file-property, tramp-flush-directory-property):
3117 Rename argument to KEY.
3118 (tramp-flush-connection-property): Simplify a little bit.
3119 (tramp-connection-property-p): New defun.
3120 (top): Reapply saved values only if there isn't a corresponding
3121 entry in `tramp-connection-properties'.
3122
3123 2013-02-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3124
3125 * progmodes/python.el (python-indent-context):
3126 Fix python-info-line-ends-backslash-p call.
3127 (python-info-line-ends-backslash-p)
3128 (python-info-beginning-of-backslash): Respect line-number argument.
3129 (python-info-current-line-comment-p):
3130 Fix behavior when not at beginning-of-line.
3131 (python-util-position): Remove function.
3132 (python-util-goto-line): New function.
3133
3134 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3135
3136 * eshell/em-unix.el (eshell/su): Require tramp.
3137 (eshell/sudo): Require tramp. Remove now unnecessary check.
3138
3139 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
3140 `tramp-current-connection' in order to avoid an error when several
3141 commands are invoked in a short time in eshell and friends.
3142
3143 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
3144
3145 Cleanup some of EIEIO's namespace.
3146 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
3147 Use it to define all the class-* and object-* field accessors (renamed
3148 to eieio--class-* and eieio--object-*). Update all uses.
3149 (eieio--class-num-slots, eieio--object-num-slots): Rename from
3150 class-num-slots and object-num-slots.
3151 (eieio--check-type): New macro.
3152 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
3153 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
3154 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
3155 (object-assoc-list-safe): Use it.
3156 (eieio-defclass): Tighten regexp.
3157 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
3158 Remove unreachable code.
3159 (object-class-fast): Declare obsolete.
3160 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
3161 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
3162 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
3163 Rename from class-name, object-name, object-set-name-string,
3164 object-class, object-class-name, class-parents, class-children,
3165 class-precedence-list, class-parent; with obsolete alias.
3166 (class-of, class-direct-superclasses, class-direct-subclasses):
3167 Declare obsolete.
3168 (eieio-defmethod): Use `memq'; remove unreachable code.
3169 * emacs-lisp/eieio-base.el (eieio-persistent-read):
3170 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
3171 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
3172
3173 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
3174
3175 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
3176 commentary.
3177
3178 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
3179
3180 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
3181 Use font-lock-keyword-face for macros and special forms (bug#8345).
3182
3183 2013-02-17 Didier Verna <didier@didierverna.net>
3184
3185 * net/network-stream.el (network-stream-open-starttls):
3186 Check that response to the starttls-command is non-nil. (Bug#13706)
3187
3188 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3189
3190 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
3191 Don't assume all identifier chars have syntax word.
3192 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3193 Remove bar-not-symbol. Adjust callers.
3194 (lisp-mode-variables): Don't set a font-lock-syntax-table.
3195
3196 2013-02-17 Leo Liu <sdl.web@gmail.com>
3197
3198 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
3199
3200 2013-02-17 Glenn Morris <rgm@gnu.org>
3201
3202 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
3203
3204 * image-mode.el (image-mode-map): Add image-dired menu entry.
3205
3206 * image-dired.el (tumme): Make this alias obsolete.
3207
3208 2013-02-16 Glenn Morris <rgm@gnu.org>
3209
3210 * image.el (image-animated-types): Remove.
3211 (image-multi-frame-p): Rename from image-animated-p, and generalize.
3212 (image-animated-p): Make obsolete alias.
3213 (image-animate, image-nth-frame, image-animate-timeout):
3214 Use image-multi-frame-p.
3215 (image-animate-timeout): If no delay, use image-default-frame-delay.
3216 * image-mode.el (image-mode, image-toggle-animation):
3217 Use image-multi-frame-p. (Bug#763, bug#10739)
3218 (image-mode): Adjust startup message for a multi-frame image.
3219
3220 * image-mode.el (image-mode-map): Give it a menu.
3221
3222 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
3223
3224 * net/tramp-cache.el (tramp-connection-properties): New customer
3225 option.
3226 (tramp-get-connection-property): Use it.
3227
3228 * net/tramp-compat.el (top): Require 'trampver.
3229
3230 * net/tramp-sh.el (tramp-remote-process-environment):
3231 Set tramp-autoload cookie.
3232
3233 2013-02-16 Kevin Ryde <user42@zip.com.au>
3234
3235 * info-look.el (info-lookup-select-mode): If major-mode has no
3236 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
3237
3238 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
3239
3240 * replace.el (read-regexp): Tighten the regexp that matches tag.
3241 When tag is retrieved with `find-tag-default', use regexp that
3242 matches tag at point. Also update docstring (Bug#13687).
3243
3244 2013-02-16 Eli Zaretskii <eliz@gnu.org>
3245
3246 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
3247 add watch for the file, not its parent directory, since w32notify
3248 sets up the watch for the directory internally. (Bug#13725)
3249
3250 2013-02-16 Glenn Morris <rgm@gnu.org>
3251
3252 * image.el (image-default-frame-delay): New variable.
3253 (image-animated-p): Use image-default-frame-delay.
3254 (image-minimum-frame-delay): New constant.
3255 (image-animate-timeout): Use image-minimum-frame-delay.
3256
3257 * image.el (image-nth-frame): New, split from image-animate-timeout.
3258 (image-animate-timeout): Use image-nth-frame.
3259 * image-mode.el (image-goto-frame, image-next-frame)
3260 (image-previous-frame): New commands.
3261 (image-mode-map): Add new frame commands.
3262
3263 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
3264
3265 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
3266 If col-desc already has help-echo, use it. (Bug#13563)
3267
3268 2013-02-16 Glenn Morris <rgm@gnu.org>
3269
3270 * image.el (image-current-frame): New variable.
3271 (image-animate-timeout): Set image-current-frame.
3272 * image-mode.el (image-mode): For animated images,
3273 display a frame counter via mode-line-process.
3274
3275 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
3276
3277 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3278
3279 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
3280
3281 2013-02-15 Alan Mackenzie <acm@muc.de>
3282
3283 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
3284 global minor mode has been enabled, call the minor mode function
3285 for a new buffer once only, after the major mode hook, whilst
3286 allowing that hook explicitly to disable the minor mode.
3287 (MODE-disable-in-buffer): New (generated) function.
3288 (disable-MODE): New (generated) buffer local variable.
3289
3290 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
3291
3292 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
3293 `iswitchb-next-match' and `iswitchb-prev-match' resply.
3294 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
3295 `ido-next-match' and `ido-prev-match' resply.
3296 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
3297 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
3298 `icomplete-backward-completions' (Bug#13708).
3299
3300 2013-02-15 Glenn Morris <rgm@gnu.org>
3301
3302 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3303
3304 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3305
3306 * net/goto-addr.el (goto-address-fontify): Add start and end args.
3307 (goto-address-fontify-region): Use them instead of narrowing, so
3308 syntax-ppss has access to the whole buffer.
3309
3310 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3311
3312 * progmodes/python.el: Explain how to restore "cc-mode"-like
3313 forward-sexp movement in header documentation (Bug#13642).
3314 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
3315 comments and strings (GH bug 114).
3316
3317 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3318
3319 * progmodes/python.el (python-info-current-defun): Fix current
3320 defun detection (Bug#13618).
3321
3322 2013-02-15 Chong Yidong <cyd@gnu.org>
3323
3324 * xml.el (xml-parse-string): Fix typo in handling of bad character
3325 references.
3326
3327 2013-02-15 Glenn Morris <rgm@gnu.org>
3328
3329 * play/fortune.el (fortune-compile): Simplify and fix previous change.
3330
3331 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
3332
3333 * net/tramp.el (tramp-debug-message):
3334 Add `tramp-condition-case-unless-debug'.
3335 (tramp-debug-on-error): New defvar.
3336 (tramp-condition-case-unless-debug): New defun.
3337 (tramp-file-name-handler): Use it.
3338
3339 2013-02-14 Juri Linkov <juri@jurta.org>
3340
3341 * info.el (Info-isearch-filter): Treat non-nil values of
3342 `search-invisible' including its default value `open'
3343 like the value `t' to match hidden text. (Bug#13402)
3344
3345 2013-02-14 Glenn Morris <rgm@gnu.org>
3346
3347 * help-fns.el (find-lisp-object-file-name): Give special treatment
3348 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
3349
3350 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
3351
3352 * net/quickurl.el (quickurl-save-urls):
3353 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
3354
3355 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
3356
3357 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
3358 depth for unfinished percent literal. Not using it in the caller.
3359 (ruby-move-to-block): Jump over multiline literals of all types,
3360 ignoring code-looking contents inside them.
3361 (ruby-add-log-current-method): Improve performance at the expense
3362 of accuracy. `ruby-block-contains-point' is relatively slow, so
3363 only use it for method and singleton class blocks.
3364
3365 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3366
3367 Use ControlMaster where applicable. (Bug#13677)
3368
3369 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
3370 replacing `tramp-detect-ssh-controlmaster'.
3371 (tramp-default-method): Use it.
3372
3373 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
3374 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
3375 arguments.
3376 [scpc, rsyncc]: Remove methods.
3377 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
3378 and "ssh2_old".
3379 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
3380 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
3381
3382 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3383
3384 * emacs-lisp/package.el (package--initialized): Move before first use.
3385
3386 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
3387
3388 * icomplete.el (icomplete-hide-common-prefix): New user option.
3389 (icomplete-first-match): New face.
3390 (icomplete-completions): Correct handling of "complete but not
3391 unique" (Bug#12638).
3392
3393 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
3394
3395 * descr-text.el (describe-char): Display the script (bug#13698).
3396
3397 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3398
3399 * tmm.el: Use lexical-binding and current-active-maps.
3400 (tmm-menubar): Use map-keymap and pcase.
3401 (tmm--completion-table): New function.
3402 (tmm-prompt): Use it to fix the menu order.
3403 (tmm-get-keybind): Use current-active-maps.
3404
3405 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
3406
3407 Add dired-hide-details-mode. (Bug#6799)
3408
3409 * locate.el (locate-mode): Set parent mode property to dired-mode.
3410
3411 * find-dired.el (find-dired): Call dired-insert-set-properties on
3412 initial information line. Set process mark on end of buffer.
3413 (find-dired-sentinel):
3414 Call dired-insert-set-properties on summary.
3415
3416 * dired.el (dired-hide-details-hide-symlink-targets)
3417 (dired-hide-details-hide-information-lines): New options.
3418 (dired-insert-directory):
3419 Set properties after final treatment of output.
3420 (dired-insert-set-properties):
3421 Set dired-hide-details-* properties.
3422 (dired-mode-map): Bind dired-hide-details-mode.
3423 (dired-mode): Set buffer-invisibility-spec to a list.
3424 (dired-next-line): Skip hidden lines.
3425 (dired-previous-line): Use dired-next-line.
3426 (dired-hide-details-mode): New minor mode.
3427 (dired-hide-details-update-invisibility-spec): New function.
3428
3429 2013-02-13 Glenn Morris <rgm@gnu.org>
3430
3431 * play/yow.el: Move to obsolete/. (Bug#9384)
3432
3433 2013-02-13 Juri Linkov <juri@jurta.org>
3434
3435 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
3436 to select `ediff-control-frame' and set input focus correctly on Xfce.
3437 (Bug#12218)
3438
3439 2013-02-13 Juri Linkov <juri@jurta.org>
3440
3441 * image-mode.el (image-mode-map):
3442 * doc-view.el (doc-view-mode-map):
3443 * vc/ediff-util.el (ediff-setup-keymap):
3444 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3445
3446 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
3447
3448 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
3449 performance. Instead of recalculating indentation fully for each
3450 line, sum up indentation depth based only on visited lines.
3451 (ruby-parse-partial): Increase the depth after "do" even when END
3452 is right after it.
3453 (ruby-parse-partial): When END is in the middle of a percent
3454 literal, increase the depth if the delimiter chars belong to the
3455 paren syntax class.
3456
3457 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
3458
3459 * play/fortune.el (fortune-compile): Also make the compiled file
3460 if it does not exist at all, not just if it is old. (Bug#5338)
3461
3462 2013-02-13 Glenn Morris <rgm@gnu.org>
3463
3464 * emacs-lisp/package.el (package-menu-execute): Doc fix.
3465
3466 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
3467
3468 * lisp/emacs-lisp/package.el (package-menu-execute):
3469 Add optional noquery argument. (Bug#13625)
3470
3471 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3472
3473 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
3474 if DIR exists and PARENTS is non-nil.
3475
3476 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
3477
3478 * progmodes/js.el (js--multi-line-declaration-indentation):
3479 Silence byte-compiler warning.
3480
3481 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
3482
3483 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
3484
3485 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
3486 only if it doesn't exist.
3487
3488 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3489 Set process marker.
3490
3491 2013-02-12 Tassilo Horn <tsdh@gnu.org>
3492
3493 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
3494 UserInstallation when calling soffice to work around LibreOffice
3495 bug 37531.
3496
3497 2013-02-12 Glenn Morris <rgm@gnu.org>
3498
3499 * files.el (basic-save-buffer):
3500 Offer to create a non-existing directory. (Bug#3016)
3501
3502 * calc/calc-graph.el (calc-graph-show-dumb):
3503 * calendar/calendar.el (calendar-mode-map):
3504 * cus-edit.el (custom-mode-map):
3505 * ehelp.el (electric-help-map):
3506 * emulation/vip.el (vip-mode-map):
3507 * epa.el (epa-key-list-mode-map):
3508 * info.el (Info-mode-map):
3509 * mail/rmail.el (rmail-mode-map):
3510 * mail/rmailsum.el (rmail-summary-mode-map):
3511 * man.el (Man-mode-map):
3512 * net/newst-plainview.el (newsticker-mode-map):
3513 * progmodes/cpp.el (cpp-edit-mode-map):
3514 * progmodes/grep.el (grep-mode-map):
3515 * progmodes/idlw-help.el (idlwave-help-mode-map):
3516 * simple.el (special-mode-map):
3517 * startup.el (splash-screen-keymap):
3518 * view.el (view-mode-map):
3519 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3520
3521 2013-02-11 Elias Pipping <pipping@lavabit.com>
3522
3523 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
3524 (bug#13679).
3525
3526 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
3527
3528 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
3529
3530 2013-02-11 Glenn Morris <rgm@gnu.org>
3531
3532 * vc/diff.el (diff-use-labels): New variable.
3533 (diff-no-select): Use --label rather than -L, and first
3534 check that it is supported. (Bug#11067)
3535
3536 * files.el (enable-dir-local-variables): New variable.
3537 (hack-dir-local-variables): Respect enable-dir-local-variables.
3538 * tutorial.el (help-with-tutorial):
3539 Ignore directory-local variables. (Bug#11127)
3540
3541 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
3542 (vc-svn-global-switches): ... to here. (Bug#13513)
3543
3544 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
3545
3546 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
3547 Handle "foo (bar, default: xxx): " prompts.
3548
3549 2013-02-10 Chong Yidong <cyd@gnu.org>
3550
3551 * files.el (basic-save-buffer-1): Do not set
3552 buffer-file-coding-system-explicit (Bug#4533).
3553
3554 * mail/emacsbug.el (report-emacs-bug): Change binding of
3555 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
3556
3557 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
3558
3559 * calc/calc.el (calc-allow-units-as-numbers): New variable.
3560 * calc/calc-units.el (calc-convert-units): Use new variable.
3561
3562 2013-02-09 Eli Zaretskii <eliz@gnu.org>
3563
3564 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
3565
3566 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
3567 buffer-file-type.
3568
3569 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
3570 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
3571 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
3572 coding-system-for-write instead.
3573
3574 * jka-compr.el (jka-compr-write-region): Don't bind
3575 buffer-file-type.
3576
3577 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
3578 buffer-file-type.
3579
3580 * files.el (file-name-buffer-file-type-alist): Remove defvar.
3581 (insert-file-contents-literally): Remove reference to
3582 file-name-buffer-file-type-alist.
3583
3584 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
3585 make-obsolete.
3586 (find-buffer-file-type-match, find-buffer-file-type): Remove.
3587 (find-buffer-file-type-coding-system): Remove references to
3588 find-buffer-file-type-match, find-buffer-file-type, and
3589 buffer-file-type.
3590 Don't put find-buffer-file-type-coding-system into
3591 file-coding-system-alist.
3592 (find-file-binary, find-file-text): Bind coding-system-for-read
3593 instead of file-name-buffer-file-type-alist.
3594
3595 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
3596
3597 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
3598 converter (Bug#13622).
3599 (doc-view-unoconv-program): Make obsolete alias.
3600 (doc-view-odf->pdf-converter-program): New variable.
3601 (doc-view-odf->pdf-converter-function): New variable.
3602 (doc-view-mode-p): Use it.
3603 (doc-view-odf->pdf-converter-unoconv):
3604 Rename from `doc-view-odf->pdf-converter-unoconv'.
3605 (doc-view-odf->pdf-converter-soffice): New function.
3606 (doc-view-convert-current-doc):
3607 Use `doc-view-odf->pdf-converter-function'.
3608
3609 2013-02-09 Chong Yidong <cyd@gnu.org>
3610
3611 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
3612 view-echo-area-messages (Bug#13340).
3613
3614 * help.el (view-echo-area-messages): Use display-buffer.
3615
3616 * dired-x.el (dired-do-run-mail): Prompt for confirmation
3617 (Bug#13561).
3618
3619 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
3620
3621 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
3622 Eval body right away, now that we do eager macroexpansion (bug#13605).
3623
3624 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
3625 (fundamental-mode): Use run-mode-hooks.
3626
3627 * eshell/esh-proc.el (eshell/kill): Fix last change.
3628 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
3629
3630 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
3631
3632 * eshell/esh-proc.el (eshell/kill): Rewrite.
3633
3634 * eshell/em-ls.el (show-almost-all): Declare.
3635 (eshell-do-ls): Add support for -A argument.
3636
3637 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
3638
3639 * icomplete.el (icomplete-forward-completions)
3640 (icomplete-backward-completions): Handle corner case (bug#13602).
3641
3642 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
3643
3644 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
3645 be nil. Handle this. (Bug#13636)
3646
3647 2013-02-07 Richard Stallman <rms@gnu.org>
3648
3649 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
3650 `save-buffer-coding-system'.
3651
3652 2013-02-07 Alan Mackenzie <acm@muc.de>
3653
3654 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
3655 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
3656 (c-parse-state-get-strategy): Don't return 'BOD any more.
3657 (c-append-lower-brace-pair-to-state-cache):
3658 Extra parameter HERE instead of narrowing.
3659 Widen to top of buffer before searching backwards for a brace pair.
3660 (c-state-push-any-brace-pair): Add HERE parameter to function call.
3661 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
3662 Narrow to parameter HERE, in place of being called narrowed.
3663 (c-remove-stale-state-cache): Extra parameter HERE in place of
3664 narrowing. Check there's an open brace in the cache before
3665 searching for its match.
3666 (c-invalidate-state-cache-1): Add HERE parameter to function call.
3667 (c-parse-state-1): Don't narrow here for 'forward strategy,
3668 instead passing extra parameter HERE to several functions.
3669 Remove 'BOD strategy.
3670
3671 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
3672
3673 * emacs-lisp/package.el (describe-package-1): Tell what archive is
3674 used to install the package.
3675
3676 2013-02-06 Glenn Morris <rgm@gnu.org>
3677
3678 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
3679 if we can't get user input. (Bug#6567)
3680
3681 * startup.el (command-line): If simple.el is missing,
3682 test and warn about for some possible causes.
3683
3684 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
3685
3686 * cus-start.el (all): Add ns-use-native-fullscreen.
3687
3688 2013-02-05 Glenn Morris <rgm@gnu.org>
3689
3690 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
3691
3692 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3693 Fix directory creation in fallback case.
3694
3695 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3696
3697 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
3698 (vc-update-change-log): Use dolist.
3699
3700 2013-02-04 Chong Yidong <cyd@gnu.org>
3701
3702 * thingatpt.el: Rewrite the URL detection routines, absorbing some
3703 code from ffap.el.
3704 (thing-at-point-beginning-of-url-regexp): New var.
3705 (thing-at-point-uri-schemes): Update list of URI schemes.
3706 (thing-at-point-url-regexp): Variable deleted.
3707 (thing-at-point-markedup-url-regexp): Disallow newlines.
3708 (thing-at-point-newsgroup-regexp)
3709 (thing-at-point-newsgroup-heads)
3710 (thing-at-point-default-mail-uri-scheme): New variables.
3711 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
3712 method to find the possible bounds of the URI at point.
3713 New optional argument to find ill-formed URIs.
3714 (thing-at-point-url-at-point): Rewrite. New arguments for finding
3715 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
3716 the scheme-adding heuristics from ffap-url-at-point.
3717 (thing-at-point--bounds-of-well-formed-url): New function.
3718 Do parens matching to decide whether to include parens in the URI
3719 (Bug#9153).
3720
3721 * ffap.el: Require thingatpt.
3722 (ffap-url-at-point): Delegate URI detection to thing-at-point.
3723 All URI-valid characters are now recognized (Bug#5673).
3724 (ffap-string-at-point): Use use-region-p.
3725 (ffap-url-regexp): Extra character is handled by thing-at-point.
3726 (ffap-string-at-point-mode-alist): Allow parentheses.
3727 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
3728 Convert to aliases; code moved to thingatpt.el.
3729 (ffap-gnus-hook): Use setq-local.
3730
3731 2013-02-04 Glenn Morris <rgm@gnu.org>
3732
3733 * emacs-lisp/ert.el (ert--explain-format-atom):
3734 Don't try to print non-characters as characters. (Bug#13543)
3735
3736 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
3737
3738 * net/tramp.el (tramp-debug-message): Extend function exclude list.
3739 (tramp-backtrace): New defun.
3740 (tramp-handle-insert-file-contents): Use `visit' when inserting
3741 the local copy.
3742
3743 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
3744 Use `remote-file-name-inhibit-cache'.
3745
3746 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
3747
3748 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
3749 (bug#13614).
3750
3751 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
3752 current-load-list (bug#13366).
3753
3754 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
3755
3756 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3757 Identify g++ template instantiation trace. (Bug#12287)
3758 (compilation-mode-hook, compilation-start-hook)
3759 (compilation-window-height): Simplify docstrings. (Bug#13379)
3760
3761 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3762
3763 * mouse.el (mouse-drag-track): Always deactivate the mark before
3764 running the final event's command since that command is in charge of
3765 activating the mark if needed (bug#13523).
3766
3767 2013-02-02 Juri Linkov <juri@jurta.org>
3768
3769 * replace.el (perform-replace): Move let-bindings of isearch-*
3770 variables deeper to the loop that searches for the next match.
3771 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
3772 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
3773 (Bug#13579)
3774
3775 * isearch.el (isearch-search-fun-default): Check for null
3776 first element of isearch-cmds as a precaution when it's used
3777 with inactive isearch.
3778
3779 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
3780
3781 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
3782 error when buffer in question is narrowed so position 1 is out of
3783 visible part.
3784
3785 2013-02-02 Glenn Morris <rgm@gnu.org>
3786
3787 * textmodes/remember.el (remember-clipboard): Doc fix.
3788
3789 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3790
3791 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
3792 properties (bug#13179).
3793
3794 2013-02-02 Juri Linkov <juri@jurta.org>
3795
3796 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
3797 instead of hard-coded default face `match'. (Bug#9438)
3798
3799 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
3800
3801 * vc/vc-arch.el (vc-arch-registered):
3802 * vc/vc-bzr.el (vc-bzr-registered):
3803 * vc/vc-cvs.el (vc-cvs-registered):
3804 * vc/vc-git.el (vc-git-registered):
3805 * vc/vc-hg.el (vc-hg-registered):
3806 * vc/vc-mtn.el (vc-mtn-registered):
3807 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
3808 (Bug#13139)
3809
3810 * info.el (Info-next-reference, Info-prev-reference): Add numeric
3811 prefix argument. (Bug#11656)
3812
3813 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
3814
3815 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
3816
3817 2013-02-01 Glenn Morris <rgm@gnu.org>
3818
3819 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
3820 if the backend is known not to support it.
3821
3822 * imenu.el (imenu-default-create-index-function):
3823 Tweak infinite loop test to check for forward motion as well as none.
3824
3825 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
3826
3827 * net/soap-client.el (soap-invoke): Encode the string for
3828 `url-request-data' as UTF-8.
3829 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
3830
3831 2013-02-01 Glenn Morris <rgm@gnu.org>
3832
3833 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
3834
3835 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
3836
3837 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
3838
3839 * net/tramp.el (tramp-tramp-file-p): Comment check for
3840 `string-as-unibyte'. The function does not exist on XEmacs, and
3841 likely we need another approach.
3842
3843 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
3844 `tramp-gw-*' variables are bound.
3845
3846 2013-01-31 Glenn Morris <rgm@gnu.org>
3847
3848 * files.el (basic-save-buffer-2): Choose coding system for
3849 writing the file before backing it up, to reduce delay between
3850 backing up and writing the new version. (Bug#13522)
3851
3852 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
3853
3854 * simple.el (cycle-spacing): New command.
3855 (just-one-space): Use it.
3856
3857 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
3858
3859 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
3860 (opascal-newline-always-indents): Remove custom.
3861 (opascal-tab, opascal-newline): Remove commands.
3862 (opascal-new-comment-line): Insert "\n" instead of calling newline.
3863 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
3864 (opascal-save-match-data): Remove, use save-match-data instead.
3865 (opascal-save-state): Use with-silent-modifications.
3866
3867 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
3868 (bug#13585).
3869
3870 2013-01-30 Juri Linkov <juri@jurta.org>
3871
3872 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
3873 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
3874 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
3875
3876 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3877
3878 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
3879 column if we're just deleting the backslashes.
3880 (makefile-fill-paragraph): Use eolp.
3881
3882 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3883
3884 * autorevert.el (auto-revert-use-notify): Fix docstring.
3885
3886 2013-01-30 Leo Liu <sdl.web@gmail.com>
3887
3888 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
3889
3890 2013-01-30 Glenn Morris <rgm@gnu.org>
3891
3892 * mouse.el (mouse-drag-line): Avoid pushing same event onto
3893 unread-command-events twice in some cases. This tries to implement
3894 the 2012-07-26 changes in a different way. (Bug#13560)
3895
3896 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3897
3898 * progmodes/python.el
3899 (python-pdbtrack-comint-output-filter-function): Enhancements on
3900 stacktrace detection. (thanks @gnovak)
3901
3902 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3903
3904 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
3905 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
3906 Use defvar-local.
3907 (jit-lock-register): Use setq-local.
3908
3909 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
3910
3911 * calc-units.el (math-default-units-table): Remove initial value.
3912 (calc-convert-units): Treat expressions where all the units cancel as
3913 if they didn't have units.
3914
3915 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3916
3917 * net/tramp.el (tramp-process-connection-type): Fix docstring.
3918 (tramp-completion-reread-directory-timeout): Fix type.
3919 (tramp-connection-min-time-diff): New defcustom.
3920
3921 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3922
3923 2013-01-30 Glenn Morris <rgm@gnu.org>
3924
3925 * imenu.el (imenu-default-create-index-function):
3926 Put back a version of the infinite loop test removed 2013-01-23.
3927
3928 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3929
3930 * progmodes/python.el (python-shell-parse-command):
3931 Find python-shell-interpreter with modified environment.
3932
3933 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3934
3935 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
3936
3937 2013-01-29 Alan Mackenzie <acm@muc.de>
3938
3939 Amend to fontify /regexp/s in actions correctly.
3940 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
3941 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
3942 are no longer included.
3943 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
3944 What used to be these variables without "-line" in the name.
3945 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
3946 (c-awk-non-arith-op-bra-re): Now also matches {.
3947 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
3948 "return", and "case".
3949 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
3950 by /.
3951 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
3952 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
3953
3954 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
3955
3956 * autorevert.el (auto-revert-use-notify):
3957 Use `custom-initialize-default' for initialization. (Bug#13583)
3958
3959 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
3960
3961 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3962 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
3963 in `tramp-file-name-handler'.
3964 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
3965 compatibility.
3966 (tramp-compute-multi-hops): Check, whether
3967 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
3968
3969 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
3970
3971 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
3972 (bug#13297).
3973
3974 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
3975
3976 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
3977 checks made superfluous by the \_< operator.
3978 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
3979 temporarily) broken indentation.
3980 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3981 Highlight nested constants, too. \_< broke that.
3982
3983 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
3984
3985 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
3986 instead of "\\b".
3987
3988 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
3989
3990 * autorevert.el (auto-revert-handler): Notifications which result
3991 from a saved file shall not be taken into account. (Bug#13557)
3992
3993 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
3994
3995 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
3996 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
3997 (lisp-mode): Pass t for it. (Bug#13556)
3998
3999 2013-01-25 Alan Mackenzie <acm@muc.de>
4000
4001 AWK Mode: Fix indentation bug at top level. Bug #12274.
4002
4003 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
4004 just before CASE 5D.
4005
4006 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
4007
4008 * net/socks.el (socks-nslookup-host): Use string-to-number.
4009
4010 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
4011
4012 * autorevert.el (auto-revert-remote-files)
4013 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
4014 (auto-revert-notify-enabled, auto-revert-use-notify)
4015 (auto-revert-notify-watch-descriptor-hash-list)
4016 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
4017 (auto-revert-notify-event-descriptor)
4018 (auto-revert-notify-event-action)
4019 (auto-revert-notify-event-file-name): Doc fix.
4020 (global-auto-revert-mode): Reorder checks.
4021 (auto-revert-notify-rm-watch): Respect changed values of
4022 `auto-revert-notify-watch-descriptor-hash-list'.
4023 (auto-revert-notify-add-watch): Check for
4024 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
4025 `inotify-add-watch'. Watch `default-directory' instead of
4026 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
4027 has a changed meaning now. (Bug#13540)
4028 (auto-revert-notify-handler): Change implementation wrt events
4029 returning from a directory.
4030 (auto-revert-handler): Reorder implementation for checks of remote
4031 files.
4032 (auto-revert-buffers): Fix parentheses error.
4033
4034 2013-01-25 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4035
4036 * progmodes/python.el: Enhancements to header documentation about
4037 skeletons. (Bug#5716)
4038
4039 * imenu.el (imenu-default-create-index-function): Remove useless
4040 infinite loop check. (Bug#13438)
4041
4042 2013-01-25 Alan Mackenzie <acm@muc.de>
4043
4044 Fix a bug in the state cache mechanism. Refactor this a bit.
4045
4046 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
4047 `cache-pos' element from the return value.
4048 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
4049 buffer to enable proper searching from beyond HERE. Amend the
4050 test for detecting the sought brace pair. Amend the value written
4051 to the "brace desert cache" when the brace isn't found.
4052 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
4053 and several other variables analogously.
4054 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
4055 parameter to a locally calculated variable.
4056 (c-parse-state-1): Change the calling conventions to the two
4057 defuns involving `cache-pos'.
4058
4059 2013-01-25 Chong Yidong <cyd@gnu.org>
4060
4061 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
4062
4063 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
4064
4065 * paren.el (show-paren-function): Make sure to set 'priority and
4066 'face only if the overlay does exist.
4067
4068 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
4069
4070 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
4071
4072 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
4073 basic attributes.
4074 (tramp-sh-handle-set-file-acl): Improve error checking.
4075
4076 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
4077
4078 * doc-view.el (doc-view-display): Force mode line update until all
4079 document is converted. Suggested by Stefan Monnier (Bug#13164).
4080
4081 2013-01-23 Bastien Guerry <bzg@gnu.org>
4082
4083 * paren.el (show-paren-function): Make sure an overlay exists
4084 before trying to delete it. Also use `pos' as a position only
4085 when it is an integer.
4086
4087 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
4088
4089 * play/gametree.el (gametree-break-line-here): Use point-marker.
4090
4091 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
4092
4093 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4094 Mark descriptive parts with `display' property.
4095
4096 2013-01-21 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
4097
4098 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
4099 New variable to map standard dict names to hunspell ones.
4100 (ispell-set-spellchecker-params): Make sure specific dict names
4101 are used for standard dicts with hunspell.
4102
4103 2013-01-21 Tassilo Horn <tsdh@gnu.org>
4104
4105 * textmodes/reftex-cite.el (reftex-format-citation): Add format
4106 chars for note (%N) and url (%U).
4107 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
4108
4109 2013-01-21 Juri Linkov <juri@jurta.org>
4110
4111 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
4112 in addition to existing separate binding `meta f10' in `global-map'.
4113 (Bug#13484)
4114
4115 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
4116
4117 Improve XEmacs compatibility.
4118
4119 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
4120
4121 * net/tramp-adb.el (top): Require `time-date'.
4122 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
4123 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
4124 Use `tramp-file-name-handler'.
4125 (tramp-adb-maybe-open-connection):
4126 Use `tramp-compat-set-process-query-on-exit-flag'.
4127
4128 * net/tramp-sh.el (tramp-sh-handle-file-acl):
4129 Use `tramp-compat-funcall'.
4130
4131 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
4132 `tramp-compat-funcall'.
4133
4134 2013-01-21 JĂ¼rgen Hötzel <juergen@archlinux.org>
4135
4136 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
4137 reimplementation using "adb shell command ..." instead of running
4138 remote shell interactively.
4139
4140 2013-01-20 Glenn Morris <rgm@gnu.org>
4141
4142 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
4143 Add native profiler menu entries.
4144
4145 * profiler.el (profiler-running-p): New function.
4146 (profiler-cpu-profile): Use profiler-running-p.
4147 (profiler-report-mode-map): Add some more menu entries.
4148
4149 2013-01-19 Glenn Morris <rgm@gnu.org>
4150
4151 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
4152 fixes 2012-12-07 change. (Bug#13499)
4153
4154 2013-01-19 Leo Liu <sdl.web@gmail.com>
4155
4156 * dired.el (dired-get-marked-files): Prune erroneous values due to
4157 last change. (Bug#13152)
4158
4159 2013-01-19 Glenn Morris <rgm@gnu.org>
4160
4161 * progmodes/etags.el (tags-table-check-computed-list):
4162 Preserve point in tags buffer. (Bug#13412)
4163
4164 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
4165
4166 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
4167 Chong Yidong <cyd@gnu.org>
4168
4169 * image-mode.el (image-next-file, image-previous-file):
4170 New commands (Bug#8453).
4171 (image-mode-map): Bind them to n and p.
4172 (image-mode--images-in-directory): New helper function.
4173
4174 2013-01-19 Chong Yidong <cyd@gnu.org>
4175
4176 * image-mode.el (image-mode-fit-frame): Add a frame argument.
4177 Suggested by Drew Adams (Bug#7730). Handle window decorations;
4178 save and restore the old window configuration.
4179
4180 2013-01-18 Leo Liu <sdl.web@gmail.com>
4181
4182 * progmodes/js.el: Tweak autoload cookie for alias.
4183
4184 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4185
4186 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
4187 buffer local, again. This was lost with the fix on 2013-01-12.
4188
4189 2013-01-17 JĂ¼rgen Hötzel <juergen@archlinux.org>
4190
4191 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
4192 order to support several eshell buffers in parallel.
4193
4194 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4195
4196 * autorevert.el (auto-revert-use-notify): In the :set function, do
4197 not modify `kill-buffer-hook'.
4198 (auto-revert-notify-rm-watch):
4199 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
4200 (auto-revert-notify-add-watch): Do not call
4201 `auto-revert-notify-rm-watch', but add it to a buffer local
4202 `kill-buffer-hook'.
4203
4204 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4205
4206 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
4207 call to `eval' rather than a backquoted lambda.
4208
4209 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
4210
4211 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
4212 to return an explicit nil.
4213 (advice--remove-function): Change accordingly.
4214
4215 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
4216 the use of nadvice.el.
4217
4218 * progmodes/which-func.el (which-function): Silence imenu errors
4219 (bug#13433).
4220
4221 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4222
4223 * progmodes/sql.el (sql-imenu-generic-expression):
4224 (sql-mode-font-lock-object-name): Match schema qualified names.
4225 (sql-connect): Use string keys.
4226 (sql-product-interactive): Wait for interpreter prompt.
4227 (sql-comint-oracle): Set process coding based on NLS_LANG.
4228
4229 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4230
4231 * progmodes/sql.el (sql-output-to-send): Remove, unused.
4232 (sql-interactive-remove-continuation-prompt):
4233 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
4234
4235 2013-01-14 Leo Liu <sdl.web@gmail.com>
4236
4237 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
4238 (Bug#13420)
4239
4240 2013-01-14 Glenn Morris <rgm@gnu.org>
4241
4242 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4243 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
4244
4245 2013-01-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4246
4247 * progmodes/python.el (python-nav-end-of-statement):
4248 Fix cornercase when handling multiline strings.
4249
4250 2013-01-13 Richard Stallman <rms@gnu.org>
4251
4252 * mail/sendmail.el (mail-position-on-field): Add doc string.
4253
4254 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4255 Get current message boundaries and pass them to
4256 message-forward-make-body-mime. Minor style changes.
4257
4258 2013-01-13 Eli Zaretskii <eliz@gnu.org>
4259
4260 * cus-start.el (all): Avoid warnings about
4261 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
4262
4263 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
4264
4265 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
4266
4267 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4268
4269 * jit-lock.el (jit-lock-debug-mode): New minor mode.
4270 (jit-lock--debug-fontifying): New var.
4271 (jit-lock--debug-fontify): New function.
4272 * subr.el (condition-case-unless-debug): Don't prevent catching the
4273 error, just let the debbugger run.
4274 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
4275 timer code and don't drop errors silently.
4276
4277 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
4278
4279 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
4280 `permanent-local' property.
4281 (auto-revert-notify-handler): Use `file-equal-p'.
4282
4283 2013-01-12 Eli Zaretskii <eliz@gnu.org>
4284
4285 * autorevert.el (auto-revert-notify-handler): Fix filtering of
4286 file notification by ACTION. For filtering by file name, compare
4287 only the non-directory part of the file name.
4288
4289 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4290
4291 * autorevert.el: Use cl-lib instead of cl.
4292
4293 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
4294 (vc-bzr-checkin): Use it.
4295 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
4296 will preserve match-data.
4297
4298 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
4299
4300 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
4301 (js--declaration-keyword-re): New var.
4302 (js--multi-line-declaration-indentation): New function.
4303 (js--proper-indentation): Use it.
4304
4305 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
4306
4307 * calc/calc.el (calc-highlight-selections-with-faces)
4308 (calc-dispatch):
4309 * comint.el (comint-history-isearch-message):
4310 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
4311 * ffap.el (ffap-string-at-point-region, ffap-next)
4312 (ffap-string-at-point, ffap-string-around)
4313 (ffap-copy-string-as-kill, ffap-highlight-overlay)
4314 (ffap-literally):
4315 * font-lock.el (font-lock-keywords-alist)
4316 (font-lock-removed-keywords-alist):
4317 * help-mode.el (help-xref-symbol-regexp):
4318 * info.el (Info-find-emacs-command-nodes):
4319 * international/mule.el (add-to-coding-system-list):
4320 * isearch.el (isearch-message-function, isearch-fail-pos):
4321 * misearch.el (multi-isearch-next-buffer-function):
4322 * newcomment.el (comment-box):
4323 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
4324 (pr-setting-database):
4325 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
4326 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
4327 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
4328 (pike-font-lock-keywords-3):
4329 * progmodes/compile.el (compile):
4330 * progmodes/etags.el (tags-table-files)
4331 (tags-table-files-function, tags-included-tables-function):
4332 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
4333 (gdb-restore-windows):
4334 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
4335 (ps-n-up-filling-database):
4336 * server.el (server-buffer, server-log):
4337 * simple.el (newline, delete-backward-char, delete-forward-char)
4338 (minibuffer-history-isearch-message, kill-line, track-eol)
4339 (temporary-goal-column):
4340 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
4341 (flyspell-default-deplacement-commands):
4342 * textmodes/ispell.el (ispell-accept-output):
4343 * textmodes/sgml-mode.el (html-tag-help):
4344 * vc/compare-w.el (compare-ignore-whitespace)
4345 (compare-ignore-case, compare-windows-dehighlight):
4346 * vc/diff.el (diff):
4347 * whitespace.el (whitespace-point)
4348 (whitespace-font-lock-refontify, whitespace-bob-marker)
4349 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
4350
4351 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
4352
4353 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
4354 (auto-revert-notify-rm-watch): Ignore errors.
4355 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
4356 inotify, and '(size last-write-time) for w32notify.
4357 Set buffer-local `auto-revert-use-notify' to nil when adding a file
4358 watch fails - this is a fallback to the file modification check.
4359 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
4360 (auto-revert-notify-event-action)
4361 (auto-revert-notify-event-file-name): New defuns.
4362 (auto-revert-notify-handler): Use them. Implement first
4363 plausibility checks.
4364 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
4365
4366 2013-01-11 Julien Danjou <julien@danjou.info>
4367
4368 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
4369 max are almost equal. Also return the correct value for V which is
4370 already between 0 and 1.
4371
4372 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
4373
4374 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
4375
4376 2013-01-11 Eli Zaretskii <eliz@gnu.org>
4377
4378 * autorevert.el (auto-revert-notify-rm-watch)
4379 (auto-revert-notify-add-watch): Fix typos in w32notify function
4380 names.
4381
4382 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4383
4384 * autorevert.el (auto-revert-notify-enabled): Move up.
4385 (auto-revert-use-notify): New defcustom.
4386 (auto-revert-mode, global-auto-revert-mode)
4387 (auto-revert-notify-add-watch, auto-revert-handler)
4388 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
4389 `auto-revert-notify-enabled'.
4390
4391 2013-01-10 Elias Pipping <pipping@exherbo.org>
4392
4393 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
4394 * doc-view.el (doc-view-document->bitmap):
4395 Use doc-view-single-page-converter-function instead of
4396 single-page-converter arg; adjust callers.
4397
4398 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
4399
4400 * progmodes/which-func.el (which-function): Understand Semantic's use
4401 of overlays in imenu--index-alist.
4402
4403 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
4404
4405 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
4406 (Man-man-k-use-anchor): New var.
4407 (Man-parse-man-k): New function.
4408 (Man-completion-table): Use it.
4409 (man): Flush the completion cache between uses.
4410
4411 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4412
4413 * autorevert.el: Add file watch support.
4414 (auto-revert-notify-enabled): New defconst.
4415 (auto-revert-notify-watch-descriptor-hash-list)
4416 (auto-revert-notify-watch-descriptor)
4417 (auto-revert-notify-modified-p): New defvars.
4418 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4419 (auto-revert-notify-handler): New defuns.
4420 (auto-revert-mode, global-auto-revert-mode): Remove file watches
4421 when mode is disabled.
4422 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
4423 (auto-revert-buffers): Add file watches for active buffers.
4424
4425 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
4426
4427 * cus-start.el (toplevel): Only allow float values for
4428 scroll-up-aggressively and scroll-down-aggressively.
4429 Allow any number for line-spacing.
4430
4431 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4432
4433 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
4434 (doc-view-pdf->png-converter-function): Use mupdf if available.
4435 (doc-view-djvu->png-converter-function)
4436 (doc-view-ps->png-converter-function): Remove.
4437 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
4438 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
4439 (doc-view-already-converted-p): Adjust accordingly.
4440 (doc-view-mode-p): Simplify.
4441 (doc-view-enlarge): Use setq-local.
4442 (doc-view-pdf->png-converter-ghostscript)
4443 (doc-view-djvu->png-converter-ddjvu)
4444 (doc-view-pdf->png-converter-mupdf): Rework to call
4445 doc-view-start-process directly.
4446 (doc-view-pdf/ps->png): Simplify accordingly.
4447 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
4448 (doc-view-document->bitmap): Rename from doc-view-document->png.
4449 (doc-view-convert-current-doc): Merge pdf and djvu cases.
4450 (doc-view-set-slice-from-bounding-box): Fix completion table.
4451 (doc-view-mode): Use add-hook for after-revert-hook.
4452
4453 2013-01-10 Glenn Morris <rgm@gnu.org>
4454
4455 * emacs-lisp/authors.el (authors-ignored-files)
4456 (authors-valid-file-names, authors-renamed-files-alist):
4457 Add some more entries.
4458
4459 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4460
4461 * image-mode.el (image-mode-winprops): Don't throw away the fallback
4462 `t' pseudo-window entry.
4463
4464 2013-01-10 Alan Mackenzie <acm@muc.de>
4465
4466 Fix bugs in the c-parse-state mechanism. Reuse some markers
4467 instead of continually generating new ones.
4468
4469 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
4470 (c-state-old-cpp-end-marker): New variables.
4471 (c-append-lower-brace-pair-to-state-cache): Start a backward
4472 search for "}" definitively outside CPP constructs.
4473 (c-remove-stale-state-cache): Inform the caller of a need to
4474 search back for a brace pair in certain circumstances.
4475 (c-state-maybe-marker): New macro.
4476 (c-parse-state): Reuse markers when appropriate.
4477
4478 2013-01-10 Glenn Morris <rgm@gnu.org>
4479
4480 * simple.el (execute-extended-command): Doc fix.
4481 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
4482
4483 2013-01-10 Chong Yidong <cyd@gnu.org>
4484
4485 * faces.el (read-face-name): Doc fix.
4486
4487 2013-01-10 Roland Winkler <winkler@gnu.org>
4488
4489 * emacs-lisp/crm.el: Allow any regexp for separators.
4490 (crm-default-separator): All spaces around the default comma separator.
4491 (crm--completion-command): New macro.
4492 (crm-completion-help, crm-complete, crm-complete-word): Use it.
4493 (crm-complete-and-exit): Handle non-single-char separators.
4494
4495 2013-01-09 Elias Pipping <pipping@lavabit.com>
4496
4497 * doc-view.el: Add support for DjVu (bug#13164).
4498 (doc-view-djvu->png-converter-function): New config var.
4499 (doc-view-single-page-converter-function, doc-view--image-type)
4500 (doc-view--image-file-extension): New vars.
4501 (doc-view-mode): Initialize them.
4502 (doc-view-goto-page): Use them.
4503 (doc-view-mode-p): Add support for ddjvu.
4504 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
4505 (doc-view-set-up-single-converter): New funs.
4506 (doc-view-pdf/ps->png): Extend for djvu.
4507 (doc-view-document->png): Rename from doc-view-pdf->png.
4508 (doc-view-convert-current-doc): Handle djvu.
4509 (doc-view-insert-image, doc-view-display)
4510 (doc-view-already-converted-p): Don't hardcode png.
4511 (doc-view-set-doc-type): Recognize djvu docs.
4512
4513 2013-01-09 Elias Pipping <pipping@lavabit.com>
4514
4515 * doc-view.el: Add support for mupdf converter (bug#13164).
4516 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
4517 (doc-view-ps->png-converter-function): New config vars.
4518 (doc-view-pdf->png-converter-ghostscript)
4519 (doc-view-ps->png-converter-ghostscript)
4520 (doc-view-pdf->png-converter-mupdf): New functions.
4521 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
4522
4523 2013-01-09 JĂ¼rgen Hötzel <juergen@archlinux.org>
4524
4525 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
4526 first in session cache: When `tramp-own-remote-path' is in
4527 `tramp-remote-path', the remote path is only set in the session
4528 cache.
4529
4530 2013-01-09 Glenn Morris <rgm@gnu.org>
4531
4532 * emacs-lisp/trace.el (trace-function-foreground)
4533 (trace-function-background): Doc fix.
4534
4535 2013-01-09 Juri Linkov <juri@jurta.org>
4536
4537 * international/mule-cmds.el (read-char-by-name): Move let-binding
4538 of completion-ignore-case around completing-read to fix regression
4539 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
4540 `string-match-p' using the nil value of `case-fold-search' and
4541 `completion-ignore-case' in `completion-pcm--all-completions'.
4542 (Bug#12615).
4543
4544 2013-01-09 Glenn Morris <rgm@gnu.org>
4545
4546 * progmodes/compile.el (compilation-parse-errors):
4547 Fix typo. (Bug#13369)
4548
4549 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4550
4551 * comint.el (comint-send-input): Check size of buffer before
4552 waiting for process output, in case already accepted. (Bug#13290)
4553
4554 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
4555
4556 Spelling fixes.
4557 * net/tramp-adb.el (tramp-adb-get-toolbox):
4558 Fix misspelling of 'unknown'.
4559
4560 2013-01-08 Juri Linkov <juri@jurta.org>
4561
4562 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4563 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4564 Use underline style wave on terminals that support it. (Bug#13000)
4565
4566 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4567
4568 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
4569 the predicate returns nil.
4570
4571 * simple.el: Use lexical-binding.
4572 (primitive-undo): Use pcase.
4573 (minibuffer-history-isearch-push-state): Use a closure.
4574
4575 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4576
4577 * simple.el (primitive-undo): Move from undo.c.
4578
4579 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4580
4581 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
4582 (cvs-mode-remove-handled): Use it (bug#13380).
4583
4584 * emacs-lisp/nadvice.el (advice--tweak): New function.
4585 (advice--remove-function, advice--subst-main): Use it.
4586
4587 * emacs-lisp/advice.el: Update commentary.
4588
4589 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
4590
4591 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4592 Remove spurious entry.
4593
4594 2013-01-08 Glenn Morris <rgm@gnu.org>
4595
4596 * net/tramp.el (tramp-default-host-alist): Add :version.
4597
4598 2013-01-08 Juri Linkov <juri@jurta.org>
4599
4600 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
4601 single completion. (Bug#12456)
4602 (info--manual-names): Expand node completions into an explicit list
4603 before appending it to another list. Filter out internal buffers
4604 with the leading space in the buffer name. (Bug#10771)
4605
4606 2013-01-08 Juri Linkov <juri@jurta.org>
4607
4608 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
4609 that defaults to the Top node.
4610 (Info-goto-node, Info-read-node-name): Doc fix to mention that
4611 the short format (FILENAME) goes to the Top node.
4612 (Info-build-node-completions): Rename arg `file' to `filename'.
4613 (Bug#13365)
4614
4615 2013-01-07 Bastien Guerry <bzg@gnu.org>
4616
4617 * menu-bar.el (menu-bar-search-documentation-menu):
4618 Use `apropos-user-option' and fix the help message.
4619
4620 2013-01-07 Bastien Guerry <bzg@gnu.org>
4621
4622 * apropos.el (apropos-do-all): Update docstring.
4623 (apropos-user-option-button): New face.
4624 (apropos-user-option): Rename from `apropos-variable' and update
4625 docstring.
4626 (apropos-variable): Rewrite, now show all variables by default.
4627 (apropos-print): Mention "User option" instead of "Variable" when
4628 printing doc for user options. (Bug#13276)
4629
4630 2013-01-07 JĂ¼rgen Hötzel <juergen@archlinux.org>
4631
4632 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4633 Handle filename correctly, when parsing "source -> target" symlink
4634 output.
4635 (tramp-adb-handle-set-file-times): New defun.
4636
4637 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
4638
4639 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
4640 advice list when the interactive-spec of ad-Advice-* changes.
4641
4642 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
4643
4644 * wid-edit.el (widget-default-get): Work for inlined elements.
4645 (Bug#12670)
4646
4647 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
4648
4649 * net/tramp.el (tramp-default-host-alist): New defcustom.
4650 (tramp-find-host): Use it.
4651 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
4652 `eshell-directory-change-hook'.
4653
4654 * net/tramp-adb.el (top): Add adb specific entry in
4655 `tramp-default-host-alist'.
4656 (tramp-adb-file-name-host): Remove function.
4657 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4658 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
4659
4660 * net/tramp-sh.el: Move eshell integration code to tramp.el.
4661
4662 2013-01-06 JĂ¼rgen Hötzel <juergen@archlinux.org>
4663
4664 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
4665
4666 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
4667
4668 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
4669 consist of more than one digit.
4670 (tramp-adb-file-name-handler-alist):
4671 Use `tramp-handle-file-exists-p' consistently.
4672 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
4673 (tramp-adb-handle-file-exists-p): Remove function.
4674 (tramp-adb-file-name-host): New defun.
4675 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4676 Use it.
4677 (tramp-adb-maybe-open-connection): Set "remote-path" property.
4678
4679 2013-01-06 Chong Yidong <cyd@gnu.org>
4680
4681 * vc/vc.el (vc-next-action): Detect buffer modifications
4682 conflicting with locking VCS operation (Bug#11490).
4683
4684 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
4685
4686 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
4687
4688 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4689 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
4690
4691 2013-01-05 JĂ¼rgen Hötzel <juergen@archlinux.org>
4692
4693 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
4694 parsing of ls output using regular expression (handle filenames
4695 with spaces). Use virtual device number.
4696 (tramp-do-parse-file-attributes-with-ls): New defun (Code
4697 cleanup).
4698
4699 2013-01-04 Daiki Ueno <ueno@gnu.org>
4700
4701 * epg.el: Silence byte-compiler warnings.
4702 (epg--start): Use delete-char instead of delete-backward-char.
4703 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
4704
4705 2013-01-04 Daiki Ueno <ueno@gnu.org>
4706
4707 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
4708 Suggested by Eli Zaretskii <eliz@gnu.org>.
4709
4710 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
4711
4712 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
4713 non-negative integers. Otherwise, the default values are used.
4714 (tramp-convert-file-attributes): Convert uid and gid to integers.
4715
4716 2013-01-04 Glenn Morris <rgm@gnu.org>
4717
4718 * term.el (term-handle-colors-array): Ensure face attributes
4719 are fully specified, not nil. (Bug#13337)
4720
4721 * term.el (term-default-fg-color, term-default-bg-color):
4722 Fix custom type.
4723
4724 * progmodes/etags.el (tags-compression-info-list): Doc fix.
4725 (tag-find-file-of-tag-noselect): Check auto-compression-mode
4726 rather than 'jka-compr being loaded. (Bug#13338)
4727
4728 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
4729
4730 * icomplete.el (icomplete-completions):
4731 Honor icomplete-prospects-height once more following
4732 2012-11-29 changes. (Bug#13224)
4733
4734 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
4735
4736 * subr.el (internal--called-interactively-p--get-frame): Find aliases
4737 of called-interactively-p as well (bug#13237).
4738
4739 * view.el (view--enable, view--disable): Rename from view-mode-enable
4740 and view-mode-disable and assume it's called from view-mode.
4741 (view-mode-enable, view-mode-disable): Redefine as obsolete
4742 compatibility layer above view-mode.
4743 (view-mode-enter): Call `view-mode'.
4744
4745 * files.el (after-find-file): Call `view-mode'.
4746
4747 * doc-view.el (doc-view-scale-internally): New var.
4748 (doc-view-enlarge, doc-view-insert-image): Obey it.
4749
4750 2013-01-03 Daiki Ueno <ueno@gnu.org>
4751
4752 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
4753 exist. (Bug#13344)
4754
4755 2013-01-03 Glenn Morris <rgm@gnu.org>
4756
4757 * mail/rmail.el (rmail-set-header-1): Ignore case.
4758 Handle multi-line headers. (Bug#13330)
4759
4760 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
4761 Handle paragraph starting at beginning of buffer.
4762
4763 * subr.el (eval-after-load): Don't purecopy the form, so that it
4764 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
4765
4766 * emacs-lisp/byte-run.el (defun): Place cl declarations
4767 after any interactive spec. (Bug#13265)
4768
4769 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4770
4771 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
4772 defun. Don't check for DECL if DOCSTRING isn't a string.
4773 (defun): Likewise.
4774
4775 2013-01-02 Glenn Morris <rgm@gnu.org>
4776
4777 * eshell/em-cmpl.el (eshell-pcomplete):
4778 More thoroughly imitate pcomplete. (Bug#13293)
4779
4780 * files.el (parse-colon-path): Doc fix. (Bug#12351)
4781 Return nil for empty path elements. (Bug#13296)
4782
4783 2013-01-02 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4784
4785 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
4786 order to improve efficiency (Based on Daniel Colascione's
4787 <dancol@dancol.org> patch). (Bug#13182)
4788
4789 2013-01-02 Glenn Morris <rgm@gnu.org>
4790
4791 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
4792
4793 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4794
4795 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
4796 neither DOCSTRING nor DECL was given. (Bug#13316)
4797
4798 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
4799
4800 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
4801 `error' call.
4802 (tramp-do-copy-or-rename-file): Ignore errors when calling
4803 `set-file-extended-attributes'.
4804
4805 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4806 Add handler for `file-acl'.
4807 (tramp-smb-handle-file-acl): New defun.
4808
4809 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
4810
4811 * calc/README: Mention ISO 8601 week-numbering dates.
4812
4813 2013-01-01 Martin Rudalics <rudalics@gmx.at>
4814
4815 * view.el (view-mode-enable): New argument run-view-mode-hook.
4816 Run view-mode-hook only when it's non-nil (Bug#13315).
4817 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
4818 argument t.
4819
4820 2012-12-31 JĂ¼rgen Hötzel <juergen@archlinux.org>
4821
4822 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
4823 (No device connected, invalid device name). (Bug #13299)
4824
4825 2012-12-31 Martin Rudalics <rudalics@gmx.at>
4826
4827 * window.el (window-resizable--p): Rename to window-resizable-p.
4828 (window-resize-no-error): New function.
4829
4830 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
4831 broken in fix from 2012-12-28.
4832
4833 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
4834
4835 * subr.el (special-form-p): Don't signal errors on undef aliases.
4836
4837 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
4838
4839 * calc/calc-forms.el (math-parse-date): Try using
4840 `math-parse-iso-date' when it looks like it might be needed.
4841 Allow times of 24:00.
4842 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
4843 of 24:00.
4844
4845 2012-12-30 Glenn Morris <rgm@gnu.org>
4846
4847 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
4848 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
4849 (rmail-summary-displayed, rmail-summary): Declare.
4850 (mairix-rmail-display): Just require rmail.
4851
4852 2012-12-30 Chong Yidong <cyd@gnu.org>
4853
4854 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
4855 check for the tarball contents.
4856
4857 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
4858
4859 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
4860 tarfile content listings (Bug#13136).
4861
4862 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
4863
4864 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4865 Insert the undecoded text of the message being forwarded. (Bug#9521)
4866
4867 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
4868
4869 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
4870 integers, if they are real numbers. (Bug#13282)
4871
4872 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
4873 Return `t' on success.
4874
4875 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4876 Add handler for `set-file-selinux-context'.
4877
4878 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
4879
4880 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
4881 (tramp-sh-handle-set-file-acl): Return `t' on success.
4882
4883 2012-12-29 Eli Zaretskii <eliz@gnu.org>
4884
4885 * files.el (backup-buffer-copy, basic-save-buffer-2):
4886 If set-file-extended-attributes fails, fall back on set-file-modes
4887 instead of signaling an error. (Bug#13298)
4888 (basic-save-buffer): Likewise.
4889
4890 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4891
4892 * progmodes/python.el: Support other commands triggering
4893 python-indent-line so indentation cycling continues to work.
4894 (python-indent-trigger-commands): New defcustom.
4895 (python-indent-line): Use it.
4896
4897 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4898
4899 * progmodes/python.el (python-shell-send-region): Add blank lines
4900 for non sent code so backtraces remain correct.
4901
4902 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4903
4904 * progmodes/python.el: Remove cl dependency.
4905 (python-syntax-count-quotes): Replace incf call.
4906 (python-fill-string): Replace setf call.
4907
4908 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
4909
4910 * info.el (info-other-window): New arg, for consistency with info.
4911
4912 2012-12-28 Martin Rudalics <rudalics@gmx.at>
4913
4914 * mail/rmail.el (rmail-maybe-display-summary):
4915 Rewrite (Bug#13066).
4916
4917 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
4918
4919 * epg.el (epg--start): Modify process-environment locally.
4920
4921 2012-12-28 Daiki Ueno <ueno@gnu.org>
4922
4923 * epg.el: Support pinentry-curses.
4924 Suggested by Werner Koch in
4925 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
4926 (epg-agent-file, epg-agent-mtime): New variable.
4927 (epg--start): Record the modified time of gpg-agent socket file,
4928 to restore Emacs frame after pinentry-curses termination.
4929 (epg-wait-for-completion): Restore Emacs frame here.
4930
4931 2012-12-27 Juri Linkov <juri@jurta.org>
4932
4933 * info.el (Info-file-completions): New variable.
4934 (Info-read-node-name-1): Complete node names in the Info file
4935 when a file name is given. Call `Info-build-node-completions'
4936 with a file name.
4937 (Info-build-node-completions): Add new arg `file'. When it is
4938 non-nil, visit it in a temporary buffer and cache its completions in
4939 `Info-current-file-completions'. Move most of the function body to
4940 `Info-build-node-completions-1'.
4941 (Info-build-node-completions-1): New function with the body from
4942 `Info-build-node-completions'. (Bug#12456)
4943
4944 2012-12-27 Juri Linkov <juri@jurta.org>
4945
4946 * frame.el (frame-maximization-style): Remove user option.
4947 (cycle-frame-maximized): Remove function.
4948 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
4949 (toggle-frame-fullscreen): New command bound to <f11> instead of
4950 `toggle-frame-maximized'.
4951 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
4952
4953 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
4954
4955 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
4956
4957 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4958 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4959 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4960 for `file-accessible-directory-p'. (Bug#13275)
4961
4962 2012-12-27 Sam Steingold <sds@gnu.org>
4963
4964 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
4965 continuations, see <http://stackoverflow.com/questions/3582436>.
4966
4967 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
4968
4969 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
4970 "module" and "def" to have indentation before them.
4971 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
4972
4973 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
4974
4975 2012-12-27 Alan Mackenzie <acm@muc.de>
4976
4977 Speed up fontification where there's large brace blocks.
4978 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
4979 to a call of c-beginning-of-decl-1.
4980
4981 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4982
4983 * comint.el (comint-adjust-window-point): New function.
4984 (comint-postoutput-scroll-to-bottom):
4985 Call comint-adjust-window-point (Bug#13248).
4986
4987 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
4988
4989 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
4990 Rakefile regexp.
4991 (auto-mode-alist): Associate .gemspec files with ruby-mode
4992 (https://bugs.ruby-lang.org/issues/5453).
4993
4994 2012-12-26 JĂ¼rgen Hötzel <juergen@archlinux.org>
4995
4996 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
4997 Suppress coloring, if possible (required for BusyBox based systems like
4998 CyanogenMod).
4999 (tramp-adb-handle-file-attributes)
5000 (tramp-adb-handle-insert-directory)
5001 (tramp-adb-handle-file-name-all-completions): Use it.
5002 (tramp-adb-get-toolbox): New defun. Check for remote shell
5003 implementation (BusyBox or Toolbox).
5004
5005 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
5006
5007 * startup.el (initial-buffer-choice): Allow function as value
5008 (Bug#13251).
5009 (command-line-1): Handle case where initial-buffer-choice
5010 specifies a function.
5011 * server.el (server-execute): Handle case where
5012 initial-buffer-choice specifies a function.
5013
5014 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5015
5016 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
5017 its own function.
5018 (smtpmail-try-auth-methods): Forget the user name/password if the
5019 login is unsuccessful (bug#12424).
5020
5021 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
5022
5023 * notifications.el (notifications-notify): Protect body with
5024 `with-demoted-errors'.
5025
5026 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5027 Check properties of remote device. Restart connection, if there is a
5028 change.
5029
5030 2012-12-21 Chong Yidong <cyd@gnu.org>
5031
5032 * sort.el (sort-subr): Doc fix (Bug#13056).
5033
5034 2012-12-21 Bastien Guerry <bzg@gnu.org>
5035
5036 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
5037
5038 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
5039
5040 * simple.el (process-file): Overwrite stderr file, if exists.
5041
5042 2012-12-21 Daiki Ueno <ueno@gnu.org>
5043
5044 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
5045 (epg-error): Set `error-message' property.
5046
5047 2012-12-21 Chong Yidong <cyd@gnu.org>
5048
5049 * international/mule-cmds.el (read-char-by-name): Signal an error
5050 if the user does not supply a valid character (Bug#13177).
5051
5052 * simple.el (transpose-subr-1): Preserve marker positions by
5053 changing the insertion sequence (Bug#13122).
5054
5055 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5056
5057 * simple.el (kill-region): Deactivate mark even for empty regions
5058 (Bug#13169).
5059
5060 2012-12-21 Chong Yidong <cyd@gnu.org>
5061
5062 * help-fns.el (describe-variable): Make sure we get the right
5063 buffer name (Bug#13105). Suggested by Kelly Dean.
5064
5065 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
5066
5067 * comint.el (comint-redirect-previous-input-string): New variable.
5068 (comint-redirect-setup, comint-redirect-cleanup)
5069 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
5070 (comint-redirect-preoutput-filter): Fix verbose message.
5071
5072 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
5073
5074 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
5075 is too long for Tramp. See discussion in
5076 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
5077
5078 * progmodes/compile.el (compilation-start): Remove line escape
5079 template.
5080
5081 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
5082
5083 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
5084 Adjust comment.
5085
5086 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
5087
5088 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
5089 following non-comment text (bug#13207).
5090 (lm-header-multiline): Continuation lines need to be indented more than
5091 the first line.
5092 (lm-homepage): New function.
5093 (lm-with-file): Don't be confused if narrowing is in effect.
5094
5095 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5096
5097 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
5098 very beginning of a hunk (e.g. killing the first line).
5099
5100 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
5101
5102 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
5103 and text properties from returned ACL string.
5104 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
5105 for "setfacl" command.
5106
5107 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
5108
5109 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
5110 `tramp-cleanup-this-connection', when the process has died.
5111 (Bug#13151)
5112
5113 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5114
5115 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
5116
5117 2012-12-17 Kevin Ryde <user42@zip.com.au>
5118
5119 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
5120
5121 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
5122
5123 Add support for preserving ACL entries of files.
5124
5125 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
5126 `set-file-acl' handlers.
5127
5128 * net/tramp-adb.el (tramp-adb-handle-copy-file):
5129 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5130
5131 * net/tramp-compat.el (tramp-compat-copy-file):
5132 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5133
5134 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5135 Add `file-acl' and `set-file-acl' handlers.
5136 (tramp-gvfs-handle-copy-file):
5137 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5138 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
5139 New defuns.
5140
5141 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5142 Add `file-acl' and `set-file-acl' handlers.
5143 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
5144 (tramp-sh-handle-set-file-acl): New defuns.
5145 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
5146 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5147
5148 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5149 Add `file-acl' and `set-file-acl' handlers.
5150 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
5151
5152 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5153
5154 * help-macro.el (make-help-screen): Instead of switch-to-buffer
5155 use pop-to-buffer with NORECORD argument t. As buffer name, use
5156 *Metahelp* with a leading space (Bug#13190).
5157
5158 2012-12-16 Romain Francoise <romain@orebokech.com>
5159
5160 * files.el (file-extended-attributes)
5161 (set-file-extended-attributes): New functions.
5162 (backup-buffer): Use them to handle both SELinux context and ACL
5163 entries.
5164 (backup-buffer-copy): Work with an alist of extended attributes,
5165 rather than an SELinux context.
5166 (basic-save-buffer-2): Ditto.
5167
5168 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
5169
5170 * battery.el (battery-bsd-apm): New function.
5171
5172 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
5173
5174 * calc/calc.el (calc-standard-date-formats): Adjust one of the
5175 standard date formats.
5176
5177 2012-12-15 Juri Linkov <juri@jurta.org>
5178
5179 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
5180 `isearch-insert-char-by-name'.
5181 (with-isearch-suspended): New defmacro with body mostly from
5182 `isearch-edit-string' except the part that sets
5183 `isearch-new-string' and `isearch-new-message'.
5184 (isearch-edit-string): Use new macro `with-isearch-suspended' with
5185 body that sets `isearch-new-string' and `isearch-new-message'.
5186 (isearch-insert-char-by-name): New command.
5187 * international/mule-cmds.el (read-char-by-name): Let-bind
5188 `enable-recursive-minibuffers' to t.
5189 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
5190
5191 2012-12-15 Juri Linkov <juri@jurta.org>
5192
5193 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
5194 (Bug#13175)
5195
5196 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
5197
5198 * dired-x.el (dired-guess-shell-command): Put colon at the end of
5199 the prompt. (Bug#13045)
5200
5201 2012-12-14 Glenn Morris <rgm@gnu.org>
5202
5203 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
5204 Try to include filename in non-bytecomp warning. (Bug#13132)
5205
5206 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
5207
5208 Fix permissions bugs with setgid directories etc. (Bug#13125)
5209 * files.el (backup-buffer): Don't rely on 9th output of
5210 file-attributes, as it's now a placeholder. Instead, use the new
5211 optional arg of file-ownership-preserved-p.
5212 (file-ownership-preserved-p): New optional arg GROUP.
5213 Fix mishandling of setuid directories that would cause this
5214 function to return t when it should have returned nil.
5215 Document what happens if the file does not exist, and when
5216 it's not known whether the ownership will be preserved.
5217 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
5218 Likewise.
5219 (tramp-get-local-gid): Use group-gid for integer, as that's
5220 faster and more reliable.
5221
5222 2012-12-14 Julien Danjou <julien@danjou.info>
5223
5224 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
5225 Update keywords list, data type and PL/pgSQL.
5226
5227 2012-12-14 Dave Abrahams <dave@boostpro.com>
5228
5229 * vc/ediff-util.el (ediff-buffer-type): New function.
5230 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
5231 rather than taking it as as argument.
5232 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
5233
5234 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
5235
5236 * json.el: Add pretty-print option (bug#12634).
5237 (json-encoding-separator, json-encoding-default-indentation)
5238 (json--encoding-current-indentation, json-encoding-pretty-print)
5239 (json-encoding-lisp-style-closings): New vars.
5240 (json--with-indentation): New macro.
5241 (json-encode-hash-table, json-encode-alist, json-encode-plist)
5242 (json-encode-array): Use it to obey json-encoding-pretty-print.
5243 (json-pretty-print-buffer, json-pretty-print): New commands.
5244
5245 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
5246
5247 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5248 Extract `ruby-syntax-propertize-expansions'.
5249 (ruby-syntax-propertize-expansions): Only change syntax on
5250 certain string delimiters, to punctuation. This way the common
5251 functions like forward-word and thing-at-point still work.
5252 (ruby-match-expression-expansion): Improve readability.
5253 (ruby-block-contains-point): New function.
5254 (ruby-add-log-current-method): Handle several edge cases.
5255
5256 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5257
5258 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
5259 unload-feature finishes even when aborting an ongoing edebug session.
5260 Also, do not worry about edebug-mode, unload-feature takes care of it.
5261
5262 2012-12-13 Andreas Schwab <schwab@suse.de>
5263
5264 * net/tls.el (tls-program): Update customize type.
5265
5266 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5267
5268 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
5269 (edebug-setup-hook, cl-read-load-hooks): Use it.
5270 (edebug-unload-function): New function. (Bug#13163)
5271
5272 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
5273
5274 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
5275 Otherwise, there could be errors in autoloading. (Bug#13151)
5276
5277 2012-12-13 JĂ¼rgen Hötzel <juergen@archlinux.org>
5278
5279 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
5280 sequences.
5281
5282 2012-12-13 Alan Mackenzie <acm@muc.de>
5283
5284 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
5285 * progmodes/cc-engine.el (c-backward-comments): Add code to work
5286 around `forward-comment' not recognizing ^M as whitespace.
5287
5288 2012-12-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5289
5290 * progmodes/python.el (python-skeleton-class)
5291 (python-skeleton-def): Do not add space after defun name.
5292
5293 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5294
5295 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
5296 (cl--symbol-function): Remove (now that funbound is like nil).
5297
5298 2012-12-12 Glenn Morris <rgm@gnu.org>
5299
5300 * button.el (button--area-button-p): Fix typo.
5301
5302 2012-12-12 Sam Steingold <sds@gnu.org>
5303
5304 * frame.el (frame-maximization-style): New user option.
5305 (toggle-frame-maximized): Toggle frame maximization according to
5306 `frame-maximization-style', bound to <f11>.
5307 (cycle-frame-maximized): Cycle between all maximization styles and
5308 non-maximized frame, bound to shift-<f11>.
5309
5310 2012-12-12 David Cadé <codename68@gmail.com>
5311
5312 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
5313
5314 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
5315
5316 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
5317 (eieio-override-prin1): Don't quote kewords and booleans.
5318 (object-write) <eieio-default-superclass>: Don't put closing parens
5319 on new line, avoid needless empty lines, align values that are objects
5320 with the slot keyword (instead of beginning on the same line).
5321 (eieio-list-prin1): Align value with slot keyword; increase
5322 eieio-print-depth before printing members of the list.
5323
5324 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5325
5326 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
5327 a display text-property.
5328 (report-emacs-bug-hook): Don't bother deleting it any more.
5329
5330 * hilit-chg.el (highlight-save-buffer-state): Delete.
5331 Use with-silent-modifications instead.
5332 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
5333
5334 * button.el: Handle buttons in display text-properties.
5335 (button--area-button-p, button--area-button-string):
5336 Use (STRING . STRING-POS) representation instead of just STRING.
5337
5338 2012-12-11 Eli Zaretskii <eliz@gnu.org>
5339
5340 * makefile.w32-in (compile4-SH): Fix a typo that caused term
5341 subdirectory be skipped.
5342
5343 2012-12-11 Glenn Morris <rgm@gnu.org>
5344
5345 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
5346
5347 * progmodes/f90.el (f90-line-continued, f90-indent-region):
5348 Treat preprocessor lines embedded in continuations like comments.
5349 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
5350
5351 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
5352
5353 * calc/calc.el (calc-standard-date-formats): Add more date
5354 formats.
5355 * calc/calc-forms.el (math-parse-iso-date): New function.
5356 (math-parse-date): Use `math-parse-iso-date' when appropriate.
5357 (math-parse-iso-date-validate): Add extra error checking.
5358 (calc-date-notation): Add ability to access new date formats.
5359
5360 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5361
5362 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
5363 font-lock as well as when there's no text-property.
5364
5365 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
5366
5367 * hi-lock.el: Refine the choice of default face.
5368 (hi-lock-keyword->face): New function. Use it wherever we used
5369 cadadadr instead.
5370 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
5371 (hi-lock--last-face): Remove var.
5372 (hi-lock--unused-faces): New var to replace it.
5373 (hi-lock-read-face-name): Use/maintain it.
5374 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
5375 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
5376 if it has another face.
5377
5378 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5379
5380 * subr.el (w32notify-handle-event): New function.
5381 (inotify-handle-event): Doc fix.
5382
5383 2012-12-10 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
5384
5385 * subr.el (inotify-event-p, inotify-handle-event): New functions.
5386
5387 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
5388
5389 * simple.el (just-one-space): Doc fix.
5390
5391 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5392
5393 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
5394
5395 2012-12-10 Le Wang <l26wang@gmail.com>
5396
5397 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
5398 narrowed buffer (bug#12361).
5399
5400 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
5401
5402 * vc/vc-hooks.el (vc-state): Doc fix.
5403
5404 2012-12-10 Glenn Morris <rgm@gnu.org>
5405
5406 * mail/rmail.el (rmail-maybe-display-summary):
5407 Preserve buffer, in case select-window changes it. (Bug#13066)
5408
5409 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5410
5411 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
5412 cl-load-hook where they belong.
5413
5414 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5415
5416 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
5417
5418 2012-12-09 Eli Zaretskii <eliz@gnu.org>
5419
5420 Parallelize byte compilation on MS-Windows.
5421 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
5422 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
5423 (WINS_BASIC): Define as concatenation of the above.
5424 (compile): Subdivide into 4 separate and independent jobs that can
5425 be run in parallel.
5426 (compile0-CMD, compile0-SH): New targets for compiling
5427 COMPILE_FIRST files, which are prerequisites for the rest of the
5428 byte-compilation.
5429 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
5430 New targets for parallel compilation with cmd.exe.
5431 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
5432 compiling under a Unixy shell.
5433
5434 2012-12-09 Chong Yidong <cyd@gnu.org>
5435
5436 * simple.el (set-mark-default-inactive): Delete this
5437 accidentally-introduced option.
5438 (set-mark-command, exchange-point-and-mark): Remove calls.
5439
5440 2012-12-09 Glenn Morris <rgm@gnu.org>
5441
5442 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
5443 Respect a defcustom's :set function, if appropriate. (Bug#109)
5444 (eval-defun): Doc fix.
5445
5446 2012-12-08 Juri Linkov <juri@jurta.org>
5447
5448 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
5449 (Info-fontify-node, Info-bookmark-make-record): Remove the
5450 file extension from Info-current-file (Bug#13016).
5451
5452 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5453
5454 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
5455 point, still provide some default.
5456 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
5457 names, since we don't use it right now. Actually return the list.
5458 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
5459
5460 2012-12-07 Chong Yidong <cyd@gnu.org>
5461
5462 * novice.el (disabled-command-function): Remove a spurious help
5463 xref (Bug#13043). Suggested by Kelly Dean.
5464
5465 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
5466 syntax is specified (Bug#13025).
5467
5468 * info.el (Info-set-mode-line): Remove the file extension from
5469 Info-current-file if there is one (Bug#13016).
5470
5471 2012-12-07 Glenn Morris <rgm@gnu.org>
5472
5473 * mail/rmail.el (rmail-mime-decoded): New permanent local.
5474 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
5475 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
5476 and rmail-mime-decoded. (Bug#9841)
5477
5478 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
5479 (batch-unrmail, unrmail): Doc fixes.
5480 (unrmail): Respect unrmail-mbox-format.
5481 * mail/rmail.el (rmail-mbox-format): New option.
5482 (rmail-show-message-1): Respect rmail-mbox-format.
5483
5484 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5485
5486 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
5487
5488 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5489
5490 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
5491 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
5492 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
5493 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
5494 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
5495 (cl-progv): Don't rely on dynamic scoping to find the body.
5496 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
5497 (cl--proclaims-deferred): Rename from the "cl-" prefix.
5498 (cl-declaim): Use backquotes.
5499 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
5500 Use "cl--" prefix for the object's tag.
5501
5502 * ses.el: Use advice-add/remove.
5503 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
5504 (copy-region-as-kill, yank): Use advice-add.
5505 (ses-unload-function): Use advice-remove.
5506
5507 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
5508
5509 * button.el: Make them work in header-lines (bug#12817).
5510 (button-map): Add bindings for header-line and mode-line use.
5511 (button-get, button-put, button-label): `button' may now be a string.
5512 (button-activate): Don't make it a defsubst.
5513 (button--area-button-p, button--area-button-string): New functions.
5514 (make-text-button): Fix the return value when `beg' was a string.
5515 (push-button): Handle the mode-line case.
5516
5517 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5518
5519 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
5520 (sql-signum): Remove. Use `cl-signum' instead.
5521 (sql-read-passwd): Remove; use read-passwd instread.
5522 (sql-get-login-ext): Use read-string.
5523 (sql-get-login): Use dolist and pcase.
5524 (sql--completion-table): Rename from sql-try-completion.
5525 Use complete-with-action.
5526 (sql-mode): Don't change abbrev-all-caps globally.
5527 (sql-connect): Don't rely on dynamic scoping for `new-name'.
5528 (sql-postgres-completion-object): Initialize vars in their `let'.
5529 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
5530 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
5531 (sql-comint-interbase): Use a single append, without setq.
5532 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
5533
5534 * hi-lock.el: Rework the default face and the serialize regexp code.
5535 (hi-lock--auto-select-face-defaults): Remove.
5536 (hi-lock-string-serialize-serial): Remove.
5537 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
5538 make weak.
5539 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
5540 equal string.
5541 (hi-lock-set-pattern): Adjust accordingly.
5542 (hi-lock--regexps-at-point): Simplify accordingly.
5543 (hi-lock--auto-select-face-defaults): Remove.
5544 (hi-lock--last-face): New var to replace it.
5545 (hi-lock-read-face-name): Rewrite (bug#11095).
5546 (hi-lock-unface-buffer): Arrange for the face to be the next default.
5547
5548 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
5549
5550 * net/tramp.el (tramp-replace-environment-variables):
5551 Hide compiler warning.
5552 (tramp-file-name-for-operation): Remove `executable-find',
5553 `start-process', `call-process' and `call-process-region'.
5554
5555 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5556
5557 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
5558 compatibility.
5559
5560 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
5561
5562 2012-12-06 Chong Yidong <cyd@gnu.org>
5563
5564 * ffap.el (ffap-replace-file-component): Fix typo.
5565
5566 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5567
5568 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
5569 fix open-paren-like token test (bug#12785).
5570
5571 2012-12-06 Glenn Morris <rgm@gnu.org>
5572
5573 * mail/rmailsum.el (rmail-new-summary): Tweak for
5574 rmail-maybe-display-summary changing buffer. (Bug#13066)
5575
5576 2012-12-06 Juri Linkov <juri@jurta.org>
5577
5578 * info.el (Info-fontify-node): Don't hide the last newline.
5579 (Bug#12272)
5580
5581 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
5582
5583 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
5584 so as to enable message-read-from-minibuffer to expand mail aliases.
5585
5586 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5587
5588 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
5589 the `intangible' property.
5590 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
5591
5592 2012-12-05 Deniz Dogan <deniz@dogan.se>
5593
5594 * net/rcirc.el (rcirc-urls): Update documentation.
5595 (rcirc-condition-filter): New function.
5596 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
5597 and exclude consecutive duplicate URLs (Bug#6082).
5598
5599 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
5600
5601 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5602 Check return code of copy command.
5603
5604 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
5605 Use group `tramp'. Add version.
5606
5607 2012-12-05 Chong Yidong <cyd@gnu.org>
5608
5609 * ffap.el (ffap-url-regexp): Don't require matching at front of
5610 string (Bug#4952).
5611 (ffap-url-p): If only a substring matches, return that.
5612 (ffap-url-at-point): Use the return value of ffap-url-p.
5613 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
5614 (find-file-at-point, dired-at-point, dired-at-point-prompter)
5615 (ffap-guess-file-name-at-point): Likewise.
5616 (ffap-replace-file-component): Fix typo.
5617
5618 * info.el (info-display-manual): Add existing Info buffers, whose
5619 files may not be in Info-directory-list, to the completion.
5620 (info--manual-names): New helper function.
5621
5622 2012-12-05 Glenn Morris <rgm@gnu.org>
5623
5624 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
5625 New functions, for detecting and resolving conflicts. (Bug#10709)
5626
5627 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
5628
5629 * hi-lock.el (hi-lock-auto-select-face): New user variable.
5630 (hi-lock-auto-select-face-defaults): New buffer local variable.
5631 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
5632 (hi-lock-unface-buffer): Prompt user with useful defaults.
5633 With prefix arg, unhighlight all hi-lock patterns in buffer.
5634
5635 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5636
5637 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
5638
5639 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
5640
5641 * Makefile.in (TRAMP_SRC):
5642 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
5643
5644 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
5645
5646 * net/tramp-adb.el: New package.
5647
5648 2012-12-04 Chong Yidong <cyd@gnu.org>
5649
5650 * terminal.el: Move to obsolete/.
5651
5652 * longlines.el: Move to obsolete/.
5653
5654 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
5655 Remove code referring to longlines mode.
5656
5657 2012-12-03 Juri Linkov <juri@jurta.org>
5658
5659 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
5660
5661 2012-12-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
5662
5663 * textmodes/ispell.el (ispell-init-process)
5664 (ispell-start-process, ispell-internal-change-dictionary):
5665 Make sure personal dictionary name is expanded after initial
5666 `default-directory' value. Use expanded strings for
5667 keep/restart checks and for value (Bug#13019).
5668
5669 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5670
5671 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
5672
5673 2012-12-03 Leo Liu <sdl.web@gmail.com>
5674
5675 * files.el (dir-locals-read-from-file): Check file non-empty
5676 before reading. (Bug#13038)
5677
5678 2012-12-03 Glenn Morris <rgm@gnu.org>
5679
5680 * jka-cmpr-hook.el (jka-compr-get-compression-info):
5681 Remove any version extension before checking filename. (Bug#13006)
5682 (jka-compr-compression-info-list): Belated :version bump.
5683
5684 2012-12-03 Chong Yidong <cyd@gnu.org>
5685
5686 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
5687
5688 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
5689 (buffer-menu): Doc fix (Bug#12294).
5690
5691 2012-12-03 Roland Winkler <winkler@gnu.org>
5692
5693 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
5694 of diary-show-all-entries in the diary buffer (Bug#12994).
5695
5696 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
5697
5698 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
5699 "<STDIN>". This is binary safe.
5700
5701 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5702
5703 * calc/calc-forms.el (math-absolute-from-iso-dt)
5704 (math-date-to-iso-dt, math-parse-iso-date-validate)
5705 (math-iso-dt-to-date): New functions.
5706 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
5707 (math-fd-isoweekday): New variables.
5708 (calc-date-notation, math-parse-standard-date, math-format-date)
5709 (math-format-date-part): Add support for more formatting codes.
5710
5711 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
5712
5713 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
5714 current buffer's file name when called interactively (Bug#12488).
5715
5716 2012-12-02 Juri Linkov <juri@jurta.org>
5717
5718 * info.el (info-display-manual): Don't clobber an existing Info
5719 buffer (Bug#10770). Add completion (Bug#10771).
5720
5721 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
5722
5723 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
5724 before using it for comparison (Bug#5297).
5725
5726 2012-12-01 Jari Aalto <jari.aalto@cante.net>
5727
5728 * textmodes/css-mode.el (css-current-defun-name): New function.
5729 (css-mode): Use it.
5730
5731 * textmodes/sgml-mode.el (html-current-defun-name): New function.
5732 (html-mode): Use it.
5733
5734 2012-12-01 Chong Yidong <cyd@gnu.org>
5735
5736 Modularize add-log-current-defun (Bug#2224).
5737 Suggested by Jari Aalto.
5738
5739 * vc/add-log.el (add-log-current-defun-function): Doc fix.
5740 (add-log-current-defun): Move mode-specific code to other files.
5741 (add-log-lisp-like-modes, add-log-c-like-modes)
5742 (add-log-tex-like-modes): Variables deleted.
5743
5744 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
5745 (lisp-mode-variables): Use it.
5746
5747 * progmodes/cc-mode.el (c-common-init):
5748 * progmodes/cperl-mode.el (cperl-mode): Set a value for
5749 add-log-current-defun-function.
5750
5751 * progmodes/m4-mode.el (m4-current-defun-name): New function.
5752 (m4-mode): Use it.
5753
5754 * progmodes/perl-mode.el (perl-current-defun-name): New.
5755 (perl-mode): Use it.
5756
5757 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
5758 Use lisp-current-defun-name.
5759
5760 * textmodes/tex-mode.el (tex-current-defun-name): New.
5761 (tex-common-initialization): Use it.
5762
5763 * textmodes/texinfo.el (texinfo-current-defun-name): New.
5764 (texinfo-mode): Use it.
5765
5766 2012-12-01 Chong Yidong <cyd@gnu.org>
5767
5768 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
5769 * progmodes/autoconf.el (autoconf-mode):
5770 * progmodes/js.el (js-mode):
5771 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
5772 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
5773 * progmodes/perl-mode.el (perl-mode):
5774 * progmodes/sh-script.el (sh-mode, sh-set-shell):
5775 * textmodes/css-mode.el (css-mode):
5776 * textmodes/sgml-mode.el (html-mode, sgml-mode)
5777 (sgml-tags-invisible, sgml-guess-indent):
5778 * textmodes/tex-mode.el (tex-common-initialization)
5779 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
5780 (doctex-mode, plain-tex-mode, latex-mode):
5781 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
5782
5783 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
5784
5785 * vc/vc-hg.el (vc-hg-next-revision):
5786 Ensure use of default "tip" output format. (Bug#6968)
5787
5788 2012-12-01 Kim F. Storm <storm@cua.dk>
5789
5790 * startup.el (fancy-startup-tail): Add a clickable link
5791 (Bug#2176).
5792
5793 2012-12-01 Chong Yidong <cyd@gnu.org>
5794
5795 * startup.el (fancy-startup-tail): Improve the message about
5796 auto-save files (Bug#2176).
5797
5798 * files.el (recover-session): Improve the descriptive message, and
5799 use substitute-command-keys.
5800
5801 2012-12-01 Glenn Morris <rgm@gnu.org>
5802
5803 * ido.el (ido-file-internal):
5804 Handle other-window, other-frame for dired. (Bug#13036)
5805
5806 2012-11-30 Glenn Morris <rgm@gnu.org>
5807
5808 * icomplete.el (icomplete-separator): Fix :version.
5809
5810 2012-11-30 Chong Yidong <cyd@gnu.org>
5811
5812 * shell.el (shell): For C-u M-x shell, use an inactive shell
5813 buffer as the default (Bug#1975).
5814 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
5815 (shell-mode): Use them to reapply ansi colorization if Shell mode
5816 is re-enabled.
5817
5818 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
5819
5820 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
5821
5822 2012-11-30 Samuel Bronson <naesten@gmail.com>
5823
5824 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
5825 flag to xargs, for compatibility with BSD xargs (Bug#11703).
5826
5827 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5828
5829 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
5830 by move-to-column (Bug#3234).
5831
5832 2012-11-30 Chong Yidong <cyd@gnu.org>
5833
5834 * longlines.el (longlines-wrap-line, longlines-encode-region):
5835 Preserve text properties (Bug#1425).
5836
5837 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5838
5839 * vc/vc.el (vc-register): Allow registering a file which is
5840 already registered with a different backend (Bug#10589).
5841
5842 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
5843 Stefan Monnier <monnier@iro.umontreal.ca>
5844
5845 * icomplete.el: Change separator; add ido-style commands.
5846 (icomplete-show-key-bindings): Remove custom var.
5847 (icomplete-get-keys): Remove function.
5848 (icomplete-forward-completions, icomplete-backward-completions):
5849 New commands.
5850 (icomplete-minibuffer-map): New var.
5851 (icomplete-minibuffer-setup): Use it.
5852 (icomplete-exhibit): Don't delay if the list of completions is known.
5853 (icomplete-separator): New custom.
5854 (icomplete-completions): Use it.
5855 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
5856 (minibuffer-force-complete-and-exit): New command.
5857 (minibuffer--complete-and-exit): New function extracted from
5858 minibuffer-complete-and-exit.
5859 (minibuffer-complete-and-exit): Use it.
5860
5861 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
5862 error message when the file doesn't exist (bug#12974).
5863
5864 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5865
5866 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
5867
5868 2012-11-29 Glenn Morris <rgm@gnu.org>
5869
5870 * files.el (hack-dir-local-variables): Warn if try to set
5871 coding via dir-locals, since it doesn't work. (Bug#7169)
5872
5873 Add desktop support for restoring vc-dir buffers. (Bug#10606)
5874 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
5875 Set buffer-local value of desktop-save-buffer.
5876 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
5877 New functions.
5878 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
5879 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
5880
5881 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
5882 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
5883 Doc fix.
5884 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
5885 Doc fixes.
5886
5887 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
5888
5889 * calc/calc-forms.el (calc-date-notation): Fix regexp
5890 used to find time codes. Fix symbol for seconds.
5891
5892 2012-11-27 Glenn Morris <rgm@gnu.org>
5893
5894 * emacs-lisp/derived.el (derived-mode-make-docstring):
5895 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
5896
5897 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5898
5899 * textmodes/table.el (table-insert): Don't use `symbol-name' on
5900 lexically scoped variables (bug#13005).
5901
5902 2012-11-27 Glenn Morris <rgm@gnu.org>
5903
5904 * vc/vc-hooks.el (vc-mistrust-permissions):
5905 Default to t, to avoid data-loss. (Bug#11490)
5906
5907 2012-11-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5908
5909 * progmodes/python.el (python-indent-guess-indent-offset):
5910 If indentation is guessed make python-indent-offset buffer-local.
5911
5912 Fix Imenu regression.
5913 * progmodes/python.el (python-nav-beginning-of-defun):
5914 Fix forward movement when statement(s) separates point from defun.
5915 (python-imenu-prev-index-position): New function.
5916
5917 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5918
5919 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
5920
5921 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
5922 Don't set buffer-file-type. Return nil. (Bug#12989)
5923
5924 2012-11-27 Glenn Morris <rgm@gnu.org>
5925
5926 * hippie-exp.el (hippie-expand-try-functions-list):
5927 Re-autoload it. (Bug#12982)
5928
5929 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5930
5931 * descr-text.el (describe-char-padded-string):
5932 Call internal-char-font only on GUI frames. (Bug#11964)
5933
5934 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
5935
5936 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
5937 and obsoletion message.
5938
5939 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5940
5941 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
5942 the constructs to keep outside of the `cl-block' (bug#12977).
5943
5944 2012-11-27 Chong Yidong <cyd@gnu.org>
5945
5946 * mouse.el (mouse-drag-line): Even if the line is not draggable,
5947 keep reading until we get the up-event anyway, in order to process
5948 the up-event for mouse-1-click-follows-link (Bug#12971).
5949
5950 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
5951
5952 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
5953 base function is not yet defined (bug#12965).
5954 (ad-activate-advised-definition): Use ad-compile-function.
5955 (ad-activate): Use cond.
5956
5957 2012-11-25 Leo Liu <sdl.web@gmail.com>
5958
5959 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
5960 (Bug#12979)
5961
5962 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5963
5964 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
5965 reftex-section-info-function in order to be compatible with
5966 Texinfo integration.
5967
5968 * textmodes/reftex.el (reftex-section-pre-regexp)
5969 (reftex-section-post-regexp, reftex-section-info-function):
5970 New variable.
5971 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
5972 reftex-section-post-regexp, and reftex-section-info-function in order
5973 to be compatible with Texinfo integration.
5974
5975 * textmodes/reftex-toc.el (reftex-toc-promote-action):
5976 use reftex-section-pre-regexp variable in order to be compatible with
5977 Texinfo integration.
5978
5979 2012-11-25 Chong Yidong <cyd@gnu.org>
5980
5981 * faces.el: Make face-spec-set more analogous to setq.
5982 (face-spec-set): Change the third arg to specify whether this
5983 function is being called via defface, customize, or a third party.
5984 Set the appropriate symbol properties. Clear the override spec if
5985 setting via Custom. Initialize face if necessary. (Bug#4988)
5986 (face-spec-recalc): Allow theme faces to completely replace the
5987 defface spec, in the same way as custom faces (Bug#8454).
5988
5989 * cus-face.el (custom-declare-face): Move face initialization to
5990 face-spec-set.
5991 (custom-theme-set-faces): Don't initialize the face name here, as
5992 that is now done in face-spec-set.
5993
5994 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
5995 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
5996 Simplify by using the new arg to face-spec-set.
5997
5998 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
5999 reset face-override-spec too, and use custom-declare-face.
6000
6001 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
6002
6003 * term/ns-win.el (ns-initialize-window-system): Move creation of
6004 fontsets here (Bug#11964).
6005
6006 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6007
6008 * ses.el (ses-rename-cell): Correct bug on mode-line update after
6009 cell renaming.
6010
6011 2012-11-24 Chong Yidong <cyd@gnu.org>
6012
6013 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
6014 obsolete.
6015
6016 * custom.el (custom-theme-set-variables): Use a topological sort
6017 for ordering by custom dependencies (Bug#12952).
6018 (custom--sort-vars, custom--sort-vars-1): New functions.
6019
6020 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
6021
6022 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
6023 lexical-binding (bug#12938).
6024
6025 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
6026
6027 * image-mode.el (image-transform-check-size): Use assertions only
6028 for images of type imagemagick.
6029
6030 Otherwise no error, image-transform-fit-to-{width,height} is
6031 silently ignored, as before. Doc fix.
6032
6033 2012-11-24 Chong Yidong <cyd@gnu.org>
6034
6035 * faces.el (color-defined-p): Doc fix (Bug#12853).
6036
6037 2012-11-24 Juri Linkov <juri@jurta.org>
6038
6039 * dired.el (dired-mark): Add optional arg `interactive'.
6040 Check for `use-region-p' if `interactive' is non-nil.
6041 (dired-unmark, dired-flag-file-deletion): Add optional arg
6042 `interactive'. Call `dired-mark' with the arg `interactive'.
6043 (Bug#10624)
6044
6045 * wdired.el: Revert 2012-10-17 change partly and replace it with
6046 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
6047 (wdired-finish-edit): Add marks for new file names to
6048 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
6049 after `revert-buffer'.
6050 (wdired-do-renames): Remove calls to `dired-remove-file',
6051 `dired-add-file', `dired-add-entry'. (Bug#11795)
6052
6053 2012-11-24 Alan Mackenzie <acm@muc.de>
6054
6055 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
6056
6057 Fix bugs in the state cache. Enhance a debugging mechanism.
6058 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
6059 "brace at column zero" strategy for C++.
6060 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
6061 (c-parse-state-point): New variable.
6062 (c-record-parse-state-state): Record old parse state with
6063 `copy-tree'. Record previous value of point.
6064 (c-debug-parse-state-double-cons): New debugging function.
6065 (c-debug-parse-state): Call the above new function.
6066 (c-toggle-parse-state-debug): Output a confirmatory message.
6067
6068 * progmodes/cc-mode.el (c-before-change, c-after-change):
6069 Call c-invalidate-state-cache from `c-before-change' instead of
6070 `c-after-change'.
6071
6072 2012-11-23 Chong Yidong <cyd@gnu.org>
6073
6074 * find-cmd.el (find-constituents): Add executable, ipath,
6075 readable, samefile, writable, daystart, regextype (Bug#12856).
6076
6077 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
6078
6079 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
6080
6081 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
6082
6083 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
6084 definition. This fixes a bootstrap failure.
6085 (calc-gregorian-switch): In menu, put dates before regions.
6086 This is easier to follow, lines up better in the menu, and lets us
6087 coalesce regions that switch at the same time. Give country
6088 names, not "Vatican", as that's better for non-expert users.
6089 Use names that are stable between the date of switch and now, e.g.,
6090 Bohemia and Moravia (which existed then and now) and not
6091 Czechoslovakia (which didn't exist then and doesn't exist now).
6092 What is now the U.S. mostly did not switch at the same time as
6093 Britain, so omit the U.S. Correct spelling of "Britain".
6094 Catholic Switzerland was too much of a mess, so omit it.
6095
6096 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
6097
6098 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
6099 after the variable is changed.
6100
6101 2012-11-21 Daniel Colascione <dancol@dancol.org>
6102
6103 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
6104 in SQL declarations for font-lock.
6105 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
6106
6107 2012-11-21 Glenn Morris <rgm@gnu.org>
6108
6109 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
6110 (face-italic-p): Add optional argument "inherit".
6111
6112 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
6113 Remove -p suffix from names, for consistency with other set-face-*.
6114 (set-face-inverse-video): Fix interactive spec.
6115 * play/gamegrid.el (gamegrid-make-mono-tty-face):
6116 * textmodes/table.el (table--update-cell-face):
6117 Use set-face-inverse-video rather than now obsolete alias.
6118
6119 2012-11-21 Eli Zaretskii <eliz@gnu.org>
6120
6121 * simple.el (line-move): Don't call line-move-partial if
6122 scroll-conservatively is in effect. (Bug#12927)
6123
6124 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6125
6126 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
6127 Fallback on completion-at-point rather than
6128 pcomplete-expand-and-complete, and only if pcomplete actually failed.
6129 (eshell-cmpl-initialize): Setup completion-at-point.
6130
6131 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
6132
6133 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
6134
6135 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
6136
6137 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
6138 are remote, check out-of-band property for both.
6139
6140 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6141
6142 * window.el (switch-to-buffer): Re-add the warning that was lost in the
6143 code rewrite.
6144
6145 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
6146
6147 More minor time fixes.
6148 * calendar/time-date.el: Commentary fix.
6149 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
6150 too much other code depends on (0 0) time stamps.
6151 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
6152 Add a couple of FIXME comments.
6153
6154 Minor cleanup for times as lists of four integers.
6155 * files.el (dir-locals-directory-cache):
6156 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
6157 Doc fixes.
6158 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
6159 * ps-bdf.el (bdf-file-newer-than-time):
6160 Process four-integers time stamps, not two. Doc fixes.
6161
6162 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6163
6164 * uniquify.el (uniquify-managed): Use defvar-local.
6165 (rename-buffer, create-file-buffer): Advise with advice-add.
6166 (uniquify-unload-function): Unadvise accordingly.
6167
6168 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
6169 (trace-buffer): Don't purecopy.
6170 (trace-entry-message, trace-exit-message): Add `context' arg.
6171 (trace--timer): New var.
6172 (trace-make-advice): Adjust for use in nadvice.
6173 Add `context' argument. Delay `display-buffer' via a timer.
6174 (trace-function-internal): Use advice-add.
6175 (trace--read-args): New function.
6176 (trace-function-foreground, trace-function-background): Use it.
6177 (trace-function): Rename to trace-function-foreground and redefine as
6178 an alias to that new name.
6179 (untrace-function, untrace-all): Adjust to the use of nadvice.
6180
6181 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
6182
6183 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
6184
6185 * subr.el (called-interactively-p-functions): New var.
6186 (internal--called-interactively-p--get-frame): New macro.
6187 (called-interactively-p, interactive-p): Rewrite in Lisp.
6188 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
6189 (called-interactively-p-functions): Use it.
6190 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
6191 (called-interactively-p-functions): Use it.
6192 * allout.el (allout-called-interactively-p): Don't assume
6193 called-interactively-p is a subr.
6194
6195 2012-11-20 Glenn Morris <rgm@gnu.org>
6196
6197 * profiler.el (profiler-report-mode-map): Add a menu.
6198 No need to bind `q' because we derive from special-mode.
6199 (profiler-report-find-entry): Handle calls from the menu-bar.
6200
6201 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
6202
6203 * emacs-lisp/byte-run.el (defun-declarations-alist):
6204 Allow a compiler-macro to be a lambda expression.
6205
6206 * progmodes/python.el: Use cl-lib. Move var declarations outside of
6207 eval-when-compile.
6208 (python-syntax-context): Add compiler-macro.
6209 (python-font-lock-keywords): Simplify with De Morgan.
6210
6211 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
6212
6213 * files.el (load-file): Require match in minibuffer selection, as was
6214 the case in Emacs-20 before we changed the spec to allow .elc files
6215 (bug#12935).
6216
6217 * json.el: Don't require cl since we don't use it.
6218 * color.el: Don't require cl.
6219 (color-complement): `caddr' -> `nth 2'.
6220
6221 * calendar/time-date.el (time-to-seconds): De-obsolete.
6222
6223 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
6224
6225 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
6226 year numbers.
6227 (math-date-to-julian-dt): Adjust the initial approximation for the
6228 year to deal with the new definition of the DATE.
6229
6230 2012-11-19 Daniel Colascione <dancol@dancol.org>
6231
6232 * term/w32-win.el (cygwin-convert-path-from-windows):
6233 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6234
6235 2012-11-18 Chong Yidong <cyd@gnu.org>
6236
6237 * filecache.el (file-cache--read-list): New function.
6238 (file-cache-add-directory-list, file-cache-add-file-list)
6239 (file-cache-delete-file-list, file-cache-delete-directory-list):
6240 Use it to read a list of files or directories (Bug#12846).
6241 (file-cache-add-file, file-cache-add-directory)
6242 (file-cache-delete-file-list, file-cache-delete-file-regexp)
6243 (file-cache-delete-directory): Print an message.
6244
6245 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
6246
6247 * calc/calc-forms.el (math-date-to-dt): Use integer date when
6248 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
6249
6250 2012-11-18 Glenn Morris <rgm@gnu.org>
6251
6252 * image.el (insert-image, insert-sliced-image): Doc fix.
6253
6254 2012-11-18 Chong Yidong <cyd@gnu.org>
6255
6256 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
6257 (Bug#12810).
6258
6259 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6260
6261 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
6262 response when the target file is in a subdirectory (Bug#12757).
6263
6264 2012-11-18 Chong Yidong <cyd@gnu.org>
6265
6266 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
6267
6268 2012-11-18 Glenn Morris <rgm@gnu.org>
6269
6270 * emacs-lisp/cl-lib.el (face-underline-p):
6271 Use set-face-underline rather than the alias set-face-underline-p.
6272
6273 * window.el (with-temp-buffer-window): Doc fix.
6274 * subr.el (with-output-to-temp-buffer):
6275 Add doc xref to with-temp-buffer-window.
6276
6277 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
6278
6279 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
6280 * calc/calc.el (math-format-date-cache): Declare.
6281
6282 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
6283
6284 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
6285 It also uses January 1, 1 AD as its day number 1.
6286 * calc/calc-forms.el (math-julian-date-beginning)
6287 (math-julian-date-beginning-int): Implement this.
6288
6289 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
6290
6291 * descr-text.el (quail-find-key):
6292 * dired.el (desktop-file-name):
6293 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
6294 * generic-x.el (comint-mode, comint-exec):
6295 * image-dired.el (widget-forward):
6296 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
6297 (speedbar-change-expand-button-char)
6298 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
6299 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
6300 * printing.el (easy-menu-add-item, easy-menu-remove-item)
6301 (widget-field-action, widget-value-set):
6302 * speedbar.el (imenu--make-index-alist):
6303 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
6304 (ring-length, ring-insert):
6305 * vcursor.el (compare-windows-skip-whitespace):
6306 * woman.el (dired-get-filename):
6307 Declare functions.
6308
6309 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
6310
6311 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6312
6313 * calc/calc.el (calc-gregorian-switch): New variable.
6314
6315 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
6316 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
6317 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
6318 (math-leap-year-p): Add option to distinguish between Julian
6319 and Gregorian calendars.
6320 (math-day-number): Use `math-day-in-year' to do the computations.
6321 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
6322 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
6323 to do the computations.
6324 (math-date-to-dt): Use `math-date-to-julian-dt' and
6325 `math-date-to-gregorian-dt' to do the computations.
6326 (calcFunc-weekday, math-format-date-part): Use the new version of
6327 the DATE to determine the weekday.
6328 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
6329 when necessary.
6330
6331 2012-11-17 Eli Zaretskii <eliz@gnu.org>
6332
6333 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
6334 Cygwin; otherwise use 'file:'. (Bug#12914)
6335 (cygwin-convert-path-from-windows): Declare, to avoid
6336 byte-compiler warnings.
6337
6338 2012-11-17 Andreas Politz <politza@fh-trier.de>
6339
6340 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
6341 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
6342 prefix and negative numeric prefix args (Bug#12795).
6343
6344 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
6345
6346 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
6347 Don't signal an error with a score that is too low to add to the
6348 list of top scores. (Bug#12779)
6349
6350 2012-11-17 Chong Yidong <cyd@gnu.org>
6351
6352 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
6353
6354 * filecache.el (file-cache-add-file): Handle relative file name in
6355 the argument (Bug#12694).
6356
6357 2012-11-16 JĂ¼rgen Hötzel <juergen@archlinux.org> (tiny change)
6358
6359 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
6360
6361 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6362
6363 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
6364
6365 * emacs-lisp/cl-lib.el: Set more meaningful version number.
6366
6367 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6368
6369 * window.el (enlarge-window, shrink-window): Don't mention return
6370 value in doc-string (Bug#12896).
6371 (window--display-buffer): Don't resize frames - it won't work
6372 with all window managers and defeat pop-up-frame-alist.
6373 (display-buffer-alist): In doc-string explain that CONDITION can
6374 be a function and which arguments are passed to it (Bug#12854).
6375 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
6376 expressions (Bug#12854).
6377 (display-buffer): Pass ACTION argument to
6378 display-buffer-assq-regexp.
6379
6380 2012-11-16 Glenn Morris <rgm@gnu.org>
6381
6382 * window.el (fit-frame-to-buffer-bottom-margin)
6383 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
6384
6385 * faces.el (face-underline-p): Use face-attribute-specified-or.
6386
6387 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
6388
6389 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
6390
6391 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6392
6393 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
6394
6395 2012-11-16 Glenn Morris <rgm@gnu.org>
6396
6397 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
6398 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
6399
6400 * faces.el (face-underline-p): Doc fix. Handle :underline being
6401 things other than `t' (a string, a list).
6402 (face-inverse-video-p): Doc fix.
6403 (set-face-underline): Rename it back from set-face-underline-p.
6404 Doc fix. Allow interactive input of values other than t.
6405 (read-face-attribute): Apply formatting to :underline,
6406 since like :box and :stipple it can take list values.
6407
6408 * term.el (ansi-term): Don't let C-x escape-char binding
6409 clobber the more standard C-c binding. (Bug#12842)
6410
6411 * subr.el (set-temporary-overlay-map): Doc fix.
6412
6413 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6414
6415 * window.el (record-window-buffer)
6416 (display-buffer-record-window): When copying the markers to
6417 window-point preserve window-point-insertion-type. (Bug#12588)
6418
6419 2012-11-16 Glenn Morris <rgm@gnu.org>
6420
6421 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
6422 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
6423 Use new names for hooks rather than obsolete aliases.
6424
6425 2012-11-15 Daniel Colascione <dancol@dancol.org>
6426
6427 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
6428 prefix instead of "file:" so that when FILE-NAME begins with "//",
6429 as it does when the target file is on a network share, url-handler
6430 isn't confused.
6431
6432 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6433
6434 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
6435 a preactivated advice from an old advice.el; they're not compatible!
6436
6437 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
6438
6439 * emacs-lisp/nadvice.el (advice--make-interactive-form):
6440 Fix string-spec case.
6441
6442 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
6443
6444 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6445
6446 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
6447 (advice--buffer-local-function-sample): New var.
6448 (advice--set-buffer-local, advice--buffer-local): New functions.
6449 (add-function, remove-function): Use them.
6450
6451 2012-11-15 Drew Adams <drew.adams@oracle.com>
6452
6453 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
6454
6455 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6456
6457 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
6458 potential binding of print-gensym to t, and prettify (back)quotes in
6459 case they appear in args's default values (bug#12884).
6460
6461 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6462
6463 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
6464 (advice-eval-interactive-spec): New function.
6465 (advice--make-interactive-form): Support around advice (bug#12844).
6466
6467 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
6468
6469 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
6470 more strict. Add docstring.
6471 (ruby-expression-expansion-re): Extract from
6472 `ruby-match-expression-expansion'.
6473 (ruby-syntax-propertize-function): After everything else, search
6474 for expansions in string literals, mark their insides as
6475 whitespace syntax and save match data for font-lock.
6476 (ruby-font-lock-keywords): Use the 2nd group from expression
6477 expansion matches.
6478 (ruby-match-expression-expansion): Use the match data saved to the
6479 text property in ruby-syntax-propertize-function.
6480
6481 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6482
6483 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
6484 (bug#12879).
6485
6486 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6487
6488 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
6489 start/end keyword a bit harder. Works with different values of N.
6490 Add more comments.
6491 (ruby-end-of-block): Update accordingly.
6492
6493 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6494
6495 * woman.el (woman-file-name): Don't mess with unread-command-events
6496 (bug#12861).
6497
6498 * emacs-lisp/advice.el: Layer on top of nadvice.el.
6499 Remove out of date self-require hack.
6500 (ad-do-advised-functions): Use simple `dolist'.
6501 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
6502 (ad-advice-definition): Redefine as functions.
6503 (ad-advice-classes): Move before first use.
6504 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
6505 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
6506 (ad--defalias-fset): Remove functions.
6507 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
6508 (ad-get-orig-definition): Rewrite.
6509 (ad-make-advised-definition-docstring): Change base docstring.
6510 (ad-real-orig-definition): Rewrite.
6511 (ad-map-arglists): Change name of called function.
6512 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
6513 (ad-make-advised-definition): Simplify.
6514 (ad-assemble-advised-definition): Tweak for new calling context.
6515 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
6516 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
6517 function and call ad-activate if needed.
6518 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
6519 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
6520 (ad-compile-function): Compile ad-Advice-*.
6521 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
6522 (ad-start-advice, ad-stop-advice): Remove.
6523
6524 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6525
6526 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
6527 period before class method names, not after. Remove handling of
6528 one impossible case. Add comments.
6529
6530 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6531
6532 * emacs-lisp/advice.el: Remove support for freezing.
6533 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
6534 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
6535 Remove support for `freeze'.
6536
6537 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
6538 override the default.
6539 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
6540 cl--dotimes/dolist.
6541 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
6542 `cl' is loaded.
6543
6544 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
6545 from add-advice.
6546 (advice--strip-macro): New function.
6547 (advice--defalias-fset): Use them to handle macros.
6548 (advice-add): Use them.
6549 (advice-member-p): Correctly handle macros.
6550
6551 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6552
6553 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6554 Never font-lock the beginning of singleton class as heredoc.
6555
6556 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6557
6558 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
6559
6560 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
6561
6562 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
6563 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
6564 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
6565
6566 2012-11-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6567
6568 Fix end-of-defun misbehavior.
6569 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
6570 python-beginning-of-defun-function. Handle nested defuns
6571 correctly.
6572 (python-nav-end-of-defun): Rename from
6573 python-end-of-defun-function. Ensure forward movement.
6574 (python-info-current-defun): Reimplement to work as intended
6575 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
6576 parent defuns as soon as possible.
6577
6578 2012-11-13 Glenn Morris <rgm@gnu.org>
6579
6580 * progmodes/flymake.el (flymake-error-bitmap)
6581 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
6582 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
6583
6584 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6585
6586 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
6587 backward, always stop at indentation. Reverts the change from
6588 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
6589
6590 2012-11-13 Glenn Morris <rgm@gnu.org>
6591
6592 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
6593 Add ibuffer-filter-by-derived-mode.
6594
6595 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
6596 the same name shadowing each other.
6597
6598 * window.el (with-temp-buffer-window): Doc tweak.
6599
6600 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
6601
6602 * help.el (temp-buffer-max-height):
6603 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
6604 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
6605
6606 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
6607
6608 * emacs-lisp/nadvice.el: New package.
6609 * subr.el (special-form-p): New function.
6610 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
6611 (elp-all-instrumented-list): Remove var.
6612 (elp-not-profilable): Remove elp-wrapper.
6613 (elp-profilable-p): Use autoloadp and special-form-p.
6614 (elp--advice-name): New const.
6615 (elp-instrument-function): Use advice-add.
6616 (elp--instrumented-p): New predicate.
6617 (elp-restore-function): Use advice-remove.
6618 (elp-restore-all, elp-reset-all): Use mapatoms.
6619 (elp-set-master): Use elp--instrumented-p.
6620 (elp--make-wrapper): Rename from elp-wrapper, return a function
6621 suitable for advice-add. Use cl-inf.
6622 (elp-results): Use mapatoms+elp--instrumented-p.
6623 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
6624 (debug-function-list): Remove var.
6625 (debug): Rename arg, and then let-bind it explicitly inside.
6626 (debugger-setup-buffer): Rename arg.
6627 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
6628 (debugger-frame-number): Adjust to new debug-on-entry setup.
6629 (debug--implement-debug-on-entry): Rename from
6630 implement-debug-on-entry, add argument.
6631 (debugger-special-form-p): Remove, use special-form-p instead.
6632 (debug-on-entry): Use advice-add.
6633 (debug--function-list): New function.
6634 (cancel-debug-on-entry): Use it, along with advice-remove.
6635 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
6636 (debugger-list-functions): Use debug--function-list instead of
6637 debug-function-list.
6638 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
6639 (ad-special-form-p): Remove, use special-form-p instead.
6640 (ad-set-advice-info): Use add-function and remove-function.
6641 (ad--defalias-fset): Adjust accordingly.
6642
6643 2012-11-10 Glenn Morris <rgm@gnu.org>
6644
6645 * mail/emacsbug.el (report-emacs-bug-tracker-url)
6646 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
6647 (report-emacs-bug-create-existing-bugs-buffer)
6648 (report-emacs-bug-parse-query-results)
6649 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
6650
6651 * term.el (term-default-fg-color, term-default-bg-color):
6652 Make obsolete, rather than just saying "deprecated" in the doc.
6653
6654 * term.el (term): Rename from `term-face'.
6655 (term-current-face, ansi-term-color-vector)
6656 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
6657 Update all users.
6658
6659 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
6660
6661 * server.el (server-create-window-system-frame): Handle Nextstep
6662 specially (Bug#12780).
6663
6664 2012-11-10 Glenn Morris <rgm@gnu.org>
6665
6666 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
6667 Unautoload, and make obsolete. (Bug#7449)
6668
6669 2012-11-10 Chong Yidong <cyd@gnu.org>
6670
6671 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
6672 rename from diff-remove-trailing-whitespace (Bug#12831).
6673
6674 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6675
6676 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
6677 miscompilation of trace.el.
6678
6679 2012-11-10 Glenn Morris <rgm@gnu.org>
6680
6681 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
6682
6683 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6684
6685 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
6686 (bug#12812).
6687
6688 2012-11-10 Chong Yidong <cyd@gnu.org>
6689
6690 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
6691 a defcustom with an appropriate :set function.
6692 (minibuffer-default--in-prompt-regexps): New function.
6693
6694 2012-11-10 Glenn Morris <rgm@gnu.org>
6695
6696 * emacs-lisp/cl.el (define-setf-expander, defsetf)
6697 (define-modify-macro): Doc fixes.
6698
6699 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
6700 (gv-define-simple-setter): Update doc of `fix-return'.
6701
6702 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6703
6704 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
6705 twice when `fix-return' is set (bug#12813).
6706
6707 * emacs-lisp/cl.el (defsetf): Pass the third arg to
6708 gv-define-simple-setter (bug#12812).
6709
6710 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
6711 (bug#12756).
6712
6713 2012-11-10 Glenn Morris <rgm@gnu.org>
6714
6715 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
6716
6717 * emacs-lisp/cl-extra.el (cl-prettyexpand):
6718 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
6719 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
6720 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
6721
6722 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
6723
6724 2012-11-10 Leo Liu <sdl.web@gmail.com>
6725
6726 * ido.el (ido-set-matches-1): Improve flex matching performance by
6727 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
6728
6729 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6730
6731 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
6732 (ad--defalias-fset): New function.
6733 (ad-safe-fset): Remove.
6734 (ad-make-freeze-definition): Use cl-letf*.
6735
6736 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6737
6738 * subr.el (dolist): Don't bind VAR in RESULT.
6739
6740 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
6741 (fset, documentation): Don't save real def since we don't advise.
6742 (ad-do-advised-functions): Remove problematic `result-form'.
6743 (ad-safe-fset): `ad-real-fset' => `fset'.
6744 (ad-read-advised-function): Don't assume that ad-do-advised-functions
6745 uses CL's dolist internally.
6746 (ad-arglist): Remove unused arg `name'.
6747 (ad-docstring, ad-make-advised-docstring):
6748 `ad-real-documentation' => `documentation'.
6749 (warning-suppress-types): Declare.
6750 (ad-set-arguments): Simple CSE.
6751 (ad-recover-normality): Sanity check.
6752
6753 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
6754 (funcall '(lambda ..) ..) into ((lambda ..) ..).
6755
6756 2012-11-09 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6757
6758 * ses.el: symbol to coordinate mapping is made by symbol property
6759 `ses-cell'. This means that the same mapping is done for all SES
6760 sheets. That is good enough for cells with standard A1 names, but
6761 not for named cell. So a hash map is added for the latter.
6762 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
6763 (ses-sym-rowcol): Use hashmap for named cell.
6764 (ses-is-cell-sym-p): New defun.
6765 (ses-decode-cell-symbol): New defun.
6766 (ses-create-cell-variable): Add cell to hashmap when name is not
6767 A1-like.
6768 (ses-rename-cell): Check that cell new name is not already in
6769 spreadsheet with the use of ses-is-cell-sym-p
6770 (ses-rename-cell): Use hash map for named cells, but accept also
6771 renaming back to A1-like.
6772
6773 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6774
6775 * emacs-lisp/advice.el: Use new dynamic docstrings.
6776 (ad-make-advised-definition-docstring, ad-advised-definition-p):
6777 Use dynamic-docstring-function instead of ad-advice-info.
6778 (ad--make-advised-docstring): New function extracted from
6779 ad-make-advised-docstring.
6780 (ad-make-advised-docstring): Use it.
6781 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
6782 from sql-help.
6783 (sql-help): Use it with dynamic-docstring-function.
6784
6785 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
6786
6787 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6788
6789 * files.el (hack-one-local-variable--obsolete): New function.
6790 (hack-one-local-variable): Use it for obsolete settings.
6791
6792 * subr.el (locate-user-emacs-file): If both old and new name exist, use
6793 the new name.
6794
6795 * progmodes/js.el (js--filling-paragraph): New var.
6796 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
6797 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
6798 less sneaky.
6799
6800 2012-11-08 Julien Danjou <julien@danjou.info>
6801
6802 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
6803 `auto-mode-alist' (Bug#12835).
6804
6805 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6806
6807 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
6808 (perl--prettify-symbols-alist): New const.
6809 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
6810 New functions.
6811 (perl-font-lock-keywords-2): Use them.
6812 (perl-electric-noindent-p): New function.
6813 (perl-mode): Use it to set up electric-indent-mode.
6814 (perl-electric-terminator, perl-indent-command): Mark obsolete.
6815 (perl-mode-map): Remove bindings for them.
6816 (perl-imenu-generic-expression, perl-outline-level):
6817 Match functions&packages in column>0.
6818
6819 * env.el (env--substitute-vars-regexp): New const.
6820 (substitute-env-vars): Use it. Add `only-defined' arg.
6821 * net/tramp.el (tramp-replace-environment-variables): Use it.
6822
6823 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
6824 Byte-compile *before* eval in eval-and-compile.
6825 (byte-compile-log-warning): Remove redundant inhibit-read-only.
6826 (byte-compile-file-form-autoload): Don't hide actual definition.
6827 (byte-compile-maybe-guarded): Accept `functionp' as well.
6828
6829 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
6830
6831 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
6832
6833 * notifications.el (notifications-get-server-information-method):
6834 New defconst.
6835 (notifications-get-capabilities): Fix docstring.
6836 (notifications-get-server-information): New defun.
6837
6838 2012-11-06 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6839
6840 * textmodes/ispell.el (ispell-region): Standard re-indent for better
6841 readability.
6842
6843 * textmodes/ispell.el: Experimental support for support debugging.
6844 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
6845 buffer for ispell.
6846 (ispell-print-if-debug): New function to print stuff to
6847 `ispell-debug-buffer' if debugging is enabled.
6848 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
6849 show some debugging info.
6850 (ispell-buffer-with-debug): New function that creates a debugging
6851 buffer and calls `ispell-buffer' with debugging enabled.
6852
6853 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
6854 comment in autoconf mode. (Bug#12768)
6855
6856 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
6857
6858 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
6859 frame-first-window, frame-root-window, frame-selected-window,
6860 minibuffer-selected-window, minibuffer-window,
6861 window-absolute-pixel-edges, window-at, window-body-height,
6862 window-body-width, window-display-table, window-combination-limit,
6863 window-frame, window-fringes, window-inside-absolute-pixel-edges,
6864 window-inside-edges, window-inside-pixel-edges, window-left-child,
6865 window-left-column, window-margins, window-next-buffers,
6866 window-next-sibling, window-new-normal, window-new-total,
6867 window-normal-size, window-parameter, window-parameters, window-parent,
6868 window-pixel-edges, window-point, window-prev-buffers,
6869 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
6870 window-start, window-text-height, window-top-child, window-top-line,
6871 window-total-height, window-total-width and window-use-time to the list
6872 of functions without side-effects.
6873 (toplevel): Add window-valid-p to the list of error-free functions
6874 without side-effects.
6875
6876 2012-11-05 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6877
6878 * textmodes/ispell.el (ispell-program-name):
6879 Update spellchecker parameters when customized.
6880
6881 2012-11-04 Glenn Morris <rgm@gnu.org>
6882
6883 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
6884
6885 2012-11-04 Chong Yidong <cyd@gnu.org>
6886
6887 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
6888 same-window-* variables.
6889
6890 2012-11-04 Juri Linkov <juri@jurta.org>
6891
6892 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
6893 (isearch-describe-key, isearch-describe-mode): Use a display
6894 action instead of binding same-window-* variables (Bug#10040).
6895
6896 2012-11-03 Glenn Morris <rgm@gnu.org>
6897
6898 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
6899 Rename handler properties back from cl-- to cl-. (Bug#12788)
6900
6901 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
6902
6903 2012-11-03 Eli Zaretskii <eliz@gnu.org>
6904
6905 * term/pc-win.el: Don't load term/internal from here.
6906
6907 * loadup.el: Load term/internal from here.
6908
6909 2012-11-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6910
6911 * progmodes/python.el (inferior-python-mode): Fix hang in
6912 jit-lock (Bug#12645).
6913
6914 2012-11-03 Martin Rudalics <rudalics@gmx.at>
6915
6916 * window.el (switch-to-visible-buffer)
6917 (switch-to-buffer-preserve-window-point): Fix doc-strings.
6918
6919 2012-11-03 Glenn Morris <rgm@gnu.org>
6920
6921 * emacs-lisp/cl-lib.el (cl--random-time):
6922 Rename from cl-random-time. (Bug#12773)
6923 (cl--gensym-counter, cl--random-state): Update callers.
6924 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
6925
6926 2012-11-03 Chong Yidong <cyd@gnu.org>
6927
6928 * cus-start.el: Make cursor-type customizable (Bug#11633).
6929
6930 2012-11-02 Glenn Morris <rgm@gnu.org>
6931
6932 * filecache.el: No need to load find-lisp when compiling.
6933 (find-lisp-find-files): Autoload it.
6934 (file-cache-add-directory-recursively): Don't require find-lisp.
6935
6936 * image.el (image-type-from-file-name): Trivial simplification.
6937
6938 * emacs-lisp/bytecomp.el (byte-compile-eval):
6939 Decouple "noruntime" and "cl-functions" warnings.
6940
6941 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
6942
6943 * play/gomoku.el (gomoku-display-statistics): Update mode line
6944 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
6945
6946 2012-10-31 Martin Rudalics <rudalics@gmx.at>
6947
6948 * window.el (quit-restore-window): If the window has been
6949 created on an existing frame and ended up as the sole window on
6950 that frame, do not delete it (Bug#12764).
6951
6952 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
6953
6954 * progmodes/sh-script.el (sh--inside-noncommand-expression):
6955 Rename from sh--inside-arithmetic-expression, handle more cases
6956 (bug#11263).
6957
6958 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
6959 (sh-font-lock-open-heredoc): Use it (bug#12770).
6960
6961 2012-10-30 Glenn Morris <rgm@gnu.org>
6962
6963 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
6964
6965 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
6966
6967 2012-10-29 Chong Yidong <cyd@gnu.org>
6968
6969 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
6970 function key is stored in a keyboard macro (Bug#4894).
6971
6972 * thingatpt.el (number-at-point): Apply a thing-at-point property.
6973
6974 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6975
6976 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
6977 header comments".
6978 (diff-unified->context, diff-context->unified)
6979 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
6980
6981 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
6982
6983 * files.el (find-alternate-file): Only ask one question (bug#12487).
6984
6985 2012-10-29 Chong Yidong <cyd@gnu.org>
6986
6987 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
6988 Suggested by Dan Nicolaescu (Bug#6326).
6989
6990 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
6991
6992 * startup.el (fancy-about-screen): Don't message (Bug#12680).
6993
6994 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
6995
6996 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
6997
6998 * face-remap.el (face-remap-add-relative): Handle the case where a
6999 face-remapping-alist entry is a cons cell (Bug#12762).
7000
7001 2012-10-29 Kevin Ryde <user42@zip.com.au>
7002
7003 * woman.el (woman-parse-numeric-value): Handle picas correctly
7004 (Bug#12639).
7005
7006 2012-10-29 Glenn Morris <rgm@gnu.org>
7007
7008 * emacs-lisp/cl.el (defsetf): Doc fix.
7009
7010 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7011
7012 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
7013 syntax to the matching opener, if any (bug#12547).
7014 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
7015 matching open as a "case-(".
7016 (sh-smie-rc-grammar): Add a corresponding rule for it.
7017
7018 2012-10-28 Daniel Hackney <dan@haxney.org>
7019
7020 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
7021 "PKGNAME-autoloads.el" in case we created it.
7022
7023 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7024
7025 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
7026 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
7027 (completion--twq-all): Disable too-strict assertions.
7028
7029 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
7030
7031 2012-10-27 Eli Zaretskii <eliz@gnu.org>
7032
7033 * profiler.el (profiler-report-make-entry-part): Fix help-echo
7034 text to match the real keybindings.
7035
7036 2012-10-27 Juri Linkov <juri@jurta.org>
7037
7038 * wdired.el (wdired-keep-marker-rename): New defcustom.
7039 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
7040 (Bug#11795)
7041
7042 * dired.el (dired-keep-marker-rename): Add reference to
7043 `wdired-keep-marker-rename' in the docstring.
7044 Add default character value ?R to display initially in
7045 Customization UI instead of ?@.
7046
7047 2012-10-27 Martin Rudalics <rudalics@gmx.at>
7048
7049 * window.el (display-buffer): In doc-string describe
7050 window-height and window-width alist entries.
7051
7052 * time.el (display-time-world): Restore fit-window-to-buffer
7053 behavior.
7054
7055 2012-10-27 Chong Yidong <cyd@gnu.org>
7056
7057 * subr.el (insert-buffer-substring-as-yank): Doc fix.
7058
7059 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
7060
7061 * minibuffer.el (completion-category-overrides): New completion
7062 category `bookmark' (bug#11131).
7063
7064 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7065
7066 * emacs-lisp/advice.el (ad-assemble-advised-definition):
7067 Silence bogus compiler warnings for ad-do-it.
7068
7069 * bookmark.el (bookmark-completing-read): Set the completion category
7070 to `bookmark' (bug#11131).
7071
7072 2012-10-26 Bastien <bzg@altern.org>
7073 Stefan Monnier <monnier@iro.umontreal.ca>
7074
7075 * face-remap.el: Use lexical-binding.
7076 (text-scale-adjust): Improve docstring. Use itself for the temporary
7077 overlay-map bindings, so as to repeat the "Use..." message each time.
7078
7079 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7080
7081 * emacs-lisp/macroexp.el (macroexp--expand-all):
7082 Obey byte-compile-warning-enabled-p (bug#12486).
7083
7084 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
7085 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
7086
7087 2012-10-26 Martin Rudalics <rudalics@gmx.at>
7088
7089 * mouse.el (mouse-drag-line): Move last form into preceding when
7090 clause (Bug#12731).
7091
7092 * help.el (resize-temp-buffer-window): Fix doc-string.
7093
7094 2012-10-25 David Engster <deng@randomsample.de>
7095
7096 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
7097 Remove. This feature is already integrated in imenu.
7098
7099 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
7100 always loaded. Require `speedbar' unconditionally.
7101
7102 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7103
7104 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
7105
7106 * minibuffer.el (minibuffer-force-complete): Fix thinko.
7107
7108 * net/ldap.el (ldap-search-internal): The official ldif format starts
7109 with a "version: 1" header (bug#12724).
7110
7111 * emacs-lisp/package.el (package-installed-p): Warn if not ready
7112 (bug#12721).
7113
7114 2012-10-25 Glenn Morris <rgm@gnu.org>
7115
7116 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
7117
7118 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7119
7120 * minibuffer.el (minibuffer-force-complete): Use one more marker
7121 for the temporary-overlay-map command (bug#12619).
7122
7123 2012-10-24 Chong Yidong <cyd@gnu.org>
7124
7125 * time.el (display-time-world-mode): Derive from special-mode.
7126 (display-time-world): Use display-buffer (Bug#12708).
7127 (display-time-world-mode-map): Variable deleted.
7128 (display-time-world-display): Wrap the final delete-char inside
7129 inhibit-read-only.
7130
7131 2012-10-24 Chong Yidong <cyd@gnu.org>
7132
7133 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
7134 Doc fix.
7135
7136 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
7137
7138 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7139
7140 * minibuffer.el (completion--all-sorted-completions-location): New var.
7141 (completion--cache-all-sorted-completions)
7142 (completion--flush-all-sorted-completions): Use it.
7143 (completion-in-region, completion-in-region--postch)
7144 (completion-at-point, completion-help-at-point): Use markers in
7145 completion-in-region--data (bug#12619).
7146
7147 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7148
7149 * progmodes/compile.el (compilation-start): Try to handle common
7150 quoting of `cd' argument (bug#12640).
7151
7152 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
7153 (bug#12671).
7154
7155 2012-10-23 Glenn Morris <rgm@gnu.org>
7156
7157 * progmodes/gud.el (gud-menu-map):
7158 Check gdb-active-process is bound. (Bug#12358)
7159
7160 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7161
7162 * repeat.el (repeat): Set real-this-command (bug#12232).
7163
7164 * htmlfontify.el (hfy-post-html-hook):
7165 * filesets.el (filesets-cache-fill-content-hook):
7166 * arc-mode.el (archive-extract-hook):
7167 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
7168 * net/rcirc.el (rcirc-sentinel-functions)
7169 (rcirc-receive-message-functions, rcirc-activity-functions)
7170 (rcirc-print-functions):
7171 * net/dbus.el (dbus-event-error-functions):
7172 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
7173 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
7174 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
7175 * term/sun.el (sun-raw-prefix-hooks):
7176 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
7177
7178 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
7179
7180 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7181 Set `tramp-chunksize' to 1. This improves the performance.
7182 (tramp-smb-wait-for-output): Add timeout to
7183 `tramp-accept-process-output' calls.
7184
7185 2012-10-23 Chong Yidong <cyd@gnu.org>
7186
7187 * faces.el (font-list-limit): Define as an obsolete variable.
7188
7189 * startup.el (command-line):
7190 * cus-start.el: Don't refer to font-list-limit.
7191
7192 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
7193
7194 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7195
7196 * subr.el (internal-temp-output-buffer-show): Rename from
7197 temp-output-buffer-show, since previously compiled files expect this name.
7198
7199 2012-10-23 Glenn Morris <rgm@gnu.org>
7200
7201 * image.el (image-type-from-file-name): If multiple types match,
7202 return the first one that is supported. (Bug#9045)
7203
7204 2012-10-22 Glenn Morris <rgm@gnu.org>
7205
7206 * image.el (imagemagick-enabled-types): Doc fix.
7207
7208 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
7209
7210 * progmodes/which-func.el (which-func-current): The hash-table may have
7211 an explicit nil (bug#12338).
7212
7213 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7214
7215 * electric.el (electric-pair-delete-selection-self-insert-function):
7216 Rename to electric-pair-will-use-region, return a boolean.
7217 (electric-pair-mode): Adjust accordingly. Don't require delsel.
7218
7219 * delsel.el (delete-selection-helper): Use a function instead of a hook.
7220 (delete-selection-pre-hook): Use use-region-p.
7221 (delete-selection-self-insert-function): Remove.
7222 (self-insert-command): Obey self-insert-uses-region-functions.
7223 (self-insert-iso): Revert to previous setting, since we don't actually
7224 know what that command does.
7225 (delete-selection-self-insert-hooks): Remove.
7226
7227 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
7228
7229 * delsel.el (delete-selection-helper): New function, extracted from
7230 delete-selection-pre-hook.
7231 (delete-selection-pre-hook): Use it.
7232 (delete-selection-self-insert-function): New function.
7233 (delete-selection-self-insert-hooks): New hook.
7234 (self-insert-command, self-insert-iso): Use it.
7235 * electric.el (electric-pair-syntax): New function, extracted from
7236 electric-pair-post-self-insert-function.
7237 (electric-pair-post-self-insert-function): Use it.
7238 (electric-pair-delete-selection-self-insert-function): New function.
7239 (electric-pair-mode): Require delsel and setup
7240 delete-selection-self-insert-hooks (bug#11520).
7241
7242 2012-10-20 Chong Yidong <cyd@gnu.org>
7243
7244 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
7245 no changes to show (Bug#12586).
7246
7247 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
7248 list explicitly (Bug#12571).
7249
7250 2012-10-20 Arne Jørgensen <arne@arnested.dk>
7251
7252 * progmodes/flymake.el (flymake-create-temp-inplace):
7253 Use file-truename.
7254
7255 2012-10-20 Eli Zaretskii <eliz@gnu.org>
7256
7257 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
7258
7259 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
7260
7261 * calc/calc-units.el (math-extract-units): Properly extract powers
7262 of units.
7263
7264 2012-10-20 Daniel Colascione <dancol@dancol.org>
7265
7266 * frame.el (make-frame): Set x-display-name as we used to in order
7267 to unbreak creating an X11 frame from an Emacs daemon started
7268 without a display.
7269
7270 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7271
7272 * minibuffer.el (minibuffer-force-complete): Make the next completion use
7273 the same completion-field (bug#12221).
7274
7275 2012-10-19 Martin Rudalics <rudalics@gmx.at>
7276
7277 * emacs-lisp/debug.el (debug): Record height of debugger window
7278 also when debugger will be back (Bug#8789).
7279
7280 2012-10-18 Chong Yidong <cyd@gnu.org>
7281
7282 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7283 Convert to defcustom.
7284 (gdb-get-source-file): Don't bind pop-up-windows.
7285
7286 * progmodes/gud.el (gud-display-line): Don't specially re-use
7287 other frames for the gdb-mi case (Bug#12648).
7288
7289 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7290
7291 * emacs-lisp/advice.el: Clean up commentary a bit.
7292 (ad-do-advised-functions, ad-with-originals): Use `declare'.
7293 (byte-code-function-p): Never redefine.
7294
7295 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
7296
7297 2012-10-18 Glenn Morris <rgm@gnu.org>
7298
7299 * dired.el (dired-sort-toggle): Some ls implementations only allow
7300 a single option string. (Bug#12666)
7301
7302 * minibuffer.el (completion-cycle-threshold): Doc fix.
7303
7304 2012-10-17 Kenichi Handa <handa@gnu.org>
7305
7306 * international/mule.el (set-keyboard-coding-system):
7307 Recover input meta mode when the new coding system doesn not use 8-bit.
7308 Supply TERMINAL arg to set-input-meta-mode.
7309
7310 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7311
7312 * wdired.el (wdired-old-marks): New variable.
7313 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
7314 (wdired-do-renames): Move point with renamed file and don't lose
7315 mark status (Bug#11795).
7316
7317 2012-10-16 Juri Linkov <juri@jurta.org>
7318
7319 * replace.el (query-replace-help): Mention multi-buffer replacement
7320 keys in the Help message. (Bug#12655)
7321
7322 2012-10-15 Chong Yidong <cyd@gnu.org>
7323
7324 * emacs-lisp/byte-run.el (defsubst): Doc fix.
7325
7326 2012-10-14 Eli Zaretskii <eliz@gnu.org>
7327
7328 * window.el (display-buffer): Doc fix.
7329
7330 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7331 Adjust the msft regexp to the output of Studio 2010, and move msft
7332 before edg-1. See the discussion on emacs-devel,
7333 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
7334 for the details.
7335
7336 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7337
7338 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
7339 (oset): Move uses of object-class-fast macro after its definition.
7340
7341 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
7342
7343 2012-10-13 Chong Yidong <cyd@gnu.org>
7344
7345 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
7346 enabled, re-enable it (Bug#11963).
7347
7348 2012-10-13 Martin Rudalics <rudalics@gmx.at>
7349
7350 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
7351 non-nil, restore window configuration (Bug#12623).
7352
7353 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7354
7355 * help-fns.el (describe-variable, describe-function-1):
7356 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
7357
7358 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
7359
7360 2012-10-12 Glenn Morris <rgm@gnu.org>
7361
7362 * mail/rmailsum.el (rmail-header-summary):
7363 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
7364
7365 2012-10-12 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7366
7367 * progmodes/python.el (python-mode-map):
7368 Replace subtitute-key-definition with proper command remapping.
7369 (python-nav--up-list): Fix behavior for blocks on the same level.
7370
7371 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7372
7373 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
7374
7375 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
7376 changes to the format of load-history.
7377
7378 * international/mule-cmds.el (read-char-by-name): Move let-binding of
7379 completion-ignore-case in case that var is buffer-local (bug#12615).
7380
7381 2012-10-11 Kenichi Handa <handa@gnu.org>
7382
7383 * international/eucjp-ms.el: Re-generated.
7384
7385 2012-10-10 Kenichi Handa <handa@gnu.org>
7386
7387 * select.el (xselect--encode-string): If a coding is specified for
7388 selection, and that is compatible with COMPOUND_TEXT, use it.
7389
7390 2012-10-10 Martin Rudalics <rudalics@gmx.at>
7391
7392 * window.el (switch-to-buffer-preserve-window-point): New option.
7393 (switch-to-buffer):
7394 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
7395
7396 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7397
7398 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
7399 Don't document nil as a useful value (bug#12583).
7400
7401 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
7402
7403 * net/tramp.el (tramp-debug-message):
7404 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
7405 (with-tramp-progress-reporter): Rename from
7406 `tramp-with-progress-reporter'.
7407 (with-tramp-file-property, with-tramp-connection-property):
7408 Move from tramp-cache.el, rename from `with-file-property' and
7409 `with-connection-property', respectively.
7410
7411 * net/tramp-cache.el: Remove `with-file-property' and
7412 `with-connection-property'.
7413
7414 * net/tramp.el:
7415 * net/tramp-gvfs.el:
7416 * net/tramp-sh.el:
7417 * net/tramp-smb.el: Adapt callees.
7418
7419 * net/trampver.el: Update release number.
7420
7421 2012-10-09 Glenn Morris <rgm@gnu.org>
7422
7423 * w32-fns.el (set-message-beep):
7424 * term/w32-win.el (set-message-beep): Update declarations.
7425
7426 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7427
7428 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
7429 (mode-line-widen, mode-line-input-method-map)
7430 (mode-line-coding-system-map, mode-line-remote)
7431 (mode-line-unbury-buffer, mode-line-bury-buffer)
7432 (mode-line-next-buffer, mode-line-previous-buffer):
7433 Replace save-selected-window+select-window => with-selected-window.
7434
7435 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
7436 * progmodes/cc-vars.el (bq-process): Remove, unused.
7437
7438 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
7439
7440 2012-10-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7441
7442 Implemented `backward-up-list'-like navigation.
7443 * progmodes/python.el (python-nav-up-list)
7444 (python-nav-backward-up-list): New functions.
7445 (python-mode-map): Define substitute key for backward-up-list to
7446 python-nav-backward-up-list.
7447
7448 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7449
7450 * progmodes/python.el (python-fill-paragraph): Rename from
7451 python-fill-paragraph-function. Fixed fill-paragraph for
7452 decorators (Bug#12605).
7453
7454 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7455
7456 * progmodes/python.el (python-shell-output-filter): Handle extra
7457 carriage return in OSX (Bug#12409).
7458
7459 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7460
7461 Fix shell handling of unbalanced quotes and parens in output.
7462 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
7463 (python-syntax-propertize-function): Use it.
7464 (python-shell-output-syntax-table): New var.
7465 (inferior-python-mode): Prevent unbalanced parens/quotes from
7466 previous output mess with current input context.
7467
7468 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
7469
7470 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
7471 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
7472
7473 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
7474
7475 * ffap.el (ffap-replace-file-component): Support Tramp file name
7476 syntax, not only ange-ftp's one.
7477
7478 2012-10-08 Glenn Morris <rgm@gnu.org>
7479
7480 * cus-start.el (message-log-max): Set :version.
7481
7482 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
7483
7484 2012-10-08 Martin Rudalics <rudalics@gmx.at>
7485
7486 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
7487 the minibuffer window (Bug#10851).
7488
7489 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7490
7491 Enhancements on forward-sexp movement.
7492 * progmodes/python.el (python-nav-beginning-of-statement)
7493 (python-nav-end-of-statement): Return point-marker.
7494 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
7495 (python-info-current-symbol)
7496 (python-info-statement-starts-block-p): Rename from
7497 python-info-beginning-of-block-p.
7498 (python-info-statement-ends-block-p): Rename from
7499 python-info-end-of-block-p.
7500 (python-info-beginning-of-statement-p)
7501 (python-info-end-of-statement-p)
7502 (python-info-beginning-of-block-p, python-info-end-of-block-p):
7503 New functions.
7504
7505 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7506
7507 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
7508 frame-selected-windows.
7509
7510 2012-10-08 Daniel Colascione <dancol@dancol.org>
7511
7512 * battery.el (battery-status-function): Check for
7513 w32-battery-status itself, not system-time windows-nt.
7514
7515 * frame.el: Require cl-lib.
7516 (display-format-alist): New variable mapping frame types to
7517 functions that initialize them.
7518 (window-system-for-display): New function: interprets
7519 display-format-alist.
7520 (make-frame-on-display): Remove existing display-selection logic
7521 and just forward to make-frame, which will now DTRT.
7522 (make-frame): Restructure to use window-system-for-display to
7523 figure out how to create a frame on a given display.
7524 (display-mouse-p): Look for frame-type w32, not a particular
7525 system-type.
7526
7527 * loadup.el: Load w32 lisp code when we have the w32 feature.
7528
7529 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
7530 system-type windows-nt.
7531
7532 * server.el (server-create-window-system-frame): Look for window
7533 type.
7534 (server-proces-filter): Only force a window system when windows-nt
7535 _and_ w32. Explain why.
7536
7537 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
7538 of window systems we configure for the mode.
7539
7540 * startup.el (command-line): Mark window system is initialized
7541 after we've done it.
7542
7543 * common-win.el (x-select-text): Look for w32, not windows-nt.
7544
7545 * ns-win.el: Require cl-lib. Add ourselves to
7546 display-format-alist.
7547 (ns-initialize-window-system): Assert we're not initialized twice.
7548
7549 * w32-win.el: Enable lexical binding; require cl-lib; add
7550 ourselves to display-format-alist.
7551 (w32-handle-dropped-file): Convert incoming dropped files from
7552 Windows paths to Cygwin ones before passing them on to the rest of
7553 Emacs.
7554 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
7555 (w32-initialize-window-system): Assert we're not initialized twice.
7556
7557 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
7558 (x-initialize-window-system): Assert we're not initialized twice.
7559
7560 * w32-common-fns.el: New File.
7561 (w32-version, w32-using-nt, w32-get-clipboard-data)
7562 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7563 (w32-charset-info-alist, x-last-selected, text)
7564 (x-get-selection-value, x-selection-value): Move here.
7565
7566 * w32-fns.el: Require w32-common-fns.
7567 (w32-version, w32-using-nt, w32-get-clipboard-data)
7568 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7569 (w32-charset-info-alist, x-last-selected, text)
7570 (x-get-selection-value, x-selection-value): Move to
7571 w32-common-fns.
7572
7573 * w32-vars.el:
7574 (w32-allow-system-shell, w32-system-shells): Define only in
7575 non-cygwin case.
7576
7577 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7578
7579 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
7580 (read-passwd): Remove a few more potential sources of leaks.
7581
7582 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7583
7584 * progmodes/python.el (inferior-python-mode)
7585 (python-shell-make-comint): Fix initialization of local
7586 variables copied from parent buffer.
7587
7588 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
7589
7590 * term/ns-win.el (ns-read-file-name): Update declaration to match
7591 nsfns.m.
7592 (ns-respond-to-change-font): Change fontsize separately so we are sure
7593 it is set when font is acted upon.
7594
7595 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7596
7597 Enhancements to indentation.
7598 * progmodes/python.el (python-indent-context): Give priority to
7599 inside-string context. Make comments indentation markers.
7600 (python-indent-region): Do not mess with strings, unless it's the
7601 enclosing set of quotes.
7602
7603 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7604
7605 * window.el (internal--before-save-selected-window)
7606 (internal--after-save-selected-window): New functions extracted from
7607 save-selected-window. Make sure we return the `alist' we construct.
7608 (save-selected-window): Use them.
7609
7610 * textmodes/tex-mode.el (tex-recenter-output-buffer):
7611 Use with-selected-window.
7612
7613 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
7614 forms that define macros (bug#12593).
7615
7616 2012-10-07 Kenichi Handa <handa@gnu.org>
7617
7618 * international/mule-conf.el (compound-text-with-extensions):
7619 Add :mime-charset property as x-ctext.
7620
7621 2012-10-07 Stefan Merten <smerten@oekonux.de>
7622
7623 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7624 (rst-indent-literal-normal, rst-indent-literal-minimized)
7625 (rst-indent-comment): Correct :version tag.
7626 (rst-official-cvs-rev): Correct version string.
7627
7628 2012-10-07 Glenn Morris <rgm@gnu.org>
7629
7630 * mail/rmailmm.el (rmail-mime-process-multipart):
7631 Do not confuse a multipart message with an epilogue
7632 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
7633
7634 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7635
7636 Fix shell output retrieval and comint-prompt-regexp init.
7637 * progmodes/python.el (inferior-python-mode):
7638 (python-shell-make-comint): Fix initialization of
7639 comint-prompt-regexp from copied file local variables.
7640 (python-shell-fetched-lines): Remove var.
7641 (python-shell-output-filter-in-progress): Rename from
7642 python-shell-fetch-lines-in-progress.
7643 (python-shell-output-filter-buffer): Rename from
7644 python-shell-fetch-lines-string.
7645 (python-shell-fetch-lines-filter): Delete function.
7646 (python-shell-output-filter): New function.
7647 (python-shell-send-string-no-output): Use them.
7648
7649 2012-10-07 Glenn Morris <rgm@gnu.org>
7650
7651 * hi-lock.el (hi-lock-process-phrase):
7652 Try to make it less fragile. (Bug#7161)
7653
7654 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
7655
7656 2012-10-06 Glenn Morris <rgm@gnu.org>
7657
7658 * ehelp.el (electric-help-mode): Use help-mode rather than
7659 non-existent mode `help'.
7660 (electric-help-map): Use button-buffer-map. (Bug#10917)
7661
7662 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
7663 (reftex-create-bibtex-footer): Fix custom types.
7664
7665 * progmodes/sh-script.el (sh-indent-after-continuation):
7666 Add explicit :group.
7667
7668 * textmodes/rst.el (rst-preferred-decorations)
7669 (rst-shift-basic-offset): Clarify obsolescence versions.
7670
7671 * profiler.el (profiler): Add missing group :version tag.
7672 * avoid.el (mouse-avoidance-banish-position):
7673 * proced.el (proced-renice-command):
7674 * calc/calc.el (calc-ensure-consistent-units):
7675 * calendar/icalendar.el (icalendar-import-format-uid):
7676 * net/tramp.el (tramp-save-ad-hoc-proxies):
7677 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7678 * progmodes/flymake.el (flymake-error-bitmap)
7679 (flymake-warning-bitmap, flymake-fringe-indicator-position):
7680 * progmodes/sh-script.el (sh-indent-after-continuation):
7681 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
7682 (verilog-before-save-font-hook, verilog-after-save-font-hook):
7683 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
7684 (vhdl-array-index-record-field-in-sensitivity-list)
7685 (vhdl-indent-comment-like-next-code-line):
7686 * textmodes/reftex-vars.el (reftex-ref-style-alist)
7687 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
7688 (reftex-cite-key-separator, reftex-create-bibtex-header)
7689 (reftex-create-bibtex-footer):
7690 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7691 (rst-indent-literal-normal, rst-indent-literal-minimized)
7692 (rst-indent-comment): Add missing custom :version tags.
7693
7694 * calendar/timeclock.el (timeclock-modeline-display):
7695 Add missing obsolete alias for renamed user option.
7696
7697 * strokes.el (strokes-modeline-string):
7698 * emulation/crisp.el (crisp-mode-modeline-string):
7699 * eshell/esh-mode.el (eshell-status-in-modeline):
7700 Aliases to defcustoms must come before the defcustom.
7701
7702 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
7703 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7704 (cal-tex-cursor-week-monday): Doc fixes.
7705 (cal-tex-cursor-week2-summary): Doc fix.
7706 Rename from cal-tex-cursor-week-at-a-glance.
7707
7708 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
7709 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
7710
7711 * calendar/calendar.el (calendar-mode-map):
7712 Add cal-tex-cursor-week2-summary.
7713
7714 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
7715
7716 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
7717
7718 * subr.el (read-passwd-map): New var.
7719 (read-passwd): Use `read-string' again.
7720 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
7721
7722 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
7723
7724 * register.el (append-to-register, prepend-to-register):
7725 Deactivate mark, as does `copy-to-register' (bug#12389).
7726
7727 2012-10-06 Chong Yidong <cyd@gnu.org>
7728
7729 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
7730
7731 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
7732
7733 * international/characters.el: Fix simple mistake ((car chars) ->
7734 elt), delete duplicated code.
7735
7736 2012-10-06 Glenn Morris <rgm@gnu.org>
7737
7738 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
7739
7740 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
7741
7742 * color.el (color-hsl-to-rgb): Fix incorrect results for
7743 small and large hue values. (Bug#12559)
7744
7745 2012-10-05 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7746
7747 Enhancements to docstring formatting when filling paragraphs.
7748 * progmodes/python.el (python-fill-docstring-style): Rename from
7749 python-fill-string-style. Added new style.
7750 (python-fill-string): Use new style. Better checks for
7751 docstrings.
7752
7753 2012-10-05 Glenn Morris <rgm@gnu.org>
7754
7755 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
7756
7757 * color.el (color-name-to-rgb, color-rgb-to-hex)
7758 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
7759 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
7760 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7761 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
7762
7763 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
7764
7765 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
7766
7767 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
7768 to get the correct size across symlinks.
7769
7770 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
7771
7772 2012-10-04 Juri Linkov <juri@jurta.org>
7773
7774 * replace.el (query-replace-interactive): Declare obsolete.
7775 (query-replace-read-from): Add the last incremental search string
7776 to the list of default values accessible via M-n.
7777 (map-query-replace-regexp): Use `read-regexp'.
7778 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7779 (map-query-replace-regexp, replace-string, replace-regexp):
7780 Fix docstrings to replace mentions of `query-replace-interactive'
7781 with alternatives. (Bug#12526)
7782
7783 2012-10-04 Juri Linkov <juri@jurta.org>
7784
7785 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
7786 (dired-pop-to-buffer): Declare obsolete.
7787 (dired-mark-pop-up): Doc fix.
7788
7789 2012-10-04 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7790
7791 Allow user to set docstring style for fill-paragraph.
7792 * progmodes/python.el
7793 (python-fill-comment-function, python-fill-string-function)
7794 (python-fill-decorator-function, python-fill-paren-function):
7795 Remove :safe for defcustoms.
7796 (python-fill-string-style): New defcustom
7797 (python-fill-paragraph-function): Enhance context detection.
7798 (python-fill-string): Honor python-fill-string-style settings.
7799
7800 2012-10-04 Martin Rudalics <rudalics@gmx.at>
7801
7802 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
7803 after setting its buffer (Bug#10805).
7804
7805 2012-10-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7806
7807 Fix cornercase for string syntax.
7808 * progmodes/python.el (python-syntax-propertize-function):
7809 Simplify and enhance the regexp for unescaped quotes. Now it also
7810 matches quotes in weird situations like the single quote in
7811 "something\"'".
7812 (python-syntax-stringify): Simplify num-quotes detecting code.
7813
7814 2012-10-03 Glenn Morris <rgm@gnu.org>
7815
7816 * help-macro.el (three-step-help):
7817 Revert 2012-09-29 change. (Bug#12567)
7818
7819 2012-10-03 Martin Rudalics <rudalics@gmx.at>
7820
7821 * menu-bar.el (kill-this-buffer): Don't do anything when
7822 `menu-frame' is not alive or visible (Bug#8184).
7823
7824 * emacs-lisp/debug.el (debug): When quitting the debugger window
7825 restore current buffer (Bug#12502).
7826
7827 2012-10-02 Chong Yidong <cyd@gnu.org>
7828
7829 * progmodes/hideif.el (hif-lookup, hif-defined):
7830 Handle semantic-c-takeover-hideif.
7831
7832 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
7833
7834 Change sampling interval units from ms to ns.
7835 * profiler.el (profiler-sampling-interval): Change units
7836 from ms to ns, multiplying the default by 1000000 so that
7837 it remains 1 ms.
7838 (profiler-report-cpu-line-format): Give enough room for
7839 the maximum counters on 64-bit hosts.
7840 (profiler-report-render-calltree-1): Call them "CPU samples",
7841 not "Time (ms)", since they are not milliseconds now (and
7842 never really were).
7843
7844 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7845
7846 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
7847 Fix querying BBDB for entries without a last name (Bug#11580).
7848
7849 2012-10-02 Chong Yidong <cyd@gnu.org>
7850
7851 * emacs-lisp/eieio.el: Restore Version header.
7852
7853 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7854
7855 * vc/diff-mode.el (diff--auto-refine-data): New var.
7856 (diff-hunk): Use it to delay refinement.
7857 (diff-mode): Remove overlays when we turn off font-lock.
7858
7859 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
7860 (table-initialize-table-fixed-width-mode)
7861 (table-set-table-fixed-width-mode): Remove functions.
7862 (table-command-list): Move initialization into declaration.
7863 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
7864 (table-with-cache-buffer): Use `declare'.
7865 (table-span-cell): Simplify via CSE.
7866 (table-fixed-width-mode): Use define-minor-mode.
7867 (table-call-interactively, table-funcall, table-apply): Remove.
7868 (table-function): New function, to replace them.
7869
7870 * bookmark.el (bookmark-search-pattern): Remove var.
7871 (bookmark-read-search-input): Remove function.
7872 (bookmark-bmenu-search): Reimplement using a minibuffer.
7873
7874 * faces.el (modeline): Remove obsolete face name.
7875
7876 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
7877 and give a non-nil default value.
7878 (add-change-log-entry): Simplify accordingly.
7879
7880 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
7881
7882 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
7883 (vc-git-log-edit-toggle-amend): New function.
7884 (vc-git-log-edit-toggle-signoff): New function.
7885 (vc-git-log-edit-mode): New major mode.
7886 (vc-git-log-edit-mode-map): Keymap for it.
7887 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
7888
7889 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
7890 header names.
7891 (log-edit-toggle-header): New function.
7892 (log-edit-extract-headers): Accept function values in HEADERS alist.
7893
7894 2012-10-01 David Engster <deng@randomsample.de>
7895
7896 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
7897 from symbol property and change message to be more consistent with
7898 Emacs proper.
7899 (eieio-describe-generic): Add filename for each implementation.
7900 Fix indices for generic and normal methods.
7901 (eieio-method-def, eieio-class-def): New buttons.
7902 (eieio-help-find-method-definition)
7903 (eieio-help-find-class-definition): New functions.
7904 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
7905 class, constructor and method definitions.
7906
7907 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
7908 information in symbol property.
7909 (scoped-class): Remove.
7910 (eieio-slot-name-index, call-next-method): Check if it is bound.
7911
7912 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
7913
7914 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
7915 (eieio-custom-mode): New major mode.
7916 (eieio-customize-object): Use it.
7917
7918 2012-10-01 Eric Ludlam <zappo@gnu.org>
7919
7920 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
7921 specifying the expected class, and whether subclassing is allowed.
7922 (eieio-persistent-convert-list-to-object):
7923 (eieio-persistent-validate/fix-slot-value)
7924 (eieio-persistent-slot-type-is-class-p): New functions.
7925 (eieio-named::slot-missing): Doc fix.
7926
7927 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
7928 Stop using unused publd variable.
7929
7930 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7931 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
7932 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
7933 (eieio-speedbar-handle-click): Do not specify a class for the
7934 method. Fixes method invocation order problems with EDE.
7935
7936 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7937
7938 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
7939 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
7940
7941 2012-10-01 Karl Fogel <kfogel@red-bean.com>
7942
7943 * bookmark.el (bookmark-version-control): Give tags in the
7944 :type choices (Bug#12309), and improve doc string.
7945 (bookmark-write-file): Bind `print-circle' to `t' to allow
7946 circular custom bookmark types. (Bug#12503)
7947
7948 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
7949
7950 Revert the FOLLOW-SYMLINKS change for file-attributes.
7951 * files.el (remote-file-name-inhibit-cache, after-find-file):
7952 * time.el (display-time-file-nonempty-p): Undo last change.
7953
7954 * profiler.el (profiler-sampling-interval): Change default back to 1.
7955 See Stefan Monnier in
7956 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
7957
7958 2012-10-01 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7959
7960 Shell output catching a la gud-gdb.
7961 * progmodes/python.el (python-shell-fetch-lines-in-progress)
7962 (python-shell-fetch-lines-string, python-shell-fetched-lines):
7963 New Vars.
7964 (python-shell-fetch-lines-filter): New function.
7965 (python-shell-send-string-no-output): Use them.
7966
7967 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
7968
7969 * profiler.el (profiler-sampling-interval): Rename from
7970 profiler-sample-interval.
7971 (profiler-sampling-interval): Default to 10.
7972 (profiler-find-profile): New command (was profiler-find-log).
7973 (profiler-find-profile-other-window): New command.
7974 (profiler-find-profile-other-frame): New command.
7975 (profiler-profile): Introduce API-level data structure.
7976
7977 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
7978
7979 file-attributes has a new optional arg FOLLOW-SYMLINKS.
7980 * files.el (remote-file-name-inhibit-cache):
7981 * time.el (display-time-file-nonempty-p): Use it.
7982 * files.el (after-find-file): Don't chase links before calling
7983 file-exists-p, as file-exists-p already does the right thing.
7984
7985 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
7986
7987 Merge from standalone RefTeX repository.
7988
7989 The following ChangeLog entries are shortened versions of the
7990 original ones with file paths adapted. A not so strongly edited
7991 version of the original ChangeLog can be found in the commit log.
7992
7993 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
7994 (reftex-arg-cite): Use `reftex-cite-key-separator'.
7995 Correctly handle new value type returned by `reftex-citation'.
7996
7997 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
7998 that entries with whitespace at various places are found.
7999 Doc fix. Include entries that are cross-referenced from cited entries.
8000 Include @String definitions in the resulting bib file. Add header
8001 and footer defined in `reftex-create-bibtex-header' and
8002 `reftex-create-bibtex-footer'.
8003 (reftex-do-citation): Make it possible again to insert
8004 non-existent entries. Save match data when asking for optional
8005 arguments. Return all keys, not just the first one.
8006 (reftex-all-used-citation-keys): Fix regexp to correctly extract
8007 all citations in the same line.
8008 (reftex-parse-bibtex-entry): Accept additional optional argument
8009 `raw' and keep quotes or braces if it is non-nil. Match fields
8010 containing hyphens besides word constituents.
8011 (reftex-get-string-refs): New function.
8012 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
8013 and ask if it should be reread in case it did.
8014 (reftex-pop-to-bibtex-entry)
8015 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
8016 entries with spaces or tabs in front of arguments.
8017 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8018 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
8019 Match entries containing numbers and symbol constituents.
8020 (reftex-do-citation, reftex-figure-out-cite-format):
8021 Use `reftex-cite-key-separator'.
8022
8023 * textmodes/reftex-dcr.el: Move provide statement to end of file.
8024 (reftex-mouse-view-crossref): Explain why point is set.
8025
8026 * textmodes/reftex-global.el: Whitespace changes.
8027
8028 * textmodes/reftex-index.el: Move provide statement to end of
8029 file.
8030 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
8031 (reftex-index-visit-phrases-buffer): Set marker when visiting
8032 buffer. This allows for returning from the phrases file to the
8033 file one was just editing instead of the file where the last
8034 phrases was added from.
8035 (reftex-index-phrases-syntax-table): New variable. Give ?\"
8036 punctuation syntax as it usually is not used as string quote in
8037 TeX-related modes and may occur unmatched. The change also
8038 prevents fontification of quoted content.
8039 (reftex-index-phrases-mode): Use it.
8040
8041 * textmodes/reftex-parse.el (reftex-parse-from-file):
8042 Move backward one char if a `\' was matched after a section macro.
8043 (reftex-parse-from-file): Use beginning of match instead of end as
8044 bound.
8045
8046 * textmodes/reftex-ref.el: Adapt creation of
8047 `reftex-<package>-<macro>' functions to new structure of
8048 `reftex-ref-style-alist'.
8049 (reftex-reference): Use `reftex-ref-style-list' function.
8050 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
8051 reference macro if `reftex-ref-macro-prompt' is non-nil.
8052 (reftex-reference): Pass refstyle to `reftex-format-special'.
8053 Determine reference macro by looking at
8054 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
8055 Use only one special format function.
8056 (reftex-varioref-vref, reftex-fancyref-fref)
8057 (reftex-fancyref-Fref): Remove definitions. The functions are now
8058 generated from `reftex-ref-style-alist'.
8059 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
8060 Remove.
8061 (reftex-format-special): New function.
8062
8063 * textmodes/reftex-sel.el
8064 (reftex-select-cycle-ref-style-internal): Adapt to new structure
8065 of `reftex-ref-style-alist'. Remove code for testing macro type.
8066 (reftex-select-toggle-varioref)
8067 (reftex-select-toggle-fancyref): Remove.
8068 (reftex-select-cycle-ref-style-internal)
8069 (reftex-select-cycle-ref-style-forward)
8070 (reftex-select-cycle-ref-style-backward): New functions.
8071 (reftex-select-label-map): Use `v' and `V' for general cycling
8072 through reference styles. Add `p' for switching between number
8073 and page reference types.
8074
8075 * textmodes/reftex-toc.el (reftex-re-enlarge):
8076 Call `enlarge-window' only if there is something to do because in Emacs
8077 the horizontal version throws an error even if the parameter is 0.
8078
8079 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
8080 (reftex-plug-into-AUCTeX): Doc fix.
8081 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
8082 string. Adapt to new name.
8083 (reftex-ref-style-alist): Change structure so that it is not
8084 possible to use multiple different package names within a style.
8085 Remove the symbols for symbols for macro type distinction.
8086 Add characters for macro selection.
8087 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
8088 (reftex-create-bibtex-footer): New variables.
8089 (reftex-format-ref-function): Mention third argument of special
8090 format function.
8091 (reftex-ref-style-alist, reftex-ref-style-default-list):
8092 New variables.
8093 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
8094 to new implementation. Mark as obsolete. Add compatibility code
8095 for honoring the variable values in case they are set.
8096 (reftex-cite-format-builtin, reftex-bibliography-commands):
8097 Add support for ConTeXt.
8098 (reftex-format-ref-function, reftex-format-cite-function):
8099 Fix custom type.
8100 (reftex-cite-key-separator): New variable.
8101
8102 * textmodes/reftex.el (reftex-syntax-table-for-bib)
8103 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
8104 `reftex-syntax-table' because parens have to retain their paren
8105 syntax in order for parsing of BibTeX entries like @book(...) to
8106 work.
8107 (reftex-in-comment): Do not error out if `comment-start-skip' is
8108 not set. Deal correctly with escaped comment characters.
8109 (reftex-tie-multifile-symbols): Add doc string.
8110 Initialize `reftex-ref-style-list'.
8111 (reftex-untie-multifile-symbols): Add doc string.
8112 (reftex-add-index-macros): Doc fix.
8113 (reftex-ref-style-activate, reftex-ref-style-toggle)
8114 (reftex-ref-style-list): New functions.
8115 (reftex-mode-menu): Use them. Adapt to new structure of
8116 `reftex-ref-style-alist'.
8117 (reftex-select-with-char): Kill the RefTeX Select buffer when
8118 done.
8119 (reftex-remove-if): New function.
8120 (reftex-erase-all-selection-and-index-buffers)
8121 (reftex-mode-menu): Reference styles are now computed from
8122 `reftex-ref-style-alist'. Fix typo.
8123 (reftex-report-bug): New function.
8124 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
8125 algorithms with O(n log n). Introduce optional argument SORT (not
8126 yet used).
8127
8128 2012-09-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8129
8130 Enhancements for triple-quote string syntax.
8131 * progmodes/python.el (python-syntax-propertize-function):
8132 Match both quote cases in one regexp.
8133 (python-syntax-stringify): Handle matches properly.
8134
8135 2012-09-30 Juri Linkov <juri@jurta.org>
8136
8137 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
8138 to nil around the call to `insert' to prevent
8139 directory time modification by lock_file. (Bug#2295)
8140 * tar-mode.el (tar-summarize-buffer): Idem.
8141
8142 2012-09-30 Juri Linkov <juri@jurta.org>
8143
8144 * facemenu.el (list-colors-sort): Add option "Luminance".
8145 (list-colors-sort-key): Implement it.
8146
8147 * vc/diff-mode.el (diff-refine-removed):
8148 * vc/ediff-init.el (ediff-fine-diff-A):
8149 * vc/smerge-mode.el (smerge-refined-removed):
8150 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
8151
8152 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
8153
8154 * term/ns-win.el (x-file-dialog): New function.
8155
8156 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
8157
8158 * ido.el (ido-max-directory-size): Default to nil; the current
8159 default is small for POSIX systems, and impractical on Windows 7
8160 now that lstat returns directory sizes for NTFS.
8161
8162 2012-09-30 Martin Rudalics <rudalics@gmx.at>
8163
8164 In buffer display functions handle window-height/window-width
8165 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
8166 * window.el (window--display-buffer): New argument ALIST.
8167 Obey window-height and window-width alist entries.
8168 (window--try-to-split-window): New argument ALIST.
8169 Bind window-combination-limit to t when the window's size shall be
8170 changed and window-combination-limit equals `window-size'.
8171 (display-buffer-in-atom-window)
8172 (display-buffer-in-major-side-window)
8173 (display-buffer-in-side-window, display-buffer-same-window)
8174 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8175 (display-buffer-pop-up-window, display-buffer-below-selected)
8176 (display-buffer-at-bottom, display-buffer-in-previous-window)
8177 (display-buffer-use-some-window): Adjust all callers of
8178 window--display-buffer and window--try-to-split-window.
8179 (fit-frame-to-buffer): New option.
8180 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
8181 is non-nil.
8182 (display-buffer-in-major-side-window): Evaluate window-height /
8183 window-width alist entries.
8184
8185 * help.el (temp-buffer-resize-frames)
8186 (temp-buffer-resize-regexps): Remove options.
8187 (temp-buffer-resize-mode): Adjust doc-string.
8188 (resize-temp-buffer-window): Don't consult
8189 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
8190 temp-buffer-resize-frames.
8191
8192 * dired.el (dired-mark-pop-up):
8193 Call display-buffer-below-selected with a fit-window-to-buffer alist
8194 entry.
8195
8196 2012-09-30 Chong Yidong <cyd@gnu.org>
8197
8198 * server.el (server-host): Document the security implications.
8199 (server-auth-key): Doc fix.
8200
8201 * startup.el (initial-buffer-choice): Doc fix.
8202
8203 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
8204
8205 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
8206 restriction change.
8207
8208 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
8209
8210 * help-fns.el (help-fns--obsolete): Fix last change.
8211
8212 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
8213
8214 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
8215 (minor-mode-map-alist): Remove redundant code.
8216
8217 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
8218 visited in a buffer.
8219 (cvs-insert-visited-file): New function.
8220 (find-file-hook): Use it.
8221
8222 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
8223
8224 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
8225 chose face.
8226 (log-edit-empty-buffer-p): Don't require a space after a header.
8227
8228 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
8229
8230 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
8231
8232 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
8233 a proper minor-mode.
8234
8235 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
8236
8237 2012-09-29 Glenn Morris <rgm@gnu.org>
8238
8239 * winner.el (winner-mode): Remove variable (let define-minor-mode
8240 handle it).
8241 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
8242 Doc fixes.
8243 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
8244 (winner-mode): Use define-minor-mode.
8245
8246 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
8247 the full definition in loaddefs, rather than duplicating it.
8248
8249 * help-macro.el (three-step-help): No need to autoload defcustom.
8250
8251 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
8252 (inferior-lisp-program, inferior-lisp-load-command)
8253 (inferior-lisp-prompt, inferior-lisp-mode-hook):
8254 No need to autoload defcustoms.
8255
8256 * hippie-exp.el (hippie-expand-try-functions-list)
8257 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
8258 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
8259 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
8260 (hippie-expand-only-buffers): No need to autoload defcustoms.
8261 * progmodes/vhdl-mode.el (vhdl-line-expand):
8262 Explicitly load hippie-exp, so it does not get autoloaded
8263 while hippie-expand-try-functions-list is let-bound.
8264
8265 2012-09-28 Glenn Morris <rgm@gnu.org>
8266
8267 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
8268
8269 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
8270 Only "cl.el" counts as cl these days.
8271
8272 2012-09-28 Juri Linkov <juri@jurta.org>
8273
8274 Display archive errors in the echo area instead of inserting
8275 to the file buffer.
8276
8277 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
8278 to STDERR-TEST that can be a regexp matching a successful output.
8279 Create a temporary file and redirect stderr to it. Search for
8280 STDERR-TEST in the stderr output and display it in the echo area
8281 if no match is found.
8282 (archive-extract-by-file): New function like
8283 `archive-extract-by-stdout' but extracting archives to files
8284 and looking for successful matches in stdout. Function body is
8285 mostly copied from `archive-rar-extract'.
8286 (archive-rar-extract): Use `archive-extract-by-file'.
8287 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
8288
8289 2012-09-28 Leo Liu <sdl.web@gmail.com>
8290
8291 * pcomplete.el (pcomplete-show-completions):
8292 Use minibuffer-message to make pcomplete usable in minibuffer.
8293
8294 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
8295
8296 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8297
8298 * type-break.el: Use lexical-binding.
8299 (type-break-mode): Use define-minor-mode.
8300
8301 * emacs-lisp/pcase.el (pcase--mark-used): New.
8302 (pcase--u1): Use it (bug#12512).
8303
8304 * custom.el (load-theme): Set buffer-file-name so the load is recorded
8305 in load-history with the right file name.
8306
8307 2012-09-28 Tassilo Horn <tsdh@gnu.org>
8308
8309 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
8310 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
8311 (doc-view-get-bounding-box): Make bounding box slicing work for
8312 ODF and DVI documents.
8313
8314 2012-09-28 Glenn Morris <rgm@gnu.org>
8315
8316 * type-break.el (type-break-mode, type-break-interval)
8317 (type-break-good-rest-interval, type-break-keystroke-threshold):
8318 No need to autoload.
8319 (type-break-good-rest-interval, type-break-keystroke-threshold):
8320 Add :set-after.
8321
8322 2012-09-28 Chong Yidong <cyd@gnu.org>
8323
8324 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
8325 Add :version tag.
8326
8327 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8328
8329 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
8330
8331 2012-09-27 Glenn Morris <rgm@gnu.org>
8332
8333 * faces.el (x-display-name): Declare (for without-x builds).
8334
8335 * linum.el (linum-format): Don't autoload it. Improve :type.
8336
8337 * progmodes/tcl.el: Don't require outline when compiling.
8338 (outline-regexp, outline-level): Declare.
8339 * textmodes/sgml-mode.el: Don't require outline when compiling.
8340 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
8341
8342 * term.el (term-ansi-reset):
8343 Try setting term-ansi-face-already-done to nil. (Bug#11785)
8344
8345 * vc/vc.el (vc-next-action): Only gripe about committing read-only
8346 files for RCS and SCCS. (Bug#9781)
8347
8348 2012-09-27 Chong Yidong <cyd@gnu.org>
8349
8350 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
8351 change; value should be t.
8352
8353 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8354
8355 * image-mode.el: Use lexical-binding.
8356 (image-mode-winprops): Use t to stand for the window of
8357 a buffer that's not displayed.
8358 * doc-view.el (doc-view-new-window-function): Handle the new
8359 t in winprops.
8360 (doc-view-enlarge): Make it a real nop if the size is not changed.
8361 (doc-view-display): Handle the case where the buffer is not (yet?)
8362 displayed in any window.
8363 (doc-view-saved-settings): New var.
8364 (doc-view-mode): Use it.
8365 (doc-view-fallback-mode): Set it.
8366
8367 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
8368 Set lexical-binding.
8369 (minibuffer-eldef-shorten-default): New var.
8370 (minibuffer-default-in-prompt-regexps): Use it for new default.
8371 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
8372
8373 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8374
8375 * international/uni-bidi.el:
8376 * international/uni-category.el:
8377 * international/uni-name.el:
8378 * international/uni-numeric.el: Regenerate.
8379
8380 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
8381 Stefan Monnier <monnier@iro.umontreal.ca>
8382
8383 * profiler.el: New file.
8384
8385 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
8386
8387 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
8388 (testcover-reinstrument): Simplify with CSE.
8389
8390 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8391
8392 * window.el (temp-buffer-window-setup): Fix typo in docstring.
8393
8394 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
8395
8396 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
8397 (verilog-auto-input, verilog-auto-insert-lisp)
8398 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
8399 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
8400 (verilog-auto-unused, verilog-auto-wire)
8401 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
8402 newline. Reported by Andrew Jones.
8403 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
8404 Reported by Brad Dobbie.
8405 (verilog-batch-delete-trailing-whitespace):
8406 Create verilog-batch-delete-trailing-whitespace.
8407 Reported by Brad Dobbie.
8408 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
8409 parameters from another module. Reported by Dan Katz.
8410 (verilog-auto, verilog-auto-assign-modport)
8411 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
8412 AUTOINOUTMODPORT for UVM interface module shell generation.
8413 Reported by Brad Dobbie.
8414 (verilog-auto-inst-interfaced-ports): Make default nil, as more
8415 standard behavior.
8416 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
8417 Reported by Matt Martin.
8418
8419 2012-09-25 Martin Rudalics <rudalics@gmx.at>
8420
8421 * window.el (window--resize-child-windows): When resizing child
8422 windows proportionally, process them in reverse order to
8423 preserve the "when splitting a window the new one gets the odd
8424 line" behavior.
8425 (window--resize-root-window-vertically): When resizing the
8426 minibuffer window try to affect only windows at the bottom of the
8427 frame. (Bug#12419)
8428
8429 2012-09-25 Chong Yidong <cyd@gnu.org>
8430
8431 * subr.el (declare): Doc fix.
8432
8433 * help-fns.el (help-fns--obsolete): Handle macros properly.
8434
8435 2012-09-25 Chong Yidong <cyd@gnu.org>
8436
8437 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
8438 this function obsolete.
8439
8440 * calendar/cal-x.el (calendar-two-frame-setup)
8441 (calendar-only-one-frame-setup, calendar-one-frame-setup):
8442 * calendar/calendar.el (american-calendar, european-calendar)
8443 (calendar-for-loop):
8444 * comint.el (comint-dynamic-simple-complete)
8445 (comint-dynamic-complete-as-filename, comint-unquote-filename):
8446 * desktop.el (desktop-load-default):
8447 * dired-x.el (dired-omit-here-always)
8448 (dired-hack-local-variables, dired-default-directory):
8449 * emacs-lisp/derived.el (derived-mode-class):
8450 * emacs-lisp/timer.el (timer-set-time-with-usecs):
8451 * emacs-lock.el (toggle-emacs-lock):
8452 * epa.el (epa-display-verify-result):
8453 * epg.el (epg-sign-keys, epg-start-sign-keys)
8454 (epg-passphrase-callback-function):
8455 * eshell/esh-util.el (eshell-for):
8456 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
8457 (eshell-add-to-window-buffer-names):
8458 * files.el (locate-file-completion):
8459 * imenu.el (imenu-example--create-c-index)
8460 (imenu-example--create-lisp-index)
8461 (imenu-example--lisp-extract-index-name)
8462 (imenu-example--name-and-position):
8463 * international/mule-cmds.el (princ-list):
8464 * international/mule-diag.el (decode-codepage-char):
8465 * international/mule-util.el (detect-coding-with-priority):
8466 * iswitchb.el (iswitchb-read-buffer):
8467 * mail/mailalias.el (mail-complete):
8468 * mail/sendmail.el (mail-sent-via):
8469 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
8470 (mouse-major-mode-menu):
8471 * password-cache.el (password-read-and-add):
8472 * pcomplete.el (pcomplete-parse-comint-arguments):
8473 * progmodes/sh-script.el (sh-maybe-here-document):
8474 * replace.el (query-replace-regexp-eval):
8475 * savehist.el (savehist-load):
8476 * simple.el (choose-completion-delete-max-match):
8477 * term.el (term-dynamic-simple-complete):
8478 * vc/ediff-init.el (ediff-check-version):
8479 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
8480 * vc/vc.el (vc-diff-switches-list):
8481 * view.el (view-return-to-alist-update): Likewise.
8482
8483 * subr.el (eval-next-after-load, makehash, insert-string)
8484 (assoc-ignore-representation, assoc-ignore-case): Use declare to
8485 mark obsolete.
8486 (mode-line-inverse-video): Variable deleted.
8487
8488 * international/mule-util.el (string-to-sequence): Remove.
8489
8490 * calendar/calendar.el (calendar-version):
8491 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
8492 (icalendar-convert-diary-to-ical):
8493 * cus-edit.el (custom-mode):
8494 * ansi-color.el (ansi-color-unfontify-region):
8495 * international/latin1-disp.el (latin1-char-displayable-p):
8496 * progmodes/cwarn.el (turn-on-cwarn-mode):
8497 * progmodes/which-func.el (which-func-update-1):
8498 Use define-obsolete-function-alias.
8499
8500 * net/newst-backend.el (newsticker-cache-filename):
8501 * net/newst-treeview.el (newsticker-groups-filename):
8502 Fix incorrect obsolescence declaration.
8503
8504 * allout.el (allout-passphrase-hint-string): Likewise.
8505 (allout-init): Use a declare form to mark obsolete.
8506
8507 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
8508 this applies to functions.
8509
8510 * iswitchb.el (iswitchb-read-buffer): Move code of
8511 iswitchb-define-mode-map here, and delete that obsolete function.
8512
8513 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
8514 font-lock-reference-face.
8515
8516 2012-09-25 Glenn Morris <rgm@gnu.org>
8517
8518 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
8519 Doc fixes.
8520
8521 * eshell/em-term.el (eshell-term-name):
8522 Default to term-term-name. (Bug#12485)
8523
8524 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8525
8526 * progmodes/python.el (python-shell-send-buffer): Better handling
8527 of "if __name__ == '__main__':" conditionals when sending the buffer.
8528
8529 2012-09-24 Glenn Morris <rgm@gnu.org>
8530
8531 * eshell/esh-cmd.el (eshell-find-alias-function):
8532 Tighten up file-name regexp. (Bug#12499)
8533
8534 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8535
8536 Enhancements for triple-quote string syntax.
8537 * progmodes/python.el (python-quote-syntax): Remove.
8538 (python-syntax-propertize-function): New value.
8539 (python-syntax-count-quotes, python-syntax-stringify):
8540 New functions.
8541
8542 2012-09-24 Chong Yidong <cyd@gnu.org>
8543
8544 * mail/supercite.el (sc-version): Remove obsolete function.
8545 (sc-describe): Don't mark as obsolete, since it is bound.
8546 (sc-submit-bug-report): Remove.
8547
8548 * vc/log-edit.el (cvs-changelog-full-paragraphs)
8549 (cvs-commit-buffer-require-final-newline): Remove.
8550 (log-edit-require-final-newline)
8551 (log-edit-changelog-full-paragraphs): Default to t.
8552
8553 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
8554 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
8555 * vc/vc.el (vc-checkout-carefully): Likewise.
8556
8557 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
8558 (emerge-version): Remove.
8559
8560 * progmodes/compile.el (compile-internal): Remove.
8561 (compilation-parse-errors-function): Fix typo.
8562
8563 * international/mule.el (set-char-table-default): Remove.
8564 (set-coding-priority, make-coding-system, generic-char-p)
8565 (charset-list, charset-bytes, charset-id): Use declare to mark
8566 functions as obsolete.
8567
8568 * vc/pcvs-defs.el (cvs-buffer-name-alist)
8569 (cvs-invert-ignore-marks): Remove references to obsolete vars.
8570 * vc/vc-hooks.el (vc-default-registered): Don't use
8571 vc-master-templates.
8572
8573 * font-lock.el (font-lock-reference-face):
8574 Use define-obsolete-variable-alias.
8575
8576 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
8577 * calendar/calendar.el (calendar-font-lock-keywords):
8578 * calendar/diary-lib.el (diary-font-lock-keywords)
8579 (diary-fancy-font-lock-keywords):
8580 * textmodes/reftex-sel.el (reftex-insert-docstruct):
8581 * textmodes/reftex-index.el (reftex-insert-index):
8582 * textmodes/reftex-cite.el (reftex-format-bib-entry):
8583 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8584 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
8585 * progmodes/prolog.el (prolog-font-lock-keywords):
8586 * progmodes/idlwave.el (idlwave-idl-keywords):
8587 * progmodes/ada-mode.el (ada-font-lock-keywords):
8588 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
8589
8590 2012-09-24 Glenn Morris <rgm@gnu.org>
8591
8592 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
8593
8594 2012-09-23 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8595
8596 * progmodes/python.el (python-indent-line): More consistent cursor
8597 movement behavior.
8598
8599 2012-09-23 Stefan Merten <smerten@oekonux.de>
8600
8601 * textmodes/rst.el: Fix compiler warning.
8602
8603 2012-09-23 Roland Winkler <winkler@gnu.org>
8604
8605 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
8606 Transcribe also LaTeX hyphenation.
8607 (bibtex-reformat): Bug fix. Do not quote twice the elements of
8608 bibtex-reformat-previous-options.
8609
8610 2012-09-23 Roland Winkler <winkler@gnu.org>
8611
8612 * proced.el (proced-renice-command): New variable.
8613 (proced-marked-processes): New function.
8614 (proced-with-processes-buffer): New macro.
8615 (proced-send-signal): Use them.
8616 (proced-renice): New command bound to r.
8617
8618 2012-09-23 Roland Winkler <winkler@gnu.org>
8619
8620 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
8621 ibuffer-saved-filter-groups has one element, shortcut the call of
8622 completing-read. (Bug#12331)
8623
8624 2012-09-23 Chong Yidong <cyd@gnu.org>
8625
8626 * bindings.el (mode-line-toggle-read-only):
8627 * bs.el (bs-toggle-readonly):
8628 * buff-menu.el (Buffer-menu-toggle-read-only):
8629 * dired.el (dired-toggle-read-only):
8630 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
8631
8632 2012-09-23 Chong Yidong <cyd@gnu.org>
8633
8634 * image.el (image-type-available-p): Adapt to init-image-library
8635 argument changes.
8636
8637 2012-09-22 Juri Linkov <juri@jurta.org>
8638
8639 * dired.el (dired-mode-map): Add [remap read-only-mode] for
8640 `dired-toggle-read-only'. (Bug#12462)
8641
8642 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8643
8644 * subr.el (temp-output-buffer-show): New function.
8645 (with-output-to-temp-buffer): Call temp-output-buffer-show
8646 instead of internal-temp-output-buffer-show.
8647
8648 2012-09-22 Chong Yidong <cyd@gnu.org>
8649
8650 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
8651 (Bug#12462).
8652
8653 * repeat.el (repeat): Doc fix (Bug#12348).
8654
8655 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
8656 (Bug#10909).
8657
8658 * simple.el (shell-command-on-region): Doc fix.
8659 (read-only-mode): Doc fix.
8660
8661 2012-09-22 Eli Zaretskii <eliz@gnu.org>
8662
8663 * emacs-lisp/timer.el (run-with-idle-timer)
8664 (timer-activate-when-idle): Warn against reinvoking an idle timer
8665 from within its own timer action. (Bug#12447)
8666
8667 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8668
8669 * cus-start.el (window-combination-limit): Add new optional
8670 values.
8671 * window.el (temp-buffer-window-show)
8672 (window--try-to-split-window): Handle new values of
8673 window-combination-limit (Bug#1806).
8674 (split-window): Test window-combination-limit for t instead of
8675 non-nil.
8676 (display-buffer-at-bottom): New buffer display action function.
8677 * help.el (temp-buffer-resize-regexps): New option.
8678 (temp-buffer-resize-mode): Rewrite doc-string.
8679 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
8680 Don't resize reused window. Suggested by Glenn Morris.
8681
8682 2012-09-22 Stefan Merten <smerten@oekonux.de>
8683
8684 * textmodes/rst.el: Revamp section title faces.
8685 (rst-official-version)
8686 (rst-package-emacs-version-alist): Sync with official version
8687 V1.4.0.
8688 (rst-faces-defaults, rst-set-level-default)
8689 (rst-level-face-max, rst-level-face-base-color)
8690 (rst-level-face-base-light, rst-level-face-format-light)
8691 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
8692 (rst-adornment-faces-alist): Match new setup.
8693 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
8694 (rst-level-5, rst-level-6): New faces.
8695
8696 2012-09-22 Chong Yidong <cyd@gnu.org>
8697
8698 * simple.el (undo): Handle indirect buffers (Bug#8207).
8699
8700 2012-09-21 Leo Liu <sdl.web@gmail.com>
8701
8702 IDO: Disable match re-ordering for buffer switching.
8703 * ido.el (ido-buffer-disable-smart-matches): New variable.
8704 (ido-set-matches-1): Use it. (Bug#2042)
8705
8706 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
8707
8708 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8709 Fix 2011-05-17 change. (Bug#12418)
8710
8711 2012-09-21 Leo Liu <sdl.web@gmail.com>
8712
8713 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
8714
8715 2012-09-21 Glenn Morris <rgm@gnu.org>
8716
8717 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
8718 Be more robust about locating simple.el.
8719
8720 2012-09-21 Glenn Morris <rgm@gnu.org>
8721
8722 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
8723
8724 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
8725
8726 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
8727
8728 2012-09-20 Juri Linkov <juri@jurta.org>
8729
8730 * replace.el (query-replace-read-from): Use `read-regexp' instead
8731 of `read-from-minibuffer' when `regexp-flag' is non-nil.
8732 (occur-read-primary-args): Use `read-regexp' instead of
8733 `read-string'.
8734 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
8735 `read-from-minibuffer'.
8736 * isearch.el (isearch-occur): Use `read-regexp' instead of
8737 `read-string'.
8738 * dired.el (dired-read-regexp): Use `read-regexp' instead of
8739 `read-from-minibuffer'.
8740 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
8741 of `read-string'. (Bug#7567)
8742
8743 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
8744 and allow accepting a list of strings prepended to a list of
8745 standard default values. Doc fix. (Bug#12321)
8746
8747 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
8748
8749 * replace.el (read-regexp): Don't add ": " when PROMPT already
8750 ends with a colon and space. (Bug#12321)
8751
8752 2012-09-20 Tassilo Horn <tsdh@gnu.org>
8753
8754 * doc-view.el (doc-view-display): Better fix for the cl-assertion
8755 error.
8756
8757 2012-09-20 Stefan Merten <smerten@oekonux.de>
8758
8759 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
8760 Fixes feature request bug#11711.
8761 (rst-mode): Create `imenu-create-index-function'.
8762 (rst-get-stripped-line): Delete after refactoring.
8763 (rst-section-tree, rst-section-tree-rec)
8764 (rst-section-tree-point): Refactor and document properly.
8765 (rst-imenu-find-adornments-for-position)
8766 (rst-imenu-convert-cell, rst-imenu-create-index):
8767 New function.
8768
8769 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8770
8771 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
8772 (macroexp--expand-all): Use it.
8773 (macroexp--funcall-and-return): Remove by folding it into its sole
8774 caller (macroexp--warn-and-return).
8775 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
8776 Use macroexp--obsolete-warning.
8777
8778 * calc/calc.el: Fix last change by removing the whole chunk, since it
8779 was only needed back when Calc was not bundled.
8780
8781 2012-09-20 Martin Rudalics <rudalics@gmx.at>
8782
8783 * emacs-lisp/debug.el (debug): Restore assignment to
8784 debugger-old-buffer removed on 2012-09-08.
8785
8786 2012-09-20 Juri Linkov <juri@jurta.org>
8787
8788 * dired-aux.el (dired-diff): Remove (require 'diff) since
8789 `diff-latest-backup-file' is now autoloaded.
8790
8791 2012-09-20 Chong Yidong <cyd@gnu.org>
8792
8793 * vc/diff.el (diff-latest-backup-file): Autoload.
8794
8795 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8796
8797 * calc/calc.el: Remove redundant autoload shape check.
8798 (sel-mode): Don't defvar.
8799 (calc-get-stack-element): Add `sel-mode' arg instead.
8800 (calc-top, calc-top-list): Pass it this additional argument.
8801 * calc/calc-store.el (calc-store-map):
8802 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
8803 (calc-map-equation, calc-outer-product, calc-inner-product):
8804 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
8805
8806 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
8807
8808 2012-09-19 Juri Linkov <juri@jurta.org>
8809
8810 * dired-aux.el (dired-diff): Add (require 'diff) because
8811 `diff-latest-backup-file' is not autoloaded.
8812 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
8813 of `dired-get-filename' to t to not report error when there is
8814 no default file on the current line.
8815
8816 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8817
8818 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
8819 macroexp--eval-if-compile.
8820 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
8821 (macroexp--expand-all): Use them (bug#12371).
8822
8823 * doc-view.el (doc-view-guess-paper-size)
8824 (doc-view-scale-bounding-box): Fix unbound `caddr'.
8825
8826 2012-09-19 Tassilo Horn <tsdh@gnu.org>
8827
8828 New feature: set optimal slice from BoundingBox information.
8829 * doc-view.el (doc-view-mode-map): Add keybinding.
8830 (doc-view-menu): Add menu entry.
8831 (doc-view-set-slice): Adapt docstring.
8832 (doc-view-get-bounding-box, doc-view-guess-paper-size)
8833 (doc-view-scale-bounding-box)
8834 (doc-view-set-slice-from-bounding-box): New functions.
8835 (doc-view-paper-sizes): New defvar.
8836
8837 2012-09-19 Glenn Morris <rgm@gnu.org>
8838
8839 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
8840 (byte-compile-log-warning): Autoload. (Bug#12371)
8841
8842 * calendar/calendar.el (calendar-american-month-header)
8843 (calendar-european-month-header, calendar-iso-month-header)
8844 (calendar-month-header): New options.
8845 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
8846 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
8847
8848 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
8849
8850 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
8851
8852 2012-09-18 Juri Linkov <juri@jurta.org>
8853
8854 * dired-aux.el (dired-diff): Restore original functionality of
8855 getting the default value, but keep new feature of using the
8856 latest existing backup file (`diff-latest-backup-file').
8857
8858 2012-09-18 Juri Linkov <juri@jurta.org>
8859
8860 * dired.el (dired-mark): If the region is active in Transient Mark
8861 mode, mark all files in the active region. Doc fix.
8862 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
8863 Doc fix. (Bug#10624)
8864
8865 2012-09-18 Juri Linkov <juri@jurta.org>
8866
8867 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
8868 attributes for M-n are pulled from the file at point.
8869 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
8870 Suggested by Drew Adams. (Bug#10624)
8871
8872 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
8873
8874 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
8875 whitespace after "end".
8876 (ruby-do-end-to-brace): Collapse block to one line if it fits
8877 within fill-column.
8878
8879 2012-09-18 Martin Rudalics <rudalics@gmx.at>
8880
8881 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
8882 value.
8883 (debug): Don't remove debugger window when debugger is expected
8884 to be back.
8885
8886 2012-09-18 Chong Yidong <cyd@gnu.org>
8887
8888 * custom.el (defface): Doc fix.
8889
8890 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
8891
8892 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
8893
8894 * progmodes/compile.el (compilation-start): Use compilation-always-kill
8895 to initialize query-on-exit; then test that instead (bug#12288).
8896
8897 2012-09-17 Stefan Merten <smerten@oekonux.de>
8898
8899 * textmodes/rst.el: Add support for `testcover'.
8900 (rst-defcustom-testcover, rst-testcover-add-compose)
8901 (rst-testcover-add-1value): New functions.
8902 (rst-portable-mark-active-p): Replace by `use-region-p'.
8903 (rst-update-section, rst-classify-adornment)
8904 (rst-find-title-line): Mark `1value' forms.
8905 (rst-classify-adornment): Remove superfluous form.
8906 (rst-update-section, rst-get-adornments-around)
8907 (rst-adornment-complete-p, rst-get-next-adornment)
8908 (rst-adjust, rst-promote-region)
8909 (rst-display-adornments-hierarchy, rst-straighten-adornments)
8910 (rst-find-pfx-in-region, rst-section-tree-rec)
8911 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
8912 (rst-toc-node, rst-toc, rst-forward-section)
8913 (rst-iterate-leftmost-paragraphs)
8914 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
8915 (rst-bullet-list-region)
8916 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
8917 (rst-compile-find-conf, rst-compile)
8918 (rst-repeat-last-character): Fix style.
8919
8920 2012-09-17 Chong Yidong <cyd@gnu.org>
8921
8922 * comint.el (comint--complete-file-name-data): Don't add a space
8923 if the status is `sole'; that adds a gratuitous space in the
8924 completion-cycling case (Bug#12092).
8925
8926 * pcomplete.el (pcomplete-completions-at-point): Likewise.
8927
8928 2012-09-17 Richard Stallman <rms@gnu.org>
8929
8930 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
8931 only in the mime-shown mode, not in raw mode.
8932 (rmail-mime): Toggle off mime by displaying the message without
8933 mime processing. (Bug#12305)
8934
8935 * mail/rmail.el (rmail-retry-failure):
8936 Turn off mime processing first. (Bug#12037)
8937
8938 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
8939
8940 2012-09-17 Chong Yidong <cyd@gnu.org>
8941
8942 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
8943 (shell-dynamic-complete-functions): Convert to defcustom.
8944 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
8945
8946 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
8947 * comint.el (comint-prompt-read-only):
8948 * custom.el (defcustom):
8949 * hi-lock.el (hi-lock-mode):
8950 * ibuffer.el (ibuffer-formats):
8951 * ielm.el (ielm-prompt-read-only):
8952 * novice.el (disable-command):
8953 * saveplace.el (toggle-save-place):
8954 * speedbar.el (speedbar-supported-extension-expressions):
8955 * startup.el (auto-save-list-file-prefix, init-file-user)
8956 (after-init-hook, inhibit-startup-echo-area-message):
8957 * strokes.el (strokes-help):
8958 * time-stamp.el (time-stamp):
8959 * calendar/calendar.el (calendar, diary-file):
8960 * calendar/diary-lib.el (diary-mail-entries, diary)
8961 (diary-list-entries-hook):
8962 * calendar/holidays.el (holidays, calendar-holidays):
8963 * calendar/lunar.el (lunar-phases):
8964 * calendar/solar.el (sunrise-sunset):
8965 * emulation/edt.el (edt-load-keys):
8966 * emulation/viper.el (viper-mode):
8967 * eshell/em-alias.el (eshell-command-aliases-list):
8968 * eshell/esh-util.el (eshell-convert-numeric-arguments):
8969 * international/ogonek.el (ogonek-information):
8970 * net/tramp-cmds.el (tramp-bug):
8971 * net/quickurl.el (quickurl-reread-hook-postfix):
8972 * play/decipher.el (decipher-font-lock-keywords):
8973 * progmodes/cc-styles.el (c-set-style):
8974 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
8975 * progmodes/inf-lisp.el (inferior-lisp-prompt):
8976 * progmodes/octave-mod.el (octave-mode):
8977 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
8978 * progmodes/verilog-mode.el (verilog-read-defines):
8979 * textmodes/two-column.el (2C-mode): Likewise.
8980
8981 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
8982
8983 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
8984 that holds many addresses.
8985
8986 2012-09-16 Chong Yidong <cyd@gnu.org>
8987
8988 * align.el (align-areas): Call the indication function with
8989 positions instead of markers for arguments (Bug#12343).
8990
8991 * files.el (parse-colon-path): Use split-string (Bug#12351).
8992
8993 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8994 (display-buffer-function): Mark as obsolete.
8995
8996 * progmodes/compile.el (compilation-parse-errors): Accept list
8997 values similar to font-lock-keywords (Bug#12136).
8998 Suggested by Oleksandr Manzyuk.
8999 (compilation-error-regexp-alist): Doc fix.
9000
9001 2012-09-15 Glenn Morris <rgm@gnu.org>
9002
9003 * version.el (emacs-bzr-version-bzr): New function.
9004 (emacs-bzr-get-version): Add optional EXTERNAL argument.
9005
9006 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
9007 checkouts, check the parent dirstate matches the branch.
9008 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
9009 empty string.
9010
9011 * version.el (emacs-bzr-version): Doc fix.
9012 (emacs-bzr-version-dirstate): New function.
9013 (emacs-bzr-get-version): For lightweight checkouts, if the parent
9014 is local try and check that it matches the branch. If not, just
9015 use dirstate information. (Bug#12441)
9016
9017 2012-09-14 Juri Linkov <juri@jurta.org>
9018
9019 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
9020 (Bug#12399)
9021
9022 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9023
9024 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
9025
9026 * emacs-lisp/edebug.el: Miscellaneous cleanup.
9027 Remove obsolete byte-compiler hack that tried to silence some warnings.
9028 (edebug-submit-bug-report): Remove.
9029 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
9030 Remove aliases, use the un-prefixed name instead.
9031 (edebug-pop-to-buffer): Consider other frames.
9032 (edebug-original-read):: Make it more obvious that it's always defined.
9033 (edebug--make-form-data-entry, edebug--form-data-name)
9034 (edebug--form-data-begin, edebug--form-data-end): Rename from the
9035 single-dashed name, and implement with cl-defstruct.
9036 (edebug-set-form-data-entry): Use the standard accessors.
9037 (edebug-make-top-form-data-entry): Use push.
9038 (edebug-no-match): Drop useless `funcall'.
9039 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
9040 to functions.
9041 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
9042 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
9043 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
9044 (easy-menu-define, with-custom-print): Remove redundant specs.
9045 (edebug-outside-overriding-local-map)
9046 (edebug-outside-overriding-terminal-local-map): Remove, unused.
9047 (edebug--display): Bind unread-command-events directly to nil rather
9048 than binding it to unread-command-events and later setting it to nil.
9049 (edebug--display): Kill edebug-eval-buffer here...
9050 (edebug--recursive-edit): ...rather than here.
9051 Bind standard-output and standard-input.
9052 (edebug-eval): Check cl-macroexpand-all is fboundp.
9053 (edebug-temp-display-freq-count): Fix last change.
9054
9055 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
9056 * subr.el (noreturn, 1value): Add `debug' spec.
9057 * emacs-lisp/advice.el: Require cl-lib.
9058 (ad-copy-tree): Remove, use copy-tree instead.
9059 (ad-dolist): Remove use dolist or cl-dolist instead.
9060 (ad-do-return): Remove, use cl-return instead.
9061 (defadvice): Add `debug' spec.
9062
9063 2012-09-13 Juri Linkov <juri@jurta.org>
9064
9065 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
9066 (Bug#12399)
9067
9068 2012-09-13 Glenn Morris <rgm@gnu.org>
9069
9070 * calc/calc.el (math-compose-expr):
9071 * calc/calc-ext.el (math-compose-expr):
9072 * progmodes/cc-defs.el (cl-macroexpand-all):
9073 * progmodes/cc-langs.el (delete-duplicates, mapcan)
9074 (cl-macroexpand-all): Update declarations.
9075
9076 * vc/vc.el: No need to require ediff.
9077 (ediff-load-version-control): Declare.
9078 (ediff-vc-internal): Fix declaration.
9079 (vc-version-ediff): Require ediff.
9080
9081 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9082
9083 Use a more backwards-compatible timer format (Bug#12430).
9084 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
9085 being right after USECS, as that better supports old code that
9086 inadvisedly looked directly at the timer vector.
9087
9088 2012-09-13 Kenichi Handa <handa@gnu.org>
9089
9090 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
9091 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
9092 `coding-priority' property of these language environment.
9093
9094 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9095
9096 Fix glitches caused by addition of psec to timers (Bug#12430).
9097 * image.el (image-animate-timer):
9098 * time.el (display-time-world-timer):
9099 Use timer--function and timer--args rather than raw access to
9100 timer vector.
9101
9102 2012-09-13 Glenn Morris <rgm@gnu.org>
9103
9104 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
9105 If not compiling a file, try using load-file-name.
9106
9107 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9108
9109 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
9110 Fix last change.
9111 (edebug-update-eval-list): Use `push'.
9112
9113 * emacs-lisp/edebug.el: Use lexical-binding.
9114 Remove the "edebug-" prefix from non-dynamically-scoped variables.
9115 Mark unused args with underscore.
9116 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
9117 (edebug-form-data): Use defvar-local.
9118 (edebug-make-before-and-after-form, edebug-make-after-form):
9119 Use backquote.
9120 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
9121 Not dynamically scoped any more.
9122 (edebug--enter-trace): Add arguments `function' and `args'.
9123 Rename from edebug-enter-trace.
9124 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
9125 (edebug--update-coverage): Add `after-index' and `value' args.
9126 Rename from edebug-update-coverage.
9127 (edebug-slow-after): Call it accordingly.
9128 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
9129 edebug-recursive-edit.
9130 (edebug--display): Call it accordingly. Add args `value',
9131 `offset-index', and `arg-mode'. Rename from edebug-display.
9132 (edebug-debugger, edebug): Call it accordingly.
9133 (edebug-eval-display-list): Use dolist.
9134
9135 2012-09-12 Juri Linkov <juri@jurta.org>
9136
9137 * info.el (Info-search): Don't check for isearch-mode and
9138 isearch-regexp before let-binding search-spaces-regexp to
9139 Info-search-whitespace-regexp.
9140 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
9141 search-whitespace-regexp if isearch-lax-whitespace or
9142 isearch-regexp-lax-whitespace is non-nil.
9143 (Info-mode): Don't set local variable search-whitespace-regexp.
9144 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
9145
9146 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9147
9148 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
9149 (debugger-env-macro): Remove support for unread-command-char.
9150
9151 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
9152 the temporary map re-appearing on emulation-mode-map-alists.
9153
9154 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
9155 since 22.1.
9156
9157 * ehelp.el (with-electric-help): Accept functions in
9158 electric-help-form-to-execute.
9159 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
9160 And replace unread-command-char -> unread-command-events.
9161
9162 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
9163
9164 Sync with Tramp 2.2.6.
9165
9166 * net/tramp.el (tramp-accept-process-output): Don't use
9167 JUST-THIS-ONE in the XEmacs case.
9168
9169 * net/trampver.el: Update release number.
9170
9171 2012-09-12 Martin Rudalics <rudalics@gmx.at>
9172
9173 * emacs-lisp/debug.el (debugger-previous-window-height):
9174 New variable.
9175 (debug): When debugger-jumping-flag is non-nil try to restore
9176 height of debugger window. (Bug#8789)
9177
9178 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9179
9180 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
9181 overriding-local-map and pre/post-command-hook here.
9182 (edebug-recursive-edit): Do it here instead (bug#12345).
9183 (edebug-outside-unread-command-char): Remove all uses of
9184 unread-command-char.
9185
9186 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
9187 inhibit-debugger is bound instead.
9188
9189 2012-09-11 Bastien Guerry <bzg@gnu.org>
9190
9191 * subr.el (set-temporary-overlay-map): Add a docstring.
9192 (Bug#12346)
9193
9194 2012-09-11 Bastien Guerry <bzg@gnu.org>
9195
9196 * minibuffer.el (completion-table-subvert): Fix docstring.
9197 (Bug#12347)
9198
9199 2012-09-11 Bastien Guerry <bzg@gnu.org>
9200
9201 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
9202
9203 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
9204
9205 * progmodes/sql.el: Version 3.1
9206 (sql-db2-escape-newlines): New variable.
9207 (sql-escape-newlines-filter): Use it.
9208
9209 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
9210
9211 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
9212
9213 2012-09-10 Dan Nicolaescu <dann@gnu.org>
9214
9215 * vc/diff-mode.el (diff-mode-menu):
9216 Bind diff-remove-trailing-whitespace.
9217
9218 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9219
9220 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
9221 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
9222 (emacs-lisp-byte-code-mode): New functions.
9223 (eval-sexp-add-defvars): Don't skip defvars in column >0.
9224 (eval-defun-2): Remove bogus interactive spec.
9225 (lisp-indent-line): Remove redundant whole-exp code, now done in
9226 indent-according-to-mode.
9227 (save-match-data): Remove redundant indent data.
9228
9229 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
9230 Use `declare'.
9231
9232 2012-09-09 Juri Linkov <juri@jurta.org>
9233
9234 * replace.el (replace-regexp-lax-whitespace): New defcustom.
9235 (replace-lax-whitespace, query-replace-regexp)
9236 (query-replace-regexp-eval, replace-regexp): Doc fix.
9237 (perform-replace, replace-highlight): Let-bind
9238 isearch-lax-whitespace to replace-lax-whitespace and
9239 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
9240
9241 * isearch.el (isearch-query-replace): Let-bind
9242 replace-lax-whitespace to isearch-lax-whitespace and
9243 replace-regexp-lax-whitespace to
9244 isearch-regexp-lax-whitespace. (Bug#10885)
9245
9246 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
9247
9248 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
9249
9250 2012-09-09 Alan Mackenzie <acm@muc.de>
9251
9252 * progmodes/cc-engine.el (c-state-cache-init):
9253 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
9254 (c-record-parse-state-state):
9255 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
9256
9257 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
9258
9259 * register.el (register-separator): Rename from
9260 separator-register. All uses changed. Doc fix.
9261 (register): Fix version.
9262
9263 2012-09-09 Chong Yidong <cyd@gnu.org>
9264
9265 * replace.el (query-replace-map): Bind four new symbols for
9266 requesting window scrolling.
9267
9268 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
9269 query-replace-map (Bug#8948).
9270
9271 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
9272
9273 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
9274 since they are now in query-replace-map.
9275
9276 * window.el (scroll-other-window-down): Make the arg optional.
9277
9278 2012-09-09 Chong Yidong <cyd@gnu.org>
9279
9280 * files.el (hack-local-variables-confirm): Use quit-window to kill
9281 the *Local Variables* buffer.
9282
9283 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9284
9285 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
9286 not just expect to be at its beginning. Adjust callees.
9287 Succeed when do-end block has no space before the pipe character.
9288 (ruby-brace-to-do-end): When the original block is one-liner,
9289 convert to multiline. Reindent the result.
9290
9291 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
9292
9293 * register.el (register): New group.
9294 (separator-register): New user option.
9295 (increment-register): Route it to `append-to-register', if
9296 register contains text. Implication is that `C-x r +' can now be
9297 used for appending to a text register (bug#12217).
9298 (append-to-register, prepend-to-register): Add separator based on
9299 `separator-register'.
9300
9301 2012-09-08 Alan Mackenzie <acm@muc.de>
9302
9303 AWK Mode: make auto-newline work when there's "==" in the pattern.
9304 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
9305 correctly.
9306 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
9307 Test more rigorously for "=" token.
9308
9309 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9310
9311 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
9312 Only fail when reached LIMIT.
9313
9314 2012-09-08 Chong Yidong <cyd@gnu.org>
9315
9316 * dired.el (dired-mode-map): Don't bind M-=.
9317
9318 * dired-aux.el (dired-diff): Use backup file as default.
9319
9320 2012-09-08 Drew Adams <drew.adams@oracle.com>
9321
9322 * subr.el (add-to-history): Fix delete usage (Bug#12314).
9323
9324 2012-09-08 Chong Yidong <cyd@gnu.org>
9325
9326 * subr.el (syntax-after, syntax-class): Doc fix.
9327
9328 2012-09-08 Martin Rudalics <rudalics@gmx.at>
9329
9330 * window.el (display-buffer-in-previous-window): New buffer
9331 display action function.
9332
9333 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
9334 (debugger-previous-window): New variable.
9335 (debug): Rewrite using display-buffer-in-previous-window,
9336 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
9337
9338 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9339
9340 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
9341
9342 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
9343
9344 * progmodes/python.el (python-shell-send-string):
9345 When default-directory is remote, create temp file on remote
9346 filesystem.
9347 (python-shell-send-file): When file is remote, pass local view of
9348 file paths to remote Python interpreter. (Bug#12340)
9349
9350 2012-09-07 Chong Yidong <cyd@gnu.org>
9351
9352 * window.el (switch-to-buffer): Doc fix (Bug#12181).
9353
9354 * files.el (after-find-file): Don't fail on a read-only buffer if
9355 require-final-newline is `visit' or `visit-save' (Bug#11156).
9356
9357 * subr.el (read-char-choice): Allow quitting via ESC ESC.
9358
9359 * userlock.el (ask-user-about-supersession-threat):
9360 Use read-char-choice (Bug#12093).
9361
9362 2012-09-07 Chong Yidong <cyd@gnu.org>
9363
9364 * subr.el (buffer-narrowed-p): New function.
9365
9366 * ses.el (ses-widen):
9367 * simple.el (count-words--buffer-message):
9368 * net/browse-url.el (browse-url-of-buffer): Use it.
9369
9370 * simple.el (count-words-region): Don't signal an error if there
9371 is a non-nil prefix arg and the mark is not set.
9372
9373 * help.el (describe-key-briefly): Allow the message to be seen
9374 when invoked from the minibuffer (Bug#7014).
9375
9376 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9377
9378 * progmodes/ruby-mode.el (ruby-end-of-defun)
9379 (ruby-beginning-of-defun): Simplify, allow indentation before
9380 block beginning and end keywords.
9381 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
9382 (ruby-end-of-defun): Expect that the point is at the beginning of
9383 the defun.
9384
9385 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9386
9387 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
9388 (bug#12367).
9389 (cl--make-usage-args): Strip _ from argument names.
9390
9391 2012-09-06 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
9392
9393 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
9394 obsolete alias speedbar-key-map.
9395 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
9396 (vhdl-index-menu-init): Don't use obsolete variable
9397 font-lock-maximum-size.
9398
9399 2012-09-06 Chong Yidong <cyd@gnu.org>
9400
9401 * frame.el (window-system-version): Mark as obsolete.
9402
9403 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
9404 of obsolete variable speedbar-key-map.
9405
9406 2012-09-06 Juri Linkov <juri@jurta.org>
9407
9408 * replace.el (replace-lax-whitespace): New defcustom.
9409 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9410 (replace-string, replace-regexp): Mention it in docstrings.
9411 (perform-replace, replace-highlight): Let-bind
9412 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
9413 to the values of replace-lax-whitespace and regexp-flag.
9414 Don't let-bind search-whitespace-regexp. (Bug#10885)
9415
9416 * isearch.el (isearch-query-replace): Let-bind
9417 replace-lax-whitespace instead of let-binding
9418 replace-search-function and replace-re-search-function.
9419 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
9420 and isearch-regexp-lax-whitespace to lazy-highlight variables.
9421 (isearch-toggle-symbol): Set isearch-regexp to nil
9422 in isearch-word mode (like in isearch-toggle-word).
9423
9424 2012-09-06 Juri Linkov <juri@jurta.org>
9425
9426 * replace.el (replace-search-function)
9427 (replace-re-search-function): Set default values to nil.
9428 (perform-replace): Let-bind isearch-related variables based on
9429 replace-related values, call `isearch-search-fun' and let-bind
9430 the result to `search-function'. Remove code that sets
9431 `search-function' and `search-string' separately for
9432 `delimited-flag'.
9433 (replace-highlight): Add new argument `delimited-flag' and
9434 rename other arguments to the names used in `perform-replace'.
9435 Let-bind `isearch-word' to the argument `delimited-flag'.
9436 (Bug#10885, bug#10887)
9437
9438 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9439
9440 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
9441 ruby-beginning-of-indent, simplify, allow all keywords to have
9442 indentation before them.
9443 (ruby-beginning-of-indent): Adjust for above. Search until the
9444 found point is not inside a string or comment.
9445 (ruby-font-lock-keywords): Allow symbols to start with "@"
9446 character, give them higher priority than variables.
9447 (ruby-syntax-propertize-function)
9448 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
9449 matchers. Expression expansions are not comments when inside a
9450 string, and there comment syntax status is irrelevant.
9451 (ruby-match-expression-expansion): New function. Check that
9452 expression expansion is inside a string, and it's not escaped.
9453 (ruby-font-lock-keywords): Use it.
9454
9455 2012-09-05 Martin Rudalics <rudalics@gmx.at>
9456
9457 * help.el (temp-buffer-max-height): New default value.
9458 (temp-buffer-resize-frames): New option.
9459 (resize-temp-buffer-window): Optionally resize frame.
9460
9461 * window.el (fit-frame-to-buffer-bottom-margin): New option.
9462 (fit-frame-to-buffer): New function.
9463
9464 2012-09-05 Glenn Morris <rgm@gnu.org>
9465
9466 * emulation/cua-rect.el (cua--init-rectangles):
9467 * textmodes/picture.el (picture-mode-map):
9468 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
9469 like forward-char and backward-char. (Bug#12317)
9470
9471 2012-09-05 Leo Liu <sdl.web@gmail.com>
9472
9473 * progmodes/flymake.el (flymake-warning-re): New variable.
9474 (flymake-parse-line): Use it.
9475
9476 2012-09-05 Glenn Morris <rgm@gnu.org>
9477
9478 * calendar/holidays.el (holiday-christian-holidays):
9479 Rename an entry. (Bug#12289)
9480
9481 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9482
9483 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
9484 (bug#12222).
9485
9486 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9487
9488 * loadup.el: Load macroexp. Remove hack.
9489 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
9490 (macroexp--expand-all): Use it to get better warnings.
9491 (macroexp--backtrace, macroexp--trim-backtrace-frame)
9492 (internal-macroexpand-for-load): New functions.
9493 (macroexp--pending-eager-loads): New var.
9494 (emacs-startup-hook): New hack to replace one in loadup.el.
9495 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
9496 (cl--compiler-macro-cXXr): Move to top, before they can be used.
9497 (cl-psetf): Simplify.
9498 (cl-defstruct): Add indent rule.
9499
9500 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
9501
9502 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
9503 over `user-mail-address' for the SMTP MAIL FROM envelope.
9504 (smtpmail-via-smtp): Ditto.
9505
9506 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
9507
9508 * progmodes/ruby-mode.el: Clean up keybindings.
9509 (ruby-mode-map): Don't bind ruby-electric-brace,
9510 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
9511 backward-kill-word, reindent-then-newline-and-indent.
9512 (ruby-mark-defun): Remove.
9513 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
9514 (ruby-mode): Set local beginning-of-defun-function and
9515 end-of-defun-function values.
9516
9517 2012-09-03 Martin Rudalics <rudalics@gmx.at>
9518
9519 * window.el (temp-buffer-window-setup-hook)
9520 (temp-buffer-window-show-hook): New hooks.
9521 (temp-buffer-window-setup, temp-buffer-window-show)
9522 (with-temp-buffer-window): New functions.
9523 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
9524 (special-display-popup-frame): Make sure the window used shows BUFFER.
9525
9526 * help.el (temp-buffer-resize-mode): Fix doc-string.
9527 (resize-temp-buffer-window): New optional argument WINDOW.
9528
9529 * files.el (recover-file, save-buffers-kill-emacs):
9530 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
9531
9532 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
9533
9534 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
9535 remote definition of `default-directory', ensure we can connect.
9536
9537 2012-09-02 Juri Linkov <juri@jurta.org>
9538
9539 Toggle whitespace matching mode with M-s SPC.
9540 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
9541
9542 * isearch.el (search-whitespace-regexp): Doc fix.
9543 Remove cons cell customization.
9544 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
9545 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
9546 New variables.
9547 (isearch-forward, isearch-forward-regexp): Doc fix.
9548 (isearch-toggle-lax-whitespace): New command.
9549 (search-forward-lax-whitespace, search-backward-lax-whitespace)
9550 (re-search-forward-lax-whitespace)
9551 (re-search-backward-lax-whitespace): New functions.
9552 (isearch-whitespace-regexp): Remove function.
9553 (isearch-query-replace): Let-bind replace-search-function and
9554 replace-re-search-function.
9555 (isearch-occur): Let-bind search-spaces-regexp according to the
9556 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
9557 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
9558 condition for C-q SPC.
9559 (isearch-search-fun-default): Use new functions mentioned above.
9560 (isearch-search-forward, isearch-search-backward): Remove functions.
9561 (isearch-search): Don't let-bind search-spaces-regexp.
9562 (isearch-lazy-highlight-space-regexp): Remove variable.
9563 (isearch-lazy-highlight-lax-whitespace)
9564 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
9565 (isearch-lazy-highlight-new-loop): Use them.
9566 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
9567
9568 2012-09-02 Chong Yidong <cyd@gnu.org>
9569
9570 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
9571
9572 2012-09-02 Glenn Morris <rgm@gnu.org>
9573
9574 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
9575
9576 2012-09-01 Glenn Morris <rgm@gnu.org>
9577
9578 * term.el: Tidy up menu definitions.
9579 (term-mode-map): Use easymenu for In/Out, Complete menus.
9580 (term-pager-break-map): Initialize in the defvar.
9581 (term-terminal-menu, term-signals-menu): Define with easymenu.
9582 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
9583 (term-pager-menu): New, extracted from term-process-pager.
9584 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
9585 (term-update-mode-line): Propertize line/char and page items.
9586 (term-process-pager): Move keymap initialization elsewhere.
9587
9588 2012-09-01 Martin Rudalics <rudalics@gmx.at>
9589
9590 * window.el (switch-to-prev-buffer): Handle additional values of
9591 BURY-OR-KILL argument. Don't switch in minibuffer window.
9592 (switch-to-next-buffer): Don't switch in minibuffer window.
9593 (quit-restore-window): New function based on quit-window.
9594 Handle additional values of former KILL argument.
9595 (quit-window): Call quit-restore-window with appropriate
9596 interpretation of KILL argument.
9597 (display-buffer-below-selected): New buffer display action
9598 function.
9599
9600 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
9601
9602 * minibuffer.el (completion-at-point-functions): Complete docstring
9603 (bug#12254).
9604
9605 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
9606
9607 Better seed support for (random).
9608 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
9609 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
9610 * play/mpuz.el, play/tetris.el, play/zone.el:
9611 * calc/calc-comb.el (math-init-random-base):
9612 * play/blackbox.el (bb-init-board):
9613 * play/life.el (life):
9614 * server.el (server-use-tcp):
9615 * type-break.el (type-break):
9616 Remove unnecessary call to (random t).
9617 * net/sasl.el (sasl-unique-id-function):
9618 Change (random t) to (random), now that the latter is more random.
9619 * play/life.el (life-initialized): Remove no-longer-needed var.
9620
9621 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
9622
9623 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9624 Consider frame's buffer predicate when choosing the buffer.
9625 (Bug#12081)
9626
9627 2012-08-30 Richard Stallman <rms@gnu.org>
9628
9629 * simple.el (special-mode-map): Delete binding for `z'.
9630
9631 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
9632
9633 * progmodes/compile.el (compilation-always-kill): Doc fix.
9634
9635 2012-08-30 Chong Yidong <cyd@gnu.org>
9636
9637 * window.el (display-buffer-reuse-frames): Make the obsolescence
9638 message more informative.
9639
9640 2012-08-30 Glenn Morris <rgm@gnu.org>
9641
9642 * paren.el (show-paren-delay):
9643 Add a :set function. Doc fix. (Bug#12297)
9644
9645 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
9646
9647 * progmodes/compile.el (compilation-always-kill): New var.
9648 (compilation-start): Use it.
9649
9650 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9651
9652 * simple.el (read-only-mode): Move from files.el for bootstrapping.
9653 * files.el (read-only-mode): Move to simple.el.
9654
9655 * files.el (read-only-mode): New minor mode.
9656 (toggle-read-only): Use it and mark obsolete.
9657 (find-file--read-only):
9658 * vc/vc.el (vc-next-action, vc-checkout):
9659 * vc/vc-cvs.el (vc-cvs-checkout):
9660 * obsolete/vc-mcvs.el (vc-mcvs-update):
9661 * ffap.el (ffap--toggle-read-only): Update callers.
9662
9663 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
9664
9665 * eshell/esh-ext.el (eshell-external-command): Do not examine
9666 remote shell scripts.
9667 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
9668
9669 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
9670 "/usr/local/sbin".
9671
9672 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9673
9674 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
9675
9676 2012-08-28 Leo Liu <sdl.web@gmail.com>
9677
9678 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
9679 completion-at-point. (Bug#12220)
9680
9681 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
9682
9683 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
9684
9685 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9686
9687 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
9688 be buffer-local; add delete-trailing-whitespace (bug#12259).
9689
9690 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
9691
9692 * progmodes/hideif.el (hif-compress-define-list):
9693 Fix typo. (Bug#11951)
9694
9695 2012-08-28 Dan Nicolaescu <dann@gnu.org>
9696
9697 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
9698 buffer local setting.
9699
9700 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
9701 rcirc-encode-coding-system.
9702
9703 2012-08-28 Leo Liu <sdl.web@gmail.com>
9704
9705 * net/rcirc.el (rcirc-split-message): New function.
9706 (rcirc-send-message): Use it. (Bug#12051)
9707
9708 2012-08-28 Juri Linkov <juri@jurta.org>
9709
9710 * info.el (Info-fontify-node): Hide empty lines at the end of
9711 the node. (Bug#12272)
9712
9713 2012-08-27 Drew Adams <drew.adams@oracle.com>
9714
9715 * dired.el (dired-pop-to-buffer): Make window start at beginning
9716 of buffer (Bug#12281).
9717
9718 2012-08-26 Chong Yidong <cyd@gnu.org>
9719
9720 * window.el (special-display-regexps, special-display-frame-alist)
9721 (special-display-buffer-names, special-display-function)
9722 (display-buffer-reuse-frames): Mark as obsolete.
9723
9724 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
9725
9726 * help.el (help-print-return-message): Don't treat
9727 display-buffer-reuse-frames specially.
9728
9729 2012-08-26 Chong Yidong <cyd@gnu.org>
9730
9731 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
9732 New variable, replacing gdb-frame-parameters.
9733 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
9734 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
9735 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
9736 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
9737 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
9738 the functions directly with gdb-display-buffer-other-frame-action.
9739 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
9740 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
9741 (gdb-display-stack-buffer, gdb-display-locals-buffer)
9742 (gdb-display-registers-buffer): Define directly.
9743 (def-gdb-display-buffer): Macro deleted.
9744 (gdb-display-buffer): Remove second and third args, callers don't
9745 use them. Defer to the default display-buffer behavior, apart
9746 from making windows dedicated.
9747 (gdb-setup-windows): Don't call display-buffer unnecessarily.
9748
9749 * progmodes/gud.el (gud-display-line): Just use display-buffer.
9750
9751 * window.el (display-buffer-pop-up-frame): Handle a
9752 pop-up-frame-parameters alist entry.
9753 (display-buffer): Document it.
9754
9755 2012-08-26 Chong Yidong <cyd@gnu.org>
9756
9757 * isearch.el (search-whitespace-regexp): Make string and nil
9758 values apply to both ordinary and regexp search. Allow a cons
9759 cell value to distinguish between the two.
9760 (isearch-whitespace-regexp, isearch-search-forward)
9761 (isearch-search-backward): New functions.
9762 (isearch-occur, isearch-search-fun-default, isearch-search)
9763 (isearch-lazy-highlight-new-loop): Use them.
9764 (isearch-forward, isearch-forward-regexp): Doc fix.
9765
9766 2012-08-26 Chong Yidong <cyd@gnu.org>
9767
9768 * faces.el (help-argument-name): Always inherit from italic
9769 (Bug#12213).
9770
9771 2012-08-25 Martin Rudalics <rudalics@gmx.at>
9772
9773 * window.el (window--even-window-heights): Even heights when
9774 WINDOW and the selected window form a vertical combination.
9775 (display-buffer-use-some-window): Provide that window used gets
9776 sized back by quit-window. (Bug#11880) and (Bug#12091)
9777
9778 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
9779
9780 Fix file time stamp problem with bzr and CVS (Bug#12001).
9781 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
9782 in the file's time stamp, since the version control system loses
9783 that information.
9784
9785 2012-08-22 Juri Linkov <juri@jurta.org>
9786
9787 * info.el (Info-fontify-node): Hide the suffix of the
9788 Info file name in the header line. (Bug#12187)
9789
9790 2012-08-22 Glenn Morris <rgm@gnu.org>
9791
9792 * calendar/cal-tex.el (cal-tex-weekly-common):
9793 Restore leading blank page.
9794
9795 2012-08-22 Le Wang <l26wang@gmail.com>
9796
9797 * misc.el (forward-to-word, backward-to-word): Activate or extend
9798 the region under `shift-select-mode'. (Bug#12231)
9799
9800 2012-08-22 Bastien Guerry <bzg@gnu.org>
9801
9802 * progmodes/executable.el (executable-prefix): Set to "#!" instead
9803 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
9804 gives details on why the space is never needed.
9805
9806 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9807
9808 * window.el (walk-window-tree, window-with-parameter):
9809 New optional argument MINIBUF to control whether these functions
9810 should run on the minibuffer window.
9811 (window-at-side-list): Don't operate on minibuffer window.
9812 (window-in-direction): Simplify and rewrite doc-string.
9813 (window--size-ignore): Rename to window--size-ignore-p.
9814 Update callers.
9815 (display-buffer-in-atom-window, window--major-non-side-window)
9816 (window--major-side-window, display-buffer-in-major-side-window)
9817 (delete-side-window, display-buffer-in-side-window):
9818 New functions.
9819 (window--side-check, window-deletable-p, delete-window)
9820 (delete-other-windows, split-window): Handle side windows and
9821 atomic windows appropriately.
9822 (window--display-buffer): Call display-buffer-record-window also
9823 when the window buffer did not change.
9824
9825 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
9826
9827 * help-fns.el (help-fns--key-bindings):
9828 Abbreviate non-symbol remap targets. (Bug#12174)
9829
9830 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9831
9832 * dired.el (dired-mark-remembered): Don't clobber point.
9833 (Bug#11795)
9834
9835 2012-08-22 Glenn Morris <rgm@gnu.org>
9836
9837 * progmodes/bug-reference.el (bug-reference): New custom group.
9838 (bug-reference-bug-regexp): Make it a defcustom.
9839
9840 2012-08-22 Daiki Ueno <ueno@unixuser.org>
9841
9842 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
9843 (js-paren-indent-offset, js-square-indent-offset)
9844 (js-curly-indent-offset): Add :safe (Bug#12257).
9845
9846 2012-08-22 Edward O'Connor <hober0@gmail.com>
9847
9848 * json.el (json-key-format): Add error properties.
9849 (json-encode-key): New function.
9850 (json-encode-hash-table, json-encode-alist, json-encode-plist):
9851 Use json-encode-key.
9852
9853 2012-08-22 Glenn Morris <rgm@gnu.org>
9854
9855 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
9856 (cal-tex-leftday, cal-tex-rightday): Remove functions.
9857 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
9858 Update for above change.
9859
9860 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
9861
9862 * cus-face.el (custom-face-attributes): Fix customize type for the
9863 :underline attribute. (Bug#11805)
9864
9865 2012-08-21 Martin Rudalics <rudalics@gmx.at>
9866
9867 * window.el (window-point-1, set-window-point-1): Remove.
9868 (window-in-direction, record-window-buffer)
9869 (set-window-buffer-start-and-point, split-window-below)
9870 (window--state-get-1, display-buffer-record-window):
9871 Replace calls to window-point-1 and set-window-point-1 by calls to
9872 window-point and set-window-point respectively.
9873
9874 2012-08-21 Glenn Morris <rgm@gnu.org>
9875
9876 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
9877 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
9878 Use it.
9879
9880 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
9881 (cal-tex-shortday): New function.
9882 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
9883 (cal-tex-cursor-filofax-daily): Use the above.
9884
9885 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
9886 New functions.
9887 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9888 (cal-tex-cursor-filofax-week): Use them.
9889
9890 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
9891 New constants.
9892 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9893 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
9894
9895 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
9896 (cal-tex-end-document): Don't rely on buffer name.
9897
9898 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
9899 Use cal-tex-vspace.
9900 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
9901 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
9902 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
9903 Use cal-tex-arg.
9904
9905 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
9906 (cal-tex-cursor-week, cal-tex-cursor-week2)
9907 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
9908 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9909 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
9910 (cal-tex-insert-preamble, cal-tex-b-document)
9911 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
9912 Improve cal-tex-cmd usage.
9913
9914 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
9915 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
9916 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
9917 (cal-tex-weekly-paper): New function.
9918 (cal-tex-cursor-week, cal-tex-cursor-week2)
9919 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
9920 (cal-tex-cursor-day): Use it.
9921
9922 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
9923 (cal-tex-cursor-filofax-week): Remove leading blank page.
9924
9925 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9926 Add autoload cookie. For now at least, don't use color, since
9927 no other cal-tex function does.
9928
9929 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
9930 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9931 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
9932
9933 2012-08-21 Juri Linkov <juri@jurta.org>
9934
9935 * info.el (Info-file-attributes): New variable.
9936 (info-insert-file-contents): Add file attributes to
9937 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
9938 `Info-toc-nodes' when previous modtime of the Info file is less
9939 than new modtime.
9940 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
9941 of info.el. (Bug#12230)
9942
9943 2012-08-20 Glenn Morris <rgm@gnu.org>
9944
9945 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
9946 * calendar/holidays.el (calendar-holiday-list):
9947 Report errors with display-warning rather than beep'n'sleep.
9948
9949 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
9950
9951 * net/tramp.el (tramp-accept-process-output): Accept only output
9952 from PROC. Otherwise, process filters and sentinels might be
9953 confused. (Bug#12145)
9954
9955 2012-08-20 Chong Yidong <cyd@gnu.org>
9956
9957 * descr-text.el (describe-text-properties-1): Use overlays-in to
9958 report on empty overlays (Bug#3322).
9959
9960 2012-08-20 Glenn Morris <rgm@gnu.org>
9961
9962 * mail/rmailout.el (rmail-output-read-file-name):
9963 Trap and report errors in rmail-output-file-alist elements.
9964
9965 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
9966 since most non-font-lock faces are not also variables).
9967
9968 2012-08-20 Edward Reingold <reingold@iit.edu>
9969
9970 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9971 New function. (Bug12160)
9972
9973 2012-08-19 Glenn Morris <rgm@gnu.org>
9974
9975 * mail/rmailout.el (rmail-output-read-file-name):
9976 Fix previous change (when the alist is nil or does not match).
9977
9978 2012-08-19 Chong Yidong <cyd@gnu.org>
9979
9980 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
9981 (Bug#12228).
9982
9983 2012-08-18 Chong Yidong <cyd@gnu.org>
9984
9985 * simple.el (yank-handled-properties): New defcustom.
9986 (yank-excluded-properties): Add font-lock-face and category.
9987 (yank): Doc fix.
9988
9989 * subr.el (remove-yank-excluded-properties):
9990 Obey yank-handled-properties. The special handling of font-lock-face
9991 and category is now done this way, instead of being hard-coded.
9992 (insert-for-yank-1): Remove font-lock-face handling.
9993 (yank-handle-font-lock-face-property)
9994 (yank-handle-category-property): New function.
9995
9996 2012-08-17 Glenn Morris <rgm@gnu.org>
9997
9998 * mail/rmailout.el (rmail-output-read-file-name):
9999 Check rmail-output-file-alist against the full message body
10000 in the correct rmail buffer. (Bug#12214)
10001
10002 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
10003
10004 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
10005 Eliminate superfluous prompt. (Bug#12203)
10006
10007 2012-08-17 Chong Yidong <cyd@gnu.org>
10008
10009 * mouse.el (mouse-appearance-menu): If x-select-font returns a
10010 font spec, set the font directly (Bug#3228).
10011
10012 2012-08-17 Martin Rudalics <rudalics@gmx.at>
10013
10014 * window.el (delete-window): Fix last fix.
10015
10016 2012-08-16 Martin Rudalics <rudalics@gmx.at>
10017
10018 * window.el (window-valid-p): Move to window.c.
10019 (window-child, window-child-count, window-last-child)
10020 (window-normalize-window, window-combined-p)
10021 (window-combinations, window-atom-root, window-min-size)
10022 (window-sizable, window-sizable-p, window-size-fixed-p)
10023 (window-min-delta, window-max-delta, window--resizable)
10024 (window--resizable-p, window-resizable, window-total-size)
10025 (window-full-height-p, window-full-width-p, window-body-size)
10026 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
10027 (minimize-window, window-deletable-p, delete-window)
10028 (delete-other-windows, set-window-buffer-start-and-point)
10029 (next-buffer, previous-buffer, split-window, balance-windows-2)
10030 (set-window-text-height, window-buffer-height)
10031 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
10032 (truncated-partial-width-window-p): Minor code adjustments.
10033 In doc-strings state whether the argument window has to denote a
10034 live, valid or any window.
10035
10036 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
10037
10038 * progmodes/subword.el (subword-forward-function)
10039 (subword-backward-function, subword-forward-regexp)
10040 (subword-backward-regexp): New variables.
10041 (subword-forward, subword-forward-internal, subword-backward-internal):
10042 Use new variables, eg so that different "word" definitions
10043 can be easily used. (Bug#11411)
10044
10045 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10046
10047 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
10048 for composite selectors.
10049 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
10050 operation just because we can't find a previous revision.
10051
10052 2012-08-15 Chong Yidong <cyd@gnu.org>
10053
10054 * frame.el (set-frame-font): Accept font objects.
10055
10056 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10057
10058 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
10059
10060 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
10061
10062 * man.el (Man-overstrike-face, Man-underline-face)
10063 (Man-reverse-face): Remove variables.
10064 (Man-overstrike, Man-underline, Man-reverse): New faces.
10065 (Man-fontify-manpage): Use them instead of the variables.
10066 (Man-cleanup-manpage): Comment change.
10067 (Man-ansi-color-map): New variable.
10068 (Man-fontify-manpage): Use it.
10069 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
10070
10071 Implement ANSI SGR parameters 22-27 (bug#12146).
10072 * ansi-color.el (ansi-colors): Doc fix.
10073 (ansi-color-context, ansi-color-context-region): Doc fix.
10074 (ansi-color--find-face): New function.
10075 (ansi-color-apply, ansi-color-apply-on-region): Use it.
10076 Rename the local variable `face' to `codes' since it is now a list of
10077 ansi codes. Doc fix.
10078 (ansi-color-get-face): Remove.
10079 (ansi-color-parse-sequence): New function, derived from
10080 ansi-color-get-face.
10081 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
10082 codes 22-27.
10083
10084 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
10085
10086 * subr.el (read-passwd): Allow use from a minibuffer.
10087
10088 2012-08-14 Eli Zaretskii <eliz@gnu.org>
10089
10090 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
10091 inside comments and strings as identifiers.
10092
10093 * progmodes/gud.el (gud-tooltip-print-command): Quote the
10094 expression to evaluate. This allows to evaluate expressions with
10095 embedded whitespace.
10096 (gud-tooltip-tips): Add a blank before the newline in the
10097 message-box text, for the benefit of message-box emulation on
10098 MS-Windows.
10099
10100 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
10101 messages from GDB, pop them up in a tooltip to give feedback to
10102 user.
10103 (gdb-tooltip-print-1): Quote the expression to evaluate.
10104 This allows to evaluate expressions with embedded whitespace.
10105 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
10106 if the TTY name is nil or empty (which happens when communicating
10107 with the inferior via pipes, e.g. on MS-Windows).
10108 (gdb-internals): If GDB sends a "&\n" empty debugging message,
10109 don't send that to the GUD buffer.
10110
10111 2012-08-14 Glenn Morris <rgm@gnu.org>
10112
10113 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
10114 Optimize away setq-default with no args, as for setq. (Bug#12195)
10115
10116 2012-08-14 Chong Yidong <cyd@gnu.org>
10117
10118 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
10119
10120 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
10121 (Bug#12085).
10122
10123 2012-08-14 Glenn Morris <rgm@gnu.org>
10124
10125 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
10126
10127 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
10128
10129 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
10130 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10131 Use cached shell name.
10132
10133 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10134
10135 * progmodes/python.el (python-shell-send-string):
10136 (python-shell-send-setup-code): Do not use `format' with `message'.
10137
10138 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
10139
10140 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
10141 (ruby-percent-literal-beg-re): New constant.
10142 (ruby-syntax-general-delimiters-goto-beg): Rename to
10143 `ruby-syntax-enclosing-percent-literal', improve literal type check.
10144 (ruby-syntax-propertize-general-delimiters): Rename to
10145 `ruby-syntax-propertize-percent-literal', it's a shorter and more
10146 popular term. Adjust comments everywhere.
10147 (ruby-syntax-propertize-percent-literal): Only propertize when not
10148 inside a simple string or comment. When the literal is unclosed,
10149 leave the text after it unpropertized.
10150 (ruby-syntax-methods-before-regexp): New constant.
10151 (ruby-syntax-propertize-function): Use it to recognize regexps.
10152 Don't look at the text after regexp, just use the whitelist.
10153
10154 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
10155
10156 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
10157 non-nil always load the compiled file if it exists. (Bug#12197)
10158
10159 2012-08-14 Chong Yidong <cyd@gnu.org>
10160
10161 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
10162 (hi-lock-set-pattern): When deciding whether to use font lock or
10163 overlays, look at font-lock-mode instead of font-lock-fontified
10164 (Bug#12168).
10165 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
10166 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
10167
10168 2012-08-14 Daiki Ueno <ueno@unixuser.org>
10169
10170 * subr.el (internal--after-with-selected-window): Fix typo
10171 (Bug#12193).
10172
10173 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10174
10175 Use `completion-table-dynamic' for completion functions.
10176 * progmodes/python.el
10177 (python-shell-completion--do-completion-at-point)
10178 (python-shell-completion--get-completions):
10179 Remove functions.
10180 (python-shell-completion-complete-at-point): New function.
10181 (python-completion-complete-at-point): Use it.
10182
10183 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
10184
10185 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
10186 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
10187
10188 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10189
10190 * subr.el (function-get): Refine `autoload' arg so it can also
10191 autoload functions for gv.el (bug#12191).
10192 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
10193 autoloads macros.
10194
10195 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
10196 Prefer pcase-let over destructuring-bind.
10197 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
10198 Also, remove whitespace as we go, rather than after accumulating the
10199 various places.
10200
10201 * subr.el (internal--before-with-selected-window)
10202 (internal--after-with-selected-window): Fix typo seleted->selected.
10203 (with-selected-window): Adjust callers.
10204 Reported by Dmitry Gutov <dgutov@yandex.ru>.
10205
10206 2012-08-13 Bastien Guerry <bzg@gnu.org>
10207
10208 * window.el (special-display-popup-frame): Minor docstring
10209 enhancement. (Bug#12172)
10210
10211 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
10212
10213 * tar-mode.el (tar-header-data-end): Only ignore size for files of
10214 type 1-6.
10215 (tar-header-block-summarize, tar-get-descriptor): Handle pax
10216 extended headers.
10217
10218 * files.el (hack-local-variables-filter): Remove useless eval.
10219
10220 2012-08-13 Martin Rudalics <rudalics@gmx.at>
10221
10222 * subr.el (with-selected-window): Fix last change.
10223
10224 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10225
10226 * subr.el (internal--before-with-seleted-window)
10227 (internal--after-with-seleted-window): New functions.
10228 (with-selected-window): Use them, to replace dependency on
10229 tty-top-frame.
10230
10231 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
10232
10233 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
10234 binding for `newline'.
10235 (ruby-move-to-block): When moving backward, stop at block opening,
10236 not indentation.
10237 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
10238 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
10239 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
10240 `ruby-toggle-block'.
10241
10242 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10243
10244 * ibuffer.el (ibuffer-do-toggle-read-only):
10245 * dired.el (dired-toggle-read-only):
10246 * buff-menu.el (Buffer-menu-toggle-read-only):
10247 * bindings.el (mode-line-toggle-read-only):
10248 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
10249
10250 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
10251
10252 * descr-text.el (describe-char): Put the overlays over the
10253 "displayed as" character.
10254
10255 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
10256
10257 * calc/calc-units.el (math-default-units-table): Give an
10258 initial value.
10259 (math-put-default-units): Add options to put composite units and
10260 unit systems in the default units table.
10261 (calc-convert-units): Send composite units to
10262 `math-put-default-units' when appropriate.
10263
10264 2012-08-11 Glenn Morris <rgm@gnu.org>
10265
10266 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
10267
10268 * tutorial.el (help-with-tutorial):
10269 * emacs-lisp/copyright.el (copyright-update-directory):
10270 * emacs-lisp/autoload.el (autoload-find-generated-file)
10271 (autoload-find-file): Disable local eval: (for insurance).
10272
10273 * files.el (hack-local-variables-filter): If an eval: form is not
10274 known to be safe, and enable-local-variables is :safe, then ignore
10275 the form totally, as is done for non-eval forms. (Bug#12155)
10276 This is CVE-2012-3479.
10277
10278 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10279
10280 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
10281 (rx-form): Simplify.
10282
10283 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
10284
10285 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
10286 ?, _, and : are symbol constituents, ! is not (but kinda should be).
10287 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
10288 (ruby-syntax-propertize-function): Adjust for changes in
10289 `ruby-syntax-propertize-heredoc'.
10290
10291 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
10292
10293 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
10294 binding (use `M-;' instead).
10295 (ruby-singleton-class-p): New function.
10296 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
10297
10298 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10299
10300 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
10301
10302 2012-08-10 Chong Yidong <cyd@gnu.org>
10303
10304 * progmodes/python.el (python-shell-get-process-name): Don't mess
10305 with same-window-buffer-names.
10306
10307 * eshell/eshell.el (eshell-add-to-window-buffer-names)
10308 (eshell-remove-from-window-buffer-names): Make obsolete.
10309 (eshell-buffer-name, eshell-unload-hook): Don't use them.
10310 (eshell): Just use pop-to-buffer-same-window instead.
10311
10312 2012-08-10 Chong Yidong <cyd@gnu.org>
10313
10314 * bindings.el: Bind M-= back to count-words-region.
10315
10316 * simple.el (count-words-region): Accept a prefix arg for acting
10317 on the entire buffer.
10318 (count-words--buffer-message): New helper function.
10319
10320 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10321
10322 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
10323 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
10324 (event-start, event-end): Use posn-at-point to return a more
10325 informative posn.
10326 (posnp): New function.
10327 * mouse.el (popup-menu-normalize-position): Use it.
10328
10329 2012-08-10 Masatake YAMATO <yamato@redhat.com>
10330
10331 * mouse.el (popup-menu-normalize-position): New function.
10332 (popup-menu): Use `popup-menu-normalize-position' to normalize
10333 the form for POSITION argument.
10334
10335 * term/x-win.el (x-menu-bar-open):
10336 Use the value returend from (posn-at-point) as position
10337 passed to `popup-menu'.
10338
10339 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10340
10341 * calc/calccomp.el (math-compose-expr): Add extra argument
10342 indicating that parentheses should be put around products in
10343 denominators. Give multiplication precedence over division during
10344 composition.
10345
10346 2012-08-09 Chong Yidong <cyd@gnu.org>
10347
10348 * man.el (Man-switches, Man-sed-command, Man-awk-command)
10349 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
10350 (Man-untabify-command, manual-program): Convert to defcustom
10351 (Bug#10429).
10352
10353 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
10354
10355 * descr-text.el (describe-char): Don't insert extra newlines
10356 (Bug#10127).
10357
10358 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
10359 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
10360
10361 * align.el (align-region): Delete temporary markers (Bug#10047).
10362 Plus some code cleanups.
10363
10364 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10365
10366 * progmodes/python.el (python-pdbtrack-tracked-buffer)
10367 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
10368 (python-shell-internal-last-output): Use make-local-variable
10369 instead of make-variable-buffer-local.
10370
10371 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10372
10373 * progmodes/python.el: Enhancements to forward-sexp.
10374 (python-nav-forward-sexp): Rename from
10375 python-nav-forward-sexp-function.
10376 (python-nav--forward-sexp, python-nav--backward-sexp):
10377 New functions.
10378
10379 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10380
10381 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
10382 modes and simplification modes.
10383
10384 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10385
10386 * delsel.el (delete-selection-pre-hook): Don't propagate the
10387 file-supersession signals (bug#12161).
10388
10389 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10390
10391 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
10392 (cl-map-extents): Add compatibility aliases (bug#12135).
10393
10394 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
10395
10396 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
10397 tests by `ignore-error'.
10398 (tramp-find-shell): Open also a new shell, when cache is already
10399 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
10400
10401 2012-08-08 Juri Linkov <juri@jurta.org>
10402
10403 * bookmark.el: Add `defaults' property to the bookmark record.
10404 (bookmark-current-buffer): Doc fix.
10405 (bookmark-make-record): Add `defaults' property with default values
10406 to the bookmark record.
10407 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
10408 with `bookmark-insert-current-bookmark'.
10409 (bookmark-set): Get `defaults' property from the bookmark record
10410 and use it in `read-from-minibuffer'.
10411 (bookmark-insert-current-bookmark): Remove function.
10412
10413 * info.el (Info-bookmark-make-record): Add `defaults' property
10414 with values of canonical Info node name, the current Info file
10415 name and the current Info node name. (Bug#12107)
10416
10417 2012-08-08 Juri Linkov <juri@jurta.org>
10418
10419 * files.el (basic-save-buffer): Use `buffer-name' as the default
10420 of `read-file-name' when buffer is not visiting a file (bug#12128).
10421
10422 2012-08-08 Juri Linkov <juri@jurta.org>
10423
10424 * info.el (Info-isearch-search): Doc fix.
10425 (Info-search): Change search-failed message from "initial node" to
10426 "end of node" (bug#12078).
10427 (Info-isearch-search): Change `isearch-string-state' to
10428 `isearch--state-string'.
10429
10430 2012-08-08 Glenn Morris <rgm@gnu.org>
10431
10432 * language/persian.el: Remove file.
10433 * language/misc-lang.el: Move unique part of persian.el here.
10434 * loadup.el: Remove language/persian.
10435
10436 2012-08-08 Ă“scar Fuentes <ofv@wanadoo.es>
10437
10438 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
10439
10440 2012-08-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10441
10442 * progmodes/python.el: Fix defsubst warning.
10443 (python-syntax-context) Rename from python-info-ppss-context.
10444 (python-syntax-context-type): Rename from
10445 python-info-ppss-context-type.
10446 (python-syntax-comment-or-string-p): Rename from
10447 python-info-ppss-comment-or-string-p.
10448
10449 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
10450
10451 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
10452
10453 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
10454
10455 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
10456 a defcustom that is quoted with backquote.
10457
10458 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
10459 Fix handling of interactive spec when the body uses return.
10460 (math-do-arg-check, math-define-function-body): Use backquote forms.
10461 * calc/calc-ext.el (math-defcache): Likewise.
10462 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
10463 * allout.el (allout-new-exposure): Likewise.
10464 * calc/calcalg2.el (math-tracing-integral): Likewise.
10465 * info.el (Info-last-menu-item): Likewise.
10466 * emulation/vip.el (vip-loop): Likewise.
10467 * textmodes/artist.el (artist-funcall): Likewise.
10468 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
10469 Construct menu-item directly.
10470
10471 * progmodes/autoconf.el (font-lock-syntactic-keywords):
10472 Don't declare.
10473
10474 2012-08-07 Chong Yidong <cyd@gnu.org>
10475
10476 * simple.el (deactivate-mark): Preserve text properties when
10477 saving the primary selection (Bug#8384).
10478
10479 2012-08-07 Kevin Ryde <user42@zip.com.au>
10480
10481 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
10482 (woman-parse-numeric-value): On a bad .IP line, issue a warning
10483 and continue processing (Bug#12110).
10484
10485 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10486
10487 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
10488 syntax-propertize-function (bug#10095).
10489
10490 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10491
10492 * help-fns.el (help-fns--key-bindings, help-fns--signature)
10493 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
10494 describe-function-1.
10495 (describe-function-1): Use them. Move compiler macro after sig.
10496 (help-fns--compiler-macro): Use function-get. Assume we're already in
10497 standard-output. Adjust layout to new call order.
10498
10499 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
10500 re-binding a symbol that has a symbol-macro (bug#12119).
10501
10502 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
10503
10504 * language/persian.el: New file. (Bug#11812)
10505 * loadup.el: Add language/persian.el.
10506
10507 2012-08-06 Chong Yidong <cyd@gnu.org>
10508
10509 * window.el (window--maybe-raise-frame): New function.
10510 (window--display-buffer): Split off from here.
10511 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10512 (display-buffer-pop-up-window, display-buffer-use-some-window):
10513 Obey an inhibit-switch-frame action alist entry.
10514 (display-buffer): Update doc.
10515
10516 * replace.el (occur-after-change-function): Avoid losing focus by
10517 using the inhibit-switch-frame display parameter (Bug#12139).
10518
10519 2012-08-06 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10520
10521 Make internal shell process buffer names start with space.
10522 * progmodes/python.el (python-shell-make-comint): Add optional
10523 argument INTERNAL.
10524 (run-python-internal): Use it.
10525 (python-shell-internal-get-or-create-process): Check for new
10526 internal buffer names.
10527
10528 2012-08-06 Glenn Morris <rgm@gnu.org>
10529
10530 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
10531 Do less getting and setting of environment variables.
10532
10533 2012-08-05 Chong Yidong <cyd@gnu.org>
10534
10535 * proced.el (proced): Add substitution string to docstring to
10536 trigger autoloading of the proced library on C-h f (Bug#1768).
10537
10538 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10539 Don't show defvars which have no second argument (Bug#8638).
10540
10541 * imenu.el (imenu-generic-expression): Move documentation here
10542 from imenu--generic-function.
10543 (imenu--generic-function): Refer to imenu-generic-expression.
10544
10545 2012-08-05 Vegard Ă˜ye <vegard_oye@hotmail.com> (tiny change)
10546
10547 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
10548 indentation declaration.
10549 (viper-loop): Add indentation declaration (Bug#7025).
10550
10551 2012-08-05 Chong Yidong <cyd@gnu.org>
10552
10553 * help-fns.el (describe-variable): Add hyperlink for
10554 directory-local variables files. Improve buffer-local and
10555 permanent-local reporting; suggested by MON KEY (Bug#6644).
10556
10557 * help-mode.el (help-dir-local-var-def): New button type.
10558
10559 * files.el (kill-buffer-hook): Provide a defvar.
10560
10561 2012-08-05 Glenn Morris <rgm@gnu.org>
10562
10563 * eshell/esh-ext.el (eshell/addpath):
10564 Also update eshell-path-env. (Bug#12013)
10565
10566 2012-08-05 Chong Yidong <cyd@gnu.org>
10567
10568 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
10569
10570 * fringe.el (fringe-styles): Add docstring.
10571 (fringe--check-mode): New function.
10572 (set-fringe-mode, set-fringe-style): Use it.
10573 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
10574
10575 * files.el (set-auto-mode): Fix invalid setq call.
10576
10577 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10578
10579 * isearch.el: Misc simplification; use defstruct.
10580 (isearch-mode-map): Dense maps now work like sparse ones.
10581 (isearch--state): New defstruct.
10582 (isearch-string-state, isearch-message-state, isearch-point-state)
10583 (isearch-success-state, isearch-forward-state)
10584 (isearch-other-end-state, isearch-word-state, isearch-error-state)
10585 (isearch-wrapped-state, isearch-barrier-state)
10586 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
10587 replaced by defstruct's accessors.
10588 (isearch--set-state): Rename from isearch-top-state and change
10589 calling convention.
10590 (isearch-push-state): Use new isearch--get-state.
10591 (isearch-toggle-word): Disable regexp when enabling word.
10592 (isearch-message-prefix): Remove unused arg _c-q-hack.
10593 (isearch-message-suffix): Remove unused arg _ellipsis.
10594
10595 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
10596
10597 * simple.el (list-processes--refresh): For a server use :host or
10598 :local as the address.
10599 (list-processes): Doc fix.
10600
10601 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
10602
10603 * lisp/mpc.el: Support password in host argument.
10604 (mpc--proc-connect): Parse and use new password element.
10605 Set mpc-proc variable instead of returning process.
10606 (mpc-proc): Adjust accordingly.
10607
10608 2012-08-03 Eli Zaretskii <eliz@gnu.org>
10609
10610 * whitespace.el (whitespace-display-mappings): Use Unicode
10611 codepoints, instead of emacs-mule codepoints. See
10612 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
10613 for the details.
10614
10615 * files.el (file-truename): Don't skip symlink-chasing part on
10616 windows-nt. Incorporate the resolution of 8+3 short aliases on
10617 Windows into the loop that recursively chases symlinks.
10618 Compare directory and its parent case-insensitively on MS-Windows and
10619 MS-DOS.
10620
10621 2012-08-03 Chong Yidong <cyd@gnu.org>
10622
10623 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
10624
10625 * sort.el (sort-regexp-fields): Doc fix.
10626
10627 2012-08-03 Tassilo Horn <tsdh@gnu.org>
10628
10629 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
10630 labels regex position point at the expected place.
10631
10632 2012-08-03 MON KEY <monkey@sandpframing.com>
10633
10634 * net/imap.el (imap-interactive-login, imap-authenticate)
10635 (imap-mailbox-lsub, imap-mailbox-list)
10636 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
10637 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
10638 (imap-parse-response): Doc fix.
10639
10640 2012-08-03 JoĂ£o TĂ¡vora <joaotavora@gmail.com>
10641
10642 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
10643 if sexp scanning does not move point (Bug#5734).
10644
10645 2012-08-02 Tassilo Horn <tsdh@gnu.org>
10646
10647 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
10648 Add listings, minted, and ctable packages.
10649 (reftex-label-alist-builtin): Move listings, minted, and ctable
10650 entries before LaTeX.
10651 (reftex-label-alist): Docfix.
10652
10653 2012-08-02 Bastien Guerry <bzg@gnu.org>
10654
10655 * replace.el (occur): Fix docstring (bug#12122).
10656
10657 2012-08-02 Glenn Morris <rgm@gnu.org>
10658
10659 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
10660
10661 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
10662
10663 Obsolete alias inactivate-current-input-method-function (Bug#10150).
10664 * international/mule-cmds.el: Create
10665 inactivate-current-input-method-function as an obsolete alias for
10666 deactivate-current-input-method-function. See Katsumi Yamaoka in
10667 <http://bugs.gnu.org/10150#46>.
10668
10669 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
10670
10671 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
10672 of nested `if's.
10673
10674 2012-08-01 Glenn Morris <rgm@gnu.org>
10675
10676 * progmodes/autoconf.el (autoconf-definition-regexp):
10677 Add AH_TEMPLATE, adjust submatch numbering.
10678 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
10679 (autoconf-current-defun-function): Update for above change.
10680 (autoconf-current-defun-function): First skip to end of current word.
10681
10682 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
10683
10684 * calendar/cal-html.el (cal-html-insert-agenda-days):
10685 Fix typo. (Bug#12018)
10686
10687 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10688
10689 Shell processes: enhancements to startup and CEDET compatibility.
10690 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
10691 (python-shell-make-comint): accept-process-output at startup.
10692 (run-python-internal): Set inferior-python-mode-hook to nil.
10693 (python-shell-internal-get-or-create-process): call sit-for.
10694 (python-preoutput-result): Add obsolete alias.
10695 (python-shell-internal-send-string): Use it.
10696 (python-shell-send-setup-code): Remove call to
10697 accept-process-output.
10698
10699 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
10700
10701 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
10702 (Bug#12108)
10703
10704 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
10705
10706 * calc-mode.el (calc-basic-simplification-mode): Rename from
10707 `calc-limited-simplification-mode'.
10708 (calc-alg-simplification-mode): New function.
10709 (calc-set-simplify-mode): Adjust message.
10710
10711 * calc.el (calc-set-mode-line): Adjust mode line display for
10712 basic simplification mode.
10713
10714 * calc-help.el (calc-m-prefix-help): Update help message.
10715
10716 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
10717 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
10718
10719 2012-07-31 Bastien Guerry <bzg@gnu.org>
10720
10721 * man.el (man): Fix comment. (bug#12101)
10722
10723 2012-07-31 Martin Rudalics <rudalics@gmx.at>
10724
10725 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
10726 Don't return a non-nil value when no suitable buffer was found.
10727
10728 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10729
10730 * progmodes/python.el (run-python-internal): Disable font lock for
10731 internal shells.
10732
10733 2012-07-30 Stefan Merten <smerten@oekonux.de>
10734
10735 * textmodes/rst.el: Silence `checkdoc-ispell'.
10736 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10737 (rst-official-version, rst-official-cvs-rev)
10738 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
10739 (rst-mode-map): New key binding.
10740
10741 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
10742
10743 Update .PHONY listings in makefiles.
10744 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
10745 autoloads, update-subdirs, updates, bzr-update, update-authors,
10746 compile-onefile, compile-calc, backup-compiled-files,
10747 compile-after-backup, compile-one-process, mh-autoloads,
10748 bootstrap-clean, distclean, maintainer-clean.
10749
10750 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
10751
10752 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
10753 (calc-set-mode-line): Don't display "AlgSimp ".
10754
10755 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
10756 (calc-lim-simplify-mode): New function.
10757 (calc-set-simplify-mode): Default to 'alg.
10758 (calc-default-simplify-mode): Make algebraic simplifications
10759 the default.
10760
10761 * calc/calc-ext.el (calc-init-extensions): Remove binding for
10762 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
10763
10764 * calc/calc-help.el (calc-m-prefix-help): Change messages to
10765 indicate new simplification modes.
10766
10767 * calc/README: Mention new default simplification mode.
10768
10769 * calc/calc.el (math-normalize-error): New variable.
10770 (math-normalize): Set `math-normalize-error' to t
10771 when there's an error.
10772
10773 * calc/calc-alg.el (math-simplify): Don't simplify when
10774 `math-normalize' returns an error.
10775
10776 2012-07-29 Eli Zaretskii <eliz@gnu.org>
10777
10778 * international/mule-cmds.el (set-locale-environment): Revert last
10779 change, since display-graphic-p returns nil when this function is
10780 called during startup. Instead...
10781
10782 * term/w32console.el (terminal-init-w32console): ...setup the
10783 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
10784
10785 2012-07-29 Juri Linkov <juri@jurta.org>
10786
10787 * simple.el (goto-line): Don't display default line number in the
10788 prompt because it should be displayed by `read-number' (bug#9952).
10789 Add the current line number to the defaults of `goto-line' to
10790 allow its easier modification by users with `M-n' (bug#9201).
10791
10792 * subr.el (read-number): Support multiple default values like in
10793 other minibuffer reading functions. Replace `read' with
10794 `string-to-number' for consistency with `number-to-string'.
10795
10796 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
10797
10798 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
10799 * emulation/viper-init.el (viper-deactivate-input-method-action):
10800 Rename from viper-inactivate-input-method-action.
10801 (viper-deactivate-input-method):
10802 Rename from viper-inactivate-input-method.
10803 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
10804 * international/mule-cmds.el (deactivate-input-method):
10805 Rename from inactivate-input-method.
10806 Also run input-method-deactivate-hook.
10807 (deactivate-current-input-method-function):
10808 Rename from inactivate-current-input-method-function.
10809 (input-method-deactivate-hook): New hook.
10810 (input-method-inactivate-hook): Mark obsolete.
10811 (inactivate-input-method): Mark obsolete.
10812
10813 * international/quail.el (quail-activate):
10814 Also run quail-deactivate-hook.
10815 (quail-deactivate): Rename from quail-inactivate.
10816 * international/robin.el (robin-activate):
10817 Also run robin-deactivate-hook.
10818 (robin-deactivate): Rename from robin-inactivate.
10819
10820 2012-07-29 Chong Yidong <cyd@gnu.org>
10821
10822 * simple.el (indicate-copied-region): New function.
10823 (kill-ring-save): Split off from here.
10824
10825 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
10826 (kill-rectangle): Set deactivate-mark to t on read-only error.
10827
10828 * register.el (copy-to-register, copy-rectangle-to-register):
10829 Deactivate the mark, and use indicate-copied-region (Bug#10056).
10830 (append-to-register, prepend-to-register): Call indicate-copied-region.
10831
10832 2012-07-29 Juri Linkov <juri@jurta.org>
10833
10834 * simple.el (async-shell-command-buffer): New defcustom.
10835 (shell-command): Use it. (Bug#4719)
10836
10837 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10838
10839 * international/mule-cmds.el (set-locale-environment): In a
10840 console session on MS-Windows, set up keyboard and terminal
10841 encoding from the OEM codepage, not the ANSI codepage.
10842 (Bug#12055)
10843
10844 2012-07-28 Chong Yidong <cyd@gnu.org>
10845
10846 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
10847 gdb-get-location.
10848
10849 2012-07-28 Leo Liu <sdl.web@gmail.com>
10850
10851 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
10852 the alist (bug#12029).
10853
10854 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10855
10856 * makefile.w32-in (custom-deps, finder-data, updates, compile)
10857 (compile-always, compile-first)
10858 ($(lisp)/calendar/cal-loaddefs.el)
10859 ($(lisp)/calendar/diary-loaddefs.el)
10860 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10861 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
10862 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
10863 instead of on update-subdirs.
10864 (bootstrap-clean): Delete $(lisp)/subdirs.el.
10865
10866 2012-07-28 Chong Yidong <cyd@gnu.org>
10867
10868 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
10869 directory if vc-deduce-backend returns nil (Bug#7350).
10870
10871 * simple.el (delete-trailing-lines): New option.
10872 (delete-trailing-whitespace): Obey it (Bug#11879).
10873
10874 2012-07-28 David Engster <deng@randomsample.de>
10875
10876 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
10877 Explanation of new 'symbol-qnames feature in doc-strings.
10878 (xml-maybe-do-ns): Return expanded names as plain symbols if
10879 'symbol-qnames was provided in XML-NS argument (Bug#11916).
10880 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
10881
10882 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10883
10884 Consistent completion in inferior python with emacs -nw.
10885 * progmodes/python.el (inferior-python-mode): replace "<tab>"
10886 binding in inferior-python-mode-map with "\t".
10887 (python-shell-completion-complete-at-point)
10888 (python-completion-complete-at-point): Remove interactive spec.
10889
10890 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10891
10892 * calc/calccomp.el (math-compose-expr): Undo previous change.
10893
10894 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10895
10896 * progmodes/python.el (python-mode-map): Add keybinding for
10897 run-python.
10898 (python-shell-make-comint): Fix pop-to-buffer call.
10899 (run-python): Autoload. New arg SHOW.
10900 (python-shell-get-or-create-process): Do not pop python process
10901 buffer.
10902
10903 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
10904
10905 * notifications.el (notifications-on-action-signal)
10906 (notifications-on-closed-signal): Use also the bus address for the map.
10907 (notifications-notify, notifications-close-notification)
10908 (notifications-get-capabilities): Add optional argument BUS.
10909
10910 2012-07-27 Tassilo Horn <tsdh@gnu.org>
10911
10912 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
10913 Add support for the lstlisting and minted environments, and for the
10914 ctable macro.
10915 * textmodes/reftex.el (reftex-compile-variables): Also recognize
10916 labels written in keyvals syntax.
10917
10918 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10919
10920 * calc/calccomp.el (math-compose-expr): Use parentheses when
10921 there is a product in the denominator of a fraction.
10922
10923 2012-07-26 Eli Zaretskii <eliz@gnu.org>
10924
10925 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
10926 ($(lisp)/calendar/diary-loaddefs.el)
10927 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10928 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
10929 Fixes failures in parallel bootstrap because subdirs.el is being
10930 rewritten while the autoload files are built at the same time,
10931 which needs to load subdirs.el.
10932
10933 2012-07-26 Martin Rudalics <rudalics@gmx.at>
10934
10935 * mouse.el (popup-menu): Fix doc-string and re-indent code.
10936 (mouse-drag-line): Don't exit tracking when a switch-frame or
10937 switch-window event occurs (Bug#12006).
10938
10939 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10940
10941 * mouse.el (popup-menu): Fix last change.
10942
10943 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10944
10945 Autoload from Lisp with more care. Follow aliases when looking for
10946 function properties.
10947 * subr.el (autoloadp): New function.
10948 (symbol-file): Use it.
10949 (function-get): New function.
10950 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
10951 autoload-do-load.
10952 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
10953 (lisp-indent-function):
10954 * emacs-lisp/gv.el (gv-get):
10955 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
10956 * emacs-lisp/byte-opt.el (byte-optimize-form):
10957 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10958 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
10959 Use function-get.
10960 * emacs-lisp/cl.el: Don't propagate function properties any more.
10961
10962 * speedbar.el (speedbar-add-localized-speedbar-support):
10963 * emacs-lisp/disass.el (disassemble-internal):
10964 * desktop.el (desktop-load-file):
10965 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
10966 (describe-function-1):
10967 * emacs-lisp/find-func.el (find-function-noselect):
10968 * emacs-lisp/elp.el (elp-instrument-function):
10969 * emacs-lisp/advice.el (ad-has-proper-definition):
10970 * apropos.el (apropos-safe-documentation, apropos-macrop):
10971 * emacs-lisp/debug.el (debug-on-entry):
10972 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
10973 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
10974 * calc/calc.el (name): Use autoloadp & autoload-do-load.
10975
10976 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
10977
10978 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
10979 function, not an obsolete variable (Bug#12046).
10980
10981 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10982
10983 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
10984
10985 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
10986
10987 * emacs-lisp/pp.el (pp-display-expression): Select old selected
10988 window only if it is still live (Bug#12034).
10989
10990 2012-07-25 Martin Rudalics <rudalics@gmx.at>
10991
10992 * subr.el (redirect-frame-focus): Add advertised calling
10993 convention (Bug#12030).
10994
10995 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
10996
10997 Prefer typical American spelling for "acknowledgment".
10998 * vc/add-log.el (change-log-acknowledgment): Rename from
10999 change-log-acknowledgement, with an alias for the old name.
11000
11001 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
11002
11003 * calc-alg.el (math-simplify-divide): Don't cross multiply
11004 in an equation when the lhs is a variable.
11005
11006 2012-07-24 Julien Danjou <julien@danjou.info>
11007
11008 * net/netrc.el (netrc-find-service-number, netrc-store-data):
11009 Remove, unused.
11010
11011 2012-07-23 Eli Zaretskii <eliz@gnu.org>
11012
11013 * startup.el (command-line): Don't display an empty user name in
11014 the error message about non-existent home directory, when
11015 init-file-user was set to an empty string. See
11016 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
11017 for the details and context.
11018
11019 2012-07-22 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11020
11021 * ses.el (ses-cell-formula-aset): New macro.
11022 (ses-cell-references-aset): New macro.
11023 (ses-cell-p): New function.
11024 (ses-rename-cell): Do no longer rely on complex operations like
11025 ses-cell-set-formula or ses-set-cell to change the cell and handle
11026 the undo at the same time, but rather use lower level new macros
11027 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
11028 the undo directly. Refresh the mode line.
11029
11030 2012-07-21 Leo Liu <sdl.web@gmail.com>
11031
11032 * progmodes/cc-cmds.el (c-defun-name):
11033 Use match-string-no-properties instead for consistency.
11034
11035 2012-07-20 Leo Liu <sdl.web@gmail.com>
11036
11037 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
11038 (Bug#7879)
11039
11040 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
11041
11042 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
11043
11044 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
11045 * progmodes/bug-reference.el, misearch.el: Provide themselves
11046 (bug#11915).
11047
11048 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
11049 of narrowed buffer (bug#11966).
11050
11051 2012-07-20 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11052
11053 * ses.el (ses-rename-cell): Set new name also in reference list of
11054 cells of which the renamed cell depends.
11055
11056 2012-07-20 Masatake YAMATO <yamato@redhat.com>
11057
11058 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
11059 to check whether menu-bar is shown or not. If not shown,
11060 show the menu-bar as a popup menu instead of using tmm.
11061 * mouse.el (popup-menu): Accept `point' as `position' argument.
11062
11063 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
11064
11065 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
11066 up inside string symbol literal (bug#11923).
11067
11068 2012-07-20 Eli Zaretskii <eliz@gnu.org>
11069
11070 * startup.el (fancy-startup-text): Read the whole tutorial, not
11071 just its first 256 bytes. Prevents gibberish in display of the
11072 tutorial title.
11073
11074 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
11075
11076 Drop idle buffer compaction due to an absence of the
11077 proved efficiency.
11078 * compact.el: Remove.
11079
11080 2012-07-19 Sam Steingold <sds@gnu.org>
11081
11082 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
11083 vc-bzr-pull & vc-bzr-merge-branch.
11084 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
11085 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
11086 for consistency with compilation-error-regexp-alist.
11087 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
11088 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
11089 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
11090 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
11091
11092 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11093
11094 * emacs-lisp/chart.el: Use lexical-binding.
11095 (chart-emacs-storage): Don't hardcode the list of entries.
11096
11097 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11098
11099 Next round of tweaks caused by Fgarbage_collect changes.
11100 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
11101
11102 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11103
11104 Compact buffers when idle.
11105 * compact.el: New file.
11106
11107 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11108
11109 * subr.el (eventp): Presume that if it looks vaguely like an event,
11110 it's an event (bug#10190).
11111
11112 2012-07-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11113
11114 Enhancements to ppss related code (thanks Stefan).
11115 * progmodes/python.el (python-indent-context)
11116 (python-indent-calculate-indentation, python-indent-dedent-line)
11117 (python-indent-electric-colon, python-nav-forward-block)
11118 (python-mode-abbrev-table)
11119 (python-info-assignment-continuation-line-p): Simplify checks
11120 for ppss context.
11121 (python-info-continuation-line-p): Cleanup.
11122 (python-info-ppss-context): Do not catch 'quote.
11123 (python-info-ppss-context-type)
11124 (python-info-ppss-comment-or-string-p): Simplify.
11125
11126 2012-07-18 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11127
11128 * progmodes/python.el: Enhancements to eldoc support.
11129 (python-info-current-symbol): New function.
11130 (python-eldoc-at-point): Use python-info-current-symbol.
11131 (python-info-current-defun): Fix cornercase on first defun scan.
11132 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
11133 and signal error when no inferior python process is available.
11134
11135 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
11136
11137 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
11138 assume it's always t.
11139 (vc-git-registered): Remove caching, the function is only called
11140 once.
11141 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
11142
11143 2012-07-18 Chong Yidong <cyd@gnu.org>
11144
11145 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
11146
11147 * simple.el (count-words): Report on narrowing (Bug#9959).
11148
11149 * bindings.el: Bind M-= to count-words.
11150
11151 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
11152
11153 2012-07-18 Masatake YAMATO <yamato@redhat.com>
11154
11155 * progmodes/sh-script.el (sh-imenu-generic-expression):
11156 Capture a function with `function' keyword and without parentheses
11157 like "function FOO" (bug#11856).
11158
11159 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
11160
11161 * window.el (split-window-sensibly): Make WINDOW argument
11162 optional.
11163
11164 2012-07-18 Chong Yidong <cyd@gnu.org>
11165
11166 * subr.el (keyboard-translate): Doc fix (Bug#7261).
11167
11168 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
11169 and make C-x 8 RET exit isearch (Bug#11439).
11170
11171 * international/iso-transl.el: Move isearch-mode-map key
11172 definitions to isearch.el.
11173
11174 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
11175
11176 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
11177 (eieio-defclass): Use gv-define-setter when possible.
11178
11179 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
11180
11181 Reflect recent changes in Fgarbage_collect.
11182 * emacs-lisp/chart.el (chart-emacs-storage): Change to
11183 reflect new format of data returned by Fgarbage_collect.
11184
11185 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11186
11187 New utility functions + python-info-ppss-context fix (Bug#11910).
11188 * progmodes/python.el (python-info-beginning-of-block-statement-p)
11189 (python-info-ppss-comment-or-string-p): New functions.
11190 (python-info-ppss-context): Small fix for string check.
11191
11192 2012-07-17 Juri Linkov <juri@jurta.org>
11193
11194 * dired-aux.el (dired-do-async-shell-command): Doc fix.
11195 (dired-do-async-shell-command): Don't add `*' at the end of the
11196 command (Bug#11815).
11197 (dired-do-shell-command): Doc fix.
11198 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
11199 Join the individual commands using either "&" or ";" as the
11200 separator depending on the values of these trailing characters.
11201 At the end re-add the trailing "&". (Bug#10598)
11202
11203 * simple.el (async-shell-command): Sync the interactive spec with
11204 `shell-command'. Doc fix.
11205 (shell-command): Doc fix.
11206
11207 2012-07-17 Juri Linkov <juri@jurta.org>
11208
11209 * descr-text.el (describe-char): Fix format args. (Bug#10129)
11210
11211 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11212
11213 Final renames and doc fixes for movement commands (bug#11899).
11214 * progmodes/python.el (python-nav-beginning-of-statement):
11215 Rename from python-nav-statement-start.
11216 (python-nav-end-of-statement): Rename from
11217 python-nav-statement-end.
11218 (python-nav-beginning-of-block): Rename from
11219 python-nav-block-start.
11220 (python-nav-end-of-block): Rename from python-nav-block-end.
11221
11222 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11223
11224 * progmodes/python.el (python-shell-send-string-no-output):
11225 Allow accept-process-output to quit, keeping shell process ready for
11226 future interactions (Bug#11868).
11227
11228 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11229
11230 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
11231
11232 * emacs-lisp/elint.el (elint-find-args-in-code):
11233 Use help-function-arglist, so as to handle lexical byte-code.
11234
11235 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
11236 change (bug#11826).
11237
11238 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11239
11240 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
11241 Avoid spuriously marking the buffer as modified because of c-is-sws.
11242
11243 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
11244 as not-a-comment (bug#11946).
11245
11246 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
11247 for uninterned vars.
11248
11249 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
11250 Use read-event since we don't really want to read chars but bytes.
11251
11252 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
11253 $$..$$ but also $..$ using regexps (bug#11953).
11254 Use tex-verbatim for \url and \path.
11255 (tex-font-lock-keywords): Define as defconst like the others.
11256 (tex-common-initialization): Don't use font-lock-syntax-table any more.
11257
11258 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
11259
11260 * international/mule-cmds.el (ucs-insert): Make it an obsolete
11261 alias for insert-char.
11262
11263 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11264
11265 * progmodes/python.el: Simplified imenu implementation.
11266 (python-nav-jump-to-defun): Remove command.
11267 (python-mode-map): Use `imenu' instead.
11268 (python-nav-list-defun-positions-cache)
11269 (python-imenu-include-defun-type, python-imenu-make-tree)
11270 (python-imenu-subtree-root-label, python-imenu-index-alist):
11271 Remove vars.
11272 (python-nav-list-defun-positions, python-nav-read-defun)
11273 (python-imenu-tree-assoc, python-imenu-make-element-tree)
11274 (python-imenu-make-tree, python-imenu-create-index):
11275 Remove functions.
11276 (python-mode): Update to interact with imenu by setting
11277 `imenu-extract-index-name-function' only.
11278
11279 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11280
11281 * progmodes/python.el: Enhancements to navigation commands.
11282 (python-nav-backward-sentence)
11283 (python-nav-forward-sentence): Remove.
11284 (python-nav-backward-statement, python-nav-forward-statement)
11285 (python-nav-statement-start, python-nav-statement-end)
11286 (python-nav-backward-block, python-nav-forward-block)
11287 (python-nav-block-start, python-nav-block-end)
11288 (python-nav-forward-sexp-function)
11289 (python-info-current-line-comment-p)
11290 (python-info-current-line-empty-p): New functions.
11291 (python-indent-context): Use `python-nav-statement-start'.
11292
11293 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
11294
11295 * eshell/em-ls.el (eshell/ls): Use `apply'.
11296
11297 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
11298 multi-hops, instead of Tramp internals.
11299
11300 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
11301
11302 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
11303 when F1 and F2 are located on different hosts.
11304
11305 2012-07-14 Chong Yidong <cyd@gnu.org>
11306
11307 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
11308 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
11309 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
11310 (xterm-mouse--read-event-sequence-1000)
11311 (xterm-mouse--read-event-sequence-1006): New functions. For old
11312 mouse protocol, handle M-mouse-X events correctly.
11313 (xterm-mouse-event): New arg specifying mouse protocol.
11314 (turn-on-xterm-mouse-tracking-on-terminal)
11315 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
11316 sequence to toggle extended coordinates on newer XTerms.
11317 This appears to be harmless on terminals which do not support this.
11318
11319 2012-07-14 Leo Liu <sdl.web@gmail.com>
11320
11321 Add fringe bitmap indicators for flymake. (Bug#11253)
11322 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
11323 (flymake-make-overlay): New arg BITMAP.
11324 (flymake-error-bitmap, flymake-warning-bitmap)
11325 (flymake-fringe-indicator-position): New user variables.
11326
11327 * fringe.el: New bitmap exclamation-mark.
11328
11329 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
11330
11331 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
11332 also (Bug#7879).
11333
11334 2012-07-14 Chong Yidong <cyd@gnu.org>
11335
11336 * electric.el (electric-pair-post-self-insert-function): Fix pair
11337 insertion in empty-region case (Bug#11520).
11338
11339 2012-07-14 Chong Yidong <cyd@gnu.org>
11340
11341 * bindings.el: Consolidate ctl-x-r-map bindings.
11342 Bind copy-rectangle-as-kill to C-x r w.
11343
11344 * rect.el, register.el: Move bindings to bindings.el.
11345
11346 2012-07-14 Reuben Thomas <rrt@sc3d.org>
11347
11348 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
11349
11350 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
11351
11352 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
11353
11354 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
11355
11356 * bindings.el (top): Use `mapc' instead of `mapcar'.
11357
11358 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
11359
11360 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
11361
11362 * progmodes/sql.el (sql-comint): Suppress the check for program on
11363 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
11364 (Bug#11908)
11365
11366 2012-07-13 Chong Yidong <cyd@gnu.org>
11367
11368 * bindings.el: Assign a non-nil permanent-local property to
11369 per-buffer variables which lack a default value (Bug#11930).
11370
11371 * help-fns.el (describe-variable): In the "automatically becomes
11372 local" notice, take note of permanent-local variables.
11373
11374 2012-07-13 Chong Yidong <cyd@gnu.org>
11375
11376 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
11377 to allow printing the message when called from Lisp.
11378
11379 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11380 Remove toggle-read-only.
11381
11382 * bs.el (bs-toggle-readonly):
11383 * buff-menu.el (Buffer-menu-toggle-read-only):
11384 Remove with-no-warnings around toggle-read-only.
11385
11386 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
11387 Remove with-no-warnings around toggle-read-only.
11388 (ffap-read-only, ffap-read-only-other-window)
11389 (ffap-read-only-other-frame): Callers changed.
11390
11391 * help-mode.el: Don't require view package.
11392 (help-mode-finish): Set buffer-read-only instead of calling
11393 toggle-read-only.
11394
11395 * bindings.el (mode-line-toggle-read-only):
11396 * dired.el (dired-toggle-read-only):
11397 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
11398 with non-nil second arg.
11399
11400 * emacs-lisp/eieio-custom.el (eieio-customize-object):
11401 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
11402 directly.
11403
11404 2012-07-12 Eli Zaretskii <eliz@gnu.org>
11405
11406 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
11407 not incf.
11408
11409 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
11410
11411 More CL cleanups and reduction of use of cl.el.
11412 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
11413 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
11414 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
11415 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
11416 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
11417 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
11418 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
11419 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
11420 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
11421 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
11422 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
11423 * eshell/em-cmpl.el, eshell/em-banner.el:
11424 * calendar/parse-time.el: Use cl-lib.
11425 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
11426 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
11427 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
11428 * term/ns-win.el, term.el, shell.el, ps-samp.el:
11429 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
11430 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
11431 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
11432 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
11433 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
11434 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
11435 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
11436 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
11437 `lambda' rather than with `quote'.
11438 (eshell-do-opt): Adjust accordingly.
11439 (eshell-process-option): Simplify.
11440 * eshell/esh-var.el:
11441 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
11442 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
11443 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
11444 to `pcase--dontcare'.
11445 * emacs-lisp/cl.el (labels): Mark obsolete.
11446 (cl--letf, letf): Move to cl-lib.
11447 (cl--letf*, letf*): Remove.
11448 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
11449 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
11450 (cl-progv): Rewrite.
11451 (cl--letf, cl-letf): Move from cl.el.
11452 (cl-letf*): New macro.
11453 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
11454
11455 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
11456
11457 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
11458
11459 2012-07-11 Chong Yidong <cyd@gnu.org>
11460
11461 * vc/log-edit.el (log-edit-vc-backend): New variable.
11462 (log-edit): Doc fix.
11463
11464 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
11465 argument of log-edit to set up all local variables.
11466 (vc-start-logentry): New optional arg specifying VC backend.
11467
11468 * vc/vc.el (vc-checkin): Use it.
11469 (vc-deduce-fileset): Handle Log Edit buffers.
11470 (vc-diff): Make first argument optional too.
11471
11472 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
11473
11474 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
11475
11476 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
11477 command, just in case. The function is not needed anymore.
11478 (eshell-external-command): Do not call `eshell-remote-command'.
11479
11480 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
11481
11482 Reduce use of (require 'cl).
11483 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
11484 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
11485 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
11486 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
11487 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
11488 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
11489 * battery.el, avoid.el, abbrev.el: Use cl-lib.
11490 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
11491 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
11492 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
11493 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
11494 * calculator.el, autorevert.el, apropos.el: Don't require CL.
11495 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
11496 (byte-compile-unfold-bcf, byte-compile-check-variable):
11497 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
11498 (byte-compile-nilconstp):
11499 * emacs-lisp/autoload.el (make-autoload): Use pcase.
11500 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
11501
11502 * emacs-lisp/gv.el (cond): Make it a valid place.
11503 (if): Simplify slightly.
11504
11505 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
11506 (pcase--self-quoting-p): New function.
11507 (pcase--u1): Use it.
11508
11509 2012-07-10 Glenn Morris <rgm@gnu.org>
11510
11511 * emacs-lisp/authors.el (authors-fixed-entries):
11512 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
11513
11514 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
11515
11516 Rename configure.in to configure.ac (Bug#11603).
11517 * emacs-lisp/authors.el (authors-canonical-file-name):
11518 * progmodes/autoconf.el (autoconf-mode):
11519 Prefer configure.ac to configure.in.
11520
11521 2012-07-08 Chong Yidong <cyd@gnu.org>
11522
11523 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
11524 Implement the mouse-1-click-follows-link handling properly.
11525
11526 * info.el (Info-link-keymap): Use follow-link mechanism for
11527 header-line links (Bug#374).
11528
11529 * simple.el (deactivate-mark): Do not set the primary selection
11530 if another program has acquired it (Bug#11772).
11531
11532 2012-07-07 Kevin Ryde <user42@zip.com.au>
11533
11534 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
11535 (woman-decode-region): Replace escaped-escapes without destroying
11536 bold or underline (Bug#11552).
11537 (woman2-process-escapes): Handle nofill regions (Bug#11591).
11538
11539 2012-07-07 Chong Yidong <cyd@gnu.org>
11540
11541 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
11542 (interprogram-cut-function, interprogram-paste-function):
11543 Mention that we typically mean the clipboard.
11544
11545 2012-07-06 Glenn Morris <rgm@gnu.org>
11546
11547 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
11548
11549 * files.el (toggle-read-only): Restrict message to interactive use.
11550
11551 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
11552
11553 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
11554
11555 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
11556
11557 2012-07-06 Glenn Morris <rgm@gnu.org>
11558
11559 * Makefile.in (compile-one-process): Rename from "recompile".
11560
11561 * Makefile.in (bzr-update): "compile" is the same as "recompile
11562 autoloads", but parallelizable, so use that instead.
11563
11564 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
11565
11566 * window.el (quit-window): Always restore window height when
11567 it's saved in quit-restore parameter (Bug#11810).
11568
11569 2012-07-06 Glenn Morris <rgm@gnu.org>
11570
11571 * simple.el (kill-whole-line): Doc tweak.
11572
11573 2012-07-06 Eli Zaretskii <eliz@gnu.org>
11574
11575 * files.el (file-relative-name): Compare file names
11576 case-insensitively if on MS-Windows or MS-DOS, or if
11577 read-file-name-completion-ignore-case is non-nil. Don't use
11578 case-fold-search for this purpose. (Bug#11827)
11579
11580 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
11581
11582 * calendar/cal-dst.el (calendar-current-time-zone):
11583 Return calendar-current-time-zone-cache if non-nil.
11584
11585 2012-07-17 Masatake YAMATO <yamato@redhat.com>
11586 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11587
11588 * calendar/cal-dst.el (calendar-current-time-zone):
11589 Return calendar-current-time-zone-cache if non-nil.
11590
11591 2012-07-06 Glenn Morris <rgm@gnu.org>
11592
11593 * Makefile.in (cvs-update): Remove old alias.
11594
11595 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
11596
11597 Sync with Tramp 2.2.6-pre.
11598
11599 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
11600 compatible declaration.
11601
11602 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11603 Protect `list-load-path-shadows' call.
11604
11605 * net/tramp-compat.el (top): Require packages, which aren't
11606 autoloaded anymore for XEmacs. Protect call of
11607 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
11608 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
11609 it hurts at least for SXEmacs.
11610 (tramp-compat-temporary-file-directory): In XEmacs, there is no
11611 standard-value for `temporary-file-directory'.
11612
11613 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
11614 Redirect stderr to /dev/null.
11615 (tramp-sh-handle-write-region): uid and gid can be floats.
11616 Reported by Russell Sim <russell.sim@gmail.com>.
11617 (tramp-sh-handle-vc-registered): Hide errors.
11618 (tramp-vc-file-name-handler): Use dummy results for `process-file'
11619 and `start-file-process'.
11620 (tramp-maybe-open-connection): Check also whether `non-essential'
11621 is bound.
11622
11623 2012-07-04 Chong Yidong <cyd@gnu.org>
11624
11625 * xml.el (xml--parse-buffer): Use xml-syntax-table.
11626 (xml-parse-tag): Likewise, and avoid changing entity tables.
11627 (xml-syntax-table): Define from scratch, making sure not to give
11628 x2000 and other Unicode spaces whitespace syntax, since those are
11629 not spaces in XML.
11630 (xml-parse-fragment): Delete unused function.
11631 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
11632 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
11633 (xml-entity-ref, xml-pe-reference-re)
11634 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
11635 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
11636 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
11637 (xml-entity-value-re): Use syntax references in regexps where
11638 possible; no need to define inside a let-binding.
11639 (xml-parse-dtd): Use xml-pe-reference-re.
11640 (xml-entity-or-char-ref-re): New defconst.
11641 (xml-parse-string, xml-substitute-special): Use it.
11642
11643 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11644
11645 * files.el (locate-dominating-file): Allow `name' to be a predicate.
11646 (find-file--read-only): New function.
11647 (find-file-read-only, find-file-read-only-other-window)
11648 (find-file-read-only-other-frame): Use it.
11649 (insert-file-contents-literally): Don't `fset'.
11650 (get-free-disk-space): Use locate-dominating-file.
11651
11652 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
11653 function is already compiled.
11654
11655 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
11656
11657 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
11658
11659 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
11660 files on the same host.
11661
11662 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
11663
11664 * help-fns.el (describe-function-1): Only call
11665 help-fns--autoloaded-p when we have a file name. (Bug#11848)
11666
11667 2012-07-03 Chong Yidong <cyd@gnu.org>
11668
11669 * xml.el: Protect parser against XML bombs.
11670 (xml-entity-expansion-limit): New variable.
11671 (xml-parse-string, xml-substitute-special): Use it.
11672 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
11673
11674 2012-07-03 Glenn Morris <rgm@gnu.org>
11675
11676 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11677 Allow linking to specific messages in debbugs reports (eg 123#5).
11678
11679 2012-07-02 Chong Yidong <cyd@gnu.org>
11680
11681 * xml.el: Fix entity and character reference expansion, allowing
11682 them to expand into markup as per XML spec.
11683 (xml-default-ns): New variable.
11684 (xml-entity-alist): Use XML spec definitions for lt and amp.
11685 (xml-parse-region): Make first two arguments optional.
11686 Discard text properties.
11687 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
11688 All callers changed.
11689 (xml-parse-tag): Call xml-parse-tag-1. For backward
11690 compatibility, this function should not modify buffer contents.
11691 (xml-parse-tag-1): Fix opening-tag regexp.
11692 (xml-parse-string): Rewrite, handling entity and character
11693 references properly.
11694 (xml--entity-replacement-text): Signal an error if a parameter
11695 entity is undefined.
11696
11697 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11698
11699 * comint.el (comint-output-filter): Filter out repeated prompts.
11700
11701 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
11702 and file-name-absolute-p.
11703 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
11704 internal calls.
11705
11706 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
11707
11708 Spelling fixes.
11709 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
11710 Rename from byte-compile--refiy-function. All uses changed.
11711
11712 2012-07-01 Chong Yidong <cyd@gnu.org>
11713
11714 * xml.el (xml--parse-buffer): New function. Move most of
11715 xml-parse-region here.
11716 (xml-parse-region): Copy region into a temporary buffer, since
11717 parameter entity substitution requires changing buffer contents.
11718 Use xml--parse-buffer.
11719 (xml-parse-file): Use xml--parse-buffer.
11720 (xml-parse-dtd): Make parameter entity substitution work right.
11721 Use proper regexps for ELEMENT declarations (Bug#7172).
11722
11723 2012-06-30 Glenn Morris <rgm@gnu.org>
11724
11725 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
11726
11727 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
11728 Remove outdated and unnecessary dbus declarations.
11729
11730 2012-06-30 Eli Zaretskii <eliz@gnu.org>
11731
11732 * emacs-lisp/timer.el (timer-until): Subtract results of
11733 float-time, instead of taking float-time of the result of
11734 time-subtract, since float-time signals an error for negative time
11735 arguments.
11736
11737 2012-06-30 Chong Yidong <cyd@gnu.org>
11738
11739 * xml.el (xml-*-re): Convert defvars into defconsts, and
11740 eval-and-compile them so eval-and-compile works on derivatives.
11741 (xml--entity-replacement-text): Use eval-and-comple.
11742
11743 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
11744
11745 * vc/vc-git.el (vc-git-registered): Use cache property
11746 `git-registered'.
11747 (vc-git-mode-line-string): Call `vc-working-revision' instead of
11748 `vc-git-working-revision' in order to benefit from the cache.
11749 (vc-git-root): Use cache property `git-root'. (Bug#11757)
11750
11751 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
11752
11753 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
11754 removed (likely outside Emacs). (Bug#11757)
11755
11756 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11757
11758 * emacs-lisp/cl-lib.el: Require macroexp.
11759
11760 2012-06-30 Chong Yidong <cyd@gnu.org>
11761
11762 * xml.el: Implement XML parameter entities.
11763 (xml-parameter-entity-alist): New variable.
11764 (xml-parse-region, xml-parse-fragment): Preserve previous values
11765 of xml-entity-alist and xml-parameter-entity-alist, so that
11766 repeated calls on different documents do not change them.
11767 (xml-parse-tag): Fix doctype regexp.
11768 (xml--entity-replacement-text): New function.
11769 (xml-parse-dtd): Use it. Don't handle system entities; doing that
11770 properly requires url retrieval which is unimplemented.
11771 (xml-escape-string): Doc fix.
11772
11773 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11774
11775 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
11776
11777 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
11778
11779 * fringe.el (fringe-mode): Doc fix.
11780
11781 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
11782
11783 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
11784 is non-nil.
11785 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
11786 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
11787
11788 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
11789
11790 * calendar/cal-dst.el (calendar-current-time-zone):
11791 Return calendar-current-time-zone-cache if non-nil.
11792
11793 2012-06-29 Masatake YAMATO <yamato@redhat.com>
11794
11795 * progmodes/which-func.el (which-func-format):
11796 Add mouse-face. (Bug#11698)
11797
11798 2012-06-29 Leo Liu <sdl.web@gmail.com>
11799
11800 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
11801
11802 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11803
11804 * minibuffer.el (minibuffer-confirm-exit-commands):
11805 Add completion-at-point (bug#11725).
11806
11807 2012-06-29 Glenn Morris <rgm@gnu.org>
11808
11809 * progmodes/f90.el (f90-font-lock-keywords-2):
11810 Add some preprocessor elements. (Bug#10499)
11811
11812 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11813
11814 * progmodes/cperl-mode.el (cperl-update-syntaxification):
11815 Use syntax-propertize (bug#11739).
11816
11817 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
11818
11819 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
11820
11821 2012-06-28 Julien Danjou <julien@danjou.info>
11822
11823 * term.el (term-handle-colors-array): Use a set of new faces to
11824 color the terminal. Also uses :inverse-video property.
11825 (term-default-fg-color): Set to nil by default, deprecate in favor
11826 of `term-face'.
11827 (term-default-bg-color): Set to nil by default, deprecate in favor
11828 of `term-face'.
11829 (term-current-face): Use `term-face' by default.
11830 (term-bold-attribute): Variable deleted.
11831
11832 2012-06-28 Glenn Morris <rgm@gnu.org>
11833
11834 * simple.el (completion-list-mode-finish):
11835 Don't use toggle-read-only. (Since completion-list-mode has
11836 a special mode-class, it wasn't doing anything extra anyway.)
11837
11838 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
11839
11840 Make inlining of other-mode interpreted functions work (bug#11799).
11841 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
11842 (byte-compile): Use it to fix compilation of lexical-binding closures.
11843 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
11844 function, if needed.
11845
11846 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11847
11848 * help-mode.el (help-make-xrefs): Don't just withstand
11849 cyclic-variable-indirection but any error in documentation-property.
11850
11851 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
11852 memory use.
11853 * bindings.el (bindings--define-key): New function.
11854 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
11855 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
11856 * bindings.el: Use it to purecopy define-key bindings.
11857
11858 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
11859
11860 * emacs-lisp/cl.el (flet): Mark obsolete.
11861 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
11862 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
11863 * progmodes/js.el (js-c-fill-paragraph):
11864 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
11865 (ebrowse-switch-member-buffer-to-derived-class):
11866 * play/5x5.el (5x5-solver): Use cl-flet.
11867
11868 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
11869 (cl--symbol-function): New macro.
11870 (cl--letf, cl--letf*): Use it.
11871
11872 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
11873 Strip "toggle-" if any.
11874
11875 2012-06-27 Glenn Morris <rgm@gnu.org>
11876
11877 * info.el (Info-default-directory-list): Move here from paths.el.
11878 * paths.el: Remove file, which is now empty.
11879 * loadup.el: No longer load "paths".
11880
11881 * custom.el (custom-initialize-delay): Doc fix.
11882
11883 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11884 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
11885 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
11886 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
11887 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
11888 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
11889 * eshell/eshell.el (eshell-defgroup): Remove alias.
11890
11891 2012-06-27 Chong Yidong <cyd@gnu.org>
11892
11893 * help.el (help-enable-auto-load): New variable.
11894
11895 * help-fns.el (help-fns--autoloaded-p): New function.
11896 (describe-function-1): Refer to a function as "autoloaded" if it
11897 was autoloaded at any time in the past. Perform autoloading if
11898 help-enable-auto-load is non-nil.
11899
11900 2012-06-26 Eli Zaretskii <eliz@gnu.org>
11901
11902 * makefile.w32-in (compile, compile-always): Depend on
11903 update-subdirs, not on subdirs.el. Otherwise, several different
11904 sub-targets of 'bootstrap' running in parallel could
11905 simultaneously write to subdirs.el, producing a garbled file.
11906
11907 2012-06-26 Sam Steingold <sds@gnu.org>
11908
11909 * files.el (file-name-base): New convenience function.
11910 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
11911 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
11912 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
11913 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
11914 * textmodes/ispell.el, textmodes/reftex-ref.el:
11915 * textmodes/tex-mode.el: Use it.
11916 Did not touch cedet and org because they are maintained elsewhere.
11917
11918 2012-06-26 Martin Rudalics <rudalics@gmx.at>
11919
11920 * calendar/calendar.el (calendar-exit): Don't try to delete or
11921 iconify last frame. See:
11922 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
11923
11924 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
11925
11926 * server.el (server-process-filter): Remember dir in the
11927 process's `server-client-directory' properties.
11928
11929 2012-06-24 Chong Yidong <cyd@gnu.org>
11930
11931 * xml.el (xml-parse-tag): Correctly handle comment embedded in
11932 non-tag text.
11933
11934 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
11935
11936 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
11937
11938 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11939
11940 * help-fns.el (describe-variable): Don't croak when doc is not found.
11941 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
11942 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
11943 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
11944 * emacs-lisp/smie.el (smie-next-sexp): CSE.
11945 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
11946 ((lambda ..) ..).
11947 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
11948
11949 2012-06-23 Chong Yidong <cyd@gnu.org>
11950
11951 * info.el (Info-mouse-follow-link): Accept symbol values of
11952 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
11953 (Info-fontify-node): Use Info-link-keymap for all navigation
11954 buttons, with link-args property to perform the desired action.
11955 (Info-link-keymap): Doc fix.
11956 (Info-next-link-keymap, Info-prev-link-keymap)
11957 (Info-up-link-keymap): Delete now-unused keymaps.
11958
11959 2012-06-23 Chong Yidong <cyd@gnu.org>
11960
11961 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
11962
11963 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
11964 system abbrevs.
11965
11966 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
11967
11968 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11969
11970 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
11971 (bug#11719).
11972
11973 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
11974 the requote function doesn't work properly (bug#11714).
11975
11976 2012-06-23 Glenn Morris <rgm@gnu.org>
11977
11978 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
11979
11980 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11981
11982 Further GV/CL cleanups.
11983 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
11984 gv-expander.
11985 (gv--defun-declaration): New function.
11986 (defun-declarations-alist): Use it.
11987 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
11988 (gv-place): Autoload.
11989 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
11990 original definition of dotimes and dolist.
11991 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
11992 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
11993 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
11994 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11995 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
11996 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
11997 to the function's definition.
11998 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
11999 * window.el:
12000 * files.el:
12001 * faces.el:
12002 * env.el: Don't use CL.
12003
12004 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
12005
12006 Support higher-resolution time stamps (Bug#9000).
12007
12008 * calendar/time-date.el (with-decoded-time-value): New arg
12009 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
12010 (encode-time-value): New optional arg PICO. New type 3.
12011 (time-to-seconds) [!float-time]: Support the new picoseconds
12012 component if it's used.
12013 (seconds-to-time, time-subtract, time-add):
12014 Support ps-resolution time stamps as well.
12015
12016 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
12017 (timerp): Timer vectors now have length 9, not 8.
12018 (timer--time): Support new-style (4-part) time stamps.
12019 (timer-next-integral-multiple-of-time): Time stamps now have
12020 picosecond resolution, so take a bit more care about rounding.
12021 (timer-relative-time, timer-inc-time): New optional arg psecs.
12022 (timer-set-time-with-usecs): Set psecs to 0.
12023 (timer--activate): Check psecs component, too.
12024
12025 * proced.el (proced-time-lessp): Support ps-resolution stamps.
12026
12027 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12028
12029 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
12030 Move the non-essential binding to the post/pre-command-hook where it is
12031 more obviously correct.
12032
12033 * subr.el (read-passwd): Don't use a history at all.
12034 * savehist.el (savehist-save): Remove password saved accidentally
12035 because of the above bug.
12036
12037 2012-06-22 Bastien Guerry <bzg@gnu.org>
12038
12039 * files.el (toggle-read-only): Display a message telling whether
12040 the buffer is read-only or not (bug#11726).
12041
12042 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12043
12044 * emacs-lisp/gv.el: New file.
12045 * subr.el (push, pop): Extend to generalized variables.
12046 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
12047 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
12048 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
12049 gv-define-simple-setter, and gv-define-expander.
12050 Remove setf-methods defined in gv. Rename cl-setf -> setf.
12051 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
12052 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
12053 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
12054 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
12055 gv-letplace.
12056 (cl-defstruct): Don't define setf-method any more.
12057 * emacs-lisp/cl.el (flet): Don't autoload.
12058 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
12059 (define-setf-expander, defsetf, define-modify-macro)
12060 (cl-struct-setf-expander): Move from cl-lib.el.
12061 * emacs-lisp/syntax.el:
12062 * emacs-lisp/ewoc.el:
12063 * emacs-lisp/smie.el:
12064 * emacs-lisp/cconv.el:
12065 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
12066 (timer--time): Use gv-define-simple-setter.
12067 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
12068 to avoid coding-system problems in subr.el. Adjust all users.
12069 (macroexp--maxsize, macroexp-small-p): New functions.
12070 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
12071 * scroll-bar.el (scroll-bar-mode):
12072 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
12073 (normal-erase-is-backspace-mode): Don't use the `eq' place.
12074 * winner.el (winner-configuration, winner-make-point-alist)
12075 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
12076 * files.el (locate-file-completion-table): Avoid list*.
12077
12078 2012-06-22 Chong Yidong <cyd@gnu.org>
12079
12080 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
12081 (dired-create-files): Doc fix (Bug#11329).
12082 (dired-do-copy): Doc fix (Bug#11334).
12083 (dired-mark-read-string): Doc fix (Bug#11553).
12084
12085 * dired.el (dired-recursive-copies, dired-recursive-deletes):
12086 Doc fix (Bug#11326).
12087 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
12088 (dired-dwim-target): Doc fix.
12089
12090 * wdired.el (wdired-mode): Doc fix.
12091
12092 2012-06-22 Glenn Morris <rgm@gnu.org>
12093
12094 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
12095 (pcmpl-rpm-cache-stamp-file): New constant.
12096 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
12097 (pcmpl-rpm-packages): Optionally cache list of packages.
12098
12099 * pcmpl-rpm.el (pcmpl-rpm): New group.
12100 (pcmpl-rpm-query-options): New option.
12101 (pcmpl-rpm-packages): No need to inline it.
12102 Use pcmpl-rpm-query-options.
12103
12104 * calendar/calendar.el (calendar-in-read-only-buffer):
12105 Avoid some needless mode changes.
12106
12107 2012-06-21 Chong Yidong <cyd@gnu.org>
12108
12109 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
12110 (desktop-path): Remove . from the default value (Bug#10977).
12111 (desktop-read): Use user-emacs-directory if desktop-path is nil.
12112
12113 2012-06-20 Chong Yidong <cyd@gnu.org>
12114
12115 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
12116
12117 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
12118
12119 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
12120 (bug#11201).
12121
12122 2012-06-20 Chong Yidong <cyd@gnu.org>
12123
12124 * term.el (term-window-width): Handle the case of a missing right
12125 fringe (Bug#8837).
12126 (term-check-size): Use window-text-height (Bug#5445).
12127 (term-mode): Use define-derived-mode. Minor cleanups.
12128 Set font-lock-defaults (Bug#7692).
12129 (term-move-columns, term-insert-char, term-emulate-terminal)
12130 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
12131
12132 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
12133
12134 * net/ange-ftp.el (ange-ftp-get-passwd):
12135 Bind `enable-recursive-minibuffers'.
12136 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
12137
12138 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
12139
12140 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
12141
12142 2012-06-19 Glenn Morris <rgm@gnu.org>
12143
12144 * progmodes/python.el (python-mode): Derive from prog-mode.
12145
12146 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
12147
12148 * emulation/edt.el (edt-default-menu-bar-update-buffers)
12149 (edt-user-menu-bar-update-buffers): New functions.
12150 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
12151
12152 2012-06-19 Chong Yidong <cyd@gnu.org>
12153
12154 * subr.el (with-selected-window): Preserve the selected window's
12155 terminal's top-frame (Bug#4702).
12156
12157 * window.el (save-selected-window): Likewise.
12158
12159 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12160
12161 * progmodes/python.el (python-rx-constituents): Move backquote.
12162 (python-skeleton-define, python-define-auxiliary-skeleton):
12163 Use `declare'.
12164
12165 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
12166
12167 * minibuffer.el (read-file-name-default): Revert the patch from
12168 2012-06-17.
12169
12170 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12171
12172 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
12173 (pcase--u1, pcase--q1): Don't use apply-partially.
12174
12175 2012-06-18 Glenn Morris <rgm@gnu.org>
12176
12177 * progmodes/python.el (python-proc, python-buffer)
12178 (python-send-receive, python-send-string): Fix obsolete versions.
12179
12180 2012-06-18 Martin Rudalics <rudalics@gmx.at>
12181
12182 * window.el (special-display-p): Completely remove stringp
12183 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
12184
12185 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
12186
12187 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
12188
12189 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
12190
12191 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
12192 * net/tramp-sh.el (tramp-maybe-open-connection):
12193 Throw if `non-essential' is non-nil.
12194
12195 2012-06-17 Martin Rudalics <rudalics@gmx.at>
12196
12197 * window.el (special-display-p): Signal an error if BUFFER-NAME
12198 is not a string (Bug#11713).
12199
12200 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
12201
12202 * progmodes/python.el (python-info-beginning-of-backslash):
12203 Rename from python-info-beginning-of-backlash, as a spelling fix.
12204
12205 2012-06-17 Chong Yidong <cyd@gnu.org>
12206
12207 * term.el (term-emulate-terminal): If term-check-size is called,
12208 move point to the process mark without resetting point (Bug#4635).
12209
12210 2012-06-17 Glenn Morris <rgm@gnu.org>
12211
12212 * international/mule-cmds.el (mule-menu-keymap)
12213 (set-language-environment, set-locale-environment): Doc tweaks.
12214
12215 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
12216
12217 * cus-face.el (custom-face-attributes): Add wave-style underline
12218 attribute.
12219 * faces.el (set-face-attribute): Update docstring to describe
12220 wave-style underline attribute.
12221
12222 2012-06-16 Chong Yidong <cyd@gnu.org>
12223
12224 * term/xterm.el (terminal-init-xterm): Discard input before
12225 querying background mode (Bug#10959).
12226
12227 2012-06-16 Stefan Merten <smerten@oekonux.de>
12228
12229 * textmodes/rst.el: Added and corrected some comments.
12230 (rst-re-alist-def): Improve symbol syntax.
12231 (rst-mode-syntax-table): Correct syntax entries.
12232 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
12233 (rst-official-version, rst-official-cvs-rev): Update version
12234 information.
12235
12236 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
12237
12238 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
12239 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
12240
12241 2012-06-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12242
12243 * progmodes/python.el: New python.el merge.
12244 (python-guess-indent): Obsolete var.
12245 (python-indent-guess-indent-offset): New defcustom.
12246 (python-indent): Obsolete var.
12247 (python-indent-offset): New defcustom.
12248 (python-python-command, python-jython-command): Delete var.
12249 (python-shell-interpreter): New defcustom.
12250 (python-pdbtrack-do-tracking-p): Delete var.
12251 (python-pdbtrack-activate): New defcustom.
12252 (python-use-skeletons): Obsolete var.
12253 (python-skeleton-autoinsert): New defcustom.
12254 (inferior-python-filter-regexp, python-continuation-offset)
12255 (python-honour-comment-indentation, python-indent-string-contents)
12256 (python-jython-packages, python-mode-hook)
12257 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
12258 (python-shell-prompt-alist)
12259 (python-source-modes): Delete defcustoms.
12260 (python-check-buffer-name, python-eldoc-setup-code)
12261 (python-eldoc-string-code, python-ffap-setup-code)
12262 (python-ffap-string-code, python-fill-comment-function)
12263 (python-fill-decorator-function, python-fill-paren-function)
12264 (python-fill-string-function, python-imenu-include-defun-type)
12265 (python-imenu-make-tree, python-imenu-subtree-root-label)
12266 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
12267 (python-shell-compilation-regexp-alist)
12268 (python-shell-completion-module-string-code)
12269 (python-shell-completion-pdb-string-code)
12270 (python-shell-completion-setup-code)
12271 (python-shell-completion-string-code)
12272 (python-shell-enable-font-lock, python-shell-exec-path)
12273 (python-shell-extra-pythonpaths)
12274 (python-shell-internal-buffer-name, python-shell-interpreter-args)
12275 (python-shell-process-environment)
12276 (python-shell-prompt-block-regexp)
12277 (python-shell-prompt-output-regexp)
12278 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
12279 (python-shell-send-setup-max-wait, python-shell-setup-codes)
12280 (python-shell-virtualenv-path): New defcustoms.
12281 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
12282 (inferior-python-mode-syntax-table, python--prompt-regexp)
12283 (python-buffer, python-command python-python-command)
12284 (python-default-template, python-imports, python-indent-index)
12285 (python-indent-list, python-indent-list-length)
12286 (python-mode-running, python-pdbtrack-is-tracking-p)
12287 (python-preoutput-continuation, python-preoutput-leftover)
12288 (python-preoutput-result, python-preoutput-skip-next-prompt)
12289 (python-prev-dir/file, python-recursing)
12290 (python-saved-check-command, python-version-checked)
12291 (python-which-func-length-limit)
12292 (view-return-to-alist): Delete vars.
12293 (python-check-custom-command, python-dotty-syntax-table)
12294 (python-imenu-index-alist, python-indent-current-level)
12295 (python-indent-dedenters, python-indent-levels)
12296 (python-nav-beginning-of-defun-regexp)
12297 (python-nav-list-defun-positions-cache)
12298 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
12299 (python-shell-internal-buffer)
12300 (python-skeleton-available): New vars.
12301 (def-python-skeleton): Delete macro.
12302 (python-skeleton-define): New macro.
12303 (python-define-auxiliary-skeleton, python-rx): New macros.
12304 (python-insert-class): Delete command.
12305 (python-skeleton-class): New command.
12306 (python-insert-def): Delete command.
12307 (python-skeleton-def): New command.
12308 (python-insert-for): Delete command.
12309 (python-skeleton-for): New command.
12310 (python-insert-if): Delete command.
12311 (python-skeleton-if): New command.
12312 (python-insert-try/except, python-insert-try/finally): Delete commands.
12313 (python-skeleton-try): New command.
12314 (python-insert-while): Delete command.
12315 (python-skeleton-while): New command.
12316 (python-backspace): Delete command.
12317 (python-indent-dedent-line-backspace): New command.
12318 (python-electric-colon): Delete command.
12319 (python-indent-electric-colon): New command.
12320 (python-guess-indent): Delete command.
12321 (python-indent-guess-indent-offset): New command.
12322 (python-shift-left): Delete command.
12323 (python-indent-shift-left): New command.
12324 (python-shift-right): Delete command.
12325 (python-indent-shift-right): New command.
12326 (python-find-function): Delete command.
12327 (python-nav-jump-to-defun): New command.
12328 (python-next-statement): Delete command.
12329 (python-nav-forward-sentence): New command.
12330 (python-previous-statement): Delete command.
12331 (python-nav-backward-sentence): New command.
12332 (python-fill-paragraph): Delete command.
12333 (python-fill-paragraph-function): New command.
12334 (python-send-buffer): Delete command.
12335 (python-shell-send-buffer): New command.
12336 (python-send-defun): Delete command.
12337 (python-shell-send-defun): New command.
12338 (python-send-region, python-send-region-and-go): Delete commands.
12339 (python-shell-send-region)
12340 (python-shell-switch-to-shell): New commands.
12341 (python-send-string): Delete command.
12342 (python-shell-send-string): New command.
12343 (python-switch-to-python): Delete command.
12344 (python-shell-switch-to-shell): New command.
12345 (python-describe-symbol): Delete command.
12346 (python-eldoc-at-point): New command.
12347 (python--set-prompt-regexp, python-args-to-list)
12348 (python-after-info-look, python-check-version)
12349 (python-check-comint-prompt, python-find-imports)
12350 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
12351 (python-unload-function, python-expand-template)
12352 (python-maybe-jython, python-preoutput-filter)
12353 (python-pdbtrack-get-source-buffer)
12354 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
12355 (python-pdbtrack-toggle-stack-tracking)
12356 (python-pdbtrack-track-stack-file, python-initial-text)
12357 (python-first-word, python-comment-line-p, python-send-command)
12358 (python-setup-brm, python-sentinel, python-set-proc)
12359 (python-skip-out, python-input-filter, python-outdent-p)
12360 (python-outline-level, python-backslash-continuation-line-p)
12361 (python-end-of-block, python-end-of-statement, python-mark-block)
12362 (python-beginning-of-block, python-beginning-of-statement)
12363 (python-blank-line-p, python-beginning-of-string)
12364 (python-open-block-statement-p): Delete functions.
12365 (python-indent-line, python-indent-line-1): Delete functions.
12366 (python-indent-line): New function.
12367 (python-indentation-levels): Delete function.
12368 (python-indent-calculate-levels): New function.
12369 (python-proc): Delete function.
12370 (python-shell-get-process): New function.
12371 (python-send-receive): Delete function.
12372 (python-shell-send-string-no-output): New function.
12373 (python-module-path): Delete function.
12374 (python-ffap-module-path): New function.
12375 (python-completion-at-point)
12376 (python-symbol-completions): Delete functions.
12377 (python-completion-complete-at-point): New function.
12378 (python-load-file): Delete function.
12379 (python-shell-send-file): New function.
12380 (python-calculate-indentation): Delete function.
12381 (python-indent-calculate-indentation): New function.
12382 (python-skip-comments/blanks): Delete function.
12383 (python-util-forward-comment): New function.
12384 (python-continuation-line-p): Delete function.
12385 (python-info-continuation-line-p): New function.
12386 (python-which-func, python-current-defun): Delete function.
12387 (python-info-current-defun): New function.
12388 (python-beginning-of-defun): Delete function.
12389 (python-nav-beginning-of-defun): New function.
12390 (python-close-block-statement-p)
12391 (python-block-end-p): Delete function.
12392 (python-info-closing-block): New function.
12393 (python-comint-output-filter-function)
12394 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
12395 (python-fill-comment, python-fill-decorator, python-fill-paren)
12396 (python-fill-string, python-imenu-make-element-tree)
12397 (python-imenu-make-tree, python-imenu-tree-assoc)
12398 (python-indent-context, python-indent-dedent-line)
12399 (python-indent-line-function)
12400 (python-indent-post-self-insert-function)
12401 (python-indent-toggle-levels)
12402 (python-info-assignment-continuation-line-p)
12403 (python-info-beginning-of-backlash)
12404 (python-info-block-continuation-line-p)
12405 (python-info-closing-block-message)
12406 (python-info-line-ends-backslash-p)
12407 (python-info-looking-at-beginning-of-defun)
12408 (python-info-ppss-context, python-info-ppss-context-type)
12409 (python-nav-list-defun-positions, python-nav-read-defun)
12410 (python-nav-sentence-end, python-nav-sentence-start)
12411 (python-pdbtrack-comint-output-filter-function)
12412 (python-pdbtrack-set-tracked-buffer)
12413 (python-shell-calculate-exec-path)
12414 (python-shell-calculate-process-environment)
12415 (python-shell-completion--do-completion-at-point)
12416 (python-shell-completion--get-completions)
12417 (python-shell-completion-complete-at-point)
12418 (python-shell-completion-complete-or-indent)
12419 (python-shell-get-or-create-process)
12420 (python-shell-get-process-name)
12421 (python-shell-internal-get-or-create-process)
12422 (python-shell-internal-get-process-name)
12423 (python-shell-internal-send-string, python-shell-make-comint)
12424 (python-shell-parse-command, python-shell-send-setup-code)
12425 (python-skeleton-add-menu-items)
12426 (python-util-clone-local-variables, python-util-position)
12427 (run-python-internal, python-indentation-levels)
12428 (python-nav-beginning-of-defun)
12429 (python-completion-complete-at-point): New functions.
12430 (run-python): Change arguments. New API requirements.
12431
12432 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12433
12434 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
12435 (bug#11649).
12436
12437 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
12438 (macroexp--expand-all): Use it.
12439
12440 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
12441 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
12442 Use `cl-function' instead.
12443
12444 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
12445
12446 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
12447 Suggested by Stefan Monnier while discussing bug#11657.
12448
12449 2012-06-14 Sam Steingold <sds@gnu.org>
12450
12451 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
12452
12453 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
12454
12455 * play/doctor.el (doctor-doc): Remove parameter and use
12456 doctor-sent instead of sent.
12457 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
12458
12459 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12460
12461 * files.el: Require cl-lib.
12462 (file-name-non-special): Replace case -> cl-case.
12463
12464 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
12465
12466 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
12467 mapping from #' to function*.
12468
12469 2012-06-13 Chong Yidong <cyd@gnu.org>
12470
12471 * mouse.el (mouse-drag-track): Do not set the mark if the user
12472 releases the mouse without selecting anything (Bug#11588).
12473
12474 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12475
12476 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
12477 as well (bug#11646).
12478
12479 * loadup.el: Count byte-code functions as well.
12480
12481 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
12482 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
12483
12484 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
12485 (bug#11649). Add cl-defun and cl-defmacro.
12486
12487 2012-06-13 Drew Adams <drew.adams@oracle.com>
12488
12489 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12490 Fix last change.
12491
12492 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
12493
12494 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
12495 Otherwise, it blocks in batch mode.
12496
12497 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
12498
12499 * help-mode.el (bookmark-make-record-default): Declare.
12500
12501 2012-06-13 Chong Yidong <cyd@gnu.org>
12502
12503 * emacs-lisp/package.el (list-packages): Compute a list of
12504 packages that are newly-available since the last list-packages
12505 invocation.
12506 (package-menu--new-package-list): New var.
12507 (package-menu--generate, package-menu--print-info)
12508 (package-menu--status-predicate, package-menu-mark-install):
12509 Handle new status label "new".
12510
12511 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12512
12513 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
12514 conversion to backquotes.
12515
12516 2012-06-12 Chong Yidong <cyd@gnu.org>
12517
12518 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
12519 Rename from gud-inhibit-global-bindings.
12520
12521 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
12522
12523 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
12524 hook from nxml-glyph-set-hook.
12525
12526 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
12527 declaration.
12528
12529 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
12530
12531 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
12532 Convert to defcustom.
12533
12534 2012-06-12 Drew Adams <drew.adams@oracle.com>
12535
12536 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12537 New functions.
12538 (help-mode): Use them.
12539
12540 2012-06-11 Glenn Morris <rgm@gnu.org>
12541
12542 * progmodes/fortran.el (fortran-font-lock-keywords-3):
12543 Use preprocessor face for directives.
12544 (fortran-directive-re): Doc fix.
12545
12546 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12547
12548 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
12549 conversion to backquotes (bug#11652).
12550
12551 Fix compiler-expansion of CL's cXXr functions (bug#11673).
12552 * emacs-lisp/cl-lib.el (cl--defalias): New function.
12553 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
12554 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
12555 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12556 (cl-ninth, cl-tenth): Mark them as inlinable.
12557 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
12558 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
12559 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
12560 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
12561 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
12562 (cl-list*, cl-adjoin): Don't put an autoload manually.
12563 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
12564 (cl--compiler-macro-list*): Add autoload cookie.
12565 (cl--compiler-macro-cXXr): New function.
12566
12567 * help-fns.el (help-fns--compiler-macro): New function extracted from
12568 describe-function-1; follow aliases and use `compiler-macro' property.
12569 (describe-function-1): Use it.
12570
12571 2012-06-11 Chong Yidong <cyd@gnu.org>
12572
12573 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
12574 is uninstalled, if imagemagick is installed.
12575
12576 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12577
12578 * emacs-lisp/cl-lib.el: Use lexical-binding.
12579 (cl-map-extents, cl-maclisp-member): Remove.
12580 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
12581 (cl--set-substring, cl--block-wrapper, cl--block-throw)
12582 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
12583 * emacs-lisp/cl-extra.el: Use lexical-binding.
12584 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
12585 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
12586 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
12587 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
12588 * emacs-lisp/cl-seq.el: Use lexical-binding.
12589 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
12590 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
12591 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
12592 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
12593 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
12594 CL's internals.
12595
12596 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
12597
12598 Sync with Tramp 2.2.6-pre.
12599
12600 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
12601 `print-length' and `print-level' to nil, in order to avoid
12602 truncation. Reported by Christopher Schmidt
12603 <christopher@ristopher.com>.
12604
12605 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
12606
12607 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
12608 New defmacro.
12609 (tramp-compat-copy-directory): Add optional argument
12610 COPY-CONTENTS. It is not handled yet.
12611
12612 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
12613 (tramp-ftp-file-name-p): Simplify.
12614
12615 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
12616 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
12617 connection vector.
12618
12619 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
12620 (tramp-methods): Do not use `tramp-password-end-of-line'.
12621 (tramp-completion-function-alist-putty): Handle UNIX case.
12622 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
12623 (tramp-do-file-attributes-with-stat)
12624 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
12625 gid as real numbers. They could run out of integer range on cygwin.
12626 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
12627 (tramp-sh-handle-expand-file-name): Handle hops.
12628 (tramp-open-connection-setup-interactive-shell):
12629 Use `tramp-cleanup'. Move check for busyboxes ...
12630 (tramp-find-shell): ... here. Simplify implementation.
12631 Set "remote-shell" property also for alternative shells.
12632 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
12633 If failing, a regular file would be written otherwise.
12634 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
12635 (tramp-find-inline-encoding): Cache the coding commands in the
12636 process cache. Apply test command on the remote side, if defined.
12637 (tramp-find-inline-compress): Cache the compress commands in the
12638 process cache.
12639 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
12640 when requested. Handle hops.
12641 (tramp-current-connection): New defvar.
12642 (tramp-maybe-open-connection): Use `tramp-cleanup'.
12643 Throw `suppress', if there was a failed connection shortly before.
12644 Handle user interrupt. (Bug#10187)
12645 (tramp-get-inline-compress, tramp-get-inline-coding):
12646 Read connection properties from the process cache.
12647
12648 * net/tramp-smb.el (tramp-smb-server-version)
12649 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
12650 New defconsts.
12651 (tramp-smb-prompt): Extend for powershell prompt.
12652 (tramp-smb-file-name-handler-alist): Add handlers for
12653 `process-file', `shell-command' and `start-file-process'.
12654 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
12655 (tramp-smb-winexe-shell-command-switch): New defcustoms.
12656 (tramp-smb-file-name-p): Simplify.
12657 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
12658 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
12659 (tramp-smb-shell-quote-argument): New defuns.
12660 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
12661 Implement using "tar". By this, time-stamps are preserved.
12662 (tramp-smb-handle-copy-file): Handle also the case of directories.
12663 (tramp-smb-do-file-attributes-with-stat)
12664 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
12665 Use `tramp-get-connection-buffer').
12666 (tramp-smb-handle-rename-file): Use "rename", when source and
12667 target are on the same share.
12668 (tramp-smb-maybe-open-connection): Handle wrong passwords.
12669 Use `tramp-smb-server-version'.
12670 (tramp-smb-wait-for-output): Remove prompt.
12671
12672 * net/tramp.el (top): Require 'cl.
12673 (tramp-methods, tramp-rsh-end-of-line):
12674 Remove `tramp-password-end-of-line' from docstring.
12675 (tramp-save-ad-hoc-proxies): New defcustom.
12676 (tramp-completion-function-alist): Adapt docstring.
12677 (tramp-default-password-end-of-line): Remove defcustom.
12678 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
12679 (tramp-user-regexp, tramp-file-name-regexp-unified)
12680 (tramp-file-name-regexp-url): Extend regexp by hop separator.
12681 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
12682 (tramp-remote-file-name-spec-regexp): New defconst.
12683 (tramp-file-name-structure): Extend structure for hops.
12684 (tramp-get-method-parameter): Move up.
12685 (tramp-file-name-p, tramp-dissect-file-name)
12686 (with-parsed-tramp-file-name): Handle hops.
12687 (tramp-file-name-hop): New defun.
12688 (tramp-make-tramp-file-name): New optional arg HOP.
12689 (tramp-message-show-progress-reporter-message): New defvar.
12690 (tramp-with-progress-reporter): Use it. We cannot use
12691 `tramp-message-show-message' here, because this suppresses also
12692 error buffers.
12693 (tramp-error-with-buffer): Suppress buffer view, if
12694 `tramp-message-show-message' is nil.
12695 Use `tramp-get-connection-buffer'.
12696 (tramp-cleanup): New defun.
12697 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
12698 (tramp-file-name-handler): If `debug-on-error' is set, propagate
12699 an error unchanged.
12700 (tramp-completion-handle-file-name-all-completions): Handle hops.
12701 Fix an error when called from ido.
12702 (tramp-completion-dissect-file-name): Use better local variable
12703 name. Add hop to the vector.
12704 (tramp-handle-insert-file-contents): Use progress-reporter for the
12705 whole scenario.
12706 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
12707 to `t'.
12708 (tramp-check-for-regexp): Simplify search.
12709 (tramp-enter-password): Remove it. Move implementation ...
12710 (tramp-action-password): ... here.
12711 (tramp-mode-string-to-int, tramp-local-host-p)
12712 (tramp-make-tramp-temp-file, tramp-read-passwd)
12713 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
12714 Set tramp-autoload cookie.
12715
12716 * net/trampver.el: Update release number.
12717
12718 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12719 Michael Albinus <michael.albinus@gmx.de>
12720
12721 * net/tramp.el (tramp-set-completion-function): Fix docstring.
12722 (tramp-parse-group, tramp-parse-file)
12723 (tramp-parse-shostkeys-sknownhosts): New defuns.
12724 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
12725 (tramp-parse-shosts-group, tramp-parse-sconfig)
12726 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
12727 (tramp-parse-sknownhosts, tramp-parse-hosts)
12728 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
12729 Use them.
12730 (tramp-parse-passwd-group, tramp-parse-netrc-group)
12731 (tramp-parse-putty-group): Don't narrow.
12732 (tramp-parse-putty): Make a loop.
12733 (tramp-file-name-handler): Catch the `suppress' signal.
12734
12735 2012-06-11 Chong Yidong <cyd@gnu.org>
12736
12737 * image.el (imagemagick-register-types): Put the ImageMagick entry
12738 at the end of image-type-file-name-regexps.
12739
12740 2012-06-11 Johan BockgĂ¥rd <bojohan@gnu.org>
12741
12742 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
12743 (pcase, pcase-let*, pcase-dolist): Use them.
12744
12745 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12746
12747 * emacs-lisp/pcase.el (pcase--let*): New function.
12748 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
12749 (pcase--expand): Use macroexp-let².
12750
12751 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
12752
12753 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
12754 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
12755 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
12756 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
12757 * emacs-lisp/derived.el: Use pcase instead of `cl'.
12758 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
12759
12760 2012-06-10 Glenn Morris <rgm@gnu.org>
12761
12762 * mail/rmail.el (rmail-yank-current-message): Leave point at
12763 correct position. (Bug#11660)
12764
12765 2012-06-10 Chong Yidong <cyd@gnu.org>
12766
12767 * allout-widgets.el: Fix code header.
12768
12769 2012-06-10 Chong Yidong <cyd@gnu.org>
12770
12771 * cus-edit.el (customize-changed-options-previous-release):
12772 Bump to 24.1.
12773
12774 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
12775
12776 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
12777
12778 2012-06-09 Chong Yidong <cyd@gnu.org>
12779
12780 * ebuff-menu.el (electric-buffer-list): Preserve header line.
12781
12782 2012-06-09 Martin Rudalics <rudalics@gmx.at>
12783
12784 * window.el (special-display-popup-frame): Don't use
12785 window--display-buffer (Bug#11651).
12786
12787 2012-06-09 Eli Zaretskii <eliz@gnu.org>
12788
12789 Fix parallel builds: make sure loaddefs.el is not being written
12790 while Lisp files are compiled.
12791 (compile): Don't depend on 'mh-autoloads'.
12792 (compile-CMD, compile-SH): Depend on 'autoloads'.
12793 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
12794
12795 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
12796
12797 2012-06-09 Chong Yidong <cyd@gnu.org>
12798
12799 * face-remap.el (face-remap-add-relative, face-remap-set-base)
12800 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
12801 Doc fixes (Bug#11225).
12802
12803 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
12804
12805 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
12806 a function if there's a clear indication that it has a compiler-macro.
12807 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
12808 (macro-declarations-alist): Add arglist to declaration functions.
12809 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
12810 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
12811 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
12812 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
12813 Also add autoload to find the compiler macro.
12814 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
12815 (cl--compiler-macro-member, cl--compiler-macro-assoc)
12816 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
12817 (cl--compiler-macro-get): New functions, replacing calls to
12818 cl-define-compiler-macro.
12819 (cl-typep) [compiler-macro]: Use macroexp-let².
12820
12821 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
12822
12823 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
12824 string properly, fixes Bug#11473.
12825
12826 2012-06-08 Chong Yidong <cyd@gnu.org>
12827
12828 * faces.el (set-face-attribute): Doc fix.
12829 (modify-face): Don't use :bold and :italic.
12830 (error, warning, success): Tweak definitions.
12831
12832 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
12833 (custom-modified, custom-set, custom-changed, custom-themed)
12834 (custom-saved, custom-button, custom-button-mouse)
12835 (custom-button-pressed, custom-state, custom-comment-tag)
12836 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
12837 (custom-group-subtitle): Use new-style face specs.
12838 (custom-invalid-face, custom-rogue-face, custom-modified-face)
12839 (custom-set-face, custom-changed-face, custom-saved-face)
12840 (custom-button-face, custom-button-pressed-face)
12841 (custom-documentation-face, custom-state-face)
12842 (custom-comment-face, custom-comment-tag-face)
12843 (custom-variable-tag-face, custom-variable-button-face)
12844 (custom-face-tag-face, custom-group-tag-face-1)
12845 (custom-group-tag-face): Remove obsolete face alias.
12846
12847 * epa.el (epa-validity-high, epa-validity-medium)
12848 (epa-validity-low, epa-mark, epa-field-name, epa-string)
12849 (epa-field-name, epa-field-body):
12850 * font-lock.el (font-lock-comment-face, font-lock-string-face)
12851 (font-lock-keyword-face, font-lock-builtin-face)
12852 (font-lock-function-name-face, font-lock-variable-name-face)
12853 (font-lock-type-face, font-lock-constant-face):
12854 * ido.el (ido-first-match, ido-only-match, ido-subdir)
12855 (ido-virtual, ido-indicator, ido-incomplete-regexp):
12856 * speedbar.el (speedbar-button-face, speedbar-file-face)
12857 (speedbar-directory-face, speedbar-tag-face)
12858 (speedbar-selected-face, speedbar-highlight-face)
12859 (speedbar-separator-face):
12860 * whitespace.el (whitespace-newline, whitespace-space)
12861 (whitespace-hspace, whitespace-tab, whitespace-trailing)
12862 (whitespace-line, whitespace-space-before-tab)
12863 (whitespace-space-after-tab, whitespace-indentation)
12864 (whitespace-empty):
12865 * emulation/cua-base.el (cua-global-mark):
12866 * eshell/em-prompt.el (eshell-prompt):
12867 * net/newst-plainview.el (newsticker-new-item-face)
12868 (newsticker-old-item-face, newsticker-immortal-item-face)
12869 (newsticker-obsolete-item-face, newsticker-date-face)
12870 (newsticker-statistics-face, newsticker-default-face):
12871 * net/newst-reader.el (newsticker-feed-face)
12872 (newsticker-extra-face, newsticker-enclosure-face):
12873 * net/newst-treeview.el (newsticker-treeview-face)
12874 (newsticker-treeview-new-face, newsticker-treeview-old-face)
12875 (newsticker-treeview-immortal-face)
12876 (newsticker-treeview-obsolete-face)
12877 (newsticker-treeview-selection-face):
12878 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
12879 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
12880 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
12881 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
12882 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
12883 (nxml-outline-active-indicator, nxml-outline-ellipsis):
12884 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
12885 (mpuz-text):
12886 * progmodes/vera-mode.el (vera-font-lock-number)
12887 (vera-font-lock-function, vera-font-lock-interface):
12888 * textmodes/table.el (table-cell): Use new-style face specs, and
12889 don't use the old :bold and :italic attributes.
12890
12891 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
12892 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
12893 (ebrowse-member-class, ebrowse-progress): Likewise.
12894 (ebrowse-tree-mark-face, ebrowse-root-class-face)
12895 (ebrowse-file-name-face, ebrowse-default-face)
12896 (ebrowse-member-attribute-face, ebrowse-member-class-face)
12897 (ebrowse-progress-face): Remove obsolete faces.
12898
12899 * progmodes/flymake.el (flymake-errline, flymake-warnline):
12900 Inherit from error and warning faces respectively.
12901
12902 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
12903 Likewise.
12904 (flyspell-incorrect-face, flyspell-duplicate-face):
12905 Remove obsolete aliases.
12906
12907 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
12908
12909 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12910 Avoid infloop.
12911
12912 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12913
12914 * startup.el (argv, argi): Make lexically scoped.
12915 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
12916 * emacs-lisp/cl-macs.el: Use lexical-binding.
12917 Rename cl-bind-* to cl--bind-*.
12918 * files.el: Don't require `cl' since it doesn't use it.
12919 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
12920
12921 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
12922
12923 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
12924 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
12925 instead of calling external sort utility.
12926 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
12927
12928 2012-06-08 Eli Zaretskii <eliz@gnu.org>
12929
12930 * descr-text.el (describe-char): Mention how to insert the
12931 character, if the current input method doesn't support it.
12932 See the discussion in this thread for the details:
12933 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
12934
12935 2012-06-08 Sam Steingold <sds@gnu.org>
12936
12937 * bindings.el (global-map): Bind XF86Forward to next-buffer and
12938 XF86Back to previous-buffer.
12939 (minibuffer-local-map): Bind them to next-history-element and
12940 previous-history-element respectively.
12941 * help-mode.el (help-mode-map): Bind them to help-go-forward and
12942 help-go-back respectively.
12943 * info.el (Info-mode-map): Bind them to Info-history-forward and
12944 Info-history-back respectively.
12945 These are the keys next to Up on the ThinkPad keyboard.
12946
12947 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12948
12949 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
12950 * emacs-lisp/cl-macs.el: Provide itself.
12951 (cl--labels-convert-cache): New var.
12952 (cl--labels-convert): New function.
12953 (cl-flet, cl-labels): New implementation with new semantics, relying on
12954 lexical-binding.
12955 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
12956 (cl-closure-vars, cl--function-convert-cache)
12957 (cl--function-convert): Move from cl-macs.el.
12958 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
12959 rename by removing the "cl-" prefix.
12960 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
12961
12962 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12963
12964 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
12965 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
12966 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
12967 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
12968 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
12969 (cl-hash-table-count): Add old compatibility aliases.
12970
12971 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
12972 Use macroexpand-all-environment instead.
12973 (cl--old-macroexpand): New var.
12974 (cl--sm-macroexpand): New function.
12975 (cl-symbol-macrolet): Use it during macro expansion.
12976 (cl--function-convert-cache): New var.
12977 (cl--function-convert): New function, extracted from
12978 cl-macroexpand-all.
12979 (cl-lexical-let): Use it.
12980
12981 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
12982 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
12983 (cl-member): Remove old alias.
12984
12985 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
12986 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
12987 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
12988 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
12989 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
12990 (cl-macroexpand-cmacs): Remove var.
12991 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
12992 Use macroexpand-all instead.
12993
12994 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12995
12996 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
12997 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
12998 (macroexp-copyable-p): New functions and macros.
12999 * emacs-lisp/edebug.el (edebug-unwrap):
13000 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
13001 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
13002 (pcase--let*): Remove.
13003 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
13004 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
13005 macroexp-const-p instead.
13006 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
13007
13008 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
13009 instead of "cl-" for internal definitions. Use macroexp-const-p.
13010 (cl-old-bc-file-form): Remove var.
13011 (cl-const-exprs-p): Remove fun.
13012 (cl-labels, cl-macrolet): Use backquote.
13013 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
13014 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
13015 (cl-define-setf-expander): Rename from cl-define-setf-method.
13016 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
13017
13018 * international/mule-cmds.el: Don't require CL.
13019 (view-hello-file): Don't use `letf'.
13020
13021 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13022
13023 * tmm.el (tmm-prompt): Use string-prefix-p.
13024 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
13025 (tmm-add-prompt): Use minibuffer-completion-help.
13026 (tmm-delete-map): Remove.
13027
13028 * subr.el (kbd): Make it its own function.
13029
13030 2012-06-07 Stefan Merten <smerten@oekonux.de>
13031
13032 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
13033 Silence compiler warnings. Fix versions.
13034 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
13035 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
13036 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
13037 (rst-package-emacs-version-alist): Correct Emacs version to
13038 represent major merge with upstream.
13039 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
13040
13041 2012-06-06 Glenn Morris <rgm@gnu.org>
13042
13043 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
13044 Only print environment variables if set.
13045
13046 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13047
13048 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
13049 (macroexp--cons): Rename from maybe-cons.
13050 (macroexp--accumulate): Rename from macroexp-accumulate.
13051 (macroexp--all-forms): Rename from macroexpand-all-forms.
13052 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
13053 (macroexp--expand-all): Rename from macroexpand-all-1.
13054
13055 2012-06-06 Sam Steingold <sds@gnu.org>
13056
13057 * calendar/calendar.el (calendar-in-read-only-buffer):
13058 Call `special-mode' to enable the standard read-only keybindings.
13059
13060 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13061
13062 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
13063 with "loading" messages (bug#11635).
13064
13065 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
13066
13067 * files.el (enable-remote-dir-locals): New option.
13068 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
13069
13070 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13071 Ensure, that the temp directory is local.
13072
13073 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
13074 `temporary-file-directory'.
13075
13076 * progmodes/python.el (python-send-region): Ensure, that the
13077 temporary file is created also in the remote case.
13078
13079 2012-06-06 Glenn Morris <rgm@gnu.org>
13080
13081 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
13082 (vc-rcs-update-changelog): Use it.
13083
13084 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
13085
13086 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
13087 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
13088 (vc-sccs-diff): Replace use of the external vcdiff script.
13089
13090 2012-06-05 Glenn Morris <rgm@gnu.org>
13091
13092 * ledit.el: Move to obsolete/.
13093
13094 2012-06-05 Sam Steingold <sds@gnu.org>
13095
13096 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
13097 patch (Bug#11140).
13098
13099 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13100
13101 * emacs-lisp/cust-print.el: Move to obsolete.
13102
13103 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
13104 compiler-macro expansion.
13105
13106 Add native compiler-macro support.
13107 * emacs-lisp/macroexp.el (macroexpand-all-1):
13108 Support compiler-macros directly. Properly follow aliases and apply
13109 the compiler macros more thoroughly.
13110 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
13111 macroexpand now properly follows aliases.
13112 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
13113 (cl-compiler-macroexpand): Use new prop.
13114 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
13115
13116 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
13117
13118 2012-06-05 Martin Rudalics <rudalics@gmx.at>
13119
13120 * window.el (get-lru-window, get-mru-window, get-largest-window):
13121 New argument NOT-SELECTED to avoid picking the selected window.
13122 (window--display-buffer-1, window--display-buffer-2): Replace by
13123 new function window--display-buffer
13124 (display-buffer-same-window, display-buffer-reuse-window)
13125 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13126 Use window--display-buffer.
13127 (display-buffer-use-some-window): Remove temporary dedication
13128 hack by calling get-lru-window and get-largest-window with
13129 NOT-SELECTED argument non-nil. Call window--display-buffer.
13130
13131 2012-06-05 Glenn Morris <rgm@gnu.org>
13132
13133 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
13134 Replace external vcdiff script.
13135
13136 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13137
13138 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
13139
13140 2012-06-04 Chong Yidong <cyd@gnu.org>
13141
13142 * image.el (imagemagick-types-inhibit): Revert last change.
13143 Add INFO and M.
13144 (imagemagick-enabled-types): Remove CIN and EPS*.
13145
13146 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13147
13148 * emacs-lisp/cl-lib.el: Rename from cl.el.
13149 * emacs-lisp/cl.el: New compatibility file.
13150 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
13151 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
13152 to obey the "cl-" prefix.
13153 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
13154
13155 2012-06-03 Glenn Morris <rgm@gnu.org>
13156
13157 * emacs-lisp/authors.el (authors-aliases): Addition.
13158
13159 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
13160 Fix :version.
13161
13162 2012-06-03 Stefan Merten <smerten@oekonux.de>
13163
13164 * textmodes/rst.el: Add comments.
13165 (rst-transition, rst-adornment): New faces.
13166 (rst-adornment-faces-alist): Make default safe to reevaluate.
13167 Fixes
13168 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
13169 Improve customization tags.
13170 (rst-define-level-faces): Clarify meaning.
13171
13172 2012-06-03 Chong Yidong <cyd@gnu.org>
13173
13174 * progmodes/compile.el (compilation-mode-line-fail)
13175 (compilation-mode-line-run, compilation-mode-line-exit):
13176 New faces.
13177 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
13178
13179 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
13180
13181 * progmodes/which-func.el (which-func-update-ediff-windows):
13182 New function. Use it in ediff-select-hook (Bug#11478).
13183
13184 2012-06-03 Chong Yidong <cyd@gnu.org>
13185
13186 * bindings.el: Remove explicit help text from format-mode-line.
13187 It is now supplied by mode-line-default-help-echo.
13188 (mode-line-front-space, mode-line-end-spaces)
13189 (mode-line-misc-info): New variables.
13190 (mode-line-modes, mode-line-position): Move the default value to
13191 the variable definition.
13192 (mode-line-default-help-echo): New defcustom.
13193 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
13194 (mode-line-modified-help-echo): New functions.
13195 (mode-line-mule-info, mode-line-modified): Use them.
13196 (mode-line-eol-desc, propertized-buffer-identification):
13197 Consistency fixes for help text.
13198 (mode-line-coding-system-map): Allow using mouse-3 to invoke
13199 set-buffer-file-coding-system (Bug#289).
13200 (mode-line-mule-info-help-echo): Update help text.
13201
13202 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13203
13204 * simple.el (execute-extended-command): Set real-this-command
13205 (bug#11506).
13206
13207 2012-06-02 Chong Yidong <cyd@gnu.org>
13208
13209 Remove incorrect uses of "modeline" in comments, docstrings, and
13210 function/variable names (Bug#10329).
13211
13212 * cus-edit.el (mode-line):
13213 * dframe.el (dframe-mouse-hscroll):
13214 * emacs-lisp/re-builder.el:
13215 * emacs-lisp/easy-mmode.el (define-minor-mode):
13216 * frame.el (set-frame-name):
13217 * help.el (lookup-minor-mode-from-indicator):
13218 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
13219 * progmodes/cc-cmds.el (c-toggle-auto-newline)
13220 (c-toggle-hungry-state):
13221 * progmodes/antlr-mode.el (antlr-language-alist):
13222 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
13223 * progmodes/vhdl-mode.el (vhdl-mode):
13224 * progmodes/which-func.el (which-func, which-func-cleanup-function):
13225 * term/ns-win.el (ns-face-at-pos):
13226 * term/sup-mouse.el (sup-mouse-report):
13227 * textmodes/flyspell.el (flyspell-mode-line-string):
13228 * textmodes/ispell.el (ispell-highlight-face):
13229 * textmodes/reftex-global.el:
13230 * vc/vc-arch.el (vc-arch-mode-line-string):
13231 * vc/vc-cvs.el (vc-cvs-mode-line-string):
13232 * vc/vc-git.el (vc-git-mode-line-string):
13233 * vc/vc-hooks.el (vc-display-status)
13234 (vc-default-mode-line-string):
13235 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
13236
13237 * ansi-color.el (ansi-color-faces-vector): Change default faces.
13238
13239 * dired.el (dired-sort-set-mode-line): Rename from
13240 dired-sort-set-modeline. All callers changed.
13241
13242 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
13243 eshell-status-in-modeline.
13244
13245 * foldout.el (foldout-mode-line-string): Rename from
13246 foldout-modeline-string. All callers changed.
13247 (foldout-update-mode-line): Rename from foldout-update-modeline.
13248
13249 * subr.el (redraw-modeline): Make into obsolete alias.
13250
13251 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
13252 timeclock-modeline-display. Make old name an alias.
13253 (timeclock-update-mode-line): Likewise. All callers changed.
13254 (timeclock-mode-line-display): No need to check before using
13255 add-hook.
13256 (timeclock-relative, timeclock-day-over-hook)
13257 (timeclock-use-elapsed, timeclock-mode-string)
13258 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
13259
13260 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
13261 crisp-mode-modeline-string.
13262
13263 * play/solitaire.el (solitaire-build-mode-line): Rename from
13264 solitaire-build-modeline. All callers changed.
13265
13266 * play/zone.el (zone-hiding-mode-line): Rename from
13267 zone-hiding-modeline. All callers changed.
13268 (zone): Remove unusued `modeline-hidden-level' property.
13269
13270 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
13271 xscheme-modeline-initialize. All callers changed.
13272
13273 * strokes.el (strokes-lighter): Rename from
13274 strokes-modeline-string.
13275
13276 * textmodes/sgml-mode.el (html-face-tag-alist)
13277 (html-tag-face-alist): Use mode-line face instead of obsolete
13278 alias modeline.
13279
13280 2012-06-02 Stefan Merten <smerten@oekonux.de>
13281
13282 * textmodes/rst.el: Always require `cl'.
13283 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
13284
13285 2012-06-02 Chong Yidong <cyd@gnu.org>
13286
13287 * image.el (imagemagick-enabled-types): Rename from
13288 imagemagick-types-enable. Add many more types.
13289 (imagemagick-types-inhibit): Change default to nil.
13290 (imagemagick-filter-types): Caller changed.
13291
13292 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13293
13294 * emacs-lisp/cl-macs.el: Use backquotes.
13295 (cl-transform-function-property): Use eval-and-compile rather than
13296 abusing `require'.
13297 (defstruct): Use declare-function instead of with-no-warnings.
13298
13299 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
13300 (byte-compile-output-docform): Re-add the print-circle bindings.
13301 (byte-compile-fix-header): Use #$ just because it's shorter.
13302 (byte-compile-output-file-form): Remove defun/defmacro.
13303
13304 2012-06-01 Martin Rudalics <rudalics@gmx.at>
13305
13306 * simple.el (choose-completion): Remove now obsolete binding for
13307 owindow.
13308
13309 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
13310
13311 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
13312 in order to avoid "Stack overflow in regexp matcher".
13313
13314 2012-05-31 Glenn Morris <rgm@gnu.org>
13315
13316 * image.el: For clarity, call imagemagick-register-types at
13317 top-level, rather than relying on a custom :initialize.
13318 (imagemagick-types-enable): New option. (Bug#11557)
13319 (imagemagick-filter-types): New function. (Bug#7406)
13320 (imagemagick-register-types): Use imagemagick-filter-types.
13321 If disabling support, remove elements altogether rather
13322 than using an impossible regexp.
13323 (imagemagick-types-inhibit): Give it the default init function.
13324
13325 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13326
13327 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
13328 Handle arbitrary file name lengths (Bug#11585).
13329
13330 2012-05-31 Martin Rudalics <rudalics@gmx.at>
13331
13332 * desktop.el (desktop-read): Clear previous and next buffers for
13333 all windows and bury *Messages* buffer (bug#11556).
13334
13335 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13336
13337 Add `declare' for `defun'. Align `defmacro's with it.
13338 * emacs-lisp/easy-mmode.el (define-minor-mode)
13339 (define-globalized-minor-mode): Don't autoload the var definitions.
13340 * emacs-lisp/byte-run.el: Use lexical-binding.
13341 (defun-declarations-alist, macro-declarations-alist): New vars.
13342 (defmacro, defun): Use them.
13343 (make-obsolete, define-obsolete-function-alias)
13344 (make-obsolete-variable, define-obsolete-variable-alias):
13345 Use `declare'.
13346 (macro-declaration-function): Mark obsolete.
13347 * emacs-lisp/autoload.el: Use lexical-binding.
13348 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
13349
13350 2012-05-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13351
13352 * textmodes/ispell.el (ispell-with-no-warnings):
13353 Define as a macro.
13354 (ispell-kill-ispell, ispell-change-dictionary):
13355 Use `called-interactively-p' for Emacs instead of obsolete
13356 `interactive-p'.
13357
13358 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13359
13360 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
13361 (macro-declaration-function): Move var from C code.
13362 (macro-declaration-function): Define function with defalias.
13363 * emacs-lisp/macroexp.el (macroexpand-all-1):
13364 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
13365 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
13366 defun/defmacro any more.
13367 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
13368 Provide fallback for unknown arglist.
13369 (byte-compile-arglist-warn): Change calling convention.
13370 (byte-compile-output-file-form): Move print-vars binding.
13371 (byte-compile-output-docform): Simplify accordingly.
13372 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
13373 (byte-compile-defmacro-declaration): Remove.
13374 (byte-compile-file-form-defmumble): Generalize to defalias.
13375 (byte-compile-output-as-comment): Return byte-positions.
13376 Simplify callers accordingly.
13377 (byte-compile-lambda): Use `assert'.
13378 (byte-compile-defun, byte-compile-defmacro): Remove.
13379 (byte-compile-file-form-defalias):
13380 Use byte-compile-file-form-defmumble.
13381 (byte-compile-defalias-warn): Remove.
13382
13383 2012-05-29 Stefan Merten <smerten@oekonux.de>
13384
13385 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
13386 possible. Fix authors. Improve comments. Improve loading of `cl'.
13387
13388 (rst-mode-abbrev-table): Merge definition.
13389 (rst-mode): Make sure `font-lock-defaults' is buffer local.
13390 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
13391
13392 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
13393
13394 * calendar/icalendar.el
13395 (icalendar-export-region): Export UID properly.
13396
13397 2012-05-29 Leo Liu <sdl.web@gmail.com>
13398 * calendar/icalendar.el (icalendar-import-format):
13399 Add `icalendar-import-format-uid' (Bug#11525).
13400 (icalendar-import-format-uid): New.
13401 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
13402 Export UID.
13403
13404 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13405
13406 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
13407 different alternative patterns.
13408 (pcase-codegen): Be more careful to preserve identity.
13409 (pcase--u1): Don't forget to mark vars as used.
13410
13411 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
13412 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
13413 (byte-compile-from-buffer): ...rather than here.
13414
13415 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
13416 functions from byte-compile-function-environment.
13417
13418 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
13419
13420 * window.el (window-deletable-p): Avoid deleting the root window
13421 of a frame with an active minibuffer.
13422
13423 2012-05-29 Martin Rudalics <rudalics@gmx.at>
13424
13425 * simple.el (choose-completion): Use quit-window (Bug#11567).
13426
13427 2012-05-29 Chong Yidong <cyd@gnu.org>
13428
13429 * whitespace.el (whitespace-cleanup): Fix usage of
13430 whitespace-empty-at-bob-regexp (Bug#11492).
13431
13432 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13433
13434 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
13435 revert (Bug#11488).
13436
13437 2012-05-29 Juri Linkov <juri@jurta.org>
13438
13439 * isearch.el (isearch-mode-map): Bind `M-s _' to
13440 `isearch-toggle-symbol'. Bind `M-s c' to
13441 `isearch-toggle-case-fold'.
13442 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
13443 (isearch-forward): Add `M-s _' to the docstring.
13444 (isearch-forward-symbol, isearch-toggle-case-fold)
13445 (isearch-symbol-regexp): New functions. (Bug#11381)
13446
13447 2012-05-29 Juri Linkov <juri@jurta.org>
13448
13449 * isearch.el (isearch-word): Add docstring. (Bug#11381)
13450 (isearch-occur, isearch-search-and-update): If `isearch-word' is
13451 a function, call it to get the regexp.
13452 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
13453 property `isearch-message-prefix' instead of the string "word ".
13454 (isearch-search-fun-default): For the case of `isearch-word',
13455 return a lambda that calls re-search-forward/re-search-backward
13456 with a regexp returned by `word-search-regexp' or by the function
13457 in `isearch-word'.
13458
13459 2012-05-29 Juri Linkov <juri@jurta.org>
13460
13461 * isearch.el (isearch-search-fun-default): New function.
13462 (isearch-search-fun): Move default part to the new function
13463 `isearch-search-fun-default'.
13464 (isearch-search-fun-function): Set the default value to
13465 `isearch-search-fun-default'. (Bug#11381)
13466
13467 * comint.el (comint-history-isearch-end):
13468 Use `isearch-search-fun-default'.
13469 (comint-history-isearch-search): Use `isearch-search-fun-default'
13470 and remove spacial case for `isearch-word'.
13471 (comint-history-isearch-wrap): Remove spacial case for
13472 `isearch-word'.
13473
13474 * hexl.el (hexl-isearch-search-function):
13475 Use `isearch-search-fun-default'.
13476
13477 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
13478 Use `word-search-regexp' for `isearch-word'.
13479
13480 * misearch.el (multi-isearch-search-fun):
13481 Use `isearch-search-fun-default'.
13482
13483 * simple.el (minibuffer-history-isearch-search):
13484 Use `isearch-search-fun-default' and remove spacial case for
13485 `isearch-word'.
13486 (minibuffer-history-isearch-wrap): Remove spacial case for
13487 `isearch-word'.
13488
13489 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
13490 Remove spacial case for `isearch-word'.
13491 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
13492
13493 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13494
13495 Decrease XEmacs incompatibilities.
13496 * textmodes/flyspell.el (flyspell-check-pre-word-p):
13497 Use `string-match'.
13498 (flyspell-delete-region-overlays): Use alternative definition for
13499 XEmacs.
13500 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
13501 (flyspell-word): Use `process-kill-without-query' if XEmacs.
13502 (flyspell-mode-on): Use `interactive-p' if XEmacs.
13503 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
13504 `define-obsolete-face-alias' under XEmacs, but old method.
13505
13506 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
13507 `with-no-warnings' definition or Emacs alias.
13508 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
13509 (ispell-word): Do not use `region-p' if XEmacs.
13510
13511 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13512
13513 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
13514 Check for `ispell-dictionary-base-alist' instead of full
13515 `ispell-dictionary-alist'.
13516 (ispell-init-process): Show spellchecker when starting new Ispell
13517 process.
13518
13519 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13520
13521 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
13522 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
13523
13524 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
13525
13526 * version.el (motif-version-string, gtk-version-string)
13527 (ns-version-string): Declare.
13528
13529 2012-05-27 Juri Linkov <juri@jurta.org>
13530
13531 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
13532 after the `eval-defun-1' specialcaseing
13533 like in `edebug-eval-defun' (bug#10181).
13534
13535 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
13536 like in `eval-defun-1'.
13537
13538 2012-05-27 Eli Zaretskii <eliz@gnu.org>
13539
13540 * mail/sendmail.el (mail-yank-region):
13541 Recognize rmail-yank-current-message in addition to insert-buffer.
13542 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
13543 a *mail* buffer created through rmail-start-mail with sendmail as
13544 mail-user-agent.
13545
13546 2012-05-27 Chong Yidong <cyd@gnu.org>
13547
13548 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
13549 Default to 256 (Bug#11267).
13550
13551 * help.el (describe-mode): Doc fix.
13552
13553 2012-05-26 Glenn Morris <rgm@gnu.org>
13554
13555 * w32-fns.el (w32-init-info): Remove.
13556 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
13557
13558 * info.el (info-initialize): For self-contained NS builds, put the
13559 included info/ directory at the front. (Bug#2791)
13560
13561 * paths.el (Info-default-directory-list): Make it a defcustom,
13562 mainly so that we can use custom-initialize-delay.
13563
13564 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
13565
13566 * subr.el (buffer-has-markers-at): Mark obsolete.
13567
13568 * subr.el (lambda): Use declare.
13569
13570 * emacs-lisp/lisp-mode.el (lambda):
13571 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
13572
13573 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13574
13575 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
13576
13577 2012-05-26 Glenn Morris <rgm@gnu.org>
13578
13579 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
13580
13581 2012-05-25 Glenn Morris <rgm@gnu.org>
13582
13583 * paths.el: Remove no-byte-compile.
13584 * loadup.el: No need to load paths.el uncompiled.
13585
13586 * image.el (imagemagick-types-inhibit): Doc fix.
13587
13588 * version.el: Remove no-byte-compile and associated formatting.
13589 * loadup.el: No need to load version.el uncompiled. AFAICS, this
13590 is ancient code from when there was an "inc-vers.el".
13591
13592 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13593
13594 * progmodes/gdb-mi.el: Minor style changes.
13595 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
13596 Turn into minor modes.
13597 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
13598 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
13599 (gdb-shell): Remove unneeded let-binding.
13600 (gdb-get-many-fields): Eliminate O(n²) behavior.
13601
13602 2012-05-25 Eli Zaretskii <eliz@gnu.org>
13603
13604 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
13605 platforms that don't link in fontset.c.
13606
13607 2012-05-25 Juri Linkov <juri@jurta.org>
13608
13609 Use the same diff color scheme as in modern VCSes (bug#10181).
13610
13611 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
13612 to avoid confusion with `diff-added' that now uses green colors.
13613 (diff-removed): Use shades of red.
13614 (diff-added): Use shades of green.
13615 (diff-changed): Leave just the yellow color.
13616 (diff-use-changed-face): New variable.
13617 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
13618 how to highlight context diff changes.
13619 (diff-refine-change): Use shades of yellow.
13620 (diff-refine-removed): New face that uses shades of red.
13621 (diff-refine-added): New face that uses shades of green.
13622 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
13623 `diff-refine-removed' in the call to `smerge-refine-subst'
13624 depending on the value of `diff-use-changed-face'.
13625
13626 * vc/smerge-mode.el (smerge-mine): Use shades of red.
13627 (smerge-other): Use shades of green.
13628 (smerge-base): Use shades of yellow.
13629 (smerge-refined-change): Empty face.
13630 (smerge-refined-removed): New face that uses shades of red.
13631 (smerge-refined-added): New face that uses shades of green.
13632 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
13633 args `props-r' and `props-a', and use them. Doc fix.
13634 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
13635 on its value use different faces `smerge-refined-change',
13636 `smerge-refined-removed', `smerge-refined-added' in the call to
13637 `smerge-refine-subst'.
13638
13639 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
13640 Add face condition `min-colors 88' with shades of red.
13641 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
13642 `min-colors 88' with shades of green.
13643 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
13644 `min-colors 88' with shades of yellow.
13645
13646 2012-05-24 Glenn Morris <rgm@gnu.org>
13647
13648 * paths.el (prune-directory-list, remote-shell-program): Move to...
13649 * files.el (prune-directory-list, remote-shell-program): ...here.
13650 For the latter, delay initialization, prefer ssh, just search PATH.
13651
13652 * paths.el (term-file-prefix): Move to faces.el (the only user).
13653 * faces.el (term-file-prefix): Move here, make it a defcustom.
13654
13655 * paths.el (news-directory, news-path, news-inews-program):
13656 Move to gnus/nnspool.el.
13657
13658 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
13659
13660 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
13661 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
13662 Make the latter a defcustom, with a delayed initialization.
13663
13664 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
13665 These were deleted from Gnus itself late 2010.
13666
13667 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
13668
13669 * progmodes/which-func.el (which-func-ff-hook):
13670 Check against user-error, not error.
13671
13672 * emacs-lisp/edebug.el (top): Do not load or set up loading of
13673 cl-specs.el, which no longer exists.
13674
13675 2012-05-22 Glenn Morris <rgm@gnu.org>
13676
13677 * info.el (info-emacs-bug): New command.
13678 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
13679 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
13680
13681 2012-05-21 Glenn Morris <rgm@gnu.org>
13682
13683 * makefile.w32-in (update-subdirs-SH):
13684 * Makefile.in (update-subdirs): Update for moved update-subdirs.
13685
13686 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13687
13688 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
13689
13690 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13691 Simplify Maven regexp, and make sure the file can't start with a space
13692 (bug#11517).
13693
13694 2012-05-21 Glenn Morris <rgm@gnu.org>
13695
13696 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
13697 Scrap superfluous subshells.
13698
13699 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
13700
13701 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
13702 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
13703
13704 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
13705
13706 * calc/calc.el (calc-ensure-consistent-units): New variable.
13707
13708 * calc/calc-units.el (math-consistent-units-p)
13709 (math-check-unit-consistency): New functions.
13710 (calc-quick-units, calc-convert-units):
13711 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
13712 is non-nil.
13713 (calc-extract-units): Fix typo.
13714
13715 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13716
13717 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
13718
13719 * textmodes/flyspell.el: Commenting style, plus code simplifications.
13720 (flyspell-default-deplacement-commands): Don't spell check after
13721 repeated window/frame switches (e.g. triggered by mouse-movement).
13722 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
13723 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
13724 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
13725 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
13726 Remove unused vars.
13727 (flyspell-get-casechars, flyspell-get-not-casechars):
13728 Simplify; Don't bother removing a ] just to add it back.
13729 * textmodes/ispell.el (ispell-program-name): Use executable-find.
13730
13731 2012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
13732
13733 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
13734 New functions.
13735 (math-function-table): Add support for more C functions.
13736
13737 2012-05-18 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13738
13739 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13740 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13741 Protect delay handling for otherchars against empty otherchars.
13742
13743 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13744
13745 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
13746 their respective macro declarations.
13747 * skeleton.el (define-skeleton):
13748 * progmodes/compile.el (define-compilation-mode):
13749 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
13750 (define-ibuffer-filter):
13751 * emacs-lisp/generic.el (define-generic-mode):
13752 * emacs-lisp/easy-mmode.el (define-minor-mode)
13753 (define-globalized-minor-mode):
13754 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
13755 * emacs-lisp/byte-run.el (defsubst):
13756 * custom.el (deftheme): Add doc-string metadata.
13757
13758 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13759
13760 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
13761
13762 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13763
13764 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
13765
13766 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
13767 * emacs-lisp/cl-macs.el: Idem.
13768 * emacs-lisp/cl-specs.el: Remove.
13769
13770 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13771
13772 Minor renaming of internal CL functions and variables.
13773 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
13774 (cl--position): Rename from cl-position.
13775 (cl--delete-duplicates): Rename from cl-delete-duplicates.
13776 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
13777 (cl--random-state): Rename from *random-state*.
13778
13779 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13780
13781 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
13782 parens around the arg list (bug#11499).
13783
13784 2012-05-17 Juri Linkov <juri@jurta.org>
13785
13786 * isearch.el (word-search-regexp, word-search-backward)
13787 (word-search-forward, word-search-backward-lax)
13788 (word-search-forward-lax): Move functions from search.c
13789 (bug#10145, bug#11381).
13790
13791 2012-05-16 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13792
13793 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13794 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13795 Delay for otherchars as for normal word components.
13796
13797 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13798
13799 * minibuffer.el (completion--sifn-requote): Fix last change.
13800 (minibuffer-local-must-match-filename-map):
13801 Move define-obsolete-variable-alias before its var.
13802
13803 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13804
13805 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
13806
13807 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
13808 behavior.
13809 (completion--string-equal-p): New function.
13810 (completion--twq-all): Use it to get better assertion failure data.
13811
13812 Only handle ".." and '..' quoting in shell-mode (bug#11466).
13813 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
13814 (shell--requote-argument): New functions.
13815 (shell-completion-vars): Use them.
13816 (shell--parse-pcomplete-arguments): Rename from
13817 shell-parse-pcomplete-arguments.
13818 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
13819 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
13820 Obey comint-file-name-quote-list.
13821
13822 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
13823 (smie-indent-keyword): Use it.
13824
13825 2012-05-14 Stefan Merten <smerten@oekonux.de>
13826
13827 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
13828
13829 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13830
13831 * net/rlogin.el (rlogin-mode-map): Fix last change.
13832
13833 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
13834
13835 * mail/smtpmail.el (smtpmail-send-command): Send the command and
13836 the following \r\n using a single `process-send-string', since the
13837 Lotus SMTP server refuses to accept any commands if they are sent
13838 with two `process-send-string's (Bug#11444).
13839
13840 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13841
13842 * shell.el (shell-parse-pcomplete-arguments):
13843 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
13844
13845 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13846
13847 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
13848 (image-transform-scale, image-transform-right-angle-fudge): New vars.
13849 (image-transform-width, image-transform-fit-width): New functions.
13850 (image-transform-properties): Use them.
13851 (image-transform-check-size): New function.
13852 (image-toggle-display-image): Use it (for testing).
13853 (image-transform-set-rotation): Reduce angle mod 360.
13854 Delete obsolete comment.
13855
13856 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13857
13858 * image-mode.el: Fix scaling (bug#11399).
13859 (image-transform-resize): Doc fix.
13860 (image-transform-properties): Default scale is 1 and height should
13861 be an integer.
13862
13863 2012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
13864
13865 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
13866 than hard-coding `car', to fix misbehavior when moving forward.
13867
13868 2012-05-13 Chong Yidong <cyd@gnu.org>
13869
13870 * emacs-lisp/tabulated-list.el (tabulated-list-format)
13871 (tabulated-list-entries, tabulated-list-padding)
13872 (tabulated-list-sort-key): Make permanent-local.
13873
13874 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
13875 (electric-buffer-list): Put electric buffer menu
13876 command descriptions in this docstring, instead of the docstring
13877 of electric-buffer-menu-mode. Code cleanups.
13878 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
13879 Electric-buffer-menu-mode.
13880 (electric-buffer-update-highlight): Minor code cleanup.
13881
13882 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
13883
13884 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
13885 (Bug#11447)
13886
13887 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13888
13889 Move define-obsolete-variable-alias before the var's definition.
13890 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
13891 * tooltip.el (tooltip-hook):
13892 * textmodes/reftex-toc.el (reftex-toc-map):
13893 * textmodes/reftex-sel.el (reftex-select-label-map)
13894 (reftex-select-bib-map):
13895 * textmodes/reftex-index.el (reftex-index-map)
13896 (reftex-index-phrases-map):
13897 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
13898 * progmodes/meta-mode.el (meta-mode-map):
13899 * novice.el (disabled-command-hook):
13900 * loadhist.el (unload-hook-features-list):
13901 * frame.el (blink-cursor):
13902 * files.el (find-file-not-found-hooks, write-file-hooks)
13903 (write-contents-hooks):
13904 * emulation/tpu-edt.el (GOLD-map):
13905 * emacs-lock.el (emacs-lock-from-exiting):
13906 * emacs-lisp/generic.el (generic-font-lock-defaults):
13907 * emacs-lisp/chart.el (chart-map):
13908 * dos-fns.el (register-name-alist):
13909 * dired-x.el (dired-omit-files-p):
13910 * desktop.el (desktop-enable):
13911 * cus-edit.el (custom-mode-hook):
13912 * buff-menu.el (buffer-menu-mode-hook):
13913 * bookmark.el (bookmark-read-annotation-text-func)
13914 (bookmark-exit-hooks):
13915 * allout.el (allout-mode-deactivate-hook)
13916 (allout-exposure-change-hook, allout-structure-added-hook)
13917 (allout-structure-deleted-hook, allout-structure-shifted-hook):
13918 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
13919 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
13920 comes before the corresponding variable's definition.
13921
13922 2012-05-12 Chong Yidong <cyd@gnu.org>
13923
13924 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
13925 (Buffer-menu-mouse-select): Restore function (Bug#11459).
13926 (Buffer-menu-mode-map): Bind it.
13927 (Buffer-menu--pretty-name): Add a mouse-face property.
13928
13929 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
13930
13931 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
13932 (prolog-upper-case-string, prolog-lower-case-string)
13933 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
13934 (prolog-use-smie, prolog-smie-grammar): New vars.
13935 (prolog-smie-forward-token, prolog-smie-backward-token)
13936 (prolog-smie-rules): New funs.
13937 (prolog-comment-indent): Remove.
13938 (prolog-mode-variables): Use default comment indentation instead.
13939 Setup SMIE.
13940 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
13941 (prolog-mode): Don't call them any more.
13942 (prolog-electric-colon, prolog-electric-dash)
13943 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
13944
13945 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
13946
13947 * minibuffer.el (completion--twq-all): Again, allow case differences.
13948
13949 * term.el: Move keymap initialization code to be more idiomatic.
13950 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
13951 (term-terminal-menu): Move initialization into declaration.
13952 (term-escape-char): Let the user set it in her .emacs.
13953
13954 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
13955 Provide SMIE-based indentation (not enabled by default yet).
13956 (sh-mode-map): Don't bind electric keys.
13957 Use electric-pair-mode instead of skeleton-pair.
13958 (sh-assignment-regexp): Fit within 80 columns.
13959 (sh-indent-supported): Specify actual shell name instead of boolean.
13960 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
13961 (sh-maybe-here-document): Use it. Make obsolete.
13962 (sh-electric-here-document-mode) New minor mode.
13963 (sh-mode): Use it. Don't set sh-indent-supported-here here.
13964 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
13965 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
13966 (sh-smie-rc-grammar, sh-use-smie): New vars.
13967 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
13968 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
13969 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
13970 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
13971 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
13972 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
13973 (sh-set-shell): Use smie-setup if requested.
13974
13975 * term.el (term-set-escape-char): Properly set term-escape-char.
13976 See http://stackoverflow.com/questions/10524656.
13977
13978 2012-05-10 Chong Yidong <cyd@gnu.org>
13979
13980 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
13981 Use url-generic-parse-url, and handle host names and Windows
13982 filenames properly.
13983 (ffap-url-unwrap-remote): Use url-generic-parse-url.
13984 (ffap-url-unwrap-remote): Accept list values, specifying a list of
13985 URL schemes to work on.
13986 (ffap--toggle-read-only): New function.
13987 (ffap-read-only, ffap-read-only-other-window)
13988 (ffap-read-only-other-frame): Use it.
13989 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
13990 necessary for ffap-url-unwrap-remote.
13991
13992 2012-05-10 Dave Abrahams <dave@boostpro.com>
13993
13994 * cus-start.el (create-lockfiles): Add it.
13995
13996 2012-05-09 Chong Yidong <cyd@gnu.org>
13997
13998 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
13999 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
14000
14001 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14002
14003 * shell.el (shell-completion-vars): Fix last change (bug#11348).
14004
14005 2012-05-09 Chong Yidong <cyd@gnu.org>
14006
14007 * ansi-color.el (ansi-color-process-output): Check for validity of
14008 comint-last-output-start before using it. This avoids a bad
14009 interaction with gdb-mi's input/output buffer.
14010
14011 2012-05-09 Glenn Morris <rgm@gnu.org>
14012
14013 * files.el (dir-locals-read-from-file):
14014 Mention dir-locals in any error message.
14015
14016 2012-05-09 Chong Yidong <cyd@gnu.org>
14017
14018 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
14019 package (Bug#11410).
14020
14021 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
14022 variables into description.
14023
14024 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14025
14026 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
14027 shell-delimiter-argument-list (bug#11348).
14028 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
14029
14030 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
14031
14032 * textmodes/rst.el: Silence byte-compiler warnings.
14033 (rst-re-alist, rst-reset-section-caches): Move around.
14034 (rst-re): Use `characterp', not `char-valid-p'.
14035 (font-lock-beg, font-lock-end): Declare.
14036
14037 * progmodes/idlw-shell.el (specs): Remove reference to deleted
14038 variable `idlwave-shell-activate-alt-keybindings' and simplify.
14039
14040 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
14041
14042 2012-05-08 Glenn Morris <rgm@gnu.org>
14043
14044 * files.el (auto-mode-alist): Treat ".make" like ".mk".
14045
14046 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14047
14048 * vc/log-edit.el: Add GNU coding standards highlighting.
14049 (log-edit-font-lock-gnu-style)
14050 (log-edit-font-lock-gnu-keywords): New vars.
14051 (log-edit-font-lock-keywords): New fun.
14052 (log-edit-mode): Don't fold case in font-lock.
14053 (log-edit-font-lock-keywords): Do not assume case-folding.
14054
14055 * imenu.el: Misc cleanup. Make docstrings out of comments.
14056 Use lexical-binding.
14057 (imenu--index-alist, imenu--last-menubar-index-alist)
14058 (imenu-menubar-modified-tick): Use defvar-local.
14059 (imenu--split-menu): Remove unused var.
14060 (imenu--cleanup-seen): Declare as global.
14061 (imenu--cleanup): Use dolist.
14062
14063 * subr.el (defvar-local): Add debug spec and doc-string position.
14064
14065 2012-05-08 Glenn Morris <rgm@gnu.org>
14066
14067 * language/burmese.el, language/cham.el, language/czech.el:
14068 * language/english.el, language/georgian.el, language/greek.el:
14069 * language/japanese.el, language/khmer.el, language/korean.el:
14070 * language/lao.el, language/misc-lang.el, language/romanian.el:
14071 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
14072 * language/thai.el, language/utf-8-lang.el:
14073 Remove no-byte-compile setting.
14074
14075 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
14076
14077 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14078
14079 * progmodes/make-mode.el (makefile-browse):
14080 Remove unnecessary interactive. (Bug#11324)
14081
14082 2012-05-07 Glenn Morris <rgm@gnu.org>
14083
14084 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
14085
14086 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
14087
14088 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14089
14090 * loadup.el: Preload newcomment.el.
14091 * newcomment.el: Move autoload-only code to toplevel.
14092
14093 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
14094 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
14095 Handle new :right-align column property.
14096 (tabulated-list-print-col): Idem, plus use `display' text-property to
14097 try and preserve alignment for variable pitch fonts.
14098
14099 2012-05-07 Chong Yidong <cyd@gnu.org>
14100
14101 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
14102 (tabulated-list-use-header-line): New var.
14103 (tabulated-list-init-header): Use it.
14104 (tabulated-list-print-fake-header): New function.
14105 (tabulated-list-print): Use it.
14106 (tabulated-list-sort-button-map): Add non-header-line commands.
14107 (tabulated-list-init-header): Add column name property to basic
14108 labels as well.
14109 (tabulated-list-col-sort): Handle non-header-line button case.
14110 (tabulated-list--sort-by-column-name): Fix a corner case.
14111
14112 * buff-menu.el (list-buffers--refresh):
14113 Handle Buffer-menu-use-header-line.
14114
14115 2012-05-06 Chong Yidong <cyd@gnu.org>
14116
14117 * buff-menu.el: Convert to Tabulated List mode.
14118 (Buffer-menu-buffer+size-width): Make obsolete.
14119 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
14120 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
14121 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
14122 documentation into docstring of buffer-menu.
14123 (Buffer-menu-toggle-files-only): Add an informative message.
14124 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
14125 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
14126 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
14127 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
14128 (Buffer-menu-execute, Buffer-menu-select)
14129 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
14130 (Buffer-menu-bury): Use Tabulated List machinery.
14131 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
14132 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
14133 Delete.
14134 (list-buffers--refresh): New function.
14135 (list-buffers-noselect): Use it.
14136 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
14137 (Buffer-menu--pretty-file-name): New helper functions.
14138
14139 * loadup.el: Preload tabulated-list.
14140
14141 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
14142 tabulated-list-sort-column.
14143 (tabulated-list-init-header): Add the initial aligning space even
14144 if tabulated-list-padding is zero.
14145
14146 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
14147
14148 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
14149 whose cdr is not a cons cell correctly (bug#11038).
14150
14151 2012-05-06 Chong Yidong <cyd@gnu.org>
14152
14153 * emacs-lisp/tabulated-list.el (tabulated-list-format):
14154 Accept additional plist in column descriptors.
14155 (tabulated-list-init-header): Obey it.
14156 (tabulated-list-get-entry): New function.
14157 (tabulated-list-put-tag): Use it. Use string-width instead of
14158 length.
14159 (tabulated-list--column-number): New function.
14160 (tabulated-list-print): Use it.
14161 (tabulated-list-print-col): New function.
14162 Set `tabulated-list-column-name' property on each column's text.
14163 (tabulated-list-print-entry): Use it.
14164 (tabulated-list-delete-entry, tabulated-list-set-col):
14165 New functions.
14166 (tabulated-list-sort-column): New command (Bug#11337).
14167
14168 * buff-menu.el (list-buffers): Move C-x C-b binding from
14169 buff-menu.el to bindings.el.
14170
14171 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
14172 :advertised-binding feature.
14173
14174 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
14175
14176 * progmodes/compile.el (compilation-internal-error-properties):
14177 Calculate start position correctly when end-col is set but
14178 end-line is not (Bug#11382).
14179
14180 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
14181
14182 * man.el (Man-unindent): Use text-property-default-nonsticky to
14183 prevent untabify from inheriting face properties (Bug#11408).
14184
14185 2012-05-05 Stefan Merten <smerten@oekonux.de>
14186
14187 * textmodes/rst.el: Major merge with upstream development up to
14188 Docutils SVN r7399 / rst.el V1.2.1.
14189
14190 Clarify maintainership and authors.
14191
14192 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
14193 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
14194 (rst-official-version, rst-official-cvs-rev, rst-version)
14195 (rst-package-emacs-version-alist): New functions and variables
14196 for version information.
14197
14198 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
14199 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
14200 (rst-mode-syntax-table, rst-mode): New and corrected functions
14201 and variables representing reStructuredText features.
14202
14203 (rst-re): New function for reStructuredText regexes. Use in
14204 many places.
14205
14206 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
14207 (rst-mode-map): Rebind keys.
14208
14209 (rst-mode-lazy, rst-font-lock-keywords)
14210 (rst-font-lock-extend-region)
14211 (rst-font-lock-extend-region-internal)
14212 (rst-font-lock-extend-region-extend)
14213 (rst-font-lock-find-unindented-line-limit)
14214 (rst-font-lock-find-unindented-line-match)
14215 (rst-adornment-level, rst-font-lock-adornment-level)
14216 (rst-font-lock-adornment-match)
14217 (rst-font-lock-handle-adornment-pre-match-form)
14218 (rst-font-lock-handle-adornment-matcher): Major revision of
14219 font-locking. Integrate with other code. Use `jit-lock-mode'.
14220
14221 (rst-preferred-adornments, rst-adjust-hook)
14222 (rst-new-adornment-down, rst-preferred-bullets)
14223 (rst-preferred-bullets, rst-indent, rst-indent-width)
14224 (rst-indent-field, rst-indent-literal-normal)
14225 (rst-indent-literal-minimized, rst-indent-comment): Change,
14226 extend and improve customization.
14227
14228 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
14229 (rst-normalize-cursor-position, rst-get-decoration)
14230 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
14231 (rst-rstrip, rst-toc-insert-find-delete-contents)
14232 (rst-shift-fill-region, rst-compute-bullet-tabs)
14233 (rst-debug-print-tabs, rst-debug-mark-found)
14234 (rst-shift-region-guts, rst-shift-region-right)
14235 (rst-shift-region-left, rst-use-char-classes)
14236 (rst-font-lock-keywords-function)
14237 (rst-font-lock-indentation-point)
14238 (rst-font-lock-find-unindented-line-begin)
14239 (rst-font-lock-find-unindented-line-end)
14240 (rst-font-lock-find-unindented-line)
14241 (rst-font-lock-adornment-point, rst-font-lock-level)
14242 (rst-adornment-level-alist): Remove functions and variables.
14243
14244 (rst-compare-adornments, rst-get-adornment-match)
14245 (rst-suggest-new-adornment, rst-get-adornments-around)
14246 (rst-adornment-complete-p, rst-get-next-adornment)
14247 (rst-adjust-adornment, rst-display-adornments-hierarchy)
14248 (rst-straighten-adornments): Standardize function names to
14249 use "adornment" instead of "decoration". Correct callers.
14250 Similar standardizing in many places.
14251
14252 (rst-update-section, rst-adjust, rst-promote-region)
14253 (rst-enumerate-region, rst-bullet-list-region)
14254 (rst-repeat-last-character): Correct use of `interactive'.
14255
14256 (rst-classify-adornment, rst-find-all-adornments)
14257 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
14258 (rst-find-leftmost-column, rst-repeat-last-character):
14259 Refactor functions.
14260
14261 (rst-find-title-line, rst-reset-section-caches)
14262 (rst-get-adornments-around, rst-adjust-adornment-work)
14263 (rst-arabic-to-roman, rst-roman-to-arabic)
14264 (rst-insert-list-pos, rst-insert-list-new-item)
14265 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
14266 New functions.
14267
14268 (rst-all-sections, rst-section-hierarchy)
14269 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
14270 New variables.
14271
14272 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
14273 configuration instead of only buffer. Change where necessary.
14274
14275 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
14276 (rst-shift-region, rst-adaptive-fill): New functions for
14277 indentation and filling.
14278
14279 (rst-comment-line-break, rst-comment-indent)
14280 (rst-comment-insert-comment, rst-comment-region)
14281 (rst-uncomment-region): New functions for handling comments.
14282
14283 (rst-compile): Quote shell arguments.
14284
14285 (rst-compile-pdf-preview, rst-compile-slides-preview):
14286 Delete temporary files after use.
14287
14288 2012-05-05 Glenn Morris <rgm@gnu.org>
14289
14290 * calendar/cal-html.el: Optionally include holidays in the output.
14291 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
14292 (cal-html-holidays): New option.
14293 (cal-html-css-default): Add holiday entry.
14294 (holiday-in-range): Autoload it.
14295 (cal-html-htmlify-entry): Add optional class argument.
14296 (cal-html-htmlify-list): Add optional holidays argument.
14297 (cal-html-insert-agenda-days): Include holidays in the output.
14298 (cal-html-one-month): Maybe include holidays.
14299
14300 * calendar/holidays.el (holiday-in-range):
14301 Move here from cal-tex-list-holidays.
14302 * calendar/cal-tex.el (cal-tex-list-holidays):
14303 Make it an obsolete alias for holiday-in-range. Update all callers.
14304
14305 2012-05-05 Chong Yidong <cyd@gnu.org>
14306
14307 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
14308 Nextstep.
14309
14310 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
14311
14312 * files.el (file-auto-mode-skip): New var.
14313 (set-auto-mode-1): Use it.
14314
14315 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14316
14317 * repeat.el: Use lexical-binding.
14318 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
14319 (repeat-undo-count): Remove.
14320 (repeat):
14321 * progmodes/octave-mod.el (octave-abbrev-start):
14322 * progmodes/f90.el (f90-abbrev-start):
14323 * face-remap.el (text-scale-adjust):
14324 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
14325
14326 * emacs-lisp/pcase.el (pcase--let*): New function.
14327 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
14328 a bit more.
14329 (pcase--split-pred): Be more clever about ruling out overlap between
14330 a predicate and some constant pattern.
14331 (pcase--q1): Use `null' instead of (eq foo nil).
14332
14333 * subr.el (setq-local, defvar-local): New macros.
14334 (kbd): Redefine as an alias.
14335 (with-selected-window): Leave unrelated frames alone.
14336 (set-temporary-overlay-map): New function.
14337
14338 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14339
14340 * subr.el (user-error): New function.
14341 * window.el (switch-to-buffer):
14342 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
14343 (smerge-match-conflict):
14344 * simple.el (previous-matching-history-element)
14345 (next-matching-history-element, goto-history-element, undo-more)
14346 (undo-start):
14347 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
14348 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
14349 (next-file, tags-loop-scan, list-tags, complete-tag):
14350 * progmodes/compile.el (compilation-loop):
14351 * mouse.el (mouse-minibuffer-check):
14352 * man.el (Man-bgproc-sentinel, Man-goto-page):
14353 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
14354 (Info-history-forward, Info-follow-reference, Info-menu)
14355 (Info-extract-menu-item, Info-extract-menu-counting)
14356 (Info-forward-node, Info-backward-node, Info-next-menu-item)
14357 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
14358 (Info-next-reference, Info-prev-reference, Info-index)
14359 (Info-index-next, Info-follow-nearest-node)
14360 (Info-copy-current-node-name):
14361 * imenu.el (imenu--make-index-alist)
14362 (imenu-default-create-index-function, imenu-add-to-menubar):
14363 * files.el (basic-save-buffer, recover-file):
14364 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14365 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
14366 (checkdoc-message-text, checkdoc-defun):
14367 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
14368 * cus-edit.el (customize-changed-options, customize-rogue)
14369 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
14370 (custom-variable-mark-to-reset-standard)
14371 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
14372 (custom-file):
14373 * completion.el (check-completion-length):
14374 * comint.el (comint-search-arg)
14375 (comint-previous-matching-input-string-position)
14376 (comint-previous-matching-input)
14377 (comint-replace-by-expanded-history-before-point, comint-send-input)
14378 (comint-copy-old-input, comint-backward-matching-input)
14379 (comint-goto-process-mark, comint-set-process-mark):
14380 * calendar/calendar.el (calendar-cursor-to-date): Use it.
14381 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
14382
14383 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14384
14385 * dabbrev.el (dabbrev--ignore-case-p): New function.
14386 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
14387 Use it.
14388
14389 * files.el (automount-dir-prefix): Mark as obsolete.
14390
14391 2012-05-04 Glenn Morris <rgm@gnu.org>
14392
14393 * patcomp.el, play/bruce.el: Move to obsolete/.
14394
14395 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
14396
14397 Fix minor Y10k bugs.
14398 * arc-mode.el (archive-unixdate):
14399 * autoinsert.el (auto-insert-alist):
14400 * calc/calc-forms.el (math-this-year):
14401 * emacs-lisp/copyright.el (copyright-current-year)
14402 (copyright-update-year, copyright):
14403 * tar-mode.el (tar-clip-time-string):
14404 * time.el (display-time-update):
14405 Don't assume years have 4 digits.
14406
14407 2012-05-04 Chong Yidong <cyd@gnu.org>
14408
14409 * dos-w32.el (file-name-buffer-file-type-alist)
14410 (direct-print-region-use-command-dot-com):
14411 * ffap.el (ffap-menu-regexp):
14412 * find-file.el (ff-special-constructs):
14413 * follow.el (follow-debug):
14414 * forms.el (forms--debug):
14415 * iswitchb.el (iswitchb-all-frames):
14416 * ido.el (ido-all-frames):
14417 * emacs-lisp/timer.el (timer-max-repeats):
14418 * mail/feedmail.el (feedmail-mail-send-hook)
14419 (feedmail-mail-send-hook-queued):
14420 * mail/footnote.el (footnote-signature-separator):
14421 * mail/mailabbrev.el (mail-alias-separator-string)
14422 (mail-abbrev-mode-regexp):
14423 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
14424 * progmodes/idlwave.el (idlwave-libinfo-file)
14425 (idlwave-default-completion-case-is-down)
14426 (idlwave-library-routines): Convert defvars to defcustoms.
14427
14428 * mail/rmail.el (rmail-decode-mime-charset):
14429 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
14430 (idlwave-shell-fix-inserted-breaks)
14431 (idlwave-shell-activate-alt-keybindings)
14432 (idlwave-shell-use-breakpoint-glyph):
14433 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
14434
14435 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14436
14437 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
14438
14439 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
14440
14441 * progmodes/verilog-mode.el (font-lock-keywords):
14442 Fix mis-highligting auto. Reported by Craig Barner.
14443 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
14444 defines from global name space. Reported by Dan Dever.
14445 (verilog-auto-reset, verilog-auto-reset-widths)
14446 (verilog-auto-tieoff): Support using unbased numbers for
14447 AUTORESET and AUTOTIEOFF.
14448 (verilog-submit-bug-report): Update variable list.
14449 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
14450 parenthesis from not matching. Reported by Michael Rytting.
14451 (verilog-auto-template-lint): Fix hash error when linting modules
14452 with no used templates.
14453 (verilog-warn, verilog-warn-error)
14454 (verilog-warn-fatal): When non-interactive report multiple
14455 warnings before exiting. Suggested by Brad Dobbie.
14456 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
14457 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
14458 to report unused template errors. Reported by Brad Dobbie.
14459 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
14460 nets, bug438. Reported by Vns Blore.
14461 (verilog-auto-inout-module, verilog-auto-reg)
14462 (verilog-read-decls, verilog-read-sub-decls-sig)
14463 (verilog-signals-edit-wire-reg, verilog-signals-with):
14464 Fix passing of Verilog data types in ANSI input/output ports
14465 such as "output logic" into the AUTOs. Special case "wire" and
14466 "reg" for backwards compatibility presuming Verilog 2001.
14467 (verilog-auto-ascii-enum): Add "auto enum" as alias.
14468 (verilog-preprocess): Fix replication of preprocess output.
14469 Reported by Brad Dobbie.
14470 (verilog-auto-inst-interfaced-ports):
14471 Create verilog-auto-inst-interfaced-ports, bug429.
14472 Reported by Julian Gorfajn.
14473 (verilog-after-save-font-hook)
14474 (verilog-before-save-font-hook): New variable.
14475 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
14476 (verilog-save-font-mods): Wrap disabling fontification, reported
14477 by David Rogoff.
14478 (verilog-do-indent, verilog-pretty-declarations-auto)
14479 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
14480 Reported by Pierre-David Pfister.
14481 (verilog-set-auto-endcomments): Fix endtask auto comments outside
14482 of class declarations, bug292. Reported by Kevin Heilman.
14483 (verilog-read-decls): Fix 'parameter type' not appearing in
14484 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
14485 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
14486 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
14487 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
14488 Reported by David Kravitz.
14489
14490 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
14491
14492 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
14493 assignment with tests in ifs and for loops.
14494 (verilog-extended-complete-re, verilog-complete-reg): Change so
14495 that DPI inport functions don't look like fuction declarations.
14496 (verilog-pretty-expr): Don't line up assignment
14497 operations to the test and increment in if and for loops
14498 (verilog-extended-complete-re, verilog-complete-reg): Change so
14499 that DPI inport functions don't look like fuction declarations.
14500
14501 2012-05-03 Kenichi Handa <handa@m17n.org>
14502
14503 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
14504 decoding, and show a warning message without signaling an error
14505 (Bug#11282).
14506
14507 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14508
14509 * emacs-lisp/bytecomp.el
14510 (byte-compile-file-form-custom-declare-variable): Compile all elements,
14511 since cconv.el might have introduced :fun-body, internal-make-closure,
14512 and friends for bytecomp to handle (bug#11391).
14513 * custom.el (defcustom): Avoid ((λ ..) ..).
14514
14515 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
14516
14517 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
14518
14519 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
14520
14521 * notifications.el (dbus-debug):
14522 * term/linux.el (gpm-mouse-enable):
14523 * term/screen.el (xterm-register-default-colors): Declare.
14524
14525 2012-05-02 Chong Yidong <cyd@gnu.org>
14526
14527 * cus-start.el (gc-cons-percentage, exec-suffixes)
14528 (dos-display-scancodes, dos-hyper-key, dos-super-key)
14529 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
14530 (make-cursor-line-fully-visible, void-text-area-pointer)
14531 (font-list-limit): Add customization data.
14532
14533 * allout.el (allout-exposure-change-functions)
14534 (allout-structure-added-functions)
14535 (allout-structure-deleted-functions)
14536 (allout-structure-shifted-functions): Rename abnormal hooks from
14537 *-hook, and convert to defcustoms.
14538 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
14539 Convert to defcustoms.
14540 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
14541
14542 * allout-widgets.el: Hook callers changed.
14543
14544 2012-05-02 Eli Zaretskii <eliz@gnu.org>
14545
14546 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
14547 the yanked message in preference to the default value of
14548 buffer-file-coding-system.
14549
14550 2012-05-02 Martin Rudalics <rudalics@gmx.at>
14551
14552 * window.el (display-buffer--action-function-custom-type):
14553 Fix entry.
14554
14555 2012-05-02 Alan Mackenzie <acm@muc.de>
14556
14557 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
14558
14559 2012-05-01 Glenn Morris <rgm@gnu.org>
14560
14561 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
14562
14563 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
14564
14565 * cus-edit.el (custom-variable-documentation): Simplify with format.
14566
14567 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14568 Stefan Monnier <monnier@iro.umontreal.ca>
14569
14570 * simple.el (suggest-key-bindings, execute-extended-command):
14571 Move from keyboard.c.
14572
14573 2012-05-01 Chong Yidong <cyd@gnu.org>
14574
14575 * follow.el: Eliminate advice.
14576 (set-process-filter, process-filter, sit-for): Advice deleted.
14577 (follow-mode-off-hook): Obsolete hook removed.
14578 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
14579 Vars deleted.
14580 (follow-auto): Use a :set function.
14581 (follow-mode): Rewritten. Don't advise process filters.
14582 (follow-switch-to-current-buffer-all, follow-scroll-up)
14583 (follow-scroll-down): Assume follow-mode is bound.
14584 (follow-comint-scroll-to-bottom)
14585 (follow-align-compilation-windows): New functions.
14586 (follow--window-sorter): New function.
14587 (follow-all-followers): Use it to explicitly sort windows by their
14588 positions; don't make assumptions about next-window order.
14589 (follow-windows-start-end, follow-delete-other-windows-and-split)
14590 (follow-calc-win-start): Doc fix.
14591 (follow-windows-aligned-p, follow-select-if-visible): Don't call
14592 vertical-motion unnecessarily.
14593 (follow-adjust-window): New function.
14594 (follow-post-command-hook): Use it.
14595 (follow-call-set-process-filter, follow-call-process-filter)
14596 (follow-intercept-process-output, follow-tidy-process-filter-alist)
14597 (follow-stop-intercept-process-output, follow-generic-filter):
14598 Functions deleted.
14599 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
14600 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
14601 New functions, replacing advice on scroll-bar-* commands.
14602 (follow-mwheel-scroll): New function (Bug#4112).
14603
14604 * comint.el (comint-adjust-point): New function.
14605 (comint-postoutput-scroll-to-bottom): Use it.
14606 Call follow-comint-scroll-to-bottom for Follow mode buffers.
14607
14608 2012-05-01 Glenn Morris <rgm@gnu.org>
14609
14610 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
14611 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
14612 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
14613 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
14614 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
14615 Remove no-byte-compile setting.
14616
14617 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
14618
14619 * minibuffer.el (completion-table-with-quoting): Fix compatibility
14620 all-completions code to not return a number in the last cdr.
14621
14622 2012-04-30 Leo Liu <sdl.web@gmail.com>
14623
14624 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
14625 read-only error.
14626
14627 2012-04-29 Chong Yidong <cyd@gnu.org>
14628
14629 * follow.el (follow-calc-win-end): Rewrite to handle partial
14630 screen lines correctly (Bug#8390).
14631 (follow-avoid-tail-recenter): Minor cleanup.
14632
14633 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14634
14635 Avoid the obsolete `assoc' package.
14636 * speedbar.el (speedbar-refresh): Avoid adelete.
14637 (speedbar-file-lists): Simplify and avoid aput.
14638 * man.el (Man--sections, Man--refpages): New vars, replacing
14639 Man-sections-alist and Man-refpages-alist.
14640 (Man-build-section-alist, Man-build-references-alist):
14641 Use them; avoid aput.
14642 (Man--last-section, Man--last-refpage): New vars.
14643 (Man-follow-manual-reference): Use them.
14644 Use the `default' arg of completing-read.
14645 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
14646
14647 2012-04-27 Chong Yidong <cyd@gnu.org>
14648
14649 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
14650
14651 * startup.el (x-apply-session-resources): New function.
14652
14653 * term/ns-win.el (ns-initialize-window-system):
14654 * term/w32-win.el (w32-initialize-window-system):
14655 * term/x-win.el (x-initialize-window-system): Use it to properly
14656 set menu-bar-mode and other vars from X resources, even if the
14657 initial frame is not a window-system frame (Bug#2299).
14658
14659 * subr.el (read-key): Avoid running filter function when setting
14660 up temporary tool bar entries (Bug#9922).
14661
14662 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14663
14664 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
14665 (Bug#11344)
14666
14667 2012-04-27 Chong Yidong <cyd@gnu.org>
14668
14669 * select.el (xselect--encode-string): New function, split from
14670 xselect-convert-to-string.
14671 (xselect-convert-to-string): Use it.
14672 (xselect-convert-to-filename, xselect-convert-to-os)
14673 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
14674 returned strings are properly encoded (Bug#11315).
14675
14676 2012-04-27 Chong Yidong <cyd@gnu.org>
14677
14678 * simple.el (delete-active-region): Move to killing custom group.
14679
14680 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14681
14682 * progmodes/which-func.el (which-func-current): Quote %
14683 characters for mode-line processing.
14684
14685 2012-04-27 Chong Yidong <cyd@gnu.org>
14686
14687 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
14688 reaching eob (Bug#11286).
14689
14690 2012-04-27 Eli Zaretskii <eliz@gnu.org>
14691
14692 * progmodes/gdb-mi.el (gdb-control-level): New variable.
14693 (gdb): Make it buffer-local and init to zero.
14694 (gdb-control-commands-regexp): New variable.
14695 (gdb-send): Don't wrap in "-interpreter-exec console" if
14696 gdb-control-level is positive. Increment gdb-control-level
14697 whenever the command matches gdb-control-commands-regexp, and
14698 decrement it each time the command is "end". (Bug#11279)
14699
14700 2012-04-27 Martin Rudalics <rudalics@gmx.at>
14701
14702 * window.el (adjust-window-trailing-edge, enlarge-window)
14703 (shrink-window, window-resize):
14704 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
14705 windows (Bug#11276).
14706
14707 2012-04-27 Chong Yidong <cyd@gnu.org>
14708
14709 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
14710 fix "missing prefix" warning. All callers changed.
14711
14712 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14713
14714 * emacs-lisp/assoc.el: Move to obsolete/.
14715
14716 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14717
14718 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
14719
14720 * term/ns-win.el (ns-define-service):
14721 * progmodes/pascal.el (pascal-goto-defun):
14722 * progmodes/js.el (js--read-tab):
14723 * progmodes/etags.el (tags-lazy-completion-table):
14724 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
14725 * emacs-lisp/ewoc.el (ewoc--wrap):
14726 * emacs-lisp/assoc.el (aput, adelete, amake):
14727 * doc-view.el (doc-view-convert-current-doc):
14728 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
14729
14730 2012-04-26 Chong Yidong <cyd@gnu.org>
14731
14732 * image.el (image-type-from-buffer): Only return supported image
14733 type (Bug#9045).
14734
14735 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
14736 value, for symmetry with diff-end-of-hunk.
14737 (diff-split-hunk, diff-find-source-location)
14738 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
14739 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
14740 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
14741 compute the relevant hunk or file properly (Bug#6005).
14742 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
14743
14744 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14745
14746 * vc/vc-mtn.el:
14747 * vc/vc-hg.el:
14748 * vc/vc-git.el:
14749 * vc/vc-dir.el:
14750 * vc/vc-cvs.el:
14751 * vc/vc-bzr.el:
14752 * vc/vc-arch.el:
14753 * vc/vc.el: Replace lexical-let by lexical-binding.
14754 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
14755 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
14756 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
14757
14758 2012-04-26 Chong Yidong <cyd@gnu.org>
14759
14760 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
14761 (diff-mode-shared-map): Bind it to / and [remap undo].
14762
14763 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
14764 (ediff-window-setup-function): Use it as the default, to set up
14765 windows based on whether the current frame is graphical (Bug#2138).
14766 (ediff-choose-window-setup-function-automatically): Make obsolete.
14767
14768 * vc/ediff-init.el: Always define ediff-pixel-width/height.
14769
14770 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14771
14772 * ffap.el: Remove old code for obsolete package.
14773 (ffap-complete-as-file-p): Remove.
14774
14775 Use completion-table-with-quoting for comint and pcomplete.
14776 * comint.el (comint--unquote&requote-argument)
14777 (comint--unquote-argument, comint--requote-argument): New functions.
14778 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
14779 (comint-quote-filename): Use regexp-opt-charset.
14780 (comint--common-suffix, comint--common-quoted-suffix)
14781 (comint--table-subvert): Remove.
14782 (comint-unquote-function, comint-requote-function): New vars.
14783 (comint--complete-file-name-data): Use them with
14784 completion-table-with-quoting.
14785 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
14786 * pcomplete.el (pcomplete-arg-quote-list)
14787 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
14788 (pcomplete-unquote-argument-function): Default to non-nil.
14789 (pcomplete-unquote-argument): Simplify.
14790 (pcomplete--common-quoted-suffix): Remove.
14791 (pcomplete-requote-argument-function): New var.
14792 (pcomplete--common-suffix): New function.
14793 (pcomplete-completions-at-point): Use completion-table-with-quoting
14794 and completion-table-subvert.
14795
14796 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
14797 (minibuffer--double-dollars): Preserve properties.
14798 (completion--sifn-requote): New function.
14799 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
14800
14801 * minibuffer.el: Add support for completion of quoted/escaped data.
14802 (completion-table-with-quoting, completion-table-subvert): New funs.
14803 (completion--twq-try, completion--twq-all): New functions.
14804 (completion--nth-completion): New function.
14805 (completion-try-completion, completion-all-completions): Use it.
14806
14807 2012-04-25 Leo Liu <sdl.web@gmail.com>
14808
14809 * progmodes/python.el (python-pdbtrack-get-source-buffer):
14810 Use compilation-message if available to find real filename.
14811
14812 2012-04-25 Chong Yidong <cyd@gnu.org>
14813
14814 * vc/diff-mode.el (diff-setup-whitespace): New function.
14815 (diff-mode): Use it.
14816
14817 * vc/diff.el (diff-sentinel):
14818 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
14819 Whitespace mode variables based on diff style (Bug#8612).
14820
14821 2012-04-25 Leo Liu <sdl.web@gmail.com>
14822
14823 * progmodes/python.el (python-send-region): Add suffix .py to the
14824 temp file.
14825
14826 * files.el (auto-mode-alist): Use javascript-mode instead.
14827
14828 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
14829
14830 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
14831
14832 * net/soap-client.el (soap-resolve-references-for-sequence-type)
14833 (soap-resolve-references-for-array-type): Hack to prevent self
14834 references, see Bug#9.
14835 (soap-parse-envelope): Report the contents of the 'detail' node
14836 when receiving a fault reply.
14837 (soap-parse-envelope): Report the contents of the entire 'detail' node.
14838
14839 * net/soap-inspect.el (soap-sample-value-for-simple-type)
14840 (soap-inspect-simple-type): New function.
14841
14842 * net/soap-client.el (soap-simple-type): New struct.
14843 (soap-default-xsd-types, soap-default-soapenc-types)
14844 (soap-decode-basic-type, soap-encode-basic-type):
14845 support unsignedInt and double basic types.
14846 (soap-resolve-references-for-simple-type)
14847 (soap-parse-simple-type, soap-encode-simple-type): New function.
14848 (soap-parse-schema): Parse xsd:simpleType declarations.
14849
14850 * net/soap-client.el (soap-default-xsd-types)
14851 (soap-default-soapenc-types): Add integer, byte and anyURI types.
14852 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
14853 the local name of "soapenc:Array".
14854 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
14855 decoding integer, byte and anyURI xsd types.
14856
14857 2012-04-25 Chong Yidong <cyd@gnu.org>
14858
14859 * cus-edit.el (custom-buffer-create-internal): Update header text.
14860
14861 2012-04-25 Eli Zaretskii <eliz@gnu.org>
14862
14863 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
14864 settings on 'system-type', not on 'window-system'. On MS-Windows,
14865 set interactive-mode on in GDB.
14866
14867 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14868
14869 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
14870 (ruby-syntax-propertize-regexp): Remove.
14871 (ruby-syntax-propertize-function): Split regexp into chunks.
14872 Match following code directly.
14873
14874 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
14875
14876 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
14877 (ruby-syntax-propertize-regexp): New function.
14878 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
14879 by a special keyword.
14880
14881 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
14882 (ruby-syntax-general-delimiters-goto-beg)
14883 (ruby-syntax-propertize-general-delimiters): New functions.
14884 (ruby-syntax-propertize-function): Use them to handle GDL.
14885 (ruby-font-lock-keywords): Move old handling of GDL...
14886 (ruby-font-lock-syntactic-keywords): .. to here.
14887 (ruby-calculate-indent): Adjust indentation for GDL.
14888
14889 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
14890
14891 * notifications.el (top): Remove unneeded declarations.
14892 (notifications-specification-version): Change to "1.2".
14893 (notifications-interface, notifications-notify-method)
14894 (notifications-close-notification-method): Fix docstring.
14895 (notifications-get-capabilities-method): New defconst.
14896 (notifications-notify): Add :action-items, :resident and
14897 :transient hints. Change "image_data" to "image-data" and
14898 "image_path" to "image-path".
14899 (notifications-get-capabilities): New defun.
14900
14901 2012-04-24 Leo Liu <sdl.web@gmail.com>
14902
14903 * progmodes/python.el: Move hideshow setup to the end.
14904
14905 2012-04-24 Martin Rudalics <rudalics@gmx.at>
14906
14907 * window.el (handle-select-window): Clear echo area since this is
14908 no more done by read_char (Bug#11304).
14909
14910 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14911
14912 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
14913 and `/ M' to filter-derived-mode.
14914 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
14915 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
14916 (ibuffer-mark-by-mode): Use default rather than initial-input.
14917 (ibuffer-filter-by-derived-mode): Autoload and require-match.
14918
14919 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
14920
14921 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
14922 (ibuffer-filter-by-derived-mode): New filter.
14923 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
14924
14925 2012-04-23 Andreas Politz <politza@fh-trier.de>
14926
14927 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
14928
14929 2012-04-23 Chong Yidong <cyd@gnu.org>
14930
14931 * cus-edit.el (customize-apropos, customize-apropos-options):
14932 Disable matching of non-option variables (Bug#11176).
14933 (customize-option, customize-option-other-window)
14934 (customize-changed-options): Doc fix.
14935 (customize-apropos-options, customize-apropos-faces)
14936 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
14937
14938 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
14939 Fix word list splitting (Bug#11132).
14940 (apropos-symbol, apropos-keybinding, apropos-label)
14941 (apropos-property, apropos-function-button)
14942 (apropos-variable-button, apropos-misc-button): New faces.
14943 (apropos-symbol-face, apropos-keybinding-face)
14944 (apropos-label-face, apropos-property-face, apropos-match-face):
14945 Variables removed (Bug#8396).
14946 (apropos-library-button, apropos-format-plist, apropos-print)
14947 (apropos-print-doc, apropos-describe-plist): Callers changed.
14948
14949 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
14950
14951 * net/xesam.el (xesam-mode-map): Use let-bound map in
14952 initialization. (Bug#11292)
14953
14954 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14955
14956 Preserve ispell session localwords when switching back to
14957 original buffer.
14958
14959 * textmodes/ispell.el (ispell-buffer-session-localwords):
14960 New buffer-local variable to hold buffer session localwords.
14961 (ispell-kill-ispell): Add option 'clear to delete session
14962 localwords.
14963 (ispell-command-loop, ispell-change-dictionary)
14964 (ispell-buffer-local-words): Preserve session localwords when
14965 needed.
14966
14967 * textmodes/flyspell.el (flyspell-process-localwords)
14968 (flyspell-do-correct): Preserve session localwords when needed.
14969
14970 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14971
14972 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
14973 using obsolete `translation-table-for-input'.
14974 (ispell-word, ispell-process-line, ispell-complete-word):
14975 Use plain `insert' instead of removed `ispell-insert-word'.
14976
14977 2012-04-22 Chong Yidong <cyd@gnu.org>
14978
14979 * cus-edit.el (custom-variable-menu)
14980 (custom-variable-reset-saved, custom-face-menu)
14981 (custom-face-reset-saved): If there is no saved value, make the
14982 "reset-saved" operation bring back the default (Bug#9509).
14983 (custom-face-state): Properly detect themed faces.
14984
14985 * faces.el (face-spec-set): Stop supporting deprecated form of
14986 third arg.
14987
14988 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
14989
14990 Move functions from C to Lisp. Make non-blocking method calls
14991 the default. Implement further D-Bus standard interfaces.
14992
14993 * net/dbus.el (dbus-message-internal): Declare function.
14994 Remove unneeded function declarations.
14995 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
14996 (dbus-message-type-method-return, dbus-message-type-error)
14997 (dbus-message-type-signal): Declare variables. Remove local
14998 definitions.
14999 (dbus-interface-dbus, dbus-interface-peer)
15000 (dbus-interface-introspectable, dbus-interface-properties)
15001 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
15002 Adapt docstring.
15003 (dbus-interface-objectmanager): New defconst.
15004 (dbus-call-method, dbus-call-method-asynchronously)
15005 (dbus-send-signal, dbus-method-return-internal)
15006 (dbus-method-error-internal, dbus-register-service)
15007 (dbus-register-signal, dbus-register-method): New defuns, moved
15008 from dbusbind.c
15009 (dbus-call-method-handler, dbus-setenv)
15010 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
15011 New defuns.
15012 (dbus-call-method-non-blocking): Make it an obsolete function.
15013 (dbus-unregister-object, dbus-unregister-service)
15014 (dbus-handle-event, dbus-register-property)
15015 (dbus-property-handler): Obey the new structure of
15016 `bus-registered-objects'.
15017 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
15018 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15019 Use `dbus-call-method'.
15020
15021 2012-04-22 Chong Yidong <cyd@gnu.org>
15022
15023 * cus-edit.el (custom-commands, custom-reset-menu)
15024 (Custom-reset-standard): Tweak labels.
15025 (custom-reset-button-menu): Change default to t.
15026 (custom-buffer-create-internal): For the custom-reset-button-menu
15027 case, put the revert button first.
15028 (custom-group-subtitle): New face.
15029 (custom-group-value-create): Align docstring to a specific column.
15030
15031 * wid-edit.el (widget-documentation-link-add): Don't handle
15032 indentation in this function.
15033 (widget-documentation-string-indent-to): New function.
15034 (widget-documentation-string-value-create): Use it.
15035
15036 * autorevert.el (auto-revert):
15037 * epg-config.el (epg):
15038 * ibuffer.el (ibuffer):
15039 * mpc.el (mpc):
15040 * ses.el (ses):
15041 * eshell/eshell.el (eshell):
15042 * net/ange-ftp.el (ange-ftp):
15043 * progmodes/ebnf2ps.el (postscript):
15044 * progmodes/flymake.el (flymake):
15045 * progmodes/prolog.el (prolog):
15046 * progmodes/verilog-mode.el (verilog-mode):
15047 * progmodes/which-func.el (which-func):
15048 * term/xterm.el (xterm):
15049 * textmodes/picture.el (picture):
15050 * textmodes/tildify.el (tildify):
15051 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
15052 customization buffers.
15053
15054 2012-04-22 Alan Mackenzie <acm@muc.de>
15055
15056 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
15057 Adding a ) can hide the resulting (..) from searches. Fix it.
15058 Bound the backward search to the position of the existing (.
15059
15060 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
15061
15062 * progmodes/verilog-mode.el (verilog-mode): Check whether
15063 which-func-modes is t before adding verilog-mode.
15064 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
15065
15066 2012-04-21 Leo Liu <sdl.web@gmail.com>
15067
15068 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
15069
15070 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
15071
15072 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
15073 filling of the last column of a table (Bug#5635).
15074 (woman-find-next-control-line): New arg, specifying an additional
15075 regexp component for the control line.
15076 (woman2-roff-buffer): Use it.
15077 (woman-break-table): New function.
15078 (woman2-TS): Use it.
15079
15080 2012-04-21 Chong Yidong <cyd@gnu.org>
15081
15082 * woman.el (woman-set-buffer-display-table, woman-decode-region)
15083 (woman-horizontal-escapes, woman-negative-vertical-space)
15084 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
15085 (WoMan-warn-ignored): Use ?\s instead of ?\ .
15086
15087 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15088
15089 * minibuffer.el (completion-file-name-table): Complete user names.
15090
15091 2012-04-20 Leo Liu <sdl.web@gmail.com>
15092
15093 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
15094 and pcase-let*.
15095
15096 2012-04-20 Chong Yidong <cyd@gnu.org>
15097
15098 * server.el (server-execute): Respect initial-buffer-choice if it
15099 is a string and there are no files to open (Bug#2825).
15100 (server-create-window-system-frame, server-create-tty-frame):
15101 Don't switch buffers here.
15102 (server-process-filter): Only try to open a window system frame if
15103 compiled with graphical support (Bug#8314).
15104
15105 2012-04-20 Dan Nicolaescu <dann@gnu.org>
15106
15107 * battery.el (battery-echo-area-format): Display remaining time
15108 for sysfs backend too (Bug#11269).
15109 (battery-linux-sysfs): Fix conditional for the charge.
15110
15111 2012-04-20 Chong Yidong <cyd@gnu.org>
15112
15113 * progmodes/gdb-mi.el (gdb): Revert previous change.
15114 (gdb-inferior-io--init-proc): New function.
15115 (gdb-init-1): Use it.
15116 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
15117 responsible for allocating a new pty and hooking it to gdb when
15118 the old pty gets an EIO due to process exit.
15119 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
15120 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
15121 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
15122
15123 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15124
15125 * window.el (window-min-size, window-sizable, window-min-delta)
15126 (window-max-delta, window--resizable, window-resizable)
15127 (window-total-size, window-full-height-p, window-full-width-p)
15128 (window-in-direction, window--resize-mini-window, window-resize)
15129 (window--resize-child-windows-normal)
15130 (window--resize-child-windows, window--resize-siblings)
15131 (window--resize-this-window, adjust-window-trailing-edge)
15132 (enlarge-window, shrink-window): Doc fixes.
15133
15134 2012-04-20 Chong Yidong <cyd@gnu.org>
15135
15136 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
15137 New function to call delete-process on the gdb-inferior buffer's pty.
15138 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
15139 pty process (Bug#11273).
15140 (gdb-update): New arg to suppress talking to the gdb process.
15141 (gdb-done-or-error): Use it.
15142 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
15143 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
15144 sentinel not being called.
15145
15146 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
15147
15148 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
15149
15150 2012-04-20 Glenn Morris <rgm@gnu.org>
15151
15152 * net/network-stream.el (open-network-stream): Doc fix.
15153
15154 2012-04-20 Chong Yidong <cyd@gnu.org>
15155
15156 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
15157
15158 2012-04-20 Alan Mackenzie <acm@muc.de>
15159
15160 Ensure searching for keywords is case sensitive.
15161
15162 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
15163 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
15164 (c-defun-name, c-mark-function, c-cpp-define-name)
15165 (c-comment-indent, c-scan-conditionals, c-indent-defun)
15166 (c-context-line-break): Bind case-fold-search to nil.
15167
15168 * progmodes/cc-mode.el (c-font-lock-fontify-region):
15169 Bind case-fold-search to nil.
15170
15171 2012-04-20 Chong Yidong <cyd@gnu.org>
15172
15173 * mail/sendmail.el (mail-bury): Call return action with the right
15174 Rmail buffer (Bug#11242).
15175
15176 * server.el (server-process-filter): Handle corner case where both
15177 tty and nowait options are present (Bug#11102).
15178
15179 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15180
15181 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
15182 (top level): Put into the executable the ident-style '$Id:' tag on
15183 windows-nt as well.
15184
15185 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15186
15187 * electric.el (electric-indent-post-self-insert-function): Check that
15188 electric-indent-mode is enabled in current buffer.
15189
15190 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15191
15192 * imenu.el (imenu-progress-message): Restore; it is "used" in
15193 erc/erc-imenu.el and net/snmp-mode.el.
15194
15195 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15196
15197 * avoid.el (mouse-avoidance-mode): Mark unused arg.
15198 (mouse-avoidance-nudge-mouse): Remove unused binding.
15199
15200 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
15201
15202 * descr-text.el (describe-char):
15203 * progmodes/python.el (python-describe-symbol):
15204 Don't call `toggle-read-only', set `buffer-read-only'.
15205
15206 * imenu.el (imenu-default-goto-function): Mark unused args.
15207 (imenu-progress-message): Remove obsolete macro; all callers changed.
15208
15209 * subr.el (keymap-canonicalize): Remove unused binding.
15210 (read-passwd): Mark unused arg.
15211
15212 * tutorial.el (tutorial--display-changes): Remove unused binding.
15213 (tutorial--save-tutorial-to): Remove unused variable.
15214
15215 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
15216 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
15217 (package-generate-autoloads, package-menu--generate)
15218 (package-menu--find-upgrades): Remove unused bindings.
15219
15220 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
15221 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
15222 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
15223 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
15224 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
15225 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
15226 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
15227 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
15228 (cua-delete-char-rectangle): Mark unused args.
15229 (cua-align-rectangle): Remove unused binding.
15230
15231 * mail/rmail.el (compilation--message->loc)
15232 (epa--find-coding-system-for-mime-charset): Declare.
15233
15234 * net/dbus.el (dbus-register-service): Declare.
15235 (dbus-name-owner-changed-handler): Remove unused binding.
15236
15237 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
15238 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
15239 (nxml-scan-backward-within): Mark unused arg.
15240 (nxml-dynamic-markup-word): Remove unused binding.
15241
15242 * mouse.el (mouse-menu-major-mode-map):
15243 * emacs-lisp/authors.el (authors-scan-change-log)
15244 (authors-add-to-author-list):
15245 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
15246 * emacs-lisp/smie.el (smie-auto-fill):
15247 * mail/sendmail.el (mail-bury):
15248 * mail/unrmail.el (unrmail):
15249 * net/tls.el (open-tls-stream):
15250 * textmodes/picture.el (picture-mouse-set-point):
15251 Remove unused bindings.
15252
15253 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
15254
15255 * net/tramp.el (tramp-action-password): Let-bind
15256 `enable-recursive-minibuffers' to t.
15257
15258 2012-04-18 Sam Steingold <sds@gnu.org>
15259
15260 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
15261 instead of 'string to accommodate values like [f11].
15262 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
15263 * progmodes/gdb-mi.el: Likewise.
15264
15265 2012-04-18 Leo Liu <sdl.web@gmail.com>
15266
15267 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
15268 current buffer.
15269 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
15270 LOCAL is nil.
15271
15272 2012-04-18 Chong Yidong <cyd@gnu.org>
15273
15274 * simple.el (line-move): Use forward-line if in batch mode
15275 (Bug#11053).
15276
15277 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
15278
15279 * files.el (after-find-file): Do not try to add a final newline if
15280 the buffer is read-only (Bug#11156).
15281
15282 2012-04-17 Richard Stallman <rms@gnu.org>
15283
15284 * mail/rmail.el (rmail-start-mail):
15285 Pass (rmail-mail-return...) for the return-action.
15286 Pass (rmail-yank-current-message...) for the yank-action.
15287 (rmail-yank-current-message): New function.
15288 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
15289 (rmail-reply): Likewise.
15290 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
15291
15292 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
15293 buffer, not the last. Reject temp buffers. Use the rmail-mode
15294 buffer, not newbuf.
15295
15296 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
15297
15298 * server.el (server-ensure-safe-dir): Simplify.
15299
15300 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15301
15302 * emacs-lisp/smie.el: Provide smarter auto-filling.
15303 (smie-auto-fill): New function.
15304 (smie-setup): Use it.
15305
15306 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
15307
15308 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
15309
15310 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
15311 (comment-indent): Use it.
15312
15313 2012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
15314
15315 * ses.el: The overall change is to add cell renaming, that is
15316 setting fancy names for cell symbols other than name matching
15317 "\\`[A-Z]+[0-9]+\\'" regexp .
15318 (ses-localvars): Add ses--renamed-cell-symb-list.
15319 (ses-create-cell-variable): New defun.
15320 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
15321 (ses-relocate-formula): Relocate formulas only for cells the
15322 symbols of which are not renamed, i.e. symbols whose names do not
15323 match regexp "\\`[A-Z]+[0-9]+\\'".
15324 (ses-relocate-all): Relocate values only for cells the symbols of
15325 which are not renamed.
15326 (ses-load): Create cells variables as the (ses-cell ...) are read,
15327 in order to check row col consistency with cell symbol name only
15328 for cells that are not renamed.
15329 (ses-replace-name-in-formula): New defun.
15330 (ses-rename-cell): New defun.
15331
15332 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
15333
15334 * progmodes/perl-mode.el (perl-indent-parens-as-block):
15335 New option (bug#11118).
15336 (perl-calculate-indent): Respect it.
15337
15338 2012-04-17 Glenn Morris <rgm@gnu.org>
15339
15340 * dired-aux.el (dired-mark-read-string): Doc fix.
15341
15342 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
15343
15344 * dired-aux.el (dired-mark-read-string): Offer optional completion.
15345 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
15346
15347 2012-04-17 Glenn Morris <rgm@gnu.org>
15348
15349 * mouse.el (mouse-drag-track):
15350 * speedbar.el (speedbar-frame-mode):
15351 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
15352
15353 2012-04-16 Leo Liu <sdl.web@gmail.com>
15354
15355 * progmodes/python.el: Trivial cleanup.
15356
15357 2012-04-16 Glenn Morris <rgm@gnu.org>
15358
15359 * vc/vc.el (vc-string-prefix-p):
15360 * vc/pcvs-util.el (cvs-string-prefix-p):
15361 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
15362 * mpc.el (mpc-string-prefix-p):
15363 Make all of these into obsolete aliases for string-prefix-p.
15364 Update callers.
15365 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
15366
15367 * textmodes/two-column.el: Move custom options to the start.
15368 (frame-width): Remove compat definition.
15369 (2C-associate-buffer, 2C-dissociate):
15370 Use with-current-buffer rather than save-excursion.
15371 (2C-dissociate): Force a mode-line update.
15372 (2C-autoscroll): Use ignore-errors.
15373
15374 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
15375 Autoload trivia.
15376
15377 * emacs-lisp/cl-extra.el (*random-state*):
15378 Remove unnecessary declaration.
15379
15380 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
15381
15382 * play/cookie1.el (cookie-snarf):
15383 Give an explicit error if input file cannot be read.
15384
15385 * play/yow.el (yow-file): Use expand-file-name rather than concat.
15386
15387 * progmodes/perl-mode.el (c-macro-expand):
15388 Remove unnecessary autoload (it is in loaddefs.el).
15389
15390 * textmodes/picture.el (picture-desired-column)
15391 (picture-update-desired-column): Convert comments to doc-strings.
15392 (picture-substitute): Remove function.
15393 (picture-mode-map): Initialize in the defvar.
15394
15395 * woman.el: Remove eval-after-load for tar-mode.
15396 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
15397 (woman-tar-extract-file): Autoload it.
15398
15399 * frame.el (automatic-hscrolling): Make this alias obsolete.
15400
15401 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15402
15403 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
15404 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
15405 (ispell-dictionary-base-alist): Revert to original XEmacs
15406 friendly version for default. [:alpha:] will be added in
15407 `ispell-set-spellchecker-params' if needed.
15408
15409 2012-04-16 Chong Yidong <cyd@gnu.org>
15410
15411 * image.el (imagemagick--file-regexp): New variable.
15412 (imagemagick-register-types): Use it.
15413 (imagemagick-types-inhibit): Add :set function. Allow new value
15414 of t to inhibit all types.
15415
15416 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
15417 so we can preload it.
15418
15419 * loadup.el (fboundp): Preload regexp-opt, needed by
15420 imagemagick-register-types.
15421
15422 2012-04-15 Chong Yidong <cyd@gnu.org>
15423
15424 * frame.el (scrolling): Remove nearly unused customization group.
15425
15426 * scroll-all.el (scroll-all-mode): Move to windows group.
15427
15428 2012-04-15 Chong Yidong <cyd@gnu.org>
15429
15430 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
15431
15432 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15433
15434 Avoid the use of ((lambda ...) ...) in lexical-binding code.
15435 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
15436
15437 2012-04-15 Glenn Morris <rgm@gnu.org>
15438
15439 * simple.el (process-file-side-effects): Doc fix.
15440
15441 2012-04-15 Glenn Morris <rgm@gnu.org>
15442
15443 * international/mule-cmds.el (set-language-environment): Doc fix.
15444
15445 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15446
15447 * server.el (server-auth-key, server-generate-key): Doc fixes.
15448 (server-get-auth-key): Doc fix. Use `string-match-p'.
15449 (server-start): Reflow docstring.
15450
15451 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
15452
15453 * server.el (server-generate-key): `called-interactively-p'
15454 requires a parameter.
15455
15456 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
15457
15458 * server.el (server-auth-key): New variable.
15459 (server-generate-key, server-get-auth-key): New function.
15460 (server-start): Use the new variable and functions to allow
15461 setting a permanent server key (bug#9423).
15462
15463 2012-04-14 Leo Liu <sdl.web@gmail.com>
15464
15465 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
15466
15467 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
15468
15469 Spelling fixes.
15470 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
15471 Emacs uses American spelling.
15472
15473 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15474
15475 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
15476 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
15477 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
15478 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
15479
15480 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15481
15482 * progmodes/which-func.el (which-func-modes): Change default.
15483
15484 2012-04-14 Kim F. Storm <storm@cua.dk>
15485
15486 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
15487 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
15488
15489 2012-04-14 Chong Yidong <cyd@gnu.org>
15490
15491 * custom.el (custom-theme-set-variables): Doc fix.
15492
15493 2012-04-14 Glenn Morris <rgm@gnu.org>
15494
15495 * international/mule.el (set-auto-coding-for-load): Doc fix.
15496
15497 2012-04-14 Alan Mackenzie <acm@muc.de>
15498
15499 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
15500 imenu work again for Objective C Mode. Correct the *-index values,
15501 these having been disturbed by a previous change in 2011-08.
15502
15503 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
15504 Correct two search limits.
15505
15506 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15507
15508 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
15509
15510 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
15511
15512 * international/characters.el: Fix sorting.
15513
15514 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15515
15516 * international/characters.el: Add more missing Latin case pairs.
15517
15518 2012-04-14 Glenn Morris <rgm@gnu.org>
15519
15520 * files.el (dir-locals-set-class-variables): Doc fix.
15521
15522 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15523
15524 * international/characters.el: Add set-case-syntax-pair call for
15525 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
15526 counterpart. (Bug#11209)
15527
15528 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
15529
15530 2012-04-14 Glenn Morris <rgm@gnu.org>
15531
15532 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15533
15534 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15535
15536 * textmodes/ispell.el (ispell-dictionary-base-alist):
15537 Add data for Hebrew.
15538
15539 2012-04-14 Chong Yidong <cyd@gnu.org>
15540
15541 * net/rcirc.el (rcirc-cmd-quit):
15542 Revert 2012-03-18 change (Bug#11192).
15543
15544 2012-04-14 Glenn Morris <rgm@gnu.org>
15545
15546 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
15547
15548 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15549
15550 * minibuffer.el (completion-in-region-mode-map):
15551 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
15552
15553 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
15554
15555 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
15556
15557 2012-04-13 Masatake YAMATO <yamato@redhat.com>
15558
15559 * minibuffer.el (minibuffer-local-filename-syntax): New variable
15560 to allow `C-M-f' and `C-M-b' to move to the nearest path
15561 separator (bug#9511).
15562
15563 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
15564
15565 * avoid.el: Require cl when compiling. And also move the
15566 `provide' to the end.
15567
15568 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15569
15570 * avoid.el (mouse-avoidance-banish-position): New variable.
15571 (mouse-avoidance-banish-destination): Use it (bug#10165).
15572
15573 2012-04-13 Leo Liu <sdl.web@gmail.com>
15574
15575 * progmodes/which-func.el (which-func-modes): Add objc-mode.
15576
15577 2012-04-13 Ken Brown <kbrown@cornell.edu>
15578
15579 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
15580 this is no longer needed now that cygstart understands file:// URLs.
15581 (browse-url-filename-alist): For the same reason, don't modify
15582 file:// URLs on Cygwin.
15583
15584 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
15585
15586 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
15587 the region on shift if the binding is already shifted (bug#11221).
15588
15589 2012-04-12 Glenn Morris <rgm@gnu.org>
15590
15591 * mail/mailpost.el: Move to obsolete/.
15592
15593 2012-04-12 Drew Adams <drew.adams@oracle.com>
15594
15595 * imenu.el (imenu--generic-function): Ignore invisible definitions
15596 (bug#10123).
15597
15598 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
15599
15600 * hexl.el (hexl-bits): New variable.
15601 (hexl-options): Mention the variable in the doc string.
15602 (hexl-rulerise, hexl-line-displen): New functions.
15603 (hexl-mode): Mention the new variable.
15604 (hexl-mode, hexl-current-address, hexl-current-address):
15605 Use the displen.
15606 (hexl-ascii-start-column): New function.
15607 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
15608 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
15609
15610 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15611
15612 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
15613 '("-i" ENCODING), in 2 separate command-line arguments, to specify
15614 the encoding, as expected by hunspell.
15615
15616 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
15617
15618 * battery.el (battery--linux-sysfs-regexp): New const.
15619 (battery-status-function): Use it. Remove yeeloong special case.
15620 (battery-yeeloong-sysfs): Remove.
15621 (battery-echo-area-format): Remove yeeloong special case.
15622
15623 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15624
15625 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
15626 Reported by Noah Friedman.
15627
15628 * subr.el (read-passwd): Use read-string.
15629
15630 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15631
15632 * vcursor.el (vcursor-move): Increase the priority of the overlay
15633 (bug#9663).
15634
15635 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15636
15637 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
15638 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
15639
15640 2012-04-11 William Stevenson <yhvh2000@gmail.com>
15641
15642 * textmodes/artist.el (artist-mode): Convert artist-mode to use
15643 define-minor-mode (bug#10760).
15644
15645 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15646
15647 * progmodes/grep.el (rgrep): Tweak the find command line so
15648 that directories matching `grep-find-ignored-files' won't be
15649 pruned (bug#10351).
15650
15651 2012-04-11 Chong Yidong <cyd@gnu.org>
15652
15653 * startup.el (command-line): Remove support for long-obsolete
15654 variable font-lock-face-attributes.
15655
15656 2012-04-11 Glenn Morris <rgm@gnu.org>
15657
15658 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
15659
15660 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15661
15662 * window.el (window--state-get-1): Obey window-point-insertion-type.
15663
15664 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
15665
15666 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
15667 to previous function when point is on the first character of a
15668 function. Take care of that in `narrow-to-defun' (bug#6157).
15669
15670 2012-04-11 Glenn Morris <rgm@gnu.org>
15671
15672 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
15673 not just file-errors.
15674
15675 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
15676 (vc-bzr-sha1): Use internal sha1.
15677
15678 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15679
15680 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
15681
15682 2012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
15683
15684 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
15685 that start in the middle of the line (bug#10496).
15686
15687 2012-04-10 Dan Nicolaescu <dann@gnu.org>
15688
15689 * battery.el (battery-linux-proc-acpi): Only one battery is
15690 discharged at a time, but that seems to confuse battery.el when
15691 computing `rate-type' for the battery not being discharged
15692 (bug#10332).
15693
15694 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15695
15696 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
15697
15698 * international/quail.el: Use dolist and simplify.
15699 (quail-define-package, quail-update-keyboard-layout)
15700 (quail-define-rules): Use dolist.
15701 (quail-insert-kbd-layout, quail-get-translation): CSE.
15702
15703 * tmm.el: Use dolist, remove left over hook.
15704 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
15705 Use dolist.
15706 (calendar-load-hook): Don't mess with it.
15707
15708 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
15709 Use derived-mode-p. Run the diff asynchronously.
15710
15711 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15712
15713 * obsolete/mouse-sel.el: Add an Obsolete-since header.
15714
15715 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
15716
15717 * misc.el: Display absolute path of loaded DLLs (bug#10424).
15718 (list-dynamic-libraries--loaded): New function.
15719 (list-dynamic-libraries--refresh): Use it.
15720
15721 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
15722
15723 * progmodes/python.el (python-fill-paragraph):
15724 Make python-fill-region in a multiline string work when font-lock is
15725 disabled (bug#7018).
15726
15727 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
15728
15729 * language/european.el (cp775): Add oem/legacy (en)coding on
15730 DOS/MS Windows for the Baltic languages. There are still plenty
15731 of texts written in this encoding/codepage (bug#6519).
15732
15733 2012-04-10 Glenn Morris <rgm@gnu.org>
15734
15735 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
15736 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
15737
15738 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
15739
15740 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
15741 next-line "n" and previous-line "p" in order to make recentf more
15742 consistent with ibuffer, dired or org-mode (bug#9387).
15743
15744 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15745
15746 * image.el (put-image): Return the overlay created instead of the
15747 optional input string (bug#7834). Note that this may break code
15748 that is (for some reason or other) depending on `put-image'
15749 returning the string.
15750
15751 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
15752
15753 * simple.el (zap-to-char): Allow zapping using input methods
15754 (bug#1580).
15755
15756 * textmodes/fill.el (fill-region): Leave point and mark where they
15757 were before filling (bug#5399).
15758
15759 2012-04-09 Glenn Morris <rgm@gnu.org>
15760
15761 * version.el (emacs-bzr-get-version):
15762 Handle lightweight checkouts of local branches.
15763
15764 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
15765
15766 * international/characters.el: Recover lost case pairs. (Bug#11209)
15767
15768 2012-04-09 Chong Yidong <cyd@gnu.org>
15769
15770 * custom.el (custom-variable-p): Return nil for non-symbol
15771 arguments instead of signaling an error.
15772 (user-variable-p): Obsolete alias for custom-variable-p.
15773
15774 * apropos.el (apropos-variable):
15775 * files-x.el (read-file-local-variable):
15776 * simple.el (set-variable):
15777 * woman.el (woman-mini-help):
15778 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
15779
15780 2012-04-09 Glenn Morris <rgm@gnu.org>
15781
15782 * startup.el (normal-top-level): Don't look for leim-list.el
15783 in places where it will not be found. (Bug#910)
15784
15785 * international/mule-cmds.el (set-default-coding-systems):
15786 * files.el (normal-mode):
15787 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
15788 This function was removed with ucs-tables.el in 2008.
15789
15790 2012-04-08 Eli Zaretskii <eliz@gnu.org>
15791
15792 * textmodes/ispell.el (ispell-check-version): For hunspell, set
15793 ispell-encoding8-command to "-i", without a trailing space.
15794 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
15795 separate command-line arguments, to specify the encoding, since
15796 that's how hunspell expects it.
15797
15798 2012-04-08 Glenn Morris <rgm@gnu.org>
15799
15800 * loadup.el: Load bindings before cus-start.
15801 This reduces somewhat the number of "rogue" settings in emacs -Q.
15802
15803 2012-04-07 Glenn Morris <rgm@gnu.org>
15804
15805 * version.el (emacs-bzr-get-version): New function.
15806 (emacs-bzr-version): New variable.
15807 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
15808 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
15809
15810 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15811
15812 * international/uni-bidi.el, international/uni-category.el:
15813 * international/uni-combining.el, international/uni-decimal.el:
15814 * international/uni-decomposition.el, international/uni-digit.el:
15815 * international/uni-lowercase.el, international/uni-mirrored.el:
15816 * international/uni-name.el, international/uni-numeric.el:
15817 * international/uni-titlecase.el, international/uni-uppercase.el:
15818 Update for Unicode 6.1.
15819
15820 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15821
15822 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
15823
15824 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
15825
15826 * window.el (shrink-window): Mention the `window-min-height'
15827 variable in the doc string.
15828
15829 2012-04-05 Bastien Guerry <bzg@altern.org>
15830
15831 * color.el (color-lighten-name): Fix typo.
15832
15833 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15834
15835 * server.el (server--on-display-p): New function.
15836 (server--on-display-p): Use it.
15837
15838 2012-04-04 GĂ¡bor Vida <vidagabor@gmail.com> (tiny change)
15839
15840 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
15841 (bug#11145).
15842
15843 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15844
15845 * comint.el (comint--common-quoted-suffix): Check string boundary
15846 before comparing (bug#11158).
15847 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
15848
15849 2012-04-04 Chong Yidong <cyd@gnu.org>
15850
15851 * minibuffer.el (completion-extra-properties): Doc fix.
15852
15853 * subr.el (delayed-warnings-hook): Doc fix.
15854
15855 2012-04-04 Daiki Ueno <ueno@unixuser.org>
15856
15857 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
15858 selection (Bug#11159).
15859 (epa-insert-keys): Inform that the default public key will be
15860 exported if no key is selected.
15861
15862 2012-04-04 Richard Stallman <rms@gnu.org>
15863
15864 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
15865
15866 2012-04-03 Chong Yidong <cyd@gnu.org>
15867
15868 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
15869 mail-insert-file, not its obsolete alias mail-attach-file.
15870
15871 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
15872
15873 * notifications.el (notifications-notify): Fix docstring.
15874
15875 2012-04-02 Glenn Morris <rgm@gnu.org>
15876
15877 * emacs-lisp/authors.el (authors-aliases): Another addition.
15878
15879 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
15880
15881 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
15882 `tramp-compat-call-process' instead of `tramp-local-call-process'.
15883 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
15884
15885 2012-04-01 Chong Yidong <cyd@gnu.org>
15886
15887 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
15888 Handle root directory properly.
15889 (copy-directory): Caller changed.
15890
15891 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15892 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
15893
15894 2012-03-31 Glenn Morris <rgm@gnu.org>
15895
15896 * term/xterm.el (xterm-extra-capabilities): Doc fix.
15897
15898 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
15899
15900 * calendar/calendar.el (calendar-window-list)
15901 (calendar-hide-window): Restore. (Bug#11140)
15902 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
15903
15904 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
15905
15906 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15907
15908 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15909 Check if file is a symlink (Bug#10489).
15910
15911 * files.el (copy-directory): Likewise.
15912
15913 2012-03-30 Chong Yidong <cyd@gnu.org>
15914
15915 * image.el (imagemagick-types-inhibit)
15916 (imagemagick-register-types): Doc fix.
15917
15918 2012-03-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15919
15920 * textmodes/ispell.el (ispell-get-extended-character-mode):
15921 Disable extended-char-mode for hunspell. hunspell does not support it
15922 and treats ~word as ordinary words in pipe mode.
15923
15924 2012-03-30 Glenn Morris <rgm@gnu.org>
15925
15926 * tutorial.el (help-with-tutorial): Ensure local variables don't
15927 happen to make the buffer read-only. (Bug#11127)
15928
15929 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15930
15931 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
15932 (perl-calculate-indent): Return `noindent' in strings.
15933
15934 2012-03-28 Sam Steingold <sds@gnu.org>
15935
15936 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
15937 instead of the broken adhockery which does not prevent calendar
15938 buffers from being displayed at random after exit.
15939 (calendar-window-list, calendar-hide-window): Remove the broken
15940 adhockery.
15941
15942 2012-03-28 Glenn Morris <rgm@gnu.org>
15943
15944 * replace.el (query-replace-map): Doc fix.
15945
15946 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
15947
15948 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
15949 contents. (Bug#11109)
15950
15951 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15952
15953 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
15954 (bug#11077).
15955 (avl-tree--check, avl-tree--check-node): New funs.
15956
15957 2012-03-27 Martin Rudalics <rudalics@gmx.at>
15958
15959 * window.el (switch-to-visible-buffer): New option.
15960 (switch-to-prev-buffer, switch-to-next-buffer):
15961 Observe switch-to-visible-buffer. Make sure that checking for a window
15962 showing a buffer already is done on the same frame.
15963
15964 2012-03-27 Glenn Morris <rgm@gnu.org>
15965
15966 * startup.el (mail-host-address): Doc fix.
15967
15968 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15969
15970 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
15971 than 197 variables.
15972
15973 2012-03-26 Ami Fischman <ami@fischman.org>
15974
15975 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
15976
15977 2012-03-26 Glenn Morris <rgm@gnu.org>
15978
15979 * files.el (save-buffers-kill-emacs): Doc fix.
15980
15981 * startup.el (normal-top-level, command-line, command-line-1):
15982 Give them doc strings.
15983
15984 2012-03-25 Eli Zaretskii <eliz@gnu.org>
15985
15986 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
15987 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
15988
15989 2012-03-25 Chong Yidong <cyd@gnu.org>
15990
15991 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
15992 theme if it was previously enabled before (Bug#11031).
15993
15994 * cus-theme.el (custom-theme-write-faces): Retrieve current face
15995 spec with custom-face-get-current-spec if its :shown-value is not
15996 determined yet (Bug#9337).
15997 (customize-create-theme, custom-theme-revert): Doc fixes.
15998
15999 * button.el (button-at): Minor addition to docstring.
16000
16001 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
16002
16003 * vc/vc.el (vc-merge): Fix a prompt.
16004
16005 2012-03-24 Chong Yidong <cyd@gnu.org>
16006
16007 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
16008 point (Bug#9623).
16009
16010 * button.el (button-at): Minor addition to docstring.
16011
16012 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
16013
16014 * newcomment.el (comment-choose-indent): No space after BOL.
16015
16016 2012-03-22 Sam Steingold <sds@gnu.org>
16017
16018 * window.el (switch-to-prev-buffer): Revert last patch because the
16019 bug turned out to be an advertised feature (Elisp manual 28.14).
16020
16021 2012-03-22 Glenn Morris <rgm@gnu.org>
16022
16023 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
16024 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
16025
16026 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16027
16028 * net/network-stream.el (network-stream-open-starttls): Make error
16029 message under Windows be less misleading.
16030
16031 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
16032
16033 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
16034 understands (bug#9942).
16035
16036 2012-03-22 Chong Yidong <cyd@gnu.org>
16037
16038 * simple.el (end-of-visible-line): Handle return value of
16039 next-single-property-change properly (Bug#9371).
16040
16041 2012-03-22 Kenichi Handa <handa@m17n.org>
16042
16043 * international/quail.el (quail-insert-kbd-layout): Fix previous
16044 change. To avoid unwanted bidi reordering, use
16045 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
16046
16047 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
16048
16049 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
16050 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
16051 (ruby-beginning-of-indent): Be more careful with the difference
16052 between word-boundary and symbol boundary.
16053 (ruby-mode-syntax-table): Make : a symbol constituent.
16054
16055 2012-03-21 Andreas Politz <politza@fh-trier.de>
16056
16057 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
16058
16059 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16060
16061 * progmodes/etags.el (tags-completion-at-point-function):
16062 Improve last fix.
16063
16064 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
16065
16066 2012-03-21 Sam Steingold <sds@gnu.org>
16067
16068 * progmodes/etags.el (tags-completion-at-point-function):
16069 Avoid the error when point is inside the pattern.
16070
16071 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
16072
16073 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
16074 line (Bug#10855).
16075
16076 2012-03-21 Drew Adams <drew.adams@oracle.com>
16077
16078 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
16079
16080 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
16081
16082 * ido.el (ido-set-current-directory, ido-read-internal)
16083 (ido-choose-completion-string, ido-completion-help): Handle nil
16084 value of ido-completion-buffer (Bug#11008).
16085
16086 2012-03-21 Sam Steingold <sds@gnu.org>
16087
16088 * window.el (switch-to-prev-buffer): Do not switch to a visible
16089 window previous buffer, just like with the frame previous buffers.
16090
16091 2012-03-21 Chong Yidong <cyd@gnu.org>
16092
16093 * faces.el (make-face, make-empty-face, copy-face):
16094 * face-remap.el (face-remap-add-relative, face-remap-set-base):
16095 Doc fixes.
16096
16097 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16098
16099 * wid-edit.el (widget-complete-field): Remove (bug#11051).
16100 (widget-complete): Remove broken use of it.
16101
16102 2012-03-20 Chong Yidong <cyd@gnu.org>
16103
16104 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16105 Use string-width and truncate-string-width to handle arbitrary
16106 characters.
16107
16108 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
16109
16110 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
16111 to draw rectangles, not squares. (Regression introduced by revno
16112 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
16113
16114 2012-03-18 Chong Yidong <cyd@gnu.org>
16115
16116 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
16117 it is not yet defined (for temacs).
16118
16119 2012-03-18 Leo Liu <sdl.web@gmail.com>
16120
16121 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
16122 prefix.
16123
16124 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16125
16126 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
16127 (ispell-choices-win-default-height, ispell-silently-savep)
16128 (ispell-dictionary-alist, ispell-encoding8-command)
16129 (ispell-check-version, ispell-aspell-find-dictionary)
16130 (ispell-valid-dictionary-list, ispell-words-keyword)
16131 (ispell-get-word, ispell-internal-change-dictionary)
16132 (ispell-region, ispell-skip-region-list)
16133 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
16134 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
16135 (ispell-message-text-end, ispell-message)
16136 (ispell-buffer-local-parsing): Doc fix.
16137
16138 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
16139
16140 * htmlfontify.el: Add support for code block fontification for ODT
16141 export (Bug #9914).
16142 (hfy-optimisations): Define new option
16143 `body-text-only'
16144 (hfy-fontify-buffer): Honor above setting.
16145 (hfy-begin-span, hfy-end-span): New routines factored out form
16146 `hfy-fontify-buffer'.
16147 (hfy-begin-span-handler, hfy-end-span-handler): New variables
16148 that permit insertion of custom tags.
16149 (hfy-fontify-buffer): Use above handlers.
16150 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
16151 (hfy-face-to-css): Re-defined to be a variable.
16152 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
16153 over multiple runs. This is made possible by having the caller let
16154 bind a special variable `hfy-user-sheet-assoc'.
16155 (htmlfontify-string): New defun.
16156 (hfy-compile-face-map): Make sure that the last char in the
16157 buffer is correctly fontified.
16158 (hfy-face-resolve-face): Whitespace only change.
16159
16160 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16161
16162 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
16163 message more clear.
16164
16165 2012-03-16 Leo Liu <sdl.web@gmail.com>
16166
16167 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
16168
16169 2012-03-16 Alan Mackenzie <acm@muc.de>
16170
16171 Further optimize the handling of large macros.
16172
16173 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
16174 limit to a call of `c-literal-limits'.
16175 (c-determine-+ve-limit): New function.
16176 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
16177 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
16178 In CASE 5B, restrict a search limit to 500.
16179 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
16180
16181 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
16182 Restrict macro bounds to +-500 from after-change's BEG END.
16183
16184 2012-03-16 Leo Liu <sdl.web@gmail.com>
16185
16186 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
16187
16188 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
16189
16190 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
16191 `special-mode' setting of `buffer-read-only'. (Bug#11010)
16192
16193 2012-03-16 Glenn Morris <rgm@gnu.org>
16194
16195 * view.el (view-buffer, view-buffer-other-window)
16196 (view-buffer-other-frame): Doc fixes re special mode-class.
16197
16198 * subr.el (eval-after-load): If named feature is provided not from
16199 a file, run after-load forms. (Bug#10946)
16200
16201 * calendar/calendar.el (calendar-insert-at-column):
16202 Handle non-unit-width characters a bit better. (Bug#10978)
16203
16204 2012-03-15 Chong Yidong <cyd@gnu.org>
16205
16206 * emacs-lisp/ring.el (ring-extend): New function.
16207 (ring-insert+extend): Extend the ring correctly (Bug#11019).
16208
16209 * comint.el (comint-read-input-ring)
16210 (comint-add-to-input-history): Grow comint-input-ring lazily.
16211
16212 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16213
16214 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
16215 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
16216
16217 * imenu.el: Fix multiple inheritance breakage (bug#9199).
16218 (imenu-add-to-menubar): Don't add a redundant index.
16219 (imenu-update-menubar): Handle a dynamically composed keymap.
16220
16221 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
16222
16223 * mail/sendmail.el (mail-encode-header):
16224 Bind rfc2047-encode-encoded-words to nil.
16225
16226 2012-03-13 Glenn Morris <rgm@gnu.org>
16227
16228 * calendar/calendar.el (calendar-string-spread):
16229 Handle non-unit-width characters a bit better. (Bug#10978)
16230
16231 2012-03-13 Leo Liu <sdl.web@gmail.com>
16232
16233 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
16234 directory and file as argument (Bug#10822).
16235
16236 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16237
16238 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
16239 For dynamically generated code, follow $PC.
16240 (gdb-disassembly-handler-custom): Handle no function name case.
16241
16242 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
16243
16244 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
16245 * emulation/ws-mode.el (ws-query-replace):
16246 * sort.el (sort-regexp-fields):
16247 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
16248
16249 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16250
16251 * dabbrev.el: Fix cycle completion order (bug#10963).
16252 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
16253 (dabbrev-completion): Don't use an obarray; provide
16254 a cycle-sort-function.
16255
16256 2012-03-12 Leo Liu <sdl.web@gmail.com>
16257
16258 * simple.el (kill-new): Use equal-including-properties for comparison.
16259 (kill-do-not-save-duplicates): Doc fix.
16260
16261 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16262
16263 * dabbrev.el: Fix cycle completion (bug#10963).
16264 Use lexical binding and wrap to 80 columns.
16265 (dabbrev-completion): Delay computing the list of completions.
16266
16267 2012-03-12 Kenichi Handa <handa@m17n.org>
16268
16269 * international/quail.el (quail-insert-kbd-layout): Surround each
16270 row by LRO and PDF instead of inserting many LRMs. Pad the left
16271 and right of each non-spacing marks. Insert invisible space
16272 between lower and upper characters to prevent composition.
16273
16274 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16275
16276 * minibuffer.el (minibuffer-complete): Don't get confused when the
16277 function is run twice via different commands (bug#10958).
16278 (complete-with-action): Fix docstring.
16279
16280 2012-03-12 Chong Yidong <cyd@gnu.org>
16281
16282 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
16283 (nxml-completion-at-point-function): New function.
16284 (nxml-mode): Use it.
16285 (nxml-bind-meta-tab-to-complete-flag): Default to t.
16286
16287 * emacs-lisp/package.el (package-unpack, package-unpack-single):
16288 Load generated autoloads file before byte compiling (Bug#10970).
16289 (package--make-autoloads-and-compile): New helper fun.
16290
16291 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
16292
16293 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
16294
16295 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
16296
16297 * autorevert.el (auto-revert-handler): Ensure, that
16298 file-readable-p is applied only for local files or in
16299 auto-revert-tail-mode.
16300
16301 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
16302
16303 * server.el (server-eval-at): Handle non-tcp connections.
16304 Decode result string.
16305
16306 * server.el (server-msg-size): New constant.
16307 (server-reply-print): New function.
16308 (server-eval-and-print): Use it.
16309 (server-eval-at): Use server-quote-arg and server-unquote-arg.
16310 Handle -print-nonl.
16311
16312 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
16313
16314 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
16315 (Bug#10987).
16316
16317 2012-03-11 Chong Yidong <cyd@gnu.org>
16318
16319 * simple.el (goto-line): Doc fix (Bug#9938).
16320
16321 * subr.el (save-window-excursion): Doc fix (Bug#9979).
16322
16323 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
16324 when finished (Bug#10963).
16325
16326 2012-03-11 Martin Rudalics <rudalics@gmx.at>
16327
16328 * window.el (split-window-below): Fix bug in case where
16329 split-window-keep-point is nil (Bug#10971).
16330
16331 2012-03-11 Juri Linkov <juri@jurta.org>
16332
16333 * replace.el (replace-highlight): Set isearch-word to nil
16334 unconditionally. (Bug#10887)
16335
16336 2012-03-10 Eli Zaretskii <eliz@gnu.org>
16337
16338 * net/mairix.el (mairix-replace-invalid-chars): Rename from
16339 mairix-replace-illegal-chars; all callers changed. Don't remove
16340 ^, ~, and = characters: they are meaningful in mairix search specs.
16341 (mairix-widget-create-query): Add usage information about mairix
16342 search forms: negating words, searching for substrings, etc.
16343
16344 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
16345
16346 * international/fontset.el (font-encoding-alist): Add an entry for
16347 ksx1001 (Bug#5667).
16348
16349 2012-03-10 Richard Stallman <rms@gnu.org>
16350
16351 * mail/sendmail.el (mail-encode-header):
16352 Set rfc2047-encode-encoded-words.
16353
16354 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
16355
16356 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
16357 view buffer means not swapped.
16358 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
16359 (rmail-write-region-annotate): Error if real text has disappeared.
16360
16361 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
16362
16363 2012-03-10 Chong Yidong <cyd@gnu.org>
16364
16365 * emulation/cua-rect.el (cua--init-rectangles):
16366 * emulation/cua-base.el (cua--init-keymaps):
16367 Add delete-forward-char to remappings (Bug#9666).
16368
16369 2012-03-10 Martin Rudalics <rudalics@gmx.at>
16370
16371 * speedbar.el (speedbar-unhighlight-one-tag-line):
16372 Avoid unhighlighting due to frame switching (Bug#10275).
16373
16374 2012-03-10 Chong Yidong <cyd@gnu.org>
16375
16376 * minibuffer.el (completion-in-region, completion-help-at-point):
16377 Give the completion field overlay a high priority (Bug#6830).
16378
16379 * dired.el (dired-goto-file): Recognize absolute file name
16380 listings (Bug#7126).
16381 (dired-goto-file-1): New helper function.
16382 (dired-toggle-read-only): Inhibit warnings.
16383
16384 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
16385
16386 * net/dbus.el (dbus-property-handler): Return empty array if
16387 there are no properties.
16388
16389 2012-03-09 Leo Liu <sdl.web@gmail.com>
16390
16391 * savehist.el (savehist-printable): Stricter check for string
16392 value (Bug#10937).
16393
16394 2012-03-09 Eli Zaretskii <eliz@gnu.org>
16395
16396 * mail/smtpmail.el (smtpmail-send-it):
16397 Bind coding-system-for-write to *-unix, so that FCC files are kept in
16398 valid mbox format.
16399
16400 2012-03-09 Glenn Morris <rgm@gnu.org>
16401
16402 * files.el (dir-locals-find-file):
16403 Don't check result is regular, readable.
16404 (dir-locals-read-from-file): Demote errors.
16405
16406 2012-03-08 Eli Zaretskii <eliz@gnu.org>
16407
16408 * international/quail.el (quail-insert-kbd-layout):
16409 Insert invisible LRM characters before each character in a keyboard
16410 layout cell, to prevent their reordering by bidi display engine.
16411 For details, see the discussion in
16412 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
16413
16414 2012-03-08 Alan Mackenzie <acm@muc.de>
16415
16416 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
16417 the starting position; make it extend the marked region when
16418 invoked repeatedly - all under appropriate circumstances.
16419 Fixes bugs #5525, #10906.
16420
16421 2012-03-08 Glenn Morris <rgm@gnu.org>
16422
16423 * files.el (locate-dominating-file, dir-locals-find-file):
16424 Undo 2012-03-06 change.
16425
16426 2012-03-07 Eli Zaretskii <eliz@gnu.org>
16427
16428 * international/quail.el (quail-help):
16429 Force bidi-paragraph-direction be left-to-right. See discussion in
16430 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
16431 for the reason.
16432
16433 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
16434
16435 Avoid superfluous registering of signals. (Bug#10807)
16436
16437 * notifications.el (notifications-on-action-object)
16438 (notifications-on-close-object): New defvars.
16439 (notifications-on-action-signal, notifications-on-closed-signal):
16440 Unregister the signal if not needed any longer.
16441 (notifications-notify): Register `notifications-action-signal' or
16442 `notifications-closed-signal', if :on-action or :on-close has been
16443 passed as argument.
16444
16445 2012-03-07 Chong Yidong <cyd@gnu.org>
16446
16447 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
16448 non-X platforms.
16449
16450 2012-03-06 Glenn Morris <rgm@gnu.org>
16451
16452 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16453 (x-disown-selection-internal, x-get-selection-internal):
16454 Doc fix (add arglist signatures). (Bug#10783)
16455
16456 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16457
16458 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16459 Handle breakpoints with no "type".
16460
16461 2012-03-06 Glenn Morris <rgm@gnu.org>
16462
16463 * files.el (locate-dominating-file): Add optional predicate argument.
16464 (dir-locals-find-file): Make use of above change.
16465
16466 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
16467
16468 * info.el (Info-insert-dir): Also try "dir.gz".
16469
16470 2012-03-06 Glenn Morris <rgm@gnu.org>
16471
16472 * files.el (dir-locals-find-file):
16473 Ignore non-readable or non-regular files. (Bug#10928)
16474
16475 * files.el (locate-dominating-file): Doc fix.
16476
16477 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
16478
16479 * calendar/calendar.el (calendar-set-mode-line):
16480 `getenv' returns a string. (Bug#10951)
16481
16482 2012-03-05 Leo Liu <sdl.web@gmail.com>
16483
16484 * simple.el (backward-delete-char-untabify): Constrain point to
16485 field (Bug#10939).
16486
16487 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
16488
16489 2012-03-05 Chong Yidong <cyd@gnu.org>
16490
16491 * simple.el (count-words): If called from Lisp, return the word
16492 count, for symmetry with `count-lines'. Arglist changed.
16493 (count-words--message): Args changed. Consolidate counting code
16494 from count-words and count-words-region.
16495 (count-words-region): Caller changed.
16496 (count-lines-region): Make it an obsolete alias.
16497
16498 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
16499
16500 * saveplace.el (save-place-to-alist)
16501 (save-place-ignore-files-regexp): Allow value nil to disable this
16502 feature.
16503
16504 2012-03-04 Chong Yidong <cyd@gnu.org>
16505
16506 * faces.el (face-spec-reset-face): For the default face, reset the
16507 attributes to default values (Bug#10748).
16508
16509 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16510
16511 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
16512 previous patch: Check `message-send-mail-function', and not the
16513 default function (bug#10897).
16514
16515 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
16516
16517 * notifications.el (notifications-on-action-signal)
16518 (notifications-on-closed-signal): Check for unique service name of
16519 incoming event. Fix error in removing entry.
16520 (top): Register for signals with wildcard service name.
16521 (notifications-notify): Use daemon unique service name for map entries.
16522
16523 2012-03-04 Chong Yidong <cyd@gnu.org>
16524
16525 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
16526
16527 2012-03-04 Glenn Morris <rgm@gnu.org>
16528
16529 * abbrev.el (copy-abbrev-table, abbrev-table-p)
16530 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
16531 (expand-abbrev, define-abbrev-table): Doc fixes.
16532
16533 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16534
16535 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
16536 `message-default-send-mail-function' and not `send-mail-function'
16537 when doing the prompting for `sendmail-query-once' before sending
16538 in Message buffers (bug#10897).
16539
16540 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
16541 This is inconsistent with all the other stream functions, which leave
16542 the setting up to the higher levels (if so wanted) (bug#10931).
16543
16544 2012-03-02 Alan Mackenzie <acm@muc.de>
16545
16546 Depessimize the handling of very large macros.
16547
16548 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
16549 (c-macro-cache-syntactic): New variables to implement a one
16550 element macro cache.
16551 (c-invalidate-macro-cache): New function.
16552 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
16553 Adapt to use the new cache.
16554 (c-state-safe-place): Use better the cache of safe positions.
16555 (c-state-semi-nonlit-pos-cache)
16556 (c-state-semi-nonlit-pos-cache-limit):
16557 New variables for...
16558 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
16559 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
16560 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
16561 Use c-state-semi-safe-place.
16562
16563 * progmodes/cc-langs.el (c-get-state-before-change-functions):
16564 Add c-invalidate-macro-cache to the C, C++, Obj entries.
16565
16566 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
16567
16568 * jka-compr.el (jka-compr-call-process):
16569 Apply `file-accessible-directory-p' only when the default directory is
16570 not remote.
16571
16572 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
16573
16574 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
16575 access of FILE2, if FILE1 does not exist.
16576
16577 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
16578 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
16579
16580 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
16581 Add "PAGER=" to `process-environment'.
16582
16583 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
16584
16585 * progmodes/sql.el: Bug fix
16586 (sql-get-login-ext): Save login values in globals.
16587 (sql-get-login): Use new version of `sql-get-login-ext'.
16588 (sql-interactive-mode): Set global `sql-connection' to nil.
16589 (sql-connect): Set global values for connection.
16590 (sql-product-interactive): Save global values as buffer local.
16591
16592 2012-02-29 Leo Liu <sdl.web@gmail.com>
16593
16594 * abbrev.el (define-abbrevs): Reset sys to nil.
16595
16596 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16597
16598 * files.el (file-equal-p): Rename from `files-equal-p'.
16599 Return nil when one or both files don't exist.
16600 (file-subdir-of-p): Now only top directory must exists,
16601 return nil if it doesn't.
16602 (copy-directory): No need to test with `file-subdir-of-p' after
16603 creating dir.
16604 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
16605 to `file-equal-p'.
16606
16607 2012-02-28 Glenn Morris <rgm@gnu.org>
16608
16609 * shell.el (shell-mode):
16610 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
16611 * play/landmark.el (landmark-font-lock-face-O):
16612 * play/handwrite.el (handwrite):
16613 * play/gomoku.el (gomoku-O):
16614 * net/browse-url.el (browse-url-browser-display):
16615 * international/mule.el (define-charset):
16616 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
16617 * filesets.el (filesets-find-file-delay):
16618 * eshell/em-xtra.el (eshell-xtra):
16619 * eshell/em-unix.el (eshell-grep):
16620 * emulation/viper.el (viper-mode):
16621 * emacs-lisp/regexp-opt.el (regexp-opt-group):
16622 * emacs-lisp/easymenu.el (easy-menu-define):
16623 * calendar/timeclock.el (timeclock-use-display-time):
16624 * bs.el (bs-mode):
16625 * bookmark.el (bookmark-save-flag):
16626 Doc fix (standardize possessive apostrophe usage).
16627
16628 2012-02-27 Chong Yidong <cyd@gnu.org>
16629
16630 * emulation/viper-cmd.el (viper-intercept-ESC-key):
16631 Fix key-binding lookup for ESC key (Bug#9146).
16632
16633 * font-lock.el (font-lock-specified-p): Rename from
16634 font-lock-spec-present. Callers changed.
16635
16636 2012-02-27 Daniel Hackney <dan@haxney.org>
16637
16638 * emacs-lisp/package.el (package-compute-transaction):
16639 Handle holding a package version to t in package-load-list.
16640
16641 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
16642
16643 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
16644 (tramp-get-inode, tramp-get-device): Use cached values.
16645
16646 2012-02-26 Alan Mackenzie <acm@muc.de>
16647
16648 Check there is a font-lock specification before doing initial
16649 fontification.
16650
16651 * font-core.el (font-lock-mode): Move the conditional from
16652 :after-hook to font-lock-initial-fontify.
16653 (font-lock-default-function): Move the check for a specification
16654 to font-lock-spec-present.
16655
16656 * font-lock.el (font-lock-initial-fontify): Call ...
16657 (font-lock-spec-present): New function.
16658
16659 2012-02-26 Jim Blandy <jimb@red-bean.com>
16660
16661 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
16662 (gdb-send): Apply it to the operand of the '-interpreter-exec
16663 console' command, so that we can pass arguments with (say) quotes
16664 in them. Store exact string sent in gdb-debug-log (Bug#10765).
16665
16666 2012-02-26 Chong Yidong <cyd@gnu.org>
16667
16668 * help-fns.el (describe-function-1): Clarify description of
16669 remapping (Bug#10844).
16670
16671 * files.el (files-equal-p): Doc fix.
16672 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
16673 and quit the loop once a mismatch is found.
16674
16675 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
16676
16677 * bs.el (bs--show-with-configuration): Don't throw an error
16678 if the window cannot be split; otherwise, subsequent calls to
16679 bs-show fail, restoring a stale window config. (Bug#10882)
16680
16681 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
16682
16683 * term/ns-win.el (global-map): Bind ns-drag-file to
16684 ns-find-file (Bug#5855, Bug#10050).
16685
16686 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
16687
16688 * calendar/parse-time.el (parse-time-string): Allow extractor to
16689 return nil.
16690
16691 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
16692
16693 * net/tramp.el (tramp-file-name-for-operation):
16694 Add `files-equal-p' and `file-subdir-of-p'.
16695
16696 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16697 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16698 Add COPY-CONTENTS argument.
16699
16700 2012-02-25 Chong Yidong <cyd@gnu.org>
16701
16702 Add custom groups for VC backends, for consistency with vc-bzr.
16703
16704 * vc/vc-arch.el (vc-arch):
16705 * vc/vc-cvs.el (vc-cvs):
16706 * vc/vc-git.el (vc-git):
16707 * vc/vc-hg.el (vc-hg):
16708 * vc/vc-mtn.el (vc-mtn):
16709 * vc/vc-rcs.el (vc-rcs):
16710 * vc/vc-sccs.el (vc-sccs):
16711 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
16712 All relevant defcustoms reassigned.
16713
16714 2012-02-25 Chong Yidong <cyd@gnu.org>
16715
16716 * newcomment.el (comment-styles): Add autoload (Bug#10868).
16717
16718 * term/x-win.el (x-initialize-window-system): Reduce default for
16719 x-selection-timeout to 5 seconds (Bug#8869).
16720
16721 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16722
16723 * files.el (files-equal-p, file-subdir-of-p): New functions.
16724 (copy-directory): Error when trying to copy a directory on itself.
16725 Add missing copy-contents arg to tramp handler.
16726 * dired-aux.el (dired-copy-file-recursive): Same.
16727 (dired-create-files): Modify destination when source is equal to
16728 dest when copying files.
16729 Return also when dest is a subdir of source. (Bug#10489)
16730
16731 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
16732
16733 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
16734 (Bug#10874)
16735
16736 2012-02-23 Alan Mackenzie <acm@muc.de>
16737
16738 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
16739 parameter "after-hook:" to allow the expansion to run code after
16740 the execution of the mode hooks.
16741
16742 * font-lock.el (font-lock-initial-fontify): New function extracted
16743 from font-lock-mode-internal.
16744
16745 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
16746 :after-hook.
16747
16748 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16749
16750 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
16751 (completion--cache-all-sorted-completions): New function.
16752 (completion-all-sorted-completions): Use it.
16753 (completion--do-completion, minibuffer-force-complete):
16754 Use it to re-instate the flush hook.
16755
16756 * icomplete.el (icomplete-completions): Replace last fix with a better
16757 one (bug#10850).
16758
16759 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
16760
16761 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
16762 when it might call us back infinitely (bug#10797).
16763
16764 2012-02-23 Glenn Morris <rgm@gnu.org>
16765
16766 * minibuffer.el (completion-category-overrides): Doc fix.
16767
16768 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16769
16770 * minibuffer.el (completion-table-with-context): Fix inf-loop.
16771 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
16772
16773 2012-02-23 Glenn Morris <rgm@gnu.org>
16774
16775 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
16776 (authors-obsolete-files-regexps, authors-ignored-files)
16777 (authors-ambiguous-files, authors-renamed-files-alist):
16778 Add more entries.
16779
16780 2012-02-23 Juri Linkov <juri@jurta.org>
16781
16782 * isearch.el (isearch-occur): Sync interactive spec with occur's
16783 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
16784
16785 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
16786
16787 2012-02-22 Juri Linkov <juri@jurta.org>
16788
16789 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
16790 (ucs-insert): Doc fix. Check for hex digits in the string.
16791 Don't display `nil' in the error message. (Bug#10857)
16792
16793 2012-02-22 Alan Mackenzie <acm@muc.de>
16794
16795 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
16796
16797 2012-02-22 Glenn Morris <rgm@gnu.org>
16798
16799 * ffap.el (ffap-c-path):
16800 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
16801
16802 2012-02-22 Chong Yidong <cyd@gnu.org>
16803
16804 * custom.el (load-theme): Doc fix.
16805
16806 2012-02-22 Glenn Morris <rgm@gnu.org>
16807
16808 * dired-x.el (dired-guess-shell-alist-default):
16809 Remove escape sequences from nroff output. (Bug#172)
16810
16811 2012-02-21 Glenn Morris <rgm@gnu.org>
16812
16813 * vc/emerge.el (emerge-defvar-local):
16814 Set `permanent-local' property rather than unused `preserved'.
16815
16816 * textmodes/picture.el (picture-delete-char): New alias.
16817 (picture-mode-map): Use it. (Bug#10860)
16818 (picture-mode): Doc fix.
16819
16820 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
16821
16822 * newcomment.el (uncomment-region-default): Remove unused binding.
16823
16824 2012-02-21 Glenn Morris <rgm@gnu.org>
16825
16826 * textmodes/picture.el (picture-motion, picture-motion-reverse)
16827 (picture-self-insert, picture-tab-chars): Doc fix.
16828 (picture-mode-map): Fix C-a, C-e.
16829
16830 2012-02-20 Glenn Morris <rgm@gnu.org>
16831
16832 * emacs-lisp/authors.el (authors-aliases): Add another entry.
16833
16834 2012-02-20 Leo Liu <sdl.web@gmail.com>
16835
16836 * icomplete.el (icomplete-completions): Check FROM arg before
16837 passing to substring (Bug#10850).
16838
16839 2012-02-19 Chong Yidong <cyd@gnu.org>
16840
16841 * comint.el: Require ansi-color.
16842 (comint-output-filter-functions): Add ansi-color-process-output.
16843
16844 * ansi-color.el: Don't set comint-output-filter-functions; it is
16845 now in the initial value defined in comint.el.
16846 (ansi-color-apply-face-function): New variable.
16847 (ansi-color-apply-on-region): Use it.
16848 (ansi-color-apply-overlay-face): New function.
16849
16850 * shell.el (shell): No need to require ansi-color.
16851 (shell-mode): Use ansi-color-apply-face-function to highlight
16852 color escapes using font-lock-face property (Bug#10835).
16853
16854 2012-02-19 Chong Yidong <cyd@gnu.org>
16855
16856 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
16857 mode-line formats (Bug#10839).
16858
16859 2012-02-18 Glenn Morris <rgm@gnu.org>
16860
16861 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
16862
16863 * mail/undigest.el (unforward-rmail-message): Doc fix.
16864
16865 * saveplace.el (save-place-ignore-files-regexp): Add :version.
16866
16867 2012-02-18 Eli Zaretskii <eliz@gnu.org>
16868
16869 * international/characters.el (script-list): Sync with the latest
16870 Unicode Character Database.
16871
16872 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
16873
16874 * international/titdic-cnv.el: Remove duplicate coding tag.
16875 * language/cham.el: Likewise.
16876 * language/tai-viet.el: Likewise.
16877
16878 2012-02-18 Glenn Morris <rgm@gnu.org>
16879
16880 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
16881 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
16882 (calendar-bahai-all-holidays-flag, calendar-other-dates):
16883 * calendar/diary-lib.el (diary-abbreviated-year-flag):
16884 * calendar/holidays.el (holiday-bahai-holidays)
16885 (calendar-holidays, list-holidays):
16886 Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
16887
16888 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
16889
16890 * saveplace.el (save-place-ignore-files-regexp): New variable
16891 allowing for excluding files from saving their location of point.
16892 The default value matches the temporary commit message editing
16893 files from Git, SVN, Bazaar, and Mercurial.
16894 (save-place-to-alist): Use it.
16895
16896 2012-02-17 Lawrence Mitchell <wence@gmx.li>
16897 Stefan Monnier <monnier@iro.umontreal.ca>
16898
16899 * newcomment.el (uncomment-region-default): Don't leave extra space
16900 when an arg is provided (bug#8150).
16901
16902 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
16903
16904 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
16905
16906 2012-02-17 Glenn Morris <rgm@gnu.org>
16907
16908 * net/socks.el: Require network-stream. (Bug#10599)
16909
16910 2012-02-17 Kenichi Handa <handa@m17n.org>
16911
16912 * international/charprop.el:
16913 * international/uni-name.el:
16914 * international/uni-old-name.el:
16915 * international/uni-comment.el: Regenerate.
16916
16917 2012-02-16 Glenn Morris <rgm@gnu.org>
16918
16919 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
16920 Interactively in calendar buffer, give an error if not on a date.
16921
16922 2012-02-15 Glenn Morris <rgm@gnu.org>
16923
16924 * shell.el (shell-delimiter-argument-list):
16925 Revert 2011-02-17 change. (Bug#8027)
16926
16927 2012-02-15 Chong Yidong <cyd@gnu.org>
16928
16929 * minibuffer.el (completion-at-point-functions): Doc fix.
16930
16931 * custom.el (defcustom): Doc fix; note use of defvar.
16932
16933 2012-02-15 Glenn Morris <rgm@gnu.org>
16934
16935 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
16936 Doc fixes.
16937
16938 2012-02-14 Glenn Morris <rgm@gnu.org>
16939
16940 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
16941
16942 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
16943
16944 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
16945 way the ports list is computed.
16946 (smtpmail-query-smtp-server): Prompt the user for a port number if
16947 we can't connect to any of the standard ports (bug#10810).
16948
16949 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
16950
16951 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
16952
16953 2012-02-13 Glenn Morris <rgm@gnu.org>
16954
16955 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
16956
16957 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
16958
16959 * net/gnutls.el (gnutls-trustfiles): New variable.
16960 (gnutls-negotiate): Use it.
16961
16962 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
16963
16964 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
16965 does its stuff if Gnus is running.
16966
16967 2012-02-13 Alan Mackenzie <acm@muc.de>
16968
16969 Fix a loop in c-set-fl-decl-start.
16970
16971 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
16972 c-backward-syntactic-ws actually moves backwards.
16973
16974 2012-02-13 Leo Liu <sdl.web@gmail.com>
16975
16976 * net/rcirc.el (rcirc-markup-attributes): Move point to the
16977 beginning so that all \C-o chars are removed.
16978
16979 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
16980
16981 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
16982
16983 2012-02-12 Alan Mackenzie <acm@muc.de>
16984
16985 Fix infinite loop with long macros.
16986 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
16987
16988 2012-02-12 Chong Yidong <cyd@gnu.org>
16989
16990 * window.el (display-buffer): Doc fix (Bug#10785).
16991
16992 2012-02-12 Glenn Morris <rgm@gnu.org>
16993
16994 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16995 (x-disown-selection-internal, x-get-selection-internal):
16996 Sync docs with the xselect.c versions.
16997
16998 * allout-widgets.el: Add missing license notice.
16999
17000 2012-02-11 Glenn Morris <rgm@gnu.org>
17001
17002 * select.el (x-get-selection-internal, x-own-selection-internal)
17003 (x-disown-selection-internal):
17004 * x-dnd.el (x-get-selection-internal): Update declarations.
17005
17006 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
17007
17008 * window.el (window-sides-slots):
17009 * tool-bar.el (tool-bar-position):
17010 * term/xterm.el (xterm-extra-capabilities):
17011 * ses.el (ses-self-reference-early-detection):
17012 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
17013 (verilog-auto-wire-type)
17014 (verilog-auto-delete-trailing-whitespace)
17015 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
17016 (verilog-auto-tieoff-declaration):
17017 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
17018 (sql-oracle-statement-starters, sql-oracle-scan-on):
17019 * progmodes/prolog.el (prolog-align-comments-flag)
17020 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
17021 (prolog-left-indent-regexp, prolog-paren-indent-p)
17022 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
17023 (prolog-types, prolog-mode-specificators)
17024 (prolog-determinism-specificators, prolog-directives)
17025 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
17026 (prolog-electric-dot-flag)
17027 (prolog-electric-dot-full-predicate-template)
17028 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
17029 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
17030 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
17031 (prolog-program-switches, prolog-prompt-regexp)
17032 (prolog-debug-on-string, prolog-debug-off-string)
17033 (prolog-trace-on-string, prolog-trace-off-string)
17034 (prolog-zip-on-string, prolog-zip-off-string)
17035 (prolog-use-standard-consult-compile-method-flag)
17036 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
17037 (prolog-imenu-max-lines, prolog-info-predicate-index)
17038 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
17039 (prolog-char-quote-workaround):
17040 * progmodes/cc-vars.el (c-defun-tactic):
17041 * net/tramp.el (tramp-encoding-command-interactive)
17042 (tramp-local-end-of-line):
17043 * net/soap-client.el (soap-client):
17044 * net/netrc.el (netrc-file):
17045 * net/gnutls.el (gnutls):
17046 * minibuffer.el (completion-category-overrides)
17047 (completion-cycle-threshold)
17048 (completion-pcm-complete-word-inserts-delimiters):
17049 * man.el (Man-name-local-regexp):
17050 * mail/feedmail.el (feedmail-display-full-frame):
17051 * international/characters.el (glyphless-char-display-control):
17052 * eshell/em-ls.el (eshell-ls-date-format):
17053 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
17054 (lisp-lambda-list-keyword-parameter-indentation)
17055 (lisp-lambda-list-keyword-parameter-alignment):
17056 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
17057 * dired-x.el (dired-omit-verbose):
17058 * cus-theme.el (custom-theme-allow-multiple-selections):
17059 * calc/calc.el (calc-highlight-selections-with-faces)
17060 (calc-lu-field-reference, calc-lu-power-reference)
17061 (calc-note-threshold):
17062 * battery.el (battery-mode-line-limit):
17063 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
17064 (archive-7z-update):
17065 * allout.el (allout-prefixed-keybindings)
17066 (allout-unprefixed-keybindings)
17067 (allout-inhibit-auto-fill-on-headline)
17068 (allout-flattened-numbering-abbreviation):
17069 * allout-widgets.el (allout-widgets-auto-activation)
17070 (allout-widgets-icons-dark-subdir)
17071 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
17072 (allout-widgets-theme-dark-background)
17073 (allout-widgets-theme-light-background)
17074 (allout-widgets-item-image-properties-emacs)
17075 (allout-widgets-item-image-properties-xemacs)
17076 (allout-widgets-run-unit-tests-on-load)
17077 (allout-widgets-time-decoration-activity)
17078 (allout-widgets-hook-error-post-time)
17079 (allout-widgets-track-decoration):
17080 Add missing :version tags to new defcustoms and defgroups.
17081
17082 * progmodes/sql.el (sql-ansi-statement-starters)
17083 (sql-oracle-statement-starters): Add custom type.
17084
17085 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
17086 (prolog-system-version): Give it a type.
17087
17088 2012-02-11 Eli Zaretskii <eliz@gnu.org>
17089
17090 * term/pc-win.el (x-select-text, x-selection-owner-p)
17091 (x-own-selection-internal, x-disown-selection-internal)
17092 (x-get-selection-internal): Sync doc strings and argument lists
17093 with xselect.c, common-win.el and x-win.el. (Bug#10783)
17094
17095 2012-02-11 Leo Liu <sdl.web@gmail.com>
17096
17097 * progmodes/python.el (python-end-of-statement): Fix infinite
17098 loop. (Bug#10788)
17099
17100 2012-02-10 Glenn Morris <rgm@gnu.org>
17101
17102 * international/mule-cmds.el (unify-8859-on-encoding-mode)
17103 (unify-8859-on-decoding-mode): Properly mark as obsolete.
17104
17105 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
17106
17107 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
17108 about SMTP before checking the From header.
17109
17110 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
17111 into own function for reuse by emacsbug.el.
17112
17113 2012-02-10 Leo Liu <sdl.web@gmail.com>
17114
17115 * subr.el (condition-case-unless-debug): Rename from
17116 condition-case-no-debug. All callers changed.
17117 (with-demoted-errors): Fix caller.
17118
17119 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
17120 * nxml/rng-valid.el (rng-do-some-validation):
17121 * emacs-lisp/package.el (package-refresh-contents)
17122 (package-menu-execute):
17123 * desktop.el (desktop-create-buffer):
17124 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
17125
17126 2012-02-10 Glenn Morris <rgm@gnu.org>
17127
17128 * textmodes/bibtex.el:
17129 Add missing :version tags for new/changed defcustoms.
17130
17131 * files.el (remote-file-name-inhibit-cache): Doc fixes.
17132
17133 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
17134
17135 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
17136 (smtpmail-via-smtp): Use it, or fall back on the From address.
17137 (smtpmail-send-it): Ditto.
17138
17139 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
17140
17141 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
17142 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
17143 (byte-compile-tmp-var): New const.
17144 (byte-compile-defvar): Use it to minimize .elc size.
17145 Just use `defvar' rather than simulate it (bug#10761).
17146
17147 2012-02-09 Glenn Morris <rgm@gnu.org>
17148
17149 * files.el (rename-uniquely): Doc fix. (Bug#3806)
17150
17151 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
17152 Add :version tags.
17153
17154 * progmodes/compile.el (compilation-error-screen-columns)
17155 (compilation-first-column, compilation-filter-start): Doc fixes.
17156
17157 * vc/log-view.el (log-view-toggle-entry-display):
17158 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
17159
17160 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
17161 (report-emacs-bug-can-use-xdg-email):
17162 (report-emacs-bug-insert-to-mailer): Doc fixes.
17163 (report-emacs-bug): Message fix.
17164
17165 * net/browse-url.el (browse-url-can-use-xdg-open)
17166 (browse-url-xdg-open): Doc fixes.
17167
17168 * electric.el (electric-indent-mode, electric-pair-mode)
17169 (electric-layout-rules, electric-layout-mode): Doc fixes.
17170 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
17171
17172 2012-02-08 Martin Rudalics <rudalics@gmx.at>
17173
17174 * server.el (server-unselect-display): Don't inadvertently kill
17175 the current buffer. (Bug#10729)
17176
17177 2012-02-08 Glenn Morris <rgm@gnu.org>
17178
17179 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
17180 (sql-list-table): Doc fixes.
17181
17182 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
17183 Comment out (does nothing).
17184
17185 * completion.el (dynamic-completion-mode):
17186 * dirtrack.el (dirtrack-debug-mode):
17187 * electric.el (electric-layout-mode):
17188 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
17189 * face-remap.el (text-scale-mode, buffer-face-mode):
17190 * iimage.el (iimage-mode):
17191 * image-mode.el (image-transform-mode):
17192 * minibuffer.el (completion-in-region-mode):
17193 * scroll-lock.el (scroll-lock-mode):
17194 * simple.el (next-error-follow-minor-mode):
17195 * tar-mode.el (tar-subfile-mode):
17196 * tooltip.el (tooltip-mode):
17197 * vcursor.el (vcursor-use-vcursor-map):
17198 * wid-browse.el (widget-minor-mode):
17199 * emulation/tpu-edt.el (tpu-edt-mode):
17200 * emulation/tpu-extras.el (tpu-cursor-free-mode):
17201 * international/iso-ascii.el (iso-ascii-mode):
17202 * language/thai-util.el (thai-word-mode):
17203 * mail/supercite.el (sc-minor-mode):
17204 * net/goto-addr.el (goto-address-mode):
17205 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
17206 * progmodes/cwarn.el (cwarn-mode):
17207 * progmodes/flymake.el (flymake-mode):
17208 * progmodes/glasses.el (glasses-mode):
17209 * progmodes/hideshow.el (hs-minor-mode):
17210 * progmodes/pascal.el (pascal-outline-mode):
17211 * textmodes/enriched.el (enriched-mode):
17212 * vc/smerge-mode.el (smerge-mode):
17213 Doc fixes (minor mode argument).
17214
17215 2012-02-07 Eli Zaretskii <eliz@gnu.org>
17216
17217 * ls-lisp.el (ls-lisp-sanitize): New function.
17218 (ls-lisp-insert-directory): Use it to fix or remove any elements
17219 in file-alist with missing attributes. (Bug#4673)
17220
17221 2012-02-07 Alan Mackenzie <acm@muc.de>
17222
17223 Fix spurious recognition of c-in-knr-argdecl.
17224
17225 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
17226 putative K&R region.
17227
17228 2012-02-07 Alan Mackenzie <acm@muc.de>
17229
17230 * progmodes/cc-engine.el (c-forward-objc-directive):
17231 Prevent looping in "#pragma mark @implementation".
17232
17233 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
17234
17235 * notifications.el (notifications-on-closed-signal): Make `reason'
17236 optional. (Bug#10744)
17237
17238 2012-02-07 Glenn Morris <rgm@gnu.org>
17239
17240 * emacs-lisp/easy-mmode.el (define-minor-mode):
17241 Doc fixes for the macro and the mode it defines.
17242
17243 * image.el (imagemagick-types-inhibit): Doc fix.
17244
17245 * cus-start.el (imagemagick-render-type): Add it.
17246
17247 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
17248
17249 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
17250 Set the default at load time, too, so that `font-lock-fontify-buffer'
17251 can be called without setting up the entire mode first. This fixes
17252 a bug in `mm-inline-text' with C MIME parts.
17253
17254 2012-02-06 Chong Yidong <cyd@gnu.org>
17255
17256 * simple.el (list-processes--refresh): Delete exited processes
17257 (Bug#8094).
17258
17259 * comint.el (comint-next-prompt): next-single-char-property-change
17260 and prev-single-char-property-change never return nil (Bug#8657).
17261
17262 * custom.el (defcustom): Doc fix (Bug#9711).
17263
17264 2012-02-05 Chong Yidong <cyd@gnu.org>
17265
17266 * cus-edit.el (custom-variable-reset-backup): Quote the value
17267 before storing it in the customized-value property (Bug#6712).
17268 (custom-display): Add a customization type tag.
17269 (custom-buffer-create-internal): Improve tooltip message.
17270
17271 * wid-edit.el (widget-field-value-get): New optional arg to
17272 suppress trailing whitespace truncation.
17273 (character): Use it (Bug#2689).
17274
17275 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
17276
17277 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
17278 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
17279
17280 2012-02-05 Chong Yidong <cyd@gnu.org>
17281
17282 * cus-edit.el (custom-variable-value-create): For mismatched
17283 types, show the current value (Bug#7600).
17284
17285 * custom.el (defcustom): Doc fix.
17286
17287 2012-02-05 Glenn Morris <rgm@gnu.org>
17288
17289 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
17290
17291 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
17292
17293 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
17294 (pp-buffer): Use `ignore-errors', `looking-at-p'.
17295 (pp-last-sexp): Use `looking-at-p'.
17296
17297 2012-02-04 Glenn Morris <rgm@gnu.org>
17298
17299 * files.el (revert-buffer):
17300 Doc fix (mention revert-buffer-in-progress-p).
17301
17302 * emacs-lisp/ert-x.el (ert-simulate-command):
17303 Check deferred-action-list (which is obsolete) is bound.
17304
17305 * subr.el (with-wrapper-hook): Doc fixes.
17306
17307 * simple.el (filter-buffer-substring-functions)
17308 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
17309
17310 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
17311
17312 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
17313 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
17314
17315 2012-02-04 Leo Liu <sdl.web@gmail.com>
17316
17317 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
17318
17319 2012-02-04 Glenn Morris <rgm@gnu.org>
17320
17321 * image.el (image-extension-data): Add obsolete alias.
17322
17323 * isearch.el (isearch-update): Doc fix.
17324
17325 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
17326
17327 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
17328
17329 2012-02-03 Glenn Morris <rgm@gnu.org>
17330
17331 * image.el (image-animated-p): Doc fix. Use image-animated-types.
17332 (image-animate-timeout): Doc fix.
17333
17334 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
17335
17336 2012-02-02 Glenn Morris <rgm@gnu.org>
17337
17338 * server.el (server-auth-dir): Doc fix.
17339 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
17340
17341 * subr.el (run-mode-hooks): Doc fix.
17342
17343 2012-02-02 Juri Linkov <juri@jurta.org>
17344
17345 * image-mode.el (image-toggle-display-image): Remove tautological
17346 `major-mode' from the `derived-mode-p' test.
17347
17348 2012-02-02 Kenichi Handa <handa@m17n.org>
17349
17350 * composite.el (compose-region): Cancel previous change.
17351
17352 2012-02-02 Kenichi Handa <handa@m17n.org>
17353
17354 * composite.el (compose-region, compose-string): Signal error for
17355 a null string component (Bug#6988).
17356
17357 2012-02-01 Chong Yidong <cyd@gnu.org>
17358
17359 * view.el (view-buffer-other-window, view-buffer-other-frame):
17360 Handle special modes like view-buffer (Bug#10650).
17361 (view-buffer): Simplify.
17362
17363 * frame.el (set-frame-font): Tweak meaning of third argument.
17364
17365 * dynamic-setting.el (font-setting-change-default-font):
17366 Use set-frame-font (Bug#9982).
17367
17368 2012-02-01 Glenn Morris <rgm@gnu.org>
17369
17370 * progmodes/compile.el (compilation-internal-error-properties):
17371 Respect compilation-first-column in the "*compilation*" buffer.
17372
17373 * emacs-lisp/easy-mmode.el (define-minor-mode):
17374 Relax :variable's test for a named function.
17375
17376 2012-01-31 Alan Mackenzie <acm@muc.de>
17377
17378 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
17379 off by one error.
17380
17381 2012-01-31 Chong Yidong <cyd@gnu.org>
17382
17383 * frame.el (set-frame-font): New arg ALL-FRAMES.
17384
17385 * menu-bar.el (menu-set-font): Use set-frame-font.
17386
17387 * faces.el (face-spec-reset-face): Don't apply unspecified
17388 attribute values to the default face.
17389
17390 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
17391
17392 * progmodes/cwarn.el (cwarn): Remove dead link.
17393 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
17394 Remove * from defcustom docstrings.
17395 (turn-on-cwarn-mode): Make obsolete.
17396 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
17397 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
17398
17399 2012-01-31 Glenn Morris <rgm@gnu.org>
17400
17401 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
17402 Fix :variable handling of mode a symbol not equal to modefun.
17403 Allow named functions to be used as the cdr of :variable.
17404
17405 2012-01-30 Glenn Morris <rgm@gnu.org>
17406
17407 * emacs-lisp/authors.el (authors-fixed-entries):
17408 Remove reference to deleted file rnewspost.el.
17409
17410 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
17411
17412 * window.el (window-with-parameter): Remove unused variable `windows'.
17413 (window--side-check): Remove unused variable `code'.
17414 (window--resize-siblings): Remove unused variable `first'.
17415 (adjust-window-trailing-edge): Remove unused variable `failed'.
17416 (window-deletable-p, window--delete): Remove unused variable `buffer'.
17417 Use `let', not `let*'.
17418 (balance-windows-2): Remove unused variable `found'.
17419 (window--state-put-2): Remove unused variable `splits'.
17420 (window-state-put): Remove unused variable `selected'.
17421 (same-window-p): Use `string-match-p'.
17422 (display-buffer-assq-regexp): Remove unused variable `value'.
17423 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17424 Mark argument ALIST as ignored.
17425 (pop-to-buffer): Remove unused variable `old-window'.
17426
17427 2012-01-29 Eli Zaretskii <eliz@gnu.org>
17428
17429 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
17430 and .lzma compressed files.
17431
17432 2012-01-29 Chong Yidong <cyd@gnu.org>
17433
17434 * frame.el (window-system-default-frame-alist): Doc fix.
17435
17436 * dynamic-setting.el (font-setting-change-default-font): Don't
17437 change the default face if SET-FONT argument is non-nil (Bug#9982).
17438
17439 2012-01-29 Samuel Bronson <naesten@gmail.com>
17440
17441 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
17442
17443 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
17444
17445 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
17446 breakpoints in files outside current directory (Bug#6098).
17447
17448 2012-01-29 Chong Yidong <cyd@gnu.org>
17449
17450 * progmodes/python.el: Require ansi-color at top-level.
17451
17452 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
17453 Define and use in Emacs Lisp mode (Bug#9360).
17454 (lisp-mode-abbrev-table): Add doc.
17455 (lisp-mode-variables): Don't set local-abbrev-table.
17456 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
17457
17458 2012-01-28 Roland Winkler <winkler@gnu.org>
17459
17460 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
17461
17462 2012-01-28 Roland Winkler <winkler@gnu.org>
17463
17464 * textmodes/bibtex.el (bibtex-entry-alist): New function.
17465 (bibtex-set-dialect): Use it. Either set global values of
17466 dialect-dependent variables or bind these variables buffer-locally
17467 (Bug#10254).
17468 (bibtex-mode): Call bibtex-set-dialect via
17469 hack-local-variables-hook.
17470 (bibtex-dialect): Update docstring.
17471 Add safe-local-variable predicate.
17472 (bibtex-entry-alist, bibtex-field-alist): Initialize via
17473 bibtex-set-dialect.
17474 (bibtex-mode-map): Define menu for each dialect.
17475 (bibtex-entry): Fix docstring.
17476
17477 2012-01-28 Chong Yidong <cyd@gnu.org>
17478
17479 * eshell/esh-arg.el (eshell-quote-argument): New function.
17480
17481 * eshell/esh-ext.el (eshell-invoke-batch-file):
17482 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
17483 first arg to eshell-parse-command (Bug#10523).
17484
17485 2012-01-28 Drew Adams <drew.adams@oracle.com>
17486
17487 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
17488 `default-directory' is non-nil.
17489
17490 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17491
17492 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
17493 line that displays system-configuration-options. (Bug#9924)
17494
17495 2012-01-28 Drew Adams <drew.adams@oracle.com>
17496
17497 * descr-text.el (describe-char): Show information about POS, in
17498 addition to information about the character at POS. Improve and
17499 update the doc string. Change "code point" to "code point in
17500 charset", to avoid confusion with the character's Unicode code
17501 point shown above that. (Bug#10129)
17502
17503 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17504
17505 * descr-text.el (describe-char): Show the raw character, not only
17506 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
17507 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
17508 for the reasons.
17509
17510 2012-01-28 Phil Hagelberg <phil@hagelb.org>
17511
17512 * emacs-lisp/package.el (package-install):
17513 Run package-refresh-contents if there is no archive yet (Bug#9798).
17514
17515 2012-01-28 Chong Yidong <cyd@gnu.org>
17516
17517 * emacs-lisp/package.el (package-maybe-load-descriptor):
17518 New function, split from package-maybe-load-descriptor.
17519 (package-maybe-load-descriptor): Use it.
17520 (package-download-transaction): Fully load required packages
17521 inside the loop, so that `require' calls work (Bug#10593).
17522 (package-install): No need to call package-initialize now.
17523
17524 2012-01-28 Chong Yidong <cyd@gnu.org>
17525
17526 * simple.el (deactivate-mark): Doc fix (Bug#8614).
17527
17528 * tooltip.el (tooltip-mode): Doc fix.
17529 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
17530
17531 * frame.el (set-cursor-color): Doc fix (Bug#352).
17532
17533 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
17534 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
17535
17536 * cus-edit.el (custom-buffer-create-internal): Fix search button
17537 action (Bug#10542).
17538 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
17539
17540 2012-01-27 Eduard Wiebe <usenet@pusto.de>
17541
17542 * dired.el (dired-mark-files-regexp):
17543 Include any subdirectory components. (Bug#10445)
17544
17545 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
17546
17547 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
17548 Handle [host]:port syntax. (Bug#10533)
17549
17550 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
17551
17552 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
17553
17554 2012-01-26 Glenn Morris <rgm@gnu.org>
17555
17556 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
17557 * term.el (term-raw-escape-map): Use Control-X-prefix.
17558 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
17559
17560 2012-01-25 Martin Rudalics <rudalics@gmx.at>
17561
17562 * window.el (window-state-get, window--state-get-1): Don't deal
17563 with fixed-sizeness of windows. Simplify code.
17564
17565 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
17566
17567 * window.el (window--state-get-1, window--state-put-2):
17568 Don't save and restore the mark.
17569
17570 2012-01-25 Chong Yidong <cyd@gnu.org>
17571
17572 * custom.el (custom-variable-p): Doc fix.
17573
17574 2012-01-25 Glenn Morris <rgm@gnu.org>
17575
17576 * dired.el (dired-goto-file): Handle some of the more common
17577 characters that `ls -b' escapes. (Bug#10596)
17578
17579 * progmodes/compile.el (compilation-next-error-function):
17580 Respect compilation-first-column in the "*compilation*" buffer.
17581 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
17582
17583 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
17584
17585 2012-01-24 Glenn Morris <rgm@gnu.org>
17586
17587 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
17588
17589 2012-01-24 Julien Danjou <julien@danjou.info>
17590
17591 * color.el (color-rgb-to-hsl): Fix value computing.
17592 (color-hue-to-rgb): New function.
17593 (color-hsl-to-rgb): New function.
17594 (color-clamp, color-saturate-hsl, color-saturate-name)
17595 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
17596 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
17597
17598 2012-01-24 Glenn Morris <rgm@gnu.org>
17599
17600 * vc/vc-rcs.el (vc-rcs-create-tag):
17601 * vc/vc-sccs.el (vc-sccs-create-tag):
17602 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
17603
17604 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
17605
17606 * eshell/esh-util.el (eshell-read-hosts-file):
17607 Skip comment lines. (Bug#10549)
17608
17609 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
17610
17611 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
17612
17613 * subr.el (display-delayed-warnings): Doc fix.
17614 (collapse-delayed-warnings): New function to collapse identical
17615 adjacent warnings.
17616 (delayed-warnings-hook): Add it.
17617
17618 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
17619
17620 * net/tramp.el (tramp-action-login): Set connection property "login-as".
17621
17622 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
17623 (tramp-default-user-alist): Don't add "pscp".
17624 (tramp-do-copy-or-rename-file-out-of-band): Use connection
17625 property "login-as", if set. (Bug#10530)
17626
17627 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
17628
17629 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
17630 "plink1" and "psftp". (Bug#10530)
17631
17632 2012-01-21 Kenichi Handa <handa@m17n.org>
17633
17634 * international/mule-cmds.el (prefer-coding-system): Show a
17635 warning message if the default value of file-name-coding-system
17636 was not changed.
17637
17638 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17639
17640 * windmove.el (windmove-reference-loc):
17641 Fix windmove-reference-loc miscalculation.
17642
17643 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
17644
17645 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
17646 default unit.
17647
17648 2012-01-21 Glenn Morris <rgm@gnu.org>
17649
17650 * international/mule.el (auto-coding-alist): Add .tbz.
17651
17652 * files.el (local-enable-local-variables): Doc fix.
17653 (inhibit-local-variables-regexps): Rename from
17654 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
17655 Doc fix. Add some extensions from auto-coding-alist.
17656 (inhibit-local-variables-suffixes):
17657 Rename from inhibit-first-line-modes-suffixes. Doc fix.
17658 (inhibit-local-variables-p):
17659 New function, extracted from set-auto-mode-1.
17660 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
17661 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
17662 (hack-local-variables): Doc fix. Make the mode-only case
17663 respect enable-local-variables and friends.
17664 Respect inhibit-local-variables-regexps for file-locals, but
17665 not for directory-locals.
17666 (set-visited-file-name):
17667 Take account of inhibit-local-variables-regexps.
17668 Whether it applies may change as the file name is changed.
17669 * jka-cmpr-hook.el (jka-compr-install):
17670 * jka-compr.el (jka-compr-uninstall):
17671 Update for inhibit-first-line-modes-suffixes name change.
17672
17673 2012-01-20 Martin Rudalics <rudalics@gmx.at>
17674
17675 * help-macro.el (make-help-screen): Temporarily restore original
17676 binding for minor-mode-map-alist (Bug#10454).
17677
17678 2012-01-19 Julien Danjou <julien@danjou.info>
17679
17680 * color.el (color-name-to-rgb): Use the white color to find the max
17681 color component value and return correctly computed values.
17682 (color-name-to-rgb): Add missing float conversion for max value.
17683
17684 2012-01-19 Martin Rudalics <rudalics@gmx.at>
17685
17686 * window.el (window--state-get-1, window-state-get): Do not use
17687 special state value for window-persistent-parameters.
17688 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
17689 (window--state-put-2): Reset all window parameters to nil before
17690 assigning values of persistent parameters.
17691
17692 2012-01-18 Alan Mackenzie <acm@muc.de>
17693
17694 Eliminate sluggishness and hangs in fontification of "semicolon
17695 deserts".
17696
17697 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
17698 Change value 10000 -> 3000.
17699 (c-state-safe-place): Reformulate so it doesn't stack up an
17700 infinite number of wrong entries in c-state-nonlit-pos-cache.
17701 (c-determine-limit-get-base, c-determine-limit): New functions to
17702 determine backward search limits disregarding literals.
17703 (c-find-decl-spots): Amend commenting.
17704 (c-cheap-inside-bracelist-p): New function which detects "={".
17705
17706 * progmodes/cc-fonts.el
17707 (c-make-font-lock-BO-decl-search-function): Give a limit to a
17708 backward search.
17709 (c-font-lock-declarations): Fix an occurrence of point being
17710 undefined. Check additionally for point being in a bracelist or
17711 near a macro invocation without a semicolon so as to avoid a
17712 fruitless time consuming search for a declarator. Give a more
17713 precise search limit for declarators using the new
17714 c-determine-limit.
17715
17716 2012-01-18 Glenn Morris <rgm@gnu.org>
17717
17718 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
17719 (set-auto-mode): Doc fixes.
17720
17721 2012-01-17 Glenn Morris <rgm@gnu.org>
17722
17723 * isearch.el (search-nonincremental-instead): Fix doc typo.
17724
17725 * dired.el (dired-insert-directory): Handle newlines in directory name.
17726 (dired-build-subdir-alist): Unescape newlines in directory name.
17727
17728 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
17729
17730 * net/tramp.el (tramp-local-end-of-line): New defcustom.
17731 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
17732 (tramp-action-terminal): Use it. (Bug#10530)
17733
17734 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
17735
17736 * minibuffer.el (completion--replace): Strip properties (bug#10062).
17737
17738 2012-01-16 Martin Rudalics <rudalics@gmx.at>
17739
17740 * window.el (window-state-ignored-parameters): Remove variable.
17741 (window--state-get-1): Rename argument MARKERS to IGNORE.
17742 Handle persistent window parameters. Make copy of clone-of
17743 parameter only if requested. (Bug#10348)
17744 (window--state-put-2): Install a window parameter only if it has
17745 a non-nil value or an existing parameter shall be overwritten.
17746
17747 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
17748
17749 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
17750
17751 2012-01-14 Eli Zaretskii <eliz@gnu.org>
17752
17753 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
17754 don't pass the (nil) value of `upnode' to string-match.
17755
17756 2012-01-14 Chong Yidong <cyd@gnu.org>
17757
17758 * startup.el (command-line): Fix X resource class for cursorColor.
17759 Fix values recognized by the cursorBlink resource.
17760
17761 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
17762
17763 * epg.el (epg--make-temp-file): Avoid permission race condition
17764 when running on old Emacs versions (bug#10403).
17765
17766 2012-01-14 Glenn Morris <rgm@gnu.org>
17767
17768 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
17769
17770 2012-01-13 Alan Mackenzie <acm@muc.de>
17771
17772 Fix filling for when filladapt mode is enabled.
17773
17774 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
17775 c-mask-paragraph, pass in `fill-paragraph' rather than
17776 `fill-region-as-paragraph'. (This is a reversion of a previous
17777 change.)
17778 * progmodes/cc-mode.el (c-basic-common-init):
17779 Make fill-paragraph-handle-comment buffer local and set it to nil.
17780
17781 2012-01-13 Glenn Morris <rgm@gnu.org>
17782
17783 * dired.el (dired-switches-escape-p): New function.
17784 (dired-insert-directory): Use dired-switches-escape-p.
17785 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
17786
17787 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
17788
17789 2012-01-12 Glenn Morris <rgm@gnu.org>
17790
17791 * mail/sendmail.el (mail-mode): Update paragraph-separate for
17792 changes in adaptive-fill-regexp. (Bug#10276)
17793
17794 2012-01-11 Alan Mackenzie <acm@muc.de>
17795
17796 Fix Emacs bug #10463 - put `widen's around the critical spots.
17797
17798 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
17799 widen around each invocation of c-state-pp-to-literal. Remove an
17800 unused let variable.
17801
17802 2012-01-11 Glenn Morris <rgm@gnu.org>
17803
17804 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
17805 Doc fix.
17806
17807 2012-01-10 Chong Yidong <cyd@gnu.org>
17808
17809 * net/network-stream.el (network-stream-open-starttls):
17810 Avoid emitting a confusing error message when the server gives a bad
17811 response to the capability command.
17812
17813 2012-01-10 Glenn Morris <rgm@gnu.org>
17814
17815 * mail/unrmail.el (unrmail): Tweak previous change.
17816
17817 2012-01-09 Chong Yidong <cyd@gnu.org>
17818
17819 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
17820
17821 2012-01-08 Alan Mackenzie <acm@muc.de>
17822
17823 Optimize font locking in long enum definitions.
17824
17825 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
17826 arm to a cond form to handle enums.
17827 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
17828 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
17829
17830 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
17831
17832 * files.el (move-file-to-trash): Preserve default file modes on error.
17833 (Bug#10401)
17834
17835 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17836
17837 * faces.el (set-face-attribute): Clarify the meaning of the nil
17838 frame (bug#10294).
17839
17840 * subr.el (with-selected-frame): Mention that the selected frame
17841 is restored (bug#9980).
17842
17843 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
17844 (bug#9759).
17845
17846 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
17847 (password-read): Don't autoload unused function.
17848
17849 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
17850
17851 * progmodes/which-func.el (which-func-mode): Turn into a
17852 non-interactive function and mark as obsolete (bug#10428).
17853
17854 2012-01-06 Chong Yidong <cyd@gnu.org>
17855
17856 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
17857 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
17858 functions, along with 1 and -1.
17859
17860 2012-01-06 Eli Zaretskii <eliz@gnu.org>
17861
17862 * time.el (display-time-load-average)
17863 (display-time-default-load-average): Doc fixes. See the thread
17864 starting at
17865 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
17866 for the details.
17867
17868 2012-01-06 Glenn Morris <rgm@gnu.org>
17869
17870 * mail/unrmail.el (unrmail): Give an explicit error if the input file
17871 has no messages. (Bug#10377)
17872
17873 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
17874 than Info-edit. (Bug#10385)
17875
17876 * time.el (display-time-load-average, display-time-next-load-average):
17877 Doc fixes.
17878
17879 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
17880 local setting of buffer-read-only to the input buffer. (Bug#10419)
17881
17882 * calendar/calendar.el (calendar-mode):
17883 Locally set scroll-margin to 0. (Bug#10379)
17884
17885 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
17886
17887 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
17888
17889 2012-01-05 Glenn Morris <rgm@gnu.org>
17890
17891 * eshell/em-unix.el (diff-no-select): Autoload it.
17892 (eshell/diff): Use diff-no-select. (Bug#10420)
17893
17894 2012-01-05 Chong Yidong <cyd@gnu.org>
17895
17896 * shell.el (shell-dynamic-complete-functions): Revert last change.
17897 (shell-command-completion-function): New function.
17898 (shell-completion-vars): Use it to implement
17899 shell-completion-execonly (Bug#10417).
17900
17901 * custom.el (enable-theme): Don't set custom-safe-themes.
17902
17903 * cus-theme.el (custom-theme-merge-theme):
17904 Ignore custom-enabled-themes and custom-safe-themes.
17905
17906 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
17907
17908 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
17909 first prompt in `sql-interacive-mode'.
17910 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
17911 keywords.
17912 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
17913 (sql-product-interactive): Bug fix: Set `sql-buffer' in
17914 context of original buffer. Invoke `sql-login-hook'.
17915
17916 2012-01-04 Eli Zaretskii <eliz@gnu.org>
17917
17918 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
17919 letters in cite-prefix.
17920
17921 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17922
17923 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
17924
17925 2012-01-03 Chong Yidong <cyd@gnu.org>
17926
17927 * shell.el (shell-dynamic-complete-functions):
17928 Put pcomplete-completions-at-point, so as to try
17929 comint-filename-completion first (Bug#10417).
17930
17931 2012-01-02 Richard Stallman <rms@gnu.org>
17932
17933 * battery.el (battery-status-function):
17934 Detect when to use battery-yeeloong-sysfs.
17935 (battery-echo-area-format): Add string for Yeeloong.
17936 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
17937 (battery-yeeloong-sysfs): New function.
17938
17939 2012-01-02 Chong Yidong <cyd@gnu.org>
17940
17941 * dirtrack.el (dirtrack-list): Eliminate unused third element.
17942 (dirtrack): Merge code for handling relative filenames in prompt
17943 from shell-dir-cookie-watcher.
17944 (dirtrack-debug-message): New arg to avoid excess format calls.
17945
17946 * shell.el (shell-dir-cookie-re): Variable deleted.
17947 (shell-dir-cookie-watcher): Function deleted.
17948 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
17949 with dirtrack-mode.
17950
17951 2012-01-01 Eli Zaretskii <eliz@gnu.org>
17952
17953 * term/w32-win.el (dynamic-library-alist) <gnutls>:
17954 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
17955 libgnutls-26.dll.
17956
17957 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
17958
17959 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
17960
17961 2011-12-31 Eli Zaretskii <eliz@gnu.org>
17962
17963 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
17964 headers of non-MIME messages, when rmail-enable-mime is non-nil.
17965
17966 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
17967
17968 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
17969 also for alternative shells.
17970 (tramp-open-connection-setup-interactive-shell): Check, whether
17971 the shell is a busybox.
17972 (tramp-send-command): Don't suppress multiple prompts for
17973 busyboxes, it hurts.
17974
17975 2011-12-28 Chong Yidong <cyd@gnu.org>
17976
17977 * progmodes/gdb-mi.el (gdb-get-source-file-list)
17978 (gdb-get-source-file): Move mode line update to
17979 gdb-get-source-file (Bug#10087).
17980
17981 2011-12-25 Chong Yidong <cyd@gnu.org>
17982
17983 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
17984 gud-gdb-marker-filter without taking it as an argument.
17985 (gud-gdb-run-command-fetch-lines): Caller changed.
17986 (gud-gdb-completion-function): New variable.
17987 (gud-gdb-completion-at-point): Use it.
17988 (gud-gdb-completions-1): Split from gud-gdb-completions.
17989
17990 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
17991 function as separate arguments.
17992 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
17993 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
17994 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
17995 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
17996 (gdb-stopped, def-gdb-auto-update-trigger)
17997 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
17998 (gdb-get-changed-registers, gdb-get-main-selected-frame):
17999 Callers changed.
18000 (gud-gdbmi-completions): New function.
18001 (gdb): Use it for generating the completion table.
18002
18003 2011-12-24 Alan Mackenzie <acm@muc.de>
18004
18005 Introduce a mechanism to widen the region used in context font
18006 locking. Use this to protect declarations from losing their contexts.
18007
18008 * progmodes/cc-langs.el (c-before-font-lock-functions):
18009 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
18010 (c-before-context-fontification-functions): New defvar, a list of
18011 functions to be run just before context (etc.) font locking.
18012
18013 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
18014 New, functionality extracted from
18015 c-neutralize-syntax-in-and-mark-CPP.
18016 (c-in-after-change-fontification): New variable.
18017 (c-after-change): Set c-in-after-change-fontification.
18018 (c-set-fl-decl-start): Rejig its interface, so it can be called
18019 from both after-change and context fontifying.
18020 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
18021 New functions.
18022 (c-standard-font-lock-fontify-region-function): New variable.
18023 (c-font-lock-fontify-region): New function.
18024
18025 2011-12-24 Juri Linkov <juri@jurta.org>
18026
18027 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
18028 (Bug#10348)
18029
18030 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
18031
18032 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
18033 existence of source file. (Bug#10325)
18034
18035 2011-12-23 Alan Mackenzie <acm@muc.de>
18036
18037 Fix unstable fontification inside templates.
18038
18039 * progmodes/cc-langs.el (c-before-font-lock-functions):
18040 Newly created from the singular version. The (c c++ objc) entry now
18041 additionally has c-set-fl-decl-start. The other languages (apart
18042 from AWK) have that as a single entry.
18043
18044 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18045 The functionality for "local" declarations has been extracted to
18046 c-set-fl-decl-start.
18047
18048 * progmodes/cc-mode.el (c-common-init, c-after-change):
18049 Changes due to pluralisation of c-before-font-lock-functions.
18050 (c-set-fl-decl-start): New function, extracted from
18051 c-font-lock-enclosing-decls and enhanced.
18052
18053 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
18054
18055 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
18056
18057 2011-12-22 Juri Linkov <juri@jurta.org>
18058
18059 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
18060
18061 2011-12-22 Chong Yidong <cyd@gnu.org>
18062
18063 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
18064
18065 2011-12-21 Drew Adams <drew.adams@oracle.com>
18066
18067 * files.el (file-remote-p): Fix docstring. (Bug#10319)
18068
18069 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
18070
18071 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
18072
18073 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
18074
18075 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
18076 highlighting and support. Fix up comments for capitalization.
18077 (cfengine-mode-debug): New var.
18078 (cfengine3-mode): Change the modeline indicator to "CFE3".
18079 (cfengine3-font-lock-keywords): Improve defun highlighting.
18080 (cfengine2-actions): Rename from `cfengine-actions'.
18081 (cfengine2-font-lock-keywords): Rename from
18082 `cfengine-font-lock-keywords'.
18083 (cfengine2-imenu-expression): Rename from
18084 `cfengine-imenu-expression'.
18085 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
18086 (cfengine2-beginning-of-defun): Rename from
18087 `cfengine-beginning-of-defun'.
18088 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
18089 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
18090 (cfengine2-mode): Rename from `cfengine-mode'. Change the
18091 modeline indicator to "CFE2".
18092 (cfengine-mode): Defalias to `cfengine-auto-mode'.
18093 (cfengine-mode-abbrevs): Mark obsolete.
18094
18095 2011-12-21 Chong Yidong <cyd@gnu.org>
18096
18097 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
18098 filename argument.
18099
18100 2011-12-20 Martin Rudalics <rudalics@gmx.at>
18101
18102 * window.el (window-normalize-buffer-to-display): Remove.
18103 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
18104
18105 2011-12-19 Chong Yidong <cyd@gnu.org>
18106
18107 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
18108 Don't signal an error in a predicate function; return non-nil.
18109 (vc-dir-mark-file): Move the error here.
18110 (vc-dir-mark-unmark): If acting on the region, keep going if one
18111 of the entries cannot be marked/unmarked.
18112 (vc-dir-mark-all-files): If current entry is a directory, mark
18113 only child files, as documented.
18114
18115 2011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
18116
18117 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
18118 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
18119 addition.
18120
18121 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
18122
18123 * term/ns-win.el (ns-get-selection-internal)
18124 (ns-store-selection-internal): Declare.
18125 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
18126 Declare as obsolete.
18127 (ns-get-pasteboard, ns-paste-secondary):
18128 Use ns-get-selection-internal.
18129 (ns-set-pasteboard, ns-copy-including-secondary):
18130 Use ns-store-selection-internal.
18131
18132 2011-12-17 Chong Yidong <cyd@gnu.org>
18133
18134 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
18135 (vc-deduce-fileset): Doc fix.
18136
18137 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
18138
18139 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
18140
18141 2011-12-13 Sam Steingold <sds@gnu.org>
18142
18143 * man.el (Man-getpage-in-background): When running under a
18144 window-system, ignore $MANWIDTH and $COLUMNS.
18145
18146 2011-12-15 Kenichi Handa <handa@m17n.org>
18147
18148 * language/ethio-util.el: Change coding tag to utf-8-emacs.
18149 (setup-ethiopic-environment-internal): Comment out key-binding for
18150 ethio-toggle-punctuation.
18151
18152 2011-12-13 Alan Mackenzie <acm@muc.de>
18153
18154 Add the switch statement to AWK Mode.
18155
18156 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
18157 "default" to the keywords regexp.
18158
18159 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
18160 expression as the rest.
18161 (c-nonlabel-token-key): Allow string literals for AWK.
18162 Refactor for the other modes.
18163
18164 Large brace-block initialisation makes CC Mode slow: Fix.
18165 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
18166 routines. Limit backward searching in c-font-lock-enclosing.decl.
18167
18168 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
18169 pp-state and literal type in addition to the limits.
18170 (c-state-safe-place): New defun, extracted from c-state-literal-at.
18171 (c-state-literal-at): Use the above new defun.
18172 (c-slow-in-literal, c-fast-in-literal): Remove.
18173 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
18174
18175 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
18176 being in a literal. Add a limit for backward searching.
18177
18178 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
18179 c-slow-in-literal.
18180
18181 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
18182
18183 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
18184
18185 2011-12-13 Martin Rudalics <rudalics@gmx.at>
18186
18187 * window.el (delete-other-windows): Use correct frame in call to
18188 window-with-parameter.
18189
18190 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
18191
18192 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
18193 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
18194 (makefile-gmake-statements, makefile-makepp-statements):
18195 Use it and add new makepp keywords.
18196 (makefile-makepp-font-lock-keywords): Add new patterns.
18197 (makefile-match-function-end): Match new [...] and [[...]].
18198
18199 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
18200
18201 * ses.el (ses-call-printer-return, ses-cell-property-get)
18202 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
18203 (ses-create-cell-variable, ses-reset-header-string)
18204 (ses-cell-set-formula, ses-repair-cell-reference-all)
18205 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
18206 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
18207 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
18208 (ses-aset-with-undo, ses-load, ses-truncate-cell)
18209 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
18210 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
18211 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
18212 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
18213 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
18214 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
18215 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
18216 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
18217
18218 2011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
18219
18220 * ses.el: The overall change is to add cell renaming, that is
18221 setting fancy names for cell symbols other than name matching
18222 "\\`[A-Z]+[0-9]+\\'" regexp .
18223 (ses-create-cell-variable): New defun.
18224 (ses-relocate-formula): Relocate formulas only for cells the
18225 symbols of which are not renamed, i.e. symbols whose names do not
18226 match regexp "\\`[A-Z]+[0-9]+\\'".
18227 (ses-relocate-all): Relocate values only for cells the symbols of
18228 which are not renamed.
18229 (ses-load): Create cells variables as the (ses-cell ...) are read,
18230 in order to check row col consistency with cell symbol name only
18231 for cells that are not renamed.
18232 (ses-replace-name-in-formula): New defun.
18233 (ses-rename-cell): New defun.
18234
18235 2011-12-11 Chong Yidong <cyd@gnu.org>
18236
18237 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
18238 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
18239
18240 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
18241
18242 * window.el (other-window): Fix docstring.
18243
18244 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18245
18246 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
18247 `from' or `to' address before taking its substring.
18248 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
18249 encoded name is chopped in the middle of the encoded string, and
18250 thus displayed encoded.
18251
18252 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
18253
18254 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
18255
18256 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18257
18258 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
18259 to use texinfo-update-node and commands that call it if the
18260 Texinfo file uses @node lines without next/prev/up pointers.
18261 Correct outdated description about texinfo-master-menu.
18262 (texinfo-all-menus-update, texinfo-master-menu)
18263 (texinfo-update-node, texinfo-every-node-update)
18264 (texinfo-multiple-files-update): Doc fix. Warn against updating
18265 all the @node lines.
18266 (texinfo-master-menu): Only call texinfo-update-node if the prefix
18267 argument is numeric. Explain better in the doc string what the
18268 function really does.
18269 (texinfo-insert-master-menu-list): Improve the error message
18270 displayed if there's no menu in the Top node.
18271 (Bug#2975) See also this thread:
18272 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
18273
18274 2011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
18275
18276 * speedbar.el (speedbar-supported-extension-expressions):
18277 Add .adb and .ads, commonly used for Ada source code (bug#10256).
18278
18279 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
18280
18281 * printing.el (pr-mode-alist):
18282 * simple.el (filter-buffer-substring-functions)
18283 (completion-list-insert-choice-function):
18284 * window.el (window-with-parameter, window-atom-root)
18285 (window-sides-slots, window-size-fixed, window-min-delta)
18286 (window-max-delta, window--resize-mini-window)
18287 (window--resize-child-windows-normal, window-tree)
18288 (delete-other-windows, quit-window, split-window)
18289 (display-buffer-record-window, special-display-buffer-names)
18290 (special-display-regexps, special-display-popup-frame)
18291 (same-window-p, split-window-sensibly)
18292 (display-buffer-overriding-action, display-buffer-alist)
18293 (display-buffer-base-action, display-buffer, switch-to-buffer)
18294 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
18295 (fit-window-to-buffer, recenter-positions)
18296 (mouse-autoselect-window-state, mouse-autoselect-window-select):
18297 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
18298 and remove unneeded backslashes in docstrings.
18299
18300 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
18301
18302 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
18303
18304 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
18305 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
18306 end in ".mk".
18307 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
18308 when reading the makefile (bug#10116).
18309
18310 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
18311
18312 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
18313 (bug#10116).
18314
18315 2011-12-06 Glenn Morris <rgm@gnu.org>
18316
18317 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
18318
18319 2011-12-06 Chong Yidong <cyd@gnu.org>
18320
18321 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
18322
18323 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
18324
18325 * textmodes/table.el (table-shorten-cell): Fix typo.
18326
18327 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
18328
18329 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
18330
18331 2011-12-05 Eli Zaretskii <eliz@gnu.org>
18332
18333 * descr-text.el (describe-char): Fix display of strong
18334 right-to-left characters and directional embeddings and overrides.
18335
18336 * simple.el (what-cursor-position): Fix display of codepoints of
18337 strong right-to-left characters.
18338
18339 2011-12-05 Chong Yidong <cyd@gnu.org>
18340
18341 * faces.el (read-color): Doc fix.
18342
18343 2011-12-05 Glenn Morris <rgm@gnu.org>
18344
18345 * align.el (align--set-marker): Add doc-string.
18346 Don't try to move something that is not a marker. (Bug#10216)
18347
18348 2011-12-04 Glenn Morris <rgm@gnu.org>
18349
18350 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
18351 overly zealous deletion of trailing whitespace.
18352
18353 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
18354
18355 * server.el (server-delete-client): On Windows, do not try to delete
18356 the only terminal.
18357 (server-process-filter): On Windows, treat requests for a tty frame as
18358 if they were for a GUI frame if the running server is in GUI mode.
18359
18360 2011-12-03 Glenn Morris <rgm@gnu.org>
18361
18362 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
18363
18364 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
18365
18366 * electric.el: Streamline electric-indent's hook.
18367 (electric-indent-chars): Revert to simple list.
18368 (electric-indent-functions): New var.
18369 (electric-indent-post-self-insert-function): Use it.
18370
18371 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
18372 there's no inferior buffer (bug#10196).
18373 (prolog-consult-compile): Don't use toggle-read-only.
18374
18375 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
18376
18377 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
18378 interrupt. (Bug#10187)
18379
18380 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
18381
18382 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
18383 (bug#9160).
18384
18385 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
18386 (bug#10191).
18387
18388 2011-12-02 Juri Linkov <juri@jurta.org>
18389
18390 * info.el (Info-search): Display "end of manual" when Isearch
18391 reaches the end of single-file Info manual. (Bug#9918)
18392
18393 2011-12-02 Eli Zaretskii <eliz@gnu.org>
18394
18395 * isearch.el (isearch-message-prefix): Run the input method part
18396 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
18397
18398 2011-12-02 Juri Linkov <juri@jurta.org>
18399
18400 * isearch.el (isearch-occur): Use `word-search-regexp' for
18401 `isearch-word'.
18402 (isearch-search-and-update): Add condition for `isearch-word' and
18403 call `word-search-regexp'. (Bug#10145)
18404
18405 2011-12-01 Glenn Morris <rgm@gnu.org>
18406
18407 * eshell/em-hist.el (eshell-hist-initialize):
18408 Handle eshell-history-size nil and HISTSIZE set or unset.
18409 (eshell-history-file-name, eshell-history-size): Fix custom type.
18410
18411 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
18412
18413 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
18414
18415 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
18416
18417 * progmodes/verilog-mode.el (verilog-pretty-expr):
18418 Rework verilog-pretty-expr to handle new assignment operators in system
18419 verilog, such as += *= and the like.
18420 (verilog-assignment-operator-re): Regular expression to find the
18421 assigment operator in a verilog assignment.
18422 (verilog-assignment-operation-re): Regular expression to find an
18423 assignment statement for pretty-expr.
18424 (verilog-in-attribute-p): Query returns true if point is in an
18425 attribute context; used to skip these for expression line up from
18426 pretty-expr.
18427 (verilog-in-parameter-p): Query returns true if point is in an
18428 parameter definition context; used to skip these for expression
18429 line up from pretty-expr.
18430 (verilog-in-parenthesis-p): Query returns true if point is in a
18431 parenthetical expression, specifically ( ) but not [ ] or { };
18432 used by pretty-expr.
18433 (verilog-just-one-space): If there is no space, don't add one.
18434 (verilog-get-lineup-indent-2): Specifically skip just attribute
18435 contexts for expression lineup, rather than skipping all
18436 parenthetical expressions.
18437 (verilog-calculate-indent): Fix comment, and fix indent.
18438 (verilog-do-indent): Indent declarations in lists (suggested by
18439 Joachim Lechner).
18440 (verilog-mode-abbrev-table): Populate abbrev mode with the various
18441 skeleton items.
18442 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
18443 by Alain Mellan).
18444
18445 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
18446
18447 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
18448 parameters with embedded comments. Reported by Ray Stevens.
18449 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
18450 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
18451 Reported by Tim Holt.
18452 (verilog-auto): Fix AUTOing a upper module then AUTOing module
18453 instantiated by upper module causing wrong expansion until AUTOed a
18454 second time. Reported by K C Buckenmaier.
18455 (verilog-diff-auto): Fix showing .* as a difference when
18456 `verilog-auto-star-save' off. Reported by Dan Dever.
18457 (verilog-auto-reset, verilog-read-always-signals)
18458 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
18459 temporary signals in reset list if
18460 verilog-auto-reset-blocking-in-non is nil, and match assignment
18461 style to each signal's assignment type, bug381.
18462 Reported by Thomas Esposito.
18463 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
18464 (verilog-uvm-statement-re): Support UVM indentation and
18465 highlighting, with old OVM keywords only.
18466 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
18467 Support AUTOTIEOFF creating non-wire data types.
18468 Suggested by Jonathan Greenlaw.
18469 (verilog-auto-insert-lisp, verilog-delete-to-paren)
18470 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
18471 (verilog-inject-sense, verilog-read-inst-pins)
18472 (verilog-read-sub-decls, verilog-read-sub-decls-line):
18473 Fix mismatching parenthesis inside commented out code when deleting
18474 AUTOINST, bug383. Reported by Jonathan Greenlaw.
18475 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
18476 non-numeric vector width. Reported by Alex Reed.
18477 (verilog-auto-ascii-enum): Add "onehot" option to work around not
18478 detecting signals with parameter widths. Reported by Alex Reed.
18479 (verilog-auto-delete-trailing-whitespace):
18480 With `verilog-auto-delete-trailing-whitespace' remove trailing
18481 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
18482 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
18483 Fix verilog-scan-cache corruption when running user AUTO expansion
18484 hooks that call indentation routines.
18485 (verilog-simplify-range-expression): Fix typo ignoring lower case
18486 identifiers.
18487 (verilog-delete-auto): Fix delete-autos to also remove user created
18488 automatics, as long as they start with AUTO.
18489 (verilog-batch-diff-auto, verilog-diff-auto)
18490 (verilog-diff-function): Add `verilog-diff-auto' and bind to
18491 "C-c?" to report differences in AUTO expansion, ignoring spaces.
18492 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
18493 (verilog-in-paren-quick, verilog-re-search-backward-quick)
18494 (verilog-re-search-forward-quick, verilog-syntax-ppss):
18495 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
18496 is disabled and its cache will get corrupt, causing AUTOS not to
18497 expand. Instead use only -quick functions.
18498 (verilog-scan-region): Fix scanning over escaped quotes.
18499 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
18500 (verilog-re-search-backward-quick)
18501 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
18502 related functions now ignore strings, to fix misparsing of strings
18503 with magic comments embedded in them.
18504 (verilog-read-auto-template):
18505 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
18506 Reported by Brad Dobbie.
18507 (verilog-read-auto-template):
18508 Fix 'verilog-auto-inst-template-numbers' with comments.
18509 Reported by Brad Dobbie.
18510 (verilog-auto-inst, verilog-auto-inst-param)
18511 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
18512 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
18513 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
18514 debugging templates without merge conflicts, bug357.
18515 Reported by Brad Dobbie.
18516 (verilog-read-auto-template):
18517 Fix verilog-auto-inst-template-numbers with multiple templates.
18518 Reported by Brad Dobbie.
18519 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
18520 abbrevs so user won't be asked to save.
18521 (verilog-read-auto-lisp-present): Fix to start at beginning of
18522 buffer in case called outside of verilog-auto.
18523 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
18524 to "X-2". Reported by Matthew Myers.
18525 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
18526 all inputs from module templates. Reported by Leith Johnson.
18527 (verilog-module-inside-filename-p): Fix locating programs as with
18528 modules.
18529 (verilog-auto-inst-port): Fix vl-width expressions when using
18530 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
18531 (verilog-decls-get-regs, verilog-decls-get-signals,
18532 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
18533 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
18534 verilog-read-decls): Combine reg and wire structures into one var
18535 structure to represent SystemVerilog concepts.
18536 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
18537 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
18538 (verilog-auto-wire-type, verilog-insert-definition):
18539 Add verilog-auto-wire-type and AUTOLOGIC to support using
18540 SystemVerilog "logic" keyword instead of "wire"/"reg".
18541 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
18542 to declares outputs that also have assignments (presumably in an
18543 ifdef or generate if so there's not a driver conflict).
18544 Reported by Matthew Myers.
18545 (verilog-auto-declare-nettype, verilog-insert-definition):
18546 Add verilog-auto-declare-nettype to fix declarations using
18547 `default_nettype none. Reported by Julian Gorfajn.
18548 (verilog-read-always-signals-recurse, verilog-read-decls)
18549 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
18550 malformed end statement, bug325. Reported by Joshua Wise and
18551 Andrew Drake.
18552 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
18553 (verilog-inst-comment-re): Fix not deleting Interfaced comment
18554 when expanding .* in interfaces, bug320.
18555 Reported by Pierre-David Pfister.
18556 (verilog-read-module-name): Fix import statements between module
18557 name and open parenthesis, bug317.
18558 Reported by Pierre-David Pfister.
18559 (verilog-simplify-range-expression): Fix simplification of
18560 multiplications inside AUTOWIRE connections, bug303.
18561 (verilog-auto-inst-port): Support parameter expansion in
18562 multidimensional arrays.
18563 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
18564 after "assert property". Reported by Julian Gorfajn.
18565 (verilog-simplify-range-expression): Fix "couldn't merge" errors
18566 with multiplication, bug303.
18567 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
18568 Reported by Jan Frode Lonnum.
18569
18570 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
18571
18572 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
18573 (hfy-shell-file-name, hfy-shell):
18574 * international/fontset.el (x-decompose-font-name): Fix typos.
18575
18576 2011-11-29 Ken Brown <kbrown@cornell.edu>
18577
18578 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
18579 (gdb-version): Remove defvar.
18580 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
18581 (gdb-gud-context-command, gdb-non-stop-handler)
18582 (gdb-current-context-command, gdb-stopped): Use it.
18583 (gdb-init-1): Enable pretty printing here.
18584 (gdb-non-stop-handler): Don't enable pretty-printing here.
18585 Check to see if the target supports non-stop mode; if not, turn off
18586 non-stop mode. Use the following.
18587 (gdb-check-target-async): New defun.
18588 (gud-watch, gdb-stopped): Fix whitespace.
18589 (gdb-get-source-file): Don't try to display the source file if
18590 `gdb-main-file' is nil.
18591
18592 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18593
18594 * align.el: Try to generate fewer markers (bug#10047).
18595 (align--set-marker): New macro.
18596 (align-region): Use it.
18597
18598 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18599
18600 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
18601
18602 2011-11-29 Chong Yidong <cyd@gnu.org>
18603
18604 * indent.el (indent-for-tab-command, indent-according-to-mode):
18605 Doc fix.
18606 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
18607
18608 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
18609
18610 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
18611 aware of remote file names. (Bug#10124)
18612
18613 2011-11-29 Chong Yidong <cyd@gnu.org>
18614
18615 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
18616
18617 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
18618
18619 * files.el (find-file): Don't use force-same-window (bug#10144).
18620 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
18621 use pop-to-buffer if the selected window can't be used.
18622 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
18623
18624 2011-11-28 Eli Zaretskii <eliz@gnu.org>
18625
18626 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
18627 special-mode-map.
18628
18629 2011-11-28 Chong Yidong <cyd@gnu.org>
18630
18631 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
18632
18633 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
18634
18635 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
18636 gdb-get-source-file-list on gdb-create-source-file-list.
18637
18638 2011-11-26 Eli Zaretskii <eliz@gnu.org>
18639
18640 * whitespace.el (whitespace-newline): Use a different foreground
18641 color for 16-color light-background displays.
18642
18643 2011-11-24 Chong Yidong <cyd@gnu.org>
18644
18645 * window.el (display-buffer--special-action): Doc fix.
18646
18647 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
18648
18649 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
18650 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
18651 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
18652 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
18653 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
18654 (avl-tree-stack-first):
18655 * emacs-lisp/cconv.el (cconv--analyse-use):
18656 * net/gnutls.el (gnutls-negotiate): Fix typos.
18657
18658 2011-11-24 Glenn Morris <rgm@gnu.org>
18659
18660 * lpr.el (lpr-windows-system, lpr-lp-system):
18661 * mail/binhex.el (binhex-begin-line):
18662 * progmodes/grep.el (grep-history, grep-find-history):
18663 * textmodes/flyspell.el:
18664 * vc/pcvs-defs.el (cvs-global-menu):
18665 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
18666 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
18667 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
18668
18669 * net/tls.el: Fix case of "GnuTLS".
18670
18671 * paths.el (rmail-file-name): Format doc-string for make-docfile.
18672
18673 * version.el (emacs-build-system): Give it a doc-string.
18674
18675 2011-11-24 Juri Linkov <juri@jurta.org>
18676
18677 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
18678
18679 2011-11-24 Glenn Morris <rgm@gnu.org>
18680
18681 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
18682 if called on a non-mime message just toggle the headers. (Bug#8006)
18683
18684 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
18685
18686 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
18687 (allout-lead-with-comment-string, allout-structure-deleted-hook)
18688 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
18689 (allout-rebullet-heading, allout-open-sibtopic)
18690 (allout-toggle-current-subtree-encryption)
18691 (allout-toggle-subtree-encryption, allout-encrypt-string)
18692 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
18693 (allout-distinctive-bullets-string, allout-auto-activation):
18694 * window.el (window-normalize-buffer-to-display):
18695 * progmodes/verilog-mode.el (verilog-batch-indent):
18696 * textmodes/bibtex.el (bibtex-field-braces-opt)
18697 (bibtex-field-strings-opt):
18698 * vc/cvs-status.el (cvs-tree-merge):
18699 Fix typos.
18700
18701 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
18702
18703 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
18704 `non-essential' to t, in order to avoid remote connections.
18705
18706 2011-11-23 Eli Zaretskii <eliz@gnu.org>
18707
18708 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18709 On MS-DOS and MS-Windows, compare with loaddefs.el
18710 case-insensitively.
18711
18712 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18713
18714 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
18715
18716 2011-11-23 Glenn Morris <rgm@gnu.org>
18717
18718 * paths.el (rmail-file-name): Reformat the doc-string so that it
18719 is picked up.
18720
18721 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
18722 (rmail-auto-file): Ignore case in the "special" field names,
18723 as mail-fetch-field does for all others.
18724
18725 * mail/rmail.el (rmail-forward):
18726 * mail/rmailkwd.el (rmail-set-label):
18727 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
18728 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
18729
18730 * mail/rmail.el (rmail-current-message): Doc fix.
18731
18732 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
18733
18734 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
18735
18736 * server.el (server-eval-and-print): Allow C-g (bug#6585).
18737
18738 2011-11-22 Glenn Morris <rgm@gnu.org>
18739
18740 * mail/rmailmm.el (test-rmail-mime-handler)
18741 (test-rmail-mime-bulk-handler)
18742 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
18743
18744 2011-11-21 Juri Linkov <juri@jurta.org>
18745
18746 * calc/calc.el (calc-read-key-sequence):
18747 Let-bind `input-method-function' to nil. (Bug#10018)
18748
18749 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18750
18751 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
18752 Tell the caller that the next line needs recomputation, even
18753 though it doesn't start a sexp (bug#10094).
18754
18755 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
18756
18757 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
18758
18759 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18760
18761 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18762 Use force-same-window.
18763
18764 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18765
18766 * descr-text.el (describe-char-unicode-data):
18767 * json.el (json-string-escape):
18768 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
18769 (Footnote-unicode, Footnote-style-p):
18770 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
18771
18772 2011-11-20 Chong Yidong <cyd@gnu.org>
18773
18774 * window.el (replace-buffer-in-windows): Restore interactive spec.
18775
18776 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18777
18778 * electric.el (electric-indent-mode): Fix last change (too optimistic).
18779
18780 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
18781 (byte-compile-global-not-obsolete-vars): New var.
18782 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
18783 Use it.
18784 (byte-compile-warn-obsolete): Align text with the one in *Help*.
18785
18786 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18787
18788 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
18789 * progmodes/pascal.el (electric-pascal-equal):
18790 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
18791 * xml.el (xml-substitute-special): Fix typos.
18792
18793 2011-11-20 Glenn Morris <rgm@gnu.org>
18794
18795 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
18796 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
18797 Doc fixes.
18798 (rmail-decode-mime-charset): Mark as obsolete.
18799
18800 * mail/rmailsum.el (rmail-message-regexp-p-1):
18801 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
18802 Before using mime functions, check they are set. (Bug#10077)
18803
18804 2011-11-19 Juri Linkov <juri@jurta.org>
18805
18806 * info.el (Info-finder-find-node): Use `package--builtins' instead
18807 of `package-alist'. Use node names formed by the pattern "Keyword "
18808 and the keyword name.
18809
18810 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18811
18812 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
18813
18814 2011-11-19 Juri Linkov <juri@jurta.org>
18815
18816 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
18817 that calls `revert-buffer' on all Info buffers. (Bug#9915)
18818 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
18819 `old-history', `old-history-forward'. Add let-binding
18820 `window-selected'. Remove calls to `kill-buffer',
18821 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
18822 before calling `Info-find-node', so `Info-find-node-2' will reread
18823 the Info file. Restore window positions only when `window-selected'
18824 is non-nil.
18825
18826 2011-11-19 Juri Linkov <juri@jurta.org>
18827
18828 * isearch.el (isearch-lazy-highlight-new-loop):
18829 Remove condition `(not isearch-error)'. (Bug#9918)
18830
18831 * misearch.el (multi-isearch-search-fun): Add condition
18832 `(not bound)' to ignore lazy-highlighting search.
18833 Add the search-failed message "end of multi" when the end of
18834 multi-sequence is reached. Uncapitalize the search-failed
18835 message "Repeat for next buffer".
18836
18837 * info.el (Info-search): Add the search-failed message
18838 "end of the manual" when the end of the manual is reached
18839 in Isearch mode.
18840
18841 2011-11-19 Juri Linkov <juri@jurta.org>
18842
18843 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
18844 Use non-destructive `remove' instead of `delete' because
18845 `Info-history-list' stored to `Info-isearch-initial-history-list' in
18846 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
18847
18848 2011-11-19 Juri Linkov <juri@jurta.org>
18849
18850 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
18851 to nil instead of binding `search-ring' and `regexp-search-ring'.
18852 (Bug#9185)
18853
18854 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18855
18856 * simple.el (line-move): Force movement by logical lines for any
18857 hscrolled window, not only when auto-hscroll-mode is on.
18858 (line-move-visual): Update doc string to that effect. (Bug#10076)
18859
18860 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18861
18862 * language/european.el (macintosh): Define as alias for mac-roman.
18863
18864 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18865
18866 * mail/rmailmm.el (rmail-mime-display-header)
18867 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
18868 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
18869 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
18870 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
18871 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
18872 of a raw aref.
18873 (rmail-mime-entity-segment): To get past the tagline, move forward
18874 2 more lines, to account for the 2 empty lines that precede and
18875 follow the line with the buttons.
18876 (rmail-mime-update-tagline): Move one more line, to get past the
18877 empty line that follows the buttons in the tagline. (Bug#9520)
18878
18879 2011-11-19 Martin Rudalics <rudalics@gmx.at>
18880
18881 * window.el (window-max-delta-1, window-min-delta-1)
18882 (window-min-size-1, window-state-get-1, window-state-put-1)
18883 (window-state-put-2): Use "window--" prefix.
18884
18885 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
18886
18887 * emacs-lisp/smie.el: Improve warnings and conflict detection.
18888 (smie-warning-count): New var.
18889 (smie-set-prec2tab): Use it.
18890 (smie-bnf->prec2): Improve warnings. Add docstring.
18891 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
18892 (smie-bnf--set-class): New function.
18893 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
18894 corner case.
18895
18896 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
18897 (compilation-error-properties, compilation-move-to-column):
18898 Handle compilation-first-column while in the target buffer.
18899
18900 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
18901 Don't hardcode point-min==1.
18902
18903 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
18904 (eshell-rewrite-for-command): Remove workaround.
18905 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
18906 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
18907 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
18908
18909 * files-x.el (modify-file-local-variable): Obey commenting conventions.
18910
18911 2011-11-17 Glenn Morris <rgm@gnu.org>
18912
18913 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18914 Ignore buffer-local generated-autoload-file if it is the same
18915 as the global value. (Bug#10049)
18916
18917 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
18918
18919 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
18920 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
18921 (reftex-toc-previous-heading, reftex-toc-max-level)
18922 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
18923 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
18924 (reftex-toc-do-promote, reftex-toc-promote-prepare)
18925 (reftex-toc-promote-action, reftex-toc-extract-section-number)
18926 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
18927 (reftex-toc-rename-label, reftex-toc-visit-location)
18928 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
18929 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
18930 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
18931 leaving "*toc*" only for references to the buffer.
18932
18933 2011-11-17 Martin Rudalics <rudalics@gmx.at>
18934
18935 * window.el (window-resize, delete-window, split-window):
18936 Replace window-splits by window-combination-resize.
18937 * cus-start.el (window-splits): Replace by window-combination-resize.
18938
18939 2011-11-17 Glenn Morris <rgm@gnu.org>
18940
18941 * progmodes/sh-script.el (sh-font-lock-keywords-var):
18942 Make bash entry derive from sh entry, not shell entry.
18943
18944 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
18945
18946 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
18947 local file name.
18948
18949 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18950
18951 * menu-bar.el (menu-bar-file-menu):
18952 * printing.el (pr-ps-utility):
18953 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
18954 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
18955 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
18956 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
18957 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
18958 (icalendar--convert-cyclic-to-ical)
18959 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
18960 (icalendar--convert-ical-to-diary)
18961 (icalendar--convert-recurring-to-diary)
18962 (icalendar--convert-non-recurring-all-day-to-diary)
18963 (icalendar-import-format-sample):
18964 * progmodes/idlw-shell.el (idlwave-shell-mode):
18965 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
18966 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
18967 (vhdl-ps-print-init): Fix typos.
18968
18969 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
18970
18971 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
18972 FSF and collapse date sequence, obscure author/maintainer email address
18973 better, remove extra version line, track relocation of author's webpage.
18974
18975 * progmodes/python.el (python-pdbtrack-input-prompt)
18976 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
18977 regular python pdb prompts. Adjustments shamelessly taken exactly as
18978 suggested in EmacsWiki page (tiny change):
18979 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
18980
18981 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18982
18983 * expand.el (expand-pos, expand-index, expand-point):
18984 Remove redundant info from docstring.
18985 (expand-add-abbrevs): Doc fix.
18986 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
18987 (expand-sample-perl-mode-expand-list): Fix typos.
18988
18989 * net/dbus.el (dbus-event-member-name):
18990 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
18991 * term/pc-win.el (msdos-create-frame-with-faces):
18992 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
18993
18994 2011-11-16 Martin Rudalics <rudalics@gmx.at>
18995
18996 * window.el (split-window, window-state-get-1)
18997 (window-state-put-1, window-state-put-2): Rename occurrences of
18998 window-nest to window-combination-limit.
18999 * cus-start.el (window-nest): Rename to window-combination-limit.
19000
19001 2011-11-16 Chong Yidong <cyd@gnu.org>
19002
19003 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
19004 regexp (Bug#10033).
19005
19006 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
19007
19008 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
19009 `completing-read' will remove *Completions* and will preserve
19010 current-buffer for us.
19011 (tmm-add-prompt): Users of *Completions* will always (re)set its
19012 major mode.
19013 (tmm-old-comp-map): Remove.
19014
19015 2011-11-16 Glenn Morris <rgm@gnu.org>
19016
19017 * mail/rmailedit.el: Require rmailmm when compiling.
19018 (rmail-old-mime-state): New declaration.
19019 (rmail-edit-current-message): If editing a mime message,
19020 edit the "raw" message from the mbox buffer.
19021 (rmail-cease-edit): Handle mime messages. (Bug#9840)
19022
19023 2011-11-15 Glenn Morris <rgm@gnu.org>
19024
19025 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
19026 which wasn't being used. Add optional arg to force given state.
19027 (rmail-mime): Add optional arg to force given state.
19028
19029 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19030
19031 * allout.el (allout-encryption-plaintext-sanitization-regexps):
19032 * frame.el (display-mm-dimensions-alist):
19033 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
19034 (outline-move-subtree-down):
19035 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
19036 (newsticker--treeview-do-get-node):
19037 * net/quickurl.el (quickurl-list-buffer-name):
19038 * progmodes/dcl-mode.el (dcl-mode):
19039 * progmodes/gdb-mi.el (gdb-mapcar*):
19040 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
19041
19042 2011-11-15 Glenn Morris <rgm@gnu.org>
19043
19044 * mail/rmail.el (rmail-file-coding-system): It's only ever used
19045 in a boolean sense, so just make it a boolean, and fix the doc.
19046 (rmail-show-mime-function, rmail-mime-feature)
19047 (rmail-require-mime-maybe): Doc fixes.
19048 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
19049
19050 * mail/rmailmm.el (rmail-show-mime): Doc fix.
19051
19052 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19053
19054 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
19055 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
19056 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
19057 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
19058
19059 2011-11-15 Glenn Morris <rgm@gnu.org>
19060
19061 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
19062 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
19063 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
19064 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
19065 (rmail-mime, rmail-show-mime): Doc fixes.
19066
19067 * term/ns-win.el (mode-line-frame-identification):
19068 Leave it alone. (Bug#10051)
19069
19070 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
19071
19072 * mail/rmailout.el (rmail-output-to-rmail-buffer):
19073 Handle empty buffers. (Bug#9978)
19074
19075 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
19076
19077 * international/mule.el (define-charset):
19078 * mail/rmailmm.el (rmail-mime-find-header-encoding):
19079 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
19080 * progmodes/verilog-mode.el (verilog-backward-token):
19081 * textmodes/ispell.el (lookup-words):
19082 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
19083
19084 2011-11-14 Glenn Morris <rgm@gnu.org>
19085
19086 * progmodes/executable.el
19087 (executable-make-buffer-file-executable-if-script-p):
19088 Handle file-modes returning nil.
19089
19090 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
19091 message - not necessary, and causes problems. (Bug#9831)
19092
19093 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
19094
19095 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
19096
19097 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
19098 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
19099 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
19100
19101 2011-11-12 Martin Rudalics <rudalics@gmx.at>
19102
19103 * window.el (window-resize, delete-window): Use window-splits
19104 variable instead of function.
19105 (window-state-get-1, window-state-put-2, window-state-put):
19106 Don't deal with windows' splits status.
19107
19108 2011-11-12 Glenn Morris <rgm@gnu.org>
19109
19110 * apropos.el (apropos-do-all, apropos-library, apropos-value)
19111 (apropos-documentation): Doc fixes.
19112
19113 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
19114
19115 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
19116 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
19117
19118 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
19119
19120 * electric.el (electric-indent-post-self-insert-function): Make it
19121 possible for a char to only indent in some circumstances.
19122 (electric-indent-mode): Simplify.
19123
19124 2011-11-11 Martin Rudalics <rudalics@gmx.at>
19125
19126 * window.el (windows-with-parameter): Remove unused function.
19127 (windows-at-side): Rename to window-at-side-list.
19128 (window-check, window-atom-check, window-atom-check-1)
19129 (window-side-check, window-size-ignore, window-size-fixed-1)
19130 (window-in-direction-2): Prefix with "window--".
19131 (window-tree-1): Rename to window--subtree, fix doc-string.
19132
19133 2011-11-11 Glenn Morris <rgm@gnu.org>
19134
19135 * subr.el (eval-after-load): If FILE is already loaded,
19136 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
19137
19138 2011-11-10 Glenn Morris <rgm@gnu.org>
19139
19140 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
19141 Call svn via vc-svn-command rather than vc-do-command.
19142 (vc-svn-command): Add --non-interactive. (Bug#9993)
19143 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
19144
19145 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19146 Add toggle-read-only. (Bug#7292)
19147 * files.el (toggle-read-only): Mention that it should only
19148 be used interactively. (Bug#10006)
19149
19150 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
19151
19152 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19153 Adjust regexp for OCaml warnings.
19154
19155 * electric.el (electric-pair-post-self-insert-function): Let user
19156 turn it off buffer-locally (bug#9932).
19157
19158 * progmodes/python.el (python-beginning-of-statement):
19159 Rewrite (bug#2703).
19160
19161 * progmodes/compile.el: Better handle TABs (bug#9749).
19162 (compilation-internal-error-properties)
19163 (compilation-next-error-function): Obey the target buffer's
19164 compilation-error-screen-columns.
19165
19166 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
19167
19168 * progmodes/meta-mode.el: Remove obsolete comments.
19169 (meta-right-comment-regexp, meta-ignore-comment-regexp):
19170 Fix typos in docstrings.
19171
19172 2011-11-09 Martin Rudalics <rudalics@gmx.at>
19173
19174 * window.el (window-size-fixed-p): Rewrite doc-string.
19175 (window-resizable-p): Rename to window--resizable-p. Update callers.
19176 (window--resizable): New function. Make all callers of
19177 window-resizable call window--resizable instead.
19178 (window-resizable): Rewrite in terms of window--resizable.
19179
19180 2011-11-08 Glenn Morris <rgm@gnu.org>
19181
19182 * progmodes/delphi.el (delphi-mode-syntax-table):
19183 Let define-derived-mode define a proper syntax table. (Bug#9994)
19184
19185 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19186
19187 * window.el: Stay away from defsubst.
19188 (window-list-no-nils): Remove.
19189 (window-state-get-1, window-state-get): Use backquote instead.
19190
19191 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19192
19193 * emacs-lisp/find-func.el (find-function-read):
19194 Fix incorrect use of default argument in `completing-read'.
19195
19196 2011-11-08 Martin Rudalics <rudalics@gmx.at>
19197
19198 * window.el (display-buffer-function, special-display-function):
19199 Mention display-buffer-record-window but do not mention
19200 help-setup parameter in doc-strings.
19201 (window-min-delta): Fix doc-string typo.
19202
19203 2011-11-08 Chong Yidong <cyd@gnu.org>
19204
19205 * window.el (window-total-height, window-total-width): Doc fix.
19206 (window-body-size): Move from C.
19207 (window-body-height, window-body-width): Move to C.
19208
19209 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19210
19211 * window.el: Make special-display like display-buffer-alist (bug#9532).
19212 (display-buffer--special-action): New function, morphed
19213 from display-buffer--special.
19214 (display-buffer): Use it to handle special-display-buffers at higher
19215 priority (just after display-buffer-alist).
19216 (display-buffer-fallback-action, display-buffer--other-frame-action)
19217 (pop-to-buffer-same-window): Remove display-buffer--special.
19218
19219 2011-11-07 Glenn Morris <rgm@gnu.org>
19220
19221 * calendar/cal-menu.el (cal-menu-set-date-title):
19222 Do nothing if not in a calendar. (Bug#9976)
19223
19224 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
19225
19226 * files.el (find-file): Always use selected-window.
19227
19228 2011-11-07 Martin Rudalics <rudalics@gmx.at>
19229
19230 * window.el (window-combinations): Make WINDOW argument
19231 mandatory. Rewrite doc-string.
19232 (walk-window-subtree, window-atom-check, window-min-delta)
19233 (window-max-delta, window--resize-this-window)
19234 (window--resize-root-window-vertically, window-tree)
19235 (balance-windows, window-state-put): Rewrite doc-strings as to
19236 not mention the term "subwindow".
19237 (window--resize-subwindows-skip-p): Rename to
19238 window--resize-child-windows-skip-p.
19239 (window--resize-subwindows-normal): Rename to
19240 window--resize-child-windows-normal.
19241 (window--resize-subwindows): Rename to
19242 window--resize-child-windows.
19243 (window-or-subwindow-p): Rename to window--in-subtree-p.
19244
19245 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19246
19247 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
19248 Ensure that mbox format messages end in two newlines (Bug#9974).
19249
19250 2011-11-06 Chong Yidong <cyd@gnu.org>
19251
19252 * window.el (window-combination-p): Function deleted; its
19253 side-effect is not used in any existing code.
19254 (window-combinations, window-combined-p): Call window-*-child
19255 directly.
19256
19257 2011-11-05 Chong Yidong <cyd@gnu.org>
19258
19259 * window.el (window-valid-p): Rename from window-any-p.
19260 (window-size-ignore, window-state-get): Callers changed.
19261 (window-normalize-window): Rename from window-normalize-any-window.
19262 New arg LIVE-ONLY, replacing window-normalize-live-window.
19263 (window-normalize-live-window): Delete.
19264 (window-combination-p, window-combined-p, window-combinations)
19265 (walk-window-subtree, window-atom-root, window-min-size)
19266 (window-sizable, window-sizable-p, window-size-fixed-p)
19267 (window-min-delta, window-max-delta, window-resizable)
19268 (window-resizable-p, window-full-height-p, window-full-width-p)
19269 (window-current-scroll-bars, window-point-1, set-window-point-1)
19270 (window-at-side-p, window-in-direction, window-resize)
19271 (adjust-window-trailing-edge, maximize-window, minimize-window)
19272 (window-deletable-p, delete-window, delete-other-windows)
19273 (record-window-buffer, unrecord-window-buffer)
19274 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
19275 (quit-window, split-window, window-state-put)
19276 (set-window-text-height, fit-window-to-buffer)
19277 (shrink-window-if-larger-than-buffer): Callers changed.
19278
19279 2011-11-04 Eli Zaretskii <eliz@gnu.org>
19280
19281 * mail/rmail.el (rmail-simplified-subject): Decode subject with
19282 rfc2047-decode-string.
19283 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
19284 warnings.
19285
19286 * window.el (window-body-height, window-body-width): Mention in
19287 the doc string that the return values are in frame's canonical
19288 units. (Bug#9949)
19289
19290 2011-11-03 Alan Mackenzie <acm@muc.de>
19291
19292 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
19293 change in cc-engine.el.
19294
19295 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
19296
19297 * window.el (switch-to-buffer): Use `force-same-window' interactively.
19298
19299 2011-11-02 Martin Rudalics <rudalics@gmx.at>
19300
19301 * window.el (quit-window): Call unrecord-window-buffer after
19302 showing another buffer in the window. (Bug#9937)
19303 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
19304
19305 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
19306
19307 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
19308 Accept status with more than 9 shelves. (Bug#9935)
19309 Reported by Colin D Bennett <colin@gibibit.com>.
19310
19311 2011-11-01 Martin Rudalics <rudalics@gmx.at>
19312
19313 * help.el (with-help-window): Don't reference
19314 temp-buffer-show-specifiers in doc-string.
19315
19316 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
19317
19318 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
19319 menu-item.
19320
19321 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19322
19323 * whitespace.el: New version 13.2.2.
19324 (whitespace-newline-mode): Disable properly. Reported by Sarah
19325 <EmacsWiki>.
19326
19327 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
19328
19329 * net/newst-treeview.el: Remove "Time-stamp".
19330 (newsticker--group-manage-orphan-feeds): Do not call
19331 newsticker--treeview-tree-update.
19332 (newsticker-treeview-update, newsticker-treeview):
19333 Call newsticker--treeview-tree-update if necessary.
19334
19335 2011-10-30 Martin Rudalics <rudalics@gmx.at>
19336
19337 * window.el (window-iso-combination-p, window-iso-combined-p)
19338 (window-iso-combinations): Remove "iso-" infix.
19339 Suggested by Chong Yidong.
19340 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
19341 (window-max-delta-1, window-resize, window--resize-siblings)
19342 (window--resize-this-window, adjust-window-trailing-edge)
19343 (split-window, balance-windows-1)
19344 (shrink-window-if-larger-than-buffer):
19345 * calendar/calendar.el (calendar-generate-window):
19346 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
19347
19348 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
19349
19350 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
19351 in place (bug#9907).
19352 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
19353 (eshell-rewrite-if-command, eshell-rewrite-for-command)
19354 (eshell-structure-basic-command, eshell-rewrite-while-command)
19355 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
19356 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
19357 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
19358 (eshell-do-pipelines-synchronously, eshell-eval-command):
19359 Use backquotes and prefer setq to set.
19360 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
19361 (eshell-macrop): Use functionp.
19362 (eshell-do-eval): Handle multiple expressions in `while' body.
19363
19364 2011-10-30 Chong Yidong <cyd@gnu.org>
19365
19366 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
19367 instead of set-mark (Bug#9810).
19368
19369 2011-10-30 Chong Yidong <cyd@gnu.org>
19370
19371 * window.el (split-window-below, split-window-right): Rename from
19372 split-window-above-each-other and split-window-side-by-side
19373 respectively. All callers changed.
19374 (split-window-sensibly, split-window-sensibly): Use them.
19375 (split-window-keep-point): Doc fix.
19376
19377 * isearch.el: Add isearch-scroll property to split-window-below
19378 and split-window-right.
19379
19380 * follow.el (follow-mode):
19381 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19382 * progmodes/ada-xref.el (ada-gdb-application):
19383 * emulation/vip.el (vip-buffer-in-two-windows):
19384 * image-dired.el (image-dired-dired-with-window-configuration):
19385 * dired-x.el (dired-do-find-marked-files):
19386 * dired.el (dired-pop-to-buffer):
19387 * bs.el (bs--show-with-configuration):
19388 * vc/emerge.el (emerge-setup-windows):
19389 * textmodes/two-column.el (2C-two-columns):
19390 * textmodes/reftex-toc.el (reftex-toc):
19391 * progmodes/gdb-mi.el (gdb-setup-windows):
19392 * progmodes/fortran.el (fortran-window-create):
19393 * net/newst-treeview.el (newsticker--treeview-window-init):
19394 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
19395 * emulation/tpu-edt.el (tpu-gold-map):
19396 * emulation/crisp.el (crisp-mode-map):
19397 * calendar/calendar.el (calendar-basic-setup): Callers changed.
19398
19399 2011-10-29 Chong Yidong <cyd@gnu.org>
19400
19401 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
19402
19403 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
19404
19405 * textmodes/flyspell.el (flyspell-word): Fix char offset for
19406 forged Ispell output (Bug#7904).
19407
19408 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
19409
19410 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19411
19412 * doc-view.el: Avoid ugly errors about not finding nil.
19413 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
19414 (doc-view-dvipdf-program, doc-view-unoconv-program)
19415 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
19416 Avoid nil or absolute file name as default value.
19417 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
19418
19419 2011-10-28 Alan Mackenzie <acm@muc.de>
19420
19421 * progmodes/cc-defs.el (c-version): -> 5.32.2.
19422
19423 2011-10-28 Alan Mackenzie <acm@muc.de>
19424
19425 Amend the handling of c-beginning/end-of-defun in nested declaration
19426 scopes.
19427
19428 * progmodes/cc-vars.el (c-defun-tactic): Move here from
19429 cc-langs.el. Change it to a defcustom.
19430
19431 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
19432 cc-vars.el.
19433
19434 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19435 Prevent "class foo : bar" being spuriously recognized as a label.
19436
19437 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
19438 Add parameter `inclusive' (to include enclosing braces in the region).
19439 (c-widen-to-enclosing-decl-scope): New function.
19440 (c-while-widening-to-decl-block): New macro.
19441 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
19442 outward for defun boundaries, and correspondingly change symbol
19443 `respect-enclosure' to `go-outward'.
19444 (c-declaration-limits): Change algorithm to report only the "innermost"
19445 defun's boundaries.
19446
19447 2011-10-28 Deniz Dogan <deniz@dogan.se>
19448
19449 * net/rcirc.el (rcirc-mode): Use hard newlines.
19450
19451 2011-10-28 Alan Mackenzie <acm@muc.de>
19452
19453 Amend to indent and fontify macros "which include their own semicolon"
19454 correctly, using the "virtual semicolon" mechanism.
19455
19456 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
19457
19458 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
19459 Recode to scan one line at a time rather than having \n and \r
19460 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
19461 (c-forward-label): Amend for virtual semicolons.
19462 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
19463
19464 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
19465 of the new C macros.
19466
19467 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
19468 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
19469 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
19470 (c-opt-cpp-macro-define): Make into a full language variable.
19471 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
19472 AWK Mode (including \n, \r) removed, no longer needed.
19473
19474 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
19475 Invoke c-make-macro-with-semi-re.
19476
19477 * progmodes/cc-vars.el (c-macro-with-semi-re):
19478 (c-macro-names-with-semicolon): New variables.
19479 (c-make-macro-with-semi-re): New function.
19480
19481 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19482
19483 * vc/log-edit.el: Fill empty field rather than adding new one.
19484 (log-edit-add-field): New function.
19485 (log-edit-insert-changelog): Use it.
19486
19487 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19488
19489 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
19490
19491 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19492
19493 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
19494 (gdb--check-interpreter): New function.
19495 (gdb): Use it.
19496
19497 2011-10-27 Glenn Morris <rgm@gnu.org>
19498
19499 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
19500 (least-positive-float, least-negative-float)
19501 (least-positive-normalized-float, least-negative-normalized-float)
19502 (float-epsilon, float-negative-epsilon):
19503 Remove unnecessary declarations.
19504
19505 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
19506 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
19507 (least-positive-float, least-negative-float)
19508 (least-positive-normalized-float, least-negative-normalized-float)
19509 (float-epsilon, float-negative-epsilon): Add doc-strings,
19510 based on those in cl.texi.
19511
19512 * files.el (set-visited-file-name): If the major-mode changed,
19513 reload the local variables. (Bug#9796)
19514
19515 2011-10-27 Chong Yidong <cyd@gnu.org>
19516
19517 * subr.el (change-major-mode-after-body-hook): New hook.
19518 (run-mode-hooks): Run it.
19519
19520 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19521 Use change-major-mode-before-body-hook.
19522
19523 * simple.el (fundamental-mode):
19524 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
19525 change introducing fundamental-mode-hook.
19526
19527 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
19528
19529 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
19530
19531 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
19532
19533 * ido.el (ido-file-name-all-completions-1): Do not require
19534 tramp.el explicitly. (Bug#7583)
19535
19536 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
19537
19538 * progmodes/octave-mod.el:
19539 * progmodes/octave-inf.el: Update maintainer.
19540
19541 2011-10-26 Chong Yidong <cyd@gnu.org>
19542
19543 * subr.el (with-wrapper-hook): Rewrite doc.
19544
19545 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
19546
19547 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
19548 filenames "/method:foo:". (Bug#9793)
19549
19550 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
19551
19552 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
19553 (bug#9865).
19554
19555 2011-10-24 Glenn Morris <rgm@gnu.org>
19556
19557 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
19558
19559 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
19560
19561 * notifications.el: Add the requirement of a running D-Bus session
19562 bus to the Commentary.
19563
19564 2011-10-24 Juri Linkov <juri@jurta.org>
19565
19566 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19567 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
19568 (Bug#9364)
19569
19570 2011-10-24 Juri Linkov <juri@jurta.org>
19571
19572 * info.el (Info-following-node-name-re): Add newline to the list
19573 of allowed characters for leading space. (Bug#9824)
19574
19575 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
19576
19577 * progmodes/octave-inf.el (inferior-octave-mode-map):
19578 Fix C-c C-h binding.
19579 * progmodes/octave-mod.el (octave-help): Remove.
19580
19581 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
19582
19583 Sync with Tramp 2.2.3.
19584
19585 * net/tramp-cache.el (top): Pacify byte-compiler using
19586 `init-file-user' and `site-run-file'.
19587
19588 * net/trampver.el: Update release number.
19589
19590 2011-10-23 Chong Yidong <cyd@gnu.org>
19591
19592 * files.el (toggle-read-only): Remove obsolete comment about
19593 version control.
19594
19595 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
19596 for toggle-read-only. Note that this hasn't called vc-next-action
19597 since 2008-05-02, though it wasn't documented at the time.
19598
19599 * vc/ediff-init.el (ediff-toggle-read-only-function):
19600 Use toggle-read-only.
19601
19602 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
19603
19604 Fix bug #9560, sporadic wrong indentation; improve instrumentation
19605 of c-parse-state.
19606
19607 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
19608 correct faulty logical expression.
19609 (c-parse-state-state, c-record-parse-state-state):
19610 (c-replay-parse-state-state): New defvar/defuns.
19611 (c-debug-parse-state): Use new functions.
19612
19613 2011-10-22 Martin Rudalics <rudalics@gmx.at>
19614
19615 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
19616 last fix. Use window-in-direction correctly.
19617
19618 2011-10-21 Chong Yidong <cyd@gnu.org>
19619
19620 * progmodes/idlwave.el (idlwave-mode):
19621 * progmodes/vera-mode.el (vera-mode): No need to set
19622 require-final-newline; that's done in prog-mode.
19623 Suggested by Stefan Monnier.
19624
19625 2011-10-21 Martin Rudalics <rudalics@gmx.at>
19626
19627 * mouse.el (mouse-drag-window-above)
19628 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
19629 (mouse-drag-mode-line-1, mouse-drag-header-line)
19630 (mouse-drag-vertical-line-rightward-window): Remove.
19631 (mouse-drag-line): New function.
19632 (mouse-drag-mode-line, mouse-drag-header-line)
19633 (mouse-drag-vertical-line): Call mouse-drag-line.
19634 * window.el (window-at-side-p, windows-at-side): New functions.
19635
19636 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
19637
19638 * tar-mode.el (tar-grind-file-mode):
19639 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
19640
19641 2011-10-21 Chong Yidong <cyd@gnu.org>
19642
19643 * progmodes/idlwave.el (idlwave-mode):
19644 * progmodes/vera-mode.el (vera-mode):
19645 Use mode-require-final-newline.
19646
19647 2011-10-20 Glenn Morris <rgm@gnu.org>
19648
19649 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
19650
19651 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
19652
19653 * emulation/cua-base.el (cua-set-mark): Fix case of string.
19654
19655 2011-10-20 Chong Yidong <cyd@gnu.org>
19656
19657 * emulation/cua-base.el (cua-mode):
19658 * mail/footnote.el (footnote-mode):
19659 * mail/mailabbrev.el (mail-abbrevs-mode):
19660 * net/xesam.el (xesam-minor-mode):
19661 * progmodes/bug-reference.el (bug-reference-mode):
19662 * progmodes/cap-words.el (capitalized-words-mode):
19663 * progmodes/compile.el (compilation-minor-mode)
19664 (compilation-shell-minor-mode):
19665 * progmodes/gud.el (gud-tooltip-mode):
19666 * progmodes/hideif.el (hide-ifdef-mode):
19667 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
19668 * progmodes/subword.el (subword-mode):
19669 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
19670 * progmodes/which-func.el (which-function-mode):
19671 * term/tvi970.el (tvi970-set-keypad-mode):
19672 * term/vt100.el (vt100-wide-mode):
19673 * textmodes/flyspell.el (flyspell-mode):
19674 * textmodes/ispell.el (ispell-minor-mode):
19675 * textmodes/nroff-mode.el (nroff-electric-mode):
19676 * textmodes/paragraphs.el (use-hard-newlines):
19677 * textmodes/refill.el (refill-mode):
19678 * textmodes/reftex.el (reftex-mode):
19679 * textmodes/rst.el (rst-minor-mode):
19680 * textmodes/sgml-mode.el (html-autoview-mode)
19681 (sgml-electric-tag-pair-mode):
19682 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
19683 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
19684 * emulation/crisp.el (crisp-mode):
19685 * emacs-lisp/eldoc.el (eldoc-mode):
19686 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
19687 minor mode behavior.
19688
19689 2011-10-19 Juri Linkov <juri@jurta.org>
19690
19691 * descr-text.el (describe-char): Add #x2010 and #x2011 to
19692 the list of hard-coded chars with escape-glyph face.
19693
19694 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
19695
19696 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
19697
19698 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
19699
19700 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
19701 running process.
19702
19703 2011-10-19 Glenn Morris <rgm@gnu.org>
19704
19705 * vc/vc-bzr.el (vc-bzr-after-dir-status):
19706 Ignore ignored files. (Bug#9726)
19707
19708 2011-10-19 Chong Yidong <cyd@gnu.org>
19709
19710 Doc fix for minor modes, stating that an omitted argument enables
19711 the mode unconditionally when called from Lisp.
19712
19713 * abbrev.el (abbrev-mode):
19714 * allout.el (allout-mode):
19715 * autoinsert.el (auto-insert-mode):
19716 * autoarg.el (autoarg-mode, autoarg-kp-mode):
19717 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
19718 (global-auto-revert-mode):
19719 * battery.el (display-battery-mode):
19720 * composite.el (global-auto-composition-mode)
19721 (auto-composition-mode):
19722 * delsel.el (delete-selection-mode):
19723 * desktop.el (desktop-save-mode):
19724 * dired-x.el (dired-omit-mode):
19725 * dirtrack.el (dirtrack-mode):
19726 * doc-view.el (doc-view-minor-mode):
19727 * double.el (double-mode):
19728 * electric.el (electric-indent-mode, electric-pair-mode):
19729 * emacs-lock.el (emacs-lock-mode):
19730 * epa-hook.el (auto-encryption-mode):
19731 * follow.el (follow-mode):
19732 * font-core.el (font-lock-mode):
19733 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
19734 * help.el (temp-buffer-resize-mode):
19735 * hilit-chg.el (highlight-changes-mode)
19736 (highlight-changes-visible-mode):
19737 * hi-lock.el (hi-lock-mode):
19738 * hl-line.el (hl-line-mode, global-hl-line-mode):
19739 * icomplete.el (icomplete-mode):
19740 * ido.el (ido-everywhere):
19741 * image-file.el (auto-image-file-mode):
19742 * image-mode.el (image-minor-mode):
19743 * iswitchb.el (iswitchb-mode):
19744 * jka-cmpr-hook.el (auto-compression-mode):
19745 * linum.el (linum-mode):
19746 * longlines.el (longlines-mode):
19747 * master.el (master-mode):
19748 * mb-depth.el (minibuffer-depth-indicate-mode):
19749 * menu-bar.el (menu-bar-mode):
19750 * minibuf-eldef.el (minibuffer-electric-default-mode):
19751 * mouse-sel.el (mouse-sel-mode):
19752 * msb.el (msb-mode):
19753 * mwheel.el (mouse-wheel-mode):
19754 * outline.el (outline-minor-mode):
19755 * paren.el (show-paren-mode):
19756 * recentf.el (recentf-mode):
19757 * reveal.el (reveal-mode, global-reveal-mode):
19758 * rfn-eshadow.el (file-name-shadow-mode):
19759 * ruler-mode.el (ruler-mode):
19760 * savehist.el (savehist-mode):
19761 * scroll-all.el (scroll-all-mode):
19762 * scroll-bar.el (scroll-bar-mode):
19763 * server.el (server-mode):
19764 * shell.el (shell-dirtrack-mode):
19765 * simple.el (auto-fill-mode, transient-mark-mode)
19766 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
19767 (line-number-mode, column-number-mode, size-indication-mode)
19768 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
19769 * strokes.el (strokes-mode):
19770 * time.el (display-time-mode):
19771 * t-mouse.el (gpm-mouse-mode):
19772 * tool-bar.el (tool-bar-mode):
19773 * tooltip.el (tooltip-mode):
19774 * type-break.el (type-break-mode-line-message-mode)
19775 (type-break-query-mode):
19776 * view.el (view-mode):
19777 * whitespace.el (whitespace-mode, whitespace-newline-mode)
19778 (global-whitespace-mode, global-whitespace-newline-mode):
19779 * xt-mouse.el (xterm-mouse-mode): Doc fix.
19780
19781 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19782 Fix autogenerated docstring.
19783
19784 2011-10-19 Juri Linkov <juri@jurta.org>
19785
19786 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
19787 by checking environment variables "DESKTOP_SESSION" and
19788 "XDG_CURRENT_DESKTOP". (Bug#9779)
19789
19790 2011-10-19 Juri Linkov <juri@jurta.org>
19791
19792 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
19793 (browse-url-chromium-program, browse-url-chromium-arguments):
19794 New defcustoms.
19795 (browse-url-default-browser): Check for `browse-url-chromium' and
19796 call `browse-url-chromium-program'.
19797 (browse-url-chromium): New command. (Bug#9779)
19798
19799 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
19800
19801 * facemenu.el (list-colors-duplicates): On Windows, detect more
19802 duplicates by assuming that only colors matching "^System" are
19803 special "system colors". (Bug#9722)
19804
19805 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
19806
19807 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
19808 to distinguish the author from the committer.
19809
19810 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
19811
19812 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
19813
19814 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
19815
19816 * international/mule.el (sgml-html-meta-auto-coding-function):
19817 Add support for detecting encoding in HTML5 specified only as
19818 <meta charset="UTF-8">. Implementation just makes http-equiv and
19819 content-type parts from HTML4 encoding string optional. (Bug#9716)
19820
19821 2011-10-18 Glenn Morris <rgm@gnu.org>
19822
19823 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
19824
19825 2011-10-18 Chong Yidong <cyd@gnu.org>
19826
19827 * faces.el (cursor): Doc fix.
19828
19829 2011-10-17 Chong Yidong <cyd@gnu.org>
19830
19831 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
19832
19833 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
19834
19835 * dirtrack.el (dirtrack): Support shell buffers with path
19836 prefixes, e.g. tramp-based remote shells. (Bug#9647)
19837
19838 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
19839
19840 * json.el: Bump version to 1.3 and note change in History.
19841 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
19842
19843 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
19844
19845 * comint.el (comint-insert-input, comint-send-input)
19846 (comint-get-old-input-default, comint-backward-matching-input)
19847 (comint-next-prompt): Use nil instead of `input' for field property of
19848 past user input (bug#114).
19849
19850 * minibuffer.el (completion--replace): Inherit surrounding properties
19851 (bug#114).
19852 (minibuffer-complete-and-exit): Use it.
19853
19854 * comint.el (comint--table-subvert): Quote the all-completions output
19855 (bug#9160).
19856
19857 2011-10-17 Martin Rudalics <rudalics@gmx.at>
19858
19859 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
19860
19861 * menu-bar.el (menu-bar-file-menu): Add entry for making new
19862 window on right of selected. (Bug#9350) Reword other window
19863 entries and separate them from frame entries.
19864
19865 2011-10-15 Glenn Morris <rgm@gnu.org>
19866
19867 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
19868 Doc fixes.
19869
19870 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
19871
19872 * net/network-stream.el (network-stream-open-starttls):
19873 Improve detection of failure due to lack of TLS support.
19874
19875 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
19876 putting the input text in front and in bold.
19877
19878 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
19879
19880 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
19881
19882 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
19883 empty buffer.
19884
19885 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
19886 unread-command-events rather than pushing yet-another event.
19887
19888 2011-10-14 Eli Zaretskii <eliz@gnu.org>
19889
19890 * mail/sendmail.el (sendmail-query-once): Improve the wording of
19891 the explanation of the possible choices. Make the options passed
19892 to completing-read shorter.
19893
19894 2011-10-13 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
19895
19896 * textmodes/flyspell.el (flyspell-large-region): Make sure
19897 extended character mode is used if defined (Bug#1339).
19898
19899 2011-10-13 Eli Zaretskii <eliz@gnu.org>
19900
19901 * simple.el (what-cursor-position): Fix the display of the
19902 character info for LRE, LRO, RLE, and RLO characters by appending
19903 an invisible PDF.
19904
19905 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
19906
19907 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
19908 even in case of error; add debug spec; simplify data flow.
19909 (with-timeout-handler): Remove.
19910
19911 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
19912
19913 Fix Bug#6019, Bug#9315.
19914
19915 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
19916 complete `buffer-file-name', the local file name part could look
19917 remotely (for example on VMS).
19918
19919 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
19920 `tramp-run-real-handler'.
19921 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
19922 already quoted by '"'.
19923
19924 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
19925 Let `file-name-handler-alist' be nil, the local file name part
19926 could look remotely (for example on VMS).
19927
19928 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
19929
19930 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
19931 from here...
19932 (flyspell-post-command-hook): ...to here.
19933
19934 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19935
19936 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
19937 if not needed.
19938 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
19939 using completion. Protect against "slow" callers.
19940 Remove the "message hack".
19941
19942 2011-10-11 Juri Linkov <juri@jurta.org>
19943
19944 * isearch.el (isearch-lazy-highlight-word): New variable.
19945 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
19946 Use it. (Bug#9727)
19947
19948 2011-10-11 Glenn Morris <rgm@gnu.org>
19949
19950 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
19951 like f90-previous-statement does.
19952
19953 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19954
19955 * eshell/eshell.el (eshell-command): History should be saved
19956 only in interactive use, to avoid error.
19957
19958 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19959
19960 * minibuffer.el (completion-file-name-table): Fix last change,
19961 i.e. ignore normal errors but not the other ones.
19962
19963 2011-10-10 Martin Rudalics <rudalics@gmx.at>
19964
19965 * window.el (special-display-buffer-names)
19966 (special-display-regexps): Remove some remnants of earlier
19967 changes from doc-strings.
19968 (quit-windows-on): New function.
19969
19970 * vc/vc.el (vc-revert, vc-rollback):
19971 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
19972 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
19973 (Bug#6183) (Bug#7074) (Bug#7447)
19974
19975 2011-10-09 Martin Rudalics <rudalics@gmx.at>
19976
19977 * window.el (frame-auto-hide-function): Add version tag.
19978 (Bug#9699)
19979
19980 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
19981
19982 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
19983 condition.
19984
19985 2011-10-09 Leo Liu <sdl.web@gmail.com>
19986
19987 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
19988 (Bug#9701)
19989
19990 2011-10-08 Glenn Morris <rgm@gnu.org>
19991
19992 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
19993 before the first code statement zero indent. (Bug#9690)
19994
19995 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
19996
19997 * simple.el (count-words-region): Always count in the region.
19998 Report the number of lines and characters too.
19999 (count-words): New command, which counts in the buffer if the
20000 region is inactive, as count-words-region used to.
20001 (count-words--message): New function. Handle plurals.
20002 (count-lines-region): Make it an alias for count-words-region.
20003
20004 * bindings.el (esc-map): Replace count-lines-region with
20005 count-words-region.
20006
20007 2011-10-08 Martin Rudalics <rudalics@gmx.at>
20008
20009 * window.el (window--delete): Delete dedicated frame
20010 unconditionally when argument KILL is non-nil. (Bug#9699)
20011 (switch-to-buffer): Fix doc-string typo.
20012
20013 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20014
20015 * eshell/eshell.el (eshell-command): Avoid using hooks.
20016
20017 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
20018
20019 * bindings.el ([M-left],[M-right]): Bind to left-word and
20020 right-word respectively.
20021
20022 2011-10-07 Glenn Morris <rgm@gnu.org>
20023
20024 * cus-start.el (debug-on-quit): Fix custom type.
20025
20026 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20027
20028 * subr.el (define-key-after): Clarify that the function is not
20029 useful for non-menu keymaps.
20030
20031 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
20032
20033 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20034
20035 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
20036 in current minibuffer (Fix bug with recursive minibuffers).
20037
20038 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
20039
20040 * progmodes/gdb-mi.el (gdb): Doc fix.
20041
20042 2011-10-05 Martin Rudalics <rudalics@gmx.at>
20043
20044 * window.el (frame-auto-hide-function): New option replacing
20045 frame-auto-delete. Suggested by Stefan Monnier.
20046 (window--delete): Call frame-auto-hide-function instead of
20047 investigating frame-auto-delete.
20048 (window-point-1, set-window-point-1): New functions.
20049 (window-in-direction, record-window-buffer, window-state-get-1)
20050 (display-buffer-record-window): Use window-point-1 instead of
20051 window-point.
20052 (set-window-buffer-start-and-point): Use set-window-point-1.
20053
20054 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20055
20056 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
20057
20058 2011-10-05 Glenn Morris <rgm@gnu.org>
20059
20060 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
20061 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
20062
20063 2011-10-05 Leo Liu <sdl.web@gmail.com>
20064
20065 * subr.el (read-char-choice): Fix argument to buffer-live-p which
20066 works with buffer object.
20067
20068 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20069
20070 * mpc.el (mpc-tool-bar-map): Add labels.
20071
20072 2011-10-04 Glenn Morris <rgm@gnu.org>
20073
20074 * calendar/holidays.el (calendar-check-holidays): Doc fix.
20075
20076 2011-10-04 Martin Rudalics <rudalics@gmx.at>
20077
20078 * window.el (window--delete): New function.
20079 (frame-auto-delete): Resuscitate option.
20080 (bury-buffer, replace-buffer-in-windows)
20081 (quit-window): Rewrite using window--delete.
20082 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20083 Pass display-buffer-mark-dedicated to window--display-buffer-2
20084 (Bug#9639).
20085
20086 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20087
20088 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
20089 returns a list (bug#9554). Add remote file name completion.
20090 * comint.el (comint--table-subvert): Curry and get quote&unquote
20091 functions as arguments.
20092 (comint--complete-file-name-data): Adjust call accordingly.
20093 * pcomplete.el (pcomplete--table-subvert): Remove.
20094 (pcomplete-completions-at-point): Use comint--table-subvert instead.
20095
20096 * minibuffer.el (completion-table-case-fold): Use currying.
20097 (completion--styles-type, completion--cycling-threshold-type):
20098 New constants.
20099 (completion-styles, completion-category-overrides)
20100 (completion-cycle-threshold): Use them.
20101 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
20102 completion-table-case-fold.
20103
20104 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
20105
20106 * minibuffer.el (completion-category-overrides): Fix type of styles
20107 and add more user friendly tags (bug#9660).
20108
20109 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20110
20111 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
20112 (mule-input-method-string): New widget.
20113 (default-input-method, language-info-custom-alist): Use it.
20114
20115 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
20116
20117 * pcomplete.el: Require comint.
20118 (pcomplete--common-suffix): Remove.
20119 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
20120 (pcomplete--table-subvert): Sync with comint--table-subvert.
20121 (pcomplete--entries): Use comint-completion-file-name-table.
20122 * comint.el (comint-unquote-filename): Simplify.
20123 (comint-completion-file-name-table): New function (bug#9616).
20124 (comint--complete-file-name-data): Use it.
20125
20126 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
20127 (pcmpl-gnu-tar-buffer): Remove.
20128 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
20129 around. Make sure pcomplete-suffix-list is only changed temporarily.
20130 Don't look inside the tar's file if it's too large.
20131
20132 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
20133
20134 * cus-edit.el (custom-mode-map):
20135 * epa.el (epa-key-list-mode-map):
20136 * man.el (Man-mode-map):
20137 * startup.el (splash-screen-keymap):
20138 * simple.el (special-mode-map): Use scroll-up-command and
20139 scroll-down-command.
20140
20141 * progmodes/idlw-help.el (idlwave-help-mode-map):
20142 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
20143 * net/newst-plainview.el (newsticker-mode-map):
20144 * emulation/ws-mode.el (wordstar-mode-map):
20145 * emulation/vi.el (vi-com-map):
20146 * calc/calc-graph.el (calc-graph-show-dumb):
20147 * term/sun.el (terminal-init-sun):
20148 * term/ns-win.el (global-map):
20149 * progmodes/grep.el (grep-mode-map):
20150 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
20151 * mail/rmail.el (rmail-mode-map):
20152 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
20153
20154 * custom.el (custom-safe-themes, load-theme): Treat value of t for
20155 custom-safe-themes as special.
20156
20157 2011-10-01 Julien Danjou <julien@danjou.info>
20158
20159 * notifications.el (notifications-notify): Fix docstring.
20160
20161 2011-10-01 Per Starbäck <per@starback.se>
20162
20163 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
20164
20165 2011-09-30 Martin Rudalics <rudalics@gmx.at>
20166
20167 * startup.el (command-line-1): Fix last fix by inserting
20168 initial-scratch-message into *scratch* before displaying it.
20169 (Bug#9605) and (Bug#9636)
20170
20171 2011-09-29 Eli Zaretskii <eliz@gnu.org>
20172
20173 * simple.el (line-move): If auto-hscroll-mode is disabled and the
20174 window is hscrolled, move by logical lines. (Bug#9607)
20175 (line-move-visual): Update the doc string to the above effect.
20176
20177 2011-09-29 Martin Rudalics <rudalics@gmx.at>
20178
20179 * window.el (display-buffer-record-window): When WINDOW is the
20180 selected window use `point' instead of `window-point'. (Bug#9626)
20181
20182 * startup.el (command-line-1): Use insert-before-markers when
20183 inserting initial-scratch-message. (Bug#9605)
20184
20185 * help.el (help-window): Remove variable.
20186
20187 2011-09-29 Glenn Morris <rgm@gnu.org>
20188
20189 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
20190
20191 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
20192
20193 * descr-text.el (describe-char-categories): Accept category
20194 descriptions more than one line long.
20195
20196 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
20197
20198 * simple.el (delete-trailing-whitespace): Fix last change.
20199
20200 * progmodes/perl-mode.el (perl-syntax-propertize-function):
20201 Don't confuse "y => 3" as the beginning of a `y' operation.
20202
20203 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
20204 object has more than 4 slots (bug#9613).
20205
20206 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
20207
20208 * subr.el (with-output-to-temp-buffer):
20209 * net/quickurl.el (quickurl, quickurl-browse-url):
20210 Fix typos in docstrings.
20211
20212 2011-09-27 Eli Zaretskii <eliz@gnu.org>
20213
20214 * minibuffer.el (completion-styles)
20215 (completion-category-overrides): Cross reference each other in doc
20216 strings.
20217
20218 2011-09-27 Glenn Morris <rgm@gnu.org>
20219
20220 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
20221 to split-string. (Bug#9606)
20222
20223 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20224
20225 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
20226 (bug#9615).
20227
20228 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
20229
20230 * emacs-lisp/package.el (list-packages): Fix echo area message.
20231
20232 2011-09-27 Leo Liu <sdl.web@gmail.com>
20233
20234 * ido.el (ido-read-internal): Accept cons cell HIST arg.
20235
20236 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
20237
20238 * net/dbus.el (dbus-unregister-object): Don't release services for
20239 registered signals. (Bug#9581)
20240
20241 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
20242
20243 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
20244 function that picks between cfengine 2 and 3 support
20245 automatically. Update docs accordingly.
20246
20247 2011-09-22 Kenichi Handa <handa@m17n.org>
20248
20249 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
20250 ZERO.
20251 (indian-itrans-v5-table-for-tamil): New variable.
20252 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
20253
20254 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
20255
20256 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
20257 that's true if the current command involved collapsing of text.
20258 It's reset to false at the beginning of the next command.
20259 (allout-post-command-business): Move the cursor to the beginning
20260 of entry if the cursor is hidden and collapsing activity just
20261 happened.
20262
20263 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
20264
20265 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
20266 tracking (Bug#9541).
20267
20268 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
20269
20270 * net/newst-reader.el (newsticker-html-renderer)
20271 (newsticker-show-news): Automatically load html rendering package
20272 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
20273 because w3m-fill-column is let-bound" and the error "Symbol's value
20274 as variable is void: w3m-fill-column".
20275
20276 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
20277
20278 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
20279 Release services only if they are defined. (Bug#9581)
20280
20281 2011-09-23 Richard Stallman <rms@gnu.org>
20282
20283 * textmodes/paragraphs.el (forward-sentence): For backwards case,
20284 distinguish start of paragraph from start of its text.
20285
20286 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
20287
20288 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
20289 (rmail-generate-viewer-buffer): Put that hook on view buffer.
20290 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
20291
20292 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
20293
20294 * international/mule-diag.el (mule-diag): Insert a newline after
20295 each fontset description.
20296
20297 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20298
20299 * simple.el (delete-trailing-whitespace):
20300 Document last change; simplify.
20301
20302 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
20303
20304 * simple.el (delete-trailing-whitespace): Also delete
20305 extra newlines at the end of the buffer.
20306
20307 * textmodes/picture.el: Make motion commands obey shift-select-mode.
20308 (picture-newline): Use forward-line so as to ignore fields.
20309
20310 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20311
20312 * subr.el (with-wrapper-hook): Fix edebug spec.
20313
20314 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
20315
20316 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
20317 (bug#4538).
20318
20319 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
20320
20321 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
20322 Fix nasty bug using wrong cached values.
20323
20324 2011-09-23 Alan Mackenzie <acm@muc.de>
20325
20326 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
20327
20328 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
20329
20330 * window.el (pop-to-buffer): Ensure right window is selected if we
20331 chose another frame.
20332
20333 2011-09-22 Eli Zaretskii <eliz@gnu.org>
20334
20335 * simple.el (what-cursor-position): Use get-char-property-change
20336 and next-single-char-property-change, to be able to show display
20337 properties that come from overlays as well as text properties.
20338
20339 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
20340
20341 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
20342
20343 * cmuscheme.el (run-scheme, switch-to-scheme):
20344 * cus-edit.el (customize-group, custom-buffer-create)
20345 (customize-browse):
20346 * info.el (info):
20347 * shell.el (shell):
20348 * mail/sendmail.el (mail):
20349 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
20350
20351 2011-09-22 Richard Stallman <rms@gnu.org>
20352
20353 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
20354 move back only to line beg, don't move back over blank lines.
20355
20356 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
20357
20358 * files.el (copy-directory): Set directory attributes only in case
20359 they could be retrieved from the source directory. (Bug#9565)
20360
20361 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
20362
20363 * progmodes/hideshow.el (hs-looking-at-block-start-p)
20364 (hs-find-block-beginning, hs-hide-level-recursive):
20365 Ignore strings as well as comments. (Bug#9502)
20366
20367 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
20368
20369 * progmodes/sql.el (sql-comint-postgres):
20370 Convert port number to a string. (Bug#9566)
20371
20372 2011-09-22 Martin Rudalics <rudalics@gmx.at>
20373
20374 * window.el (quit-window): Undedicate window when switching to
20375 previous buffer. Reported by Thierry Volpiatto
20376 <thierry.volpiatto@gmail.com>.
20377 (special-display-popup-frame): When popping up a new frame reset
20378 its previous buffers to nil. Simplify code.
20379
20380 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
20381
20382 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
20383 and process filter, as done also in `shell-command'.
20384
20385 2011-09-21 Martin Rudalics <rudalics@gmx.at>
20386
20387 * window.el (set-window-buffer-start-and-point):
20388 Call set-window-start with NOFORCE argument t.
20389 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20390 (quit-window): Reword doc-string. Handle new format of
20391 quit-restore parameter. Don't delete window if it has a
20392 previous buffer we can show instead of the present one.
20393 (display-buffer-record-window): Rewrite using a new format for
20394 the quit-restore window parameter
20395 (special-display-popup-frame, display-buffer-same-window)
20396 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20397 (display-buffer-pop-up-window, display-buffer-use-some-window):
20398 Adapt symbol passed to display-buffer-record-window.
20399 * help.el (help-window-setup): Handle new format of quit-restore
20400 parameter.
20401
20402 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
20403
20404 * faces.el (face-list): Fix docstring (bug#9564).
20405
20406 * window.el (display-buffer--action-function-custom-type):
20407 Don't include internal functions in the Custom interface.
20408
20409 2011-09-20 Juri Linkov <juri@jurta.org>
20410
20411 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
20412 (Info-forward-node, Info-backward-node, Info-next-preorder)
20413 (Info-last-preorder): Use it. (Bug#9528)
20414
20415 2011-09-20 Juri Linkov <juri@jurta.org>
20416
20417 * info.el (Info-last-preorder): Visit last menu item only when
20418 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
20419
20420 2011-09-20 Julien Danjou <julien@danjou.info>
20421
20422 * password-cache.el (password-cache-remove): Remove entries even if the
20423 value is nil, so that password with a nil value (negative caching) is
20424 possible to invalidate.
20425
20426 2011-09-20 Lawrence Mitchell <wence@gmx.li>
20427
20428 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
20429 all whitespace around breakpoint. (Bug#9553)
20430 (f90-find-breakpoint): Only break at whitespace inside a comment.
20431
20432 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
20433
20434 * minibuffer.el (completion-file-name-table): Keep track of errors.
20435 (completion-table-with-predicate): Handle the case where pred1 is nil.
20436 * pcomplete.el (pcomplete-completions-at-point): Simplify.
20437
20438 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20439
20440 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
20441 (debugger-return-value): Signal an error if the debugging context does
20442 not await any return value.
20443
20444 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
20445 * image-mode.el (image-toggle-display-text)
20446 (image-toggle-display-image): Stay away from evil `intangible'.
20447
20448 2011-09-19 Leo Liu <sdl.web@gmail.com>
20449
20450 * replace.el (occur-revert-arguments): Make it permanent-local.
20451 (occur-mode): Don't call font-lock-defontify.
20452
20453 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
20454
20455 * net/ldap.el (ldap-search-internal): Don't push empty search
20456 result (Bug#9508).
20457
20458 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20459
20460 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
20461
20462 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
20463
20464 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
20465 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
20466
20467 2011-09-18 Juri Linkov <juri@jurta.org>
20468
20469 * buff-menu.el (Buffer-menu-mode-map):
20470 * dired.el (dired-mode-map):
20471 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
20472 (lisp-interaction-mode-map):
20473 * emacs-lisp/package.el (package-menu-mode-map):
20474 * epa.el (epa-key-list-mode-map):
20475 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
20476 (menu-bar-options-menu):
20477 * outline.el (outline-mode-menu-bar-map):
20478 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
20479 * vc/vc-dir.el (vc-dir-menu-map):
20480 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
20481 Capitalize non-function content words in menu item strings.
20482
20483 * dired.el (dired-mode-map): Add menu item for
20484 `image-dired-dired-toggle-marked-thumbs'.
20485
20486 2011-09-18 Juri Linkov <juri@jurta.org>
20487
20488 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
20489 to `isearch-case-fold-search' and restore its original value
20490 after the `isearch-mode' call.
20491
20492 2011-09-18 Juri Linkov <juri@jurta.org>
20493
20494 * progmodes/grep.el (grep-process-setup): Don't check code for 1
20495 because `zgrep' returns 1 for successful matches (bug#9226).
20496
20497 2011-09-18 Juri Linkov <juri@jurta.org>
20498
20499 * info.el (Info-extract-menu-node-name): Check the second match
20500 for empty string (second test-case of bug#9528).
20501 (Info-last-preorder): Let-bind `Info-history' to nil to not add
20502 intermediate nodes to the history (first test-case of bug#9528).
20503
20504 2011-09-18 Juri Linkov <juri@jurta.org>
20505
20506 * info.el (Info-mode-syntax-table): New variable.
20507 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
20508
20509 2011-09-18 Juri Linkov <juri@jurta.org>
20510
20511 * info.el (Info-file-supports-index-cookies):
20512 Increment line-beginning-position's arg from 3 to 4 because makeinfo
20513 outputs one more line for long file names (bug#4142).
20514
20515 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20516
20517 * newcomment.el (comment-normalize-vars): If prompting for
20518 comment-start, set comment-start-skip too (Bug#8424).
20519
20520 2011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
20521
20522 * icomplete.el: Fix previous fix of Bug#5849.
20523 (icomplete-mode): Don't set completion-show-inline-help.
20524 (icomplete-minibuffer-setup): Set completion-show-inline-help
20525 locally during icompletion.
20526
20527 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20528
20529 * woman.el (woman2-process-escapes): Don't delete unrecognized
20530 escapes (Bug#7843).
20531
20532 * files.el (inhibit-first-line-modes-regexps): Add image files.
20533 (hack-local-variables-prop-line): Return nil for malformed
20534 prop-lines (Bug#9044).
20535
20536 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
20537
20538 * net/tramp.el (top): Don't require 'shell.
20539 (tramp-methods): Fix docstring.
20540 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
20541 Return complete remote file name. Handle "smb" case.
20542 Use `tramp-tmpdir', if defined for the respective method.
20543 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
20544
20545 * net/tramp-compat.el (top): Require 'shell.
20546
20547 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20548 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
20549 `tramp-current-host'.
20550 (tramp-get-remote-tmpdir): Remove.
20551
20552 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
20553 `tramp-tmpdir' entries.
20554 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
20555 (tramp-smb-handle-file-attributes): Ignore errors.
20556 (tramp-smb-wait-for-output): Check also for process end.
20557
20558 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
20559
20560 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
20561 when sending QUIT (bug#9312).
20562
20563 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
20564
20565 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
20566 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
20567 occur-mode-display-occurrence.
20568 (occur-edit-mode): Add usage message.
20569 (occur-cease-edit): New command.
20570 (occur-after-change-function): Use text properties to find the
20571 position of the prefix text.
20572 (occur-engine): Set stickiness of prefix text properties.
20573
20574 2011-09-17 Glenn Morris <rgm@gnu.org>
20575
20576 * progmodes/etags.el (complete-tag):
20577 Fix call to completion-in-region. (Bug#9526)
20578
20579 2011-09-17 Juri Linkov <juri@jurta.org>
20580
20581 * textmodes/ispell.el (ispell-word): Add to the error message
20582 the word, ispell program name and current dictionary (bug#9121).
20583 (ispell-tex-arg-end): Capitalize "error" in the error message.
20584
20585 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
20586
20587 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
20588 check. (Bug#4251)
20589
20590 2011-09-17 Juri Linkov <juri@jurta.org>
20591
20592 * window.el (window-safe-min-height, window-safe-min-width):
20593 Fix typos (followup to bug#9522).
20594
20595 2011-09-17 Sven Joachim <svenjoac@gmx.de>
20596
20597 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
20598
20599 2011-09-16 Eli Zaretskii <eliz@gnu.org>
20600
20601 * simple.el (line-move): If goal-column is set, move by logical
20602 lines, not by display lines. (Bug#971)
20603 (next-line, previous-line, goal-column, line-move-visual): Doc fix
20604 to reflect the above change.
20605
20606 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
20607
20608 * image.el (imagemagick-register-types): Use regexp-opt.
20609
20610 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20611
20612 * window.el (display-buffer-base-action): Rename from
20613 display-buffer-default-action. Make default value empty.
20614 (display-buffer-overriding-action): Convert to defvar.
20615 (display-buffer-fallback-action): New var.
20616
20617 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20618
20619 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
20620 declaration.
20621 (package--add-to-archive-contents): If there is a duplicate entry
20622 with an older version, remove it.
20623 (package-menu-mark-delete, package-menu-mark-install)
20624 (package-menu-mark-unmark): Make unused args optional.
20625 (package-menu-mark-obsolete-for-deletion):
20626 Use package-menu-get-status instead of a regexp search.
20627 (package-menu-get-status): Use tabulated-list-entry.
20628 (package-menu-mark-upgrades): New command.
20629 (package-menu-mode-map): Bind it to U. Add it to menu bar.
20630 (package-menu-execute): Do installation before deletion.
20631 (package-menu-refresh, package-menu-execute): Use derived-mode-p
20632 instead of checking major-mode.
20633 (package-menu--find-upgrades): New function.
20634
20635 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20636
20637 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
20638 passwords in the log buffer.
20639 (smtpmail-process-filter): Update the process marker so that the
20640 "broken by peer" status message is inserted in the right place.
20641
20642 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
20643
20644 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
20645 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
20646 bibtex-completion-at-point-function.
20647 (bibtex-completion-at-point-function): Use them.
20648
20649 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
20650
20651 * mpc.el (mpc-constraints-tag-lookup): New function.
20652 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
20653 also to browser "album|playlist".
20654
20655 2011-09-14 Juri Linkov <juri@jurta.org>
20656
20657 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
20658 (isearch-edit-string): Use length of `isearch-string' when
20659 `isearch-fail-pos' returns nil.
20660 (isearch-message): Remove duplicate code and call
20661 `isearch-fail-pos' with arg `t'.
20662
20663 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
20664
20665 * replace.el (occur-mode-goto-occurrence): Don't force using other
20666 window (Bug#9499).
20667
20668 * dired-aux.el (dired-do-chmod): Don't provide initial input.
20669
20670 2011-09-14 Martin Rudalics <rudalics@gmx.at>
20671
20672 * window.el (display-buffer-window): Remove.
20673 (display-buffer-record-window): Use help-setup window parameter
20674 instead of variable display-buffer-window.
20675 (display-buffer-function, special-display-buffer-names)
20676 (special-display-function): Mention help-setup parameter instead
20677 of display-buffer-window in doc-string.
20678 * help.el (help-window-setup): New argument help-window.
20679 Use help-window-setup parameter instead of display-buffer-window.
20680 Reword some messages.
20681 (with-help-window): Pass window used for displaying the buffer
20682 to help-window-setup. Don't set display-buffer-window.
20683
20684 2011-09-13 Glenn Morris <rgm@gnu.org>
20685
20686 * emacs-lisp/debug.el (debugger-make-xrefs):
20687 Preserve point. (Bug#9462)
20688
20689 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20690
20691 * window.el (window-deletable-p): Use next-frame.
20692
20693 2011-09-13 Martin Rudalics <rudalics@gmx.at>
20694
20695 * window.el (window-auto-delete): Remove.
20696 (window-deletable-p): Remove argument FORCE. Don't deal with
20697 dedication and previous buffers.
20698 (switch-to-prev-buffer): Don't delete window.
20699 (delete-windows-on): Delete a window's frame if and only if the
20700 window is dedicated.
20701 (replace-buffer-in-windows): Delete buffer's window or frame if
20702 and only if window is dedicated.
20703 (quit-window): Handle quit-restore as before last change.
20704 (bury-buffer): Delete window only if window-deletable-p returns t.
20705
20706 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20707
20708 * window.el (window-deletable-p): Never delete the last frame on a
20709 given terminal.
20710
20711 2011-09-13 Glenn Morris <rgm@gnu.org>
20712
20713 * help.el (describe-key-briefly): Copy previous standard-output change.
20714
20715 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
20716
20717 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
20718
20719 2011-09-13 Glenn Morris <rgm@gnu.org>
20720
20721 * emacs-lisp/lisp-mode.el (lisp-indent-function):
20722 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
20723
20724 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
20725
20726 * dired-aux.el (dired-mark-read-string): Don't return default
20727 value on empty input (Bug#9361).
20728 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
20729 Omit initial minibuffer contents.
20730 (dired-do-chmod): Signal an error on empty input.
20731 (dired-mark-read-string): Don't return default on empty input.
20732
20733 * files.el (file-modes-symbolic-to-number): Doc fix.
20734
20735 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20736
20737 * international/mule-cmds.el (ucs-completions): Remove.
20738 (read-char-by-name): Use complete-with-action instead; add metadata.
20739
20740 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20741
20742 * window.el (display-buffer--action-function-custom-type)
20743 (display-buffer--action-custom-type): New vars.
20744 (display-buffer-alist, display-buffer-default-action)
20745 (display-buffer-overriding-action): Add defcustom types.
20746
20747 * frame.el (delete-other-frames): Doc fix (Bug#276).
20748
20749 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20750
20751 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
20752
20753 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20754
20755 Change modes that used same-window-* vars to use switch-to-buffer.
20756
20757 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
20758 Use switch-to-buffer.
20759
20760 * cus-edit.el (customize-group, custom-buffer-create)
20761 (customize-browse, custom-buffer-create-other-window):
20762 Use switch-to-buffer or switch-to-buffer-other-window.
20763
20764 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
20765 (Info-prev, Info-up, Info-speedbar-goto-node)
20766 (info-display-manual): Use switch-to-buffer.
20767 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
20768
20769 * mail/sendmail.el (mail): Use switch-to-buffer.
20770 (mail-recover): Use switch-to-buffer-other-window.
20771
20772 * cmuscheme.el (run-scheme, switch-to-scheme):
20773 * ielm.el (ielm):
20774 * shell.el (shell):
20775 * net/rlogin.el (rlogin):
20776 * net/telnet.el (telnet, rsh):
20777 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
20778
20779 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20780
20781 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
20782
20783 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20784
20785 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
20786 so don't mention it (bug#9301).
20787 (dired-sort-toggle-or-edit): Clarify string further.
20788
20789 * faces.el (face-spec-set-match-display): Make `(type graphic)'
20790 match `x', `w32' and `ns', like the manual says (bug#9029).
20791
20792 * subr.el (eval-after-load): Doc string clarification (bug#9125).
20793 (process-kill-buffer-query-function): Mention the buffer name in
20794 the query.
20795
20796 * image-mode.el (image-next-line): The line parameter is mandatory
20797 (bug#9258).
20798
20799 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
20800 which can be useful (bug#9301).
20801
20802 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
20803
20804 * subr.el (match-string): Mention that the current buffer should
20805 be the same as the search was done in (bug#9282).
20806
20807 * facemenu.el: Disable the remove-* commands if the mark isn't
20808 active (bug#9162).
20809
20810 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20811
20812 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
20813 of display-buffer.
20814 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
20815
20816 * replace.el (occur-mode-goto-occurrence)
20817 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
20818 and display-buffer.
20819
20820 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
20821 display-buffer.
20822
20823 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
20824 special-display and same-window variables.
20825 (mail-other-window): Use switch-to-buffer-other-window.
20826 (mail-other-frame): USe switch-to-buffer-other-frame.
20827
20828 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
20829 Use display-buffer-other-frame.
20830 (gdb-display-gdb-buffer): Use pop-to-buffer.
20831
20832 * progmodes/gud.el (gud-goto-info): Use info-other-window.
20833
20834 * progmodes/python.el: Don't set same-window-buffer-names.
20835
20836 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
20837
20838 * window.el (display-buffer-alist): Add *Python*.
20839
20840 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20841
20842 * window.el (display-buffer-alist): Add entry for buffers
20843 previously handled same-window-*.
20844 (display-buffer-alist, display-buffer-default-action)
20845 (display-buffer-overriding-action): Mark as risky.
20846 (display-buffer-alist): Document action function changes.
20847 (display-buffer--same-window-action)
20848 (display-buffer--other-frame-action): New variables.
20849 (switch-to-buffer, display-buffer-other-frame): Use them.
20850 (display-buffer): Rename reuse-frame entry to reusable-frames.
20851 (display-buffer-reuse-selected-window): Function deleted.
20852 (display-buffer-reuse-window): Handle reusable-frames alist entry.
20853 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
20854 (display-buffer-special): New function.
20855 (display-buffer--maybe-pop-up-frame-or-window): Rename from
20856 display-buffer-reuse-or-pop-window. Split off special-display
20857 part into display-buffer-special.
20858 (display-buffer-use-some-window): Don't perform any special
20859 pop-up-frames handling.
20860 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
20861 (display-buffer--maybe-same-window): Rename from
20862 display-buffer-maybe-same-window.
20863
20864 * info.el: Don't set same-window-regexps.
20865 (info-setup): New function.
20866 (info-other-window, info): Call it.
20867
20868 * cus-edit.el: Don't set same-window-regexps.
20869 (customize-group): New argument.
20870 (customize-group-other-window): Use it.
20871 (customize-face, customize-face-other-window): Likewise.
20872 (custom-buffer-create-other-window): Use pop-to-buffer directly.
20873
20874 * net/rlogin.el:
20875 * net/telnet.el:
20876 * progmodes/gud.el: Don't set same-window-regexps.
20877
20878 * cmuscheme.el:
20879 * ielm.el:
20880 * shell.el:
20881 * mail/sendmail.el:
20882 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
20883
20884 2011-09-10 Juri Linkov <juri@jurta.org>
20885
20886 * isearch.el (isearch-edit-string): Remove obsolete mention of
20887 `C-w' (`isearch-yank-word-or-char') from docstring.
20888 (isearch-query-replace): Fix typo in docstring (bug#9466).
20889
20890 2011-09-10 Juri Linkov <juri@jurta.org>
20891
20892 * paren.el (show-paren-function): Don't show escaped parens.
20893 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
20894
20895 2011-09-10 Eli Zaretskii <eliz@gnu.org>
20896
20897 * mail/sendmail.el (mml-to-mime, mml-attach-file)
20898 (mm-default-file-encoding): Remove autoload forms, they are
20899 replaced with autoload cookies in mml.el and mm-encode.el.
20900 (mail-add-attachment): New command.
20901 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
20902 (mail-mode): Mention mail-insert-file and mail-add-attachment in
20903 the doc string.
20904 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
20905
20906 2011-09-10 Reuben Thomas <rrt@sc3d.org>
20907
20908 * simple.el (count-words-region): Use buffer if there's no region
20909 (bug#9429).
20910
20911 2011-09-09 Juri Linkov <juri@jurta.org>
20912
20913 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
20914 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
20915 (wdired-isearch-filter-read-only): New function. (Bug#6362)
20916
20917 2011-09-09 Alan Mackenzie <acm@muc.de>
20918
20919 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
20920 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
20921
20922 2011-09-09 Eli Zaretskii <eliz@gnu.org>
20923
20924 Fix for Savannah bug#9392.
20925 * simple.el (mail-encode-mml): New defvar.
20926
20927 * mail/rmail.el (mail-encode-mml): Add a defvar.
20928 (rmail-enable-mime-composing): Default to t.
20929 (rmail-forward): Use MIME method of forwarding only if both
20930 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
20931 Set mail-encode-mml non-nil if the MIME method was used.
20932
20933 * mail/sendmail.el (mml-to-mime): Add autoload form.
20934 (mail-encode-mml): Add a defvar.
20935 (mail-mode): Make mail-encode-mml buffer-local and initialize it
20936 to nil.
20937 (mail-send): If mail-encode-mml is non-nil, run the outgoing
20938 message through mml-to-mime, and reset mail-encode-mml to nil.
20939
20940 2011-09-09 Glenn Morris <rgm@gnu.org>
20941
20942 * woman.el (woman-if-body): When processing an .el block,
20943 do not delete the next .el block as well. (Bug#9447)
20944 (woman-special-characters): Add oq, cq, and hy characters.
20945
20946 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20947
20948 * window.el (window-deletable-p): Make sure window is live before
20949 invoking window-prev-buffers.
20950
20951 2011-09-08 Leo Liu <sdl.web@gmail.com>
20952
20953 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
20954
20955 2011-09-08 Juri Linkov <juri@jurta.org>
20956
20957 * progmodes/compile.el (compilation-environment): Make it
20958 a defcustom (bug#8340).
20959
20960 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20961
20962 * window.el (frame-auto-delete): Rename to window-auto-delete.
20963 Make it control auto-deletion of windows and/or frames.
20964 (window-deletable-p): New argument FORCE. Rewrite conditions
20965 for deleting window/frame. (Bug#9419)
20966 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
20967 Rewrite handling of case when window/frame can be deleted.
20968 (delete-windows-on): Call window-deletable-p with new FORCE
20969 argument t. (Bug#9456)
20970
20971 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
20972
20973 * help-mode.el (help-mode): Restore autoload.
20974
20975 2011-09-07 Juri Linkov <juri@jurta.org>
20976
20977 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
20978 `compilation-environment'. Set buffer-local
20979 `compilation-environment' to `thisenv' later after (funcall mode).
20980 (Bug#8340)
20981
20982 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
20983 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
20984 instead of replacing its value. (Bug#8340)
20985
20986 2011-09-07 Juri Linkov <juri@jurta.org>
20987
20988 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
20989 based on text properties put by `grep-filter' instead of matching
20990 escape sequences.
20991 (grep-mode): Set buffer-local `compilation-error-screen-columns'
20992 to the value of `grep-error-screen-columns' (bug#9438).
20993
20994 2011-09-07 Juri Linkov <juri@jurta.org>
20995
20996 * simple.el (next-error-highlight, next-error-highlight-no-select):
20997 Doc fix (bug#9432).
20998
20999 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
21000
21001 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21002 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
21003
21004 2011-09-07 Leo Liu <sdl.web@gmail.com>
21005
21006 * net/rcirc.el (rcirc-mode): Conditionally initialize
21007 rcirc-input-ring.
21008
21009 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
21010
21011 * emacs-lisp/find-func.el (find-function-C-source): Only set
21012 find-function-C-source-directory after checking that we found a source
21013 file there (bug#9440).
21014
21015 2011-09-06 Alan Mackenzie <acm@muc.de>
21016
21017 * isearch.el (isearch-other-meta-char): Wherever a key list is
21018 unread, "unread" the prefix arg, too. This fixes bug #8901.
21019
21020 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
21021
21022 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
21023
21024 2011-09-05 Juri Linkov <juri@jurta.org>
21025
21026 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
21027
21028 2011-09-05 Juri Linkov <juri@jurta.org>
21029
21030 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
21031 keeping point where processing of grep matches begins, and
21032 continue to delete remaining escape sequences from the same point.
21033 (grep-filter): Make leading zero optional in "0?1;31m" because
21034 git-grep emits "\033[1;31m" escape sequences unlike expected
21035 "\033[01;31m" as GNU Grep does (bug#9408).
21036 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
21037
21038 2011-09-05 Juri Linkov <juri@jurta.org>
21039
21040 * subr.el (y-or-n-p): Capitalize "yes".
21041
21042 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
21043
21044 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
21045 `tramp-cache-unload-hook' where appropriate.
21046 (tramp-methods): Rename `tramp-remote-sh' to
21047 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
21048 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
21049
21050 * net/tramp-sh.el (top): Don't require 'shell.
21051 (tramp-methods): Add `tramp-remote-shell' and
21052 `tramp-remote-shell-args' entries.
21053 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
21054 (tramp-sh-handle-shell-command): Remove.
21055 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21056 Use `tramp-remote-shell'.
21057
21058 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
21059
21060 * mail/sendmail.el (sendmail-query-once-function): Delete.
21061 (sendmail-query-once): Save directly to send-mail-function.
21062 Update message-send-mail-function too.
21063
21064 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
21065
21066 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21067
21068 * progmodes/python.el (python-mode-map): Use correct function to
21069 start python interpreter from menu-bar (as reported by Geert
21070 Kloosterman).
21071 (inferior-python-mode-map): Fix typo.
21072 (python-shell-map): Remove.
21073
21074 2011-09-03 Deniz Dogan <deniz@dogan.se>
21075
21076 * net/rcirc.el (rcirc-print): Simplify code for
21077 rcirc-scroll-show-maximum-output. There is no need to walk
21078 through all windows to find the right one.
21079
21080 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21081
21082 * help.el (help-return-method): Doc fix.
21083
21084 2011-09-03 Martin Rudalics <rudalics@gmx.at>
21085
21086 * window.el (window-deletable-p): Don't return a non-nil value
21087 when there's a buffer that was shown in the window before.
21088 (Bug#9419)
21089 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
21090 Set window's previous buffers to nil.
21091
21092 2011-09-03 Eli Zaretskii <eliz@gnu.org>
21093
21094 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
21095 newline before and after the tag line, so it doesn't interfere
21096 with determining the paragraph direction of bidirectional text.
21097
21098 2011-09-03 Leo Liu <sdl.web@gmail.com>
21099
21100 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
21101
21102 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21103
21104 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
21105 (pop-to-buffer): Change interactive spec. Pass second argument
21106 directly to display-buffer.
21107 (display-buffer): Fix interactive spec. Use functionp to
21108 distinguish between a function and a list of functions.
21109
21110 * abbrev.el (edit-abbrevs):
21111 * arc-mode.el (archive-extract):
21112 * autoinsert.el (auto-insert):
21113 * bookmark.el (bookmark-bmenu-list):
21114 * files.el (find-file):
21115 * view.el (view-buffer):
21116 * progmodes/compile.el (compilation-goto-locus):
21117 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
21118
21119 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21120
21121 * window.el (display-buffer-alist): Doc fix.
21122 (display-buffer): Add docstring. Don't treat
21123 display-buffer-default specially.
21124 (display-buffer-reuse-selected-window)
21125 (display-buffer-same-window, display-buffer-maybe-same-window)
21126 (display-buffer-reuse-window, display-buffer-pop-up-frame)
21127 (display-buffer-pop-up-window)
21128 (display-buffer-reuse-or-pop-window)
21129 (display-buffer-use-some-window): New functions.
21130 (display-buffer-default-action): Use them.
21131 (display-buffer-default): Delete.
21132 (pop-to-buffer-1): Fix choice of actions.
21133
21134 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
21135
21136 * minibuffer.el (completion--insert-strings): Don't get confused by
21137 completion entries that end with an LF char.
21138
21139 2011-09-01 Eli Zaretskii <eliz@gnu.org>
21140
21141 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
21142
21143 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
21144
21145 * window.el (display-buffer): Restore interactive spec.
21146 (display-buffer-same-window, display-buffer-other-window):
21147 New functions.
21148 (pop-to-buffer-1): New function. Use the above.
21149 (pop-to-buffer, pop-to-buffer-same-window): Use it.
21150 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
21151
21152 * view.el (view-buffer-other-window, view-buffer-other-frame):
21153 Just use pop-to-buffer.
21154
21155 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
21156
21157 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
21158
21159 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
21160
21161 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
21162
21163 2011-08-31 Richard Stallman <rms@gnu.org>
21164
21165 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
21166 of the separation of rmail-view-buffer from rmail-buffer.
21167 If you say no to "replace original", the decrypt is in the
21168 view buffer. If you say yes, the decrypt goes into the
21169 rmail buffer also.
21170
21171 2011-08-31 Martin Rudalics <rudalics@gmx.at>
21172
21173 * window.el (display-buffer-window): Rewrite doc-string.
21174 (display-buffer-record-window): New function.
21175 (display-buffer-macro-specifiers)
21176 (display-buffer-even-window-sizes, display-buffer-set-height)
21177 (display-buffer-set-width, display-buffer-in-window)
21178 (display-buffer-reuse-window, display-buffer-split-specifiers)
21179 (display-buffer-side-specifiers, display-buffer-split-window-1)
21180 (display-buffer-split-window, display-buffer-split-atom-window)
21181 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21182 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
21183 (display-buffer-other-window-means-other-frame)
21184 (display-buffer-normalize-special)
21185 (display-buffer-normalize-default)
21186 (display-buffer-normalize-argument)
21187 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
21188 (display-buffer-normalize-specifiers, display-buffer-frame)
21189 (display-buffer-same-window, display-buffer-same-frame)
21190 (display-buffer-other-window)
21191 (display-buffer-same-frame-other-window)
21192 (display-buffer-other-frame, pop-to-buffer-same-window)
21193 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
21194 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
21195 (switch-to-buffer-same-frame)
21196 (switch-to-buffer-other-window-same-frame)
21197 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
21198 (display-buffer-alist-set-1, display-buffer-alist-set-2)
21199 (display-buffer-alist-set): Remove.
21200 (display-buffer-function, special-display-buffer-names)
21201 (special-display-regexps, special-display-function):
21202 In doc-string refer to display-buffer-window and quit-restore
21203 parameter.
21204 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
21205 (special-display-frame-alist, special-display-popup-frame)
21206 (same-window-buffer-names, same-window-regexps, same-window-p)
21207 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21208 (split-window-preferred-function, split-height-threshold)
21209 (split-width-threshold, window-splittable-p)
21210 (split-window-sensibly, window--try-to-split-window)
21211 (window--frame-usable-p, even-window-heights)
21212 (window--even-window-heights, window--display-buffer-1)
21213 (window--display-buffer-2, display-buffer-other-frame):
21214 Restore old Emacs 23 code, order and doc-strings where applicable.
21215 (display-buffer-default, display-buffer-assq-regexp): New functions.
21216 (display-buffer-alist): Rewrite doc-string.
21217 (display-buffer-default-action)
21218 (display-buffer-overriding-action): New variables.
21219 (display-buffer, switch-to-buffer): Rewrite.
21220 (pop-to-buffer): Restore Emacs 23 behavior but use
21221 window-normalize-buffer-to-display.
21222 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
21223 Restore Emacs 23 behavior but use
21224 window-normalize-buffer-to-switch-to.
21225 (pop-to-buffer-same-window): Rewrite.
21226 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
21227 Rewrite using Emacs 23 options.
21228
21229 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
21230
21231 * net/tramp.el (tramp-root-regexp): Remove.
21232 (tramp-completion-file-name-regexp-unified)
21233 (tramp-completion-file-name-regexp-separate)
21234 (tramp-completion-file-name-regexp-url): Don't use leading volume
21235 letter on w32 systems. (Bug#5303, Bug#9311)
21236 (tramp-drop-volume-letter): Simplify definition.
21237 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
21238
21239 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
21240
21241 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
21242 (bug#9356).
21243
21244 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
21245
21246 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
21247
21248 2011-08-29 Juri Linkov <juri@jurta.org>
21249
21250 * isearch.el (isearch-done): Don't display message "Mark saved"
21251 when arg `edit' is non-nil to prevent its flicker in the echo area.
21252
21253 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21254
21255 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
21256 obsolete packages for deletion.
21257
21258 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
21259
21260 * help-mode.el (help-mode-map): Add special-mode-map to parent.
21261 (help-mode): Derive help-mode from special-mode. Don't invoke
21262 view-mode from help-mode.
21263 (help-xref-override-view-map): Remove.
21264 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
21265 view-mode is not used anymore.
21266
21267 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21268
21269 * server.el (server-port): Doc fix.
21270
21271 * cus-theme.el (custom-theme-choose-mode): Inherit from
21272 special-mode (Bug#9124).
21273 (custom-theme-choose-mode-map): Add special-mode to parent.
21274
21275 2011-08-28 Alan Mackenzie <acm@muc.de>
21276
21277 * progmodes/cc-fonts.el
21278 (c-make-font-lock-BO-decl-search-function): New function.
21279 (c-basic-matchers-after - "Fontify the clauses after various
21280 keywords"): Extract the three keyword lists for the 3 erroneous
21281 constructs from the list of four, and use the new function above
21282 in place of an old one.
21283
21284 2011-08-28 Deniz Dogan <deniz@dogan.se>
21285
21286 * net/rcirc.el (rcirc-insert-prev-input)
21287 (rcirc-insert-next-input): Remove unused argument.
21288
21289 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21290
21291 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
21292
21293 2011-08-27 Alan Mackenzie <acm@muc.de>
21294
21295 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
21296 handle function pointer parameters properly.
21297
21298 2011-08-27 Martin Rudalics <rudalics@gmx.at>
21299
21300 * window.el (display-buffer-reuse-window): Fix case where
21301 selected window was reused with non-nil OTHER-WINDOW argument.
21302 (Bug#9381)
21303
21304 2011-08-27 Deniz Dogan <deniz@dogan.se>
21305
21306 * net/rcirc.el (rcirc-check-auth-status): Adding support for
21307 oftc's NickServ messages.
21308
21309 2011-08-27 Glenn Morris <rgm@gnu.org>
21310
21311 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
21312
21313 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
21314
21315 * emacs-lisp/package.el (package-install): Call package-initialize
21316 if called interactively.
21317
21318 2011-08-26 Leo Liu <sdl.web@gmail.com>
21319
21320 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
21321
21322 2011-08-25 Juri Linkov <juri@jurta.org>
21323
21324 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
21325 `search-whitespace-regexp' (bug#9364).
21326
21327 2011-08-25 Juri Linkov <juri@jurta.org>
21328
21329 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
21330 `regexp-search-ring' to their global values to protect from
21331 updating by `read-from-minibuffer' (bug#9185).
21332
21333 2011-08-25 Juri Linkov <juri@jurta.org>
21334
21335 * textmodes/ispell.el (ispell-command-loop): Add newline
21336 at the end of the "Use option `i'..." line.
21337
21338 2011-08-25 Juri Linkov <juri@jurta.org>
21339
21340 * battery.el (display-battery-mode): If `battery-status-function'
21341 or `battery-mode-line-format' is nil, display the message and set
21342 `display-battery-mode' to nil (bug#9363).
21343
21344 2011-08-25 Eli Zaretskii <eliz@gnu.org>
21345
21346 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
21347 bidi-string-mark-left-to-right; they are unnecessary now.
21348
21349 2011-08-25 Deniz Dogan <deniz@dogan.se>
21350
21351 * net/quickurl.el: Documentation typo fixes.
21352
21353 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
21354
21355 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
21356
21357 2011-08-25 Glenn Morris <rgm@gnu.org>
21358
21359 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
21360
21361 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
21362 (smtpmail-via-smtp): Handle nil response from smtp.
21363
21364 2011-08-24 Juri Linkov <juri@jurta.org>
21365
21366 * proced.el (proced-marked): Inherit from `error' instead of
21367 `font-lock-warning-face'.
21368
21369 * ibuffer.el (ibuffer-marked-face): Change default face from
21370 `font-lock-warning-face' to `warning'.
21371 (ibuffer-deletion-face): Change default face from
21372 `font-lock-type-face' to `error'.
21373
21374 * battery.el (battery-update): Use the face `error' instead of
21375 `font-lock-warning-face' (bug#6117).
21376
21377 2011-08-24 Juri Linkov <juri@jurta.org>
21378
21379 * faces.el (success): Change face color from "Green3" to
21380 "ForestGreen" on light background (bug#9353).
21381
21382 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
21383
21384 * window.el (quit-window): Rename from quit-restore-window.
21385 Use same arglist as old quit-window.
21386 (frame-auto-delete): Doc fix.
21387
21388 * view.el (view-mode-exit): Use quit-window.
21389
21390 2011-08-24 Juri Linkov <juri@jurta.org>
21391
21392 * isearch.el (isearch-ring-adjust1): Start visiting previous
21393 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
21394 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
21395 for empty search string (when the last search string is reused
21396 automatically) to adjust the isearch ring to the last element and
21397 prepare the correct index for further M-p commands (bug#9185).
21398
21399 2011-08-24 Kenichi Handa <handa@m17n.org>
21400
21401 * international/ucs-normalize.el: If decomposition property of
21402 CHAR is the default one (i.e. a list of CHAR itself), treat it as
21403 nil.
21404 (nfd, nfkd): Likewise.
21405
21406 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21407
21408 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
21409 from process filters aren't reliably transmitted to the surrounding
21410 accept-process-output.
21411 (mpc-proc-check): New function.
21412 (mpc-proc-sync): Use it (bug#8293)
21413
21414 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21415
21416 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
21417 Add compatibility functions (bug#9313).
21418
21419 2011-08-23 Eli Zaretskii <eliz@gnu.org>
21420
21421 * cus-start.el (all): Add entry for bidi-paragraph-direction.
21422
21423 * international/uni-bidi.el: Regenerate.
21424
21425 2011-08-23 Kenichi Handa <handa@m17n.org>
21426
21427 * international/charprop.el:
21428 * international/uni-bidi.el:
21429 * international/uni-category.el:
21430 * international/uni-combining.el:
21431 * international/uni-comment.el:
21432 * international/uni-decimal.el:
21433 * international/uni-decomposition.el:
21434 * international/uni-digit.el:
21435 * international/uni-lowercase.el:
21436 * international/uni-mirrored.el:
21437 * international/uni-name.el:
21438 * international/uni-numeric.el:
21439 * international/uni-old-name.el:
21440 * international/uni-titlecase.el:
21441 * international/uni-uppercase.el: Regenerate.
21442
21443 2011-08-23 Martin Rudalics <rudalics@gmx.at>
21444
21445 * help.el (help-window-setup): Fix message displayed when other
21446 window is reused. (Bug#9341)
21447
21448 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21449
21450 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
21451 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
21452
21453 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
21454 Mark obsolete.
21455 * shell.el (shell-parse-pcomplete-arguments): New function.
21456 (shell-completion-vars): Use it instead (bug#9160).
21457
21458 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
21459
21460 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
21461 strings and comments (bug#9333).
21462
21463 * emacs-lisp/debug.el (debug-arglist): New function.
21464 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
21465 (debug-on-entry-1): Handle interpreted closures (bug#9120).
21466
21467 2011-08-22 Juri Linkov <juri@jurta.org>
21468
21469 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21470 Revert regexp that highlights output switches to its old
21471 pre-2010-10-28 value and remove one `?' from it (bug#9319).
21472
21473 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
21474 to check for empty output (bug#9226).
21475
21476 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
21477
21478 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
21479 symbol-constituent as the default, as that stops font-lock from
21480 working properly (Bug#8843).
21481
21482 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21483
21484 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
21485 `coding-system-for-*' around the process open call to avoid
21486 auth-source side effects.
21487 (smtpmail-try-auth-methods): Expand the secret password.
21488 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
21489 probe hangs.
21490
21491 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21492
21493 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
21494
21495 * emacs-lisp/find-func.el (find-function-noselect): New arg
21496 lisp-only.
21497
21498 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
21499 signal an error for built-in functions (Bug#6664).
21500
21501 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21502
21503 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
21504 (smtpmail-try-auth-methods): Use it.
21505
21506 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21507
21508 * font-lock.el (font-lock-fontify-region)
21509 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
21510 (font-lock-default-unfontify-buffer)
21511 (font-lock-default-fontify-region)
21512 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
21513
21514 * progmodes/compile.el (compilation-error-properties):
21515 Fix confusion between file struct and message struct (Bug#9319).
21516 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
21517 `ant' regexp.
21518
21519 * net/browse-url.el (browse-url-firefox): Don't call
21520 browse-url-firefox-sentinel unless using -remote (Bug#9328).
21521
21522 2011-08-20 Glenn Morris <rgm@gnu.org>
21523
21524 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
21525
21526 * tutorial.el (tutorial--default-keys): Update some default bindings.
21527
21528 * files.el (hack-local-variables): Fully ignore case for "mode:".
21529
21530 2011-08-20 Alan Mackenzie <acm@muc.de>
21531
21532 Resolve invalid use of a regexp in regexp-opt.
21533
21534 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
21535 detection for a java annotation.
21536
21537 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
21538 detection for a java annotation.
21539
21540 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
21541 handling for java.
21542 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
21543
21544 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
21545
21546 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
21547 (Bug#9274).
21548
21549 2011-08-20 Alan Mackenzie <acm@muc.de>
21550
21551 Fontify CPP expressions correctly when starting in the middle of
21552 such a construct. Mainly for when jit-lock etc. starts a chunk
21553 here.
21554
21555 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
21556 variable.
21557 (c-make-font-lock-search-form): New function, extracted from
21558 c-make-font-lock-search-function.
21559 (c-make-font-lock-search-function): Use the above function.
21560 (c-make-font-lock-context-search-function): New function.
21561 (c-cpp-matchers): Enhance the preprocessor expression case with
21562 the above function
21563 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
21564 which takes an expression.
21565
21566 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
21567
21568 2011-08-20 Martin Rudalics <rudalics@gmx.at>
21569
21570 * window.el (display-buffer-reuse-window)
21571 (display-buffer-pop-up-window): Don't reuse or split a side
21572 window.
21573
21574 2011-08-19 Glenn Morris <rgm@gnu.org>
21575
21576 * files.el (hack-local-variables-prop-line, hack-local-variables):
21577 Downcase "Mode:". (Bug#9331)
21578
21579 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
21580
21581 * international/characters.el: Add L and R categories.
21582
21583 * subr.el (bidi-string-mark-left-to-right): Rename from
21584 string-mark-left-to-right. Use category search.
21585
21586 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
21587
21588 2011-08-18 Juri Linkov <juri@jurta.org>
21589
21590 * faces.el (error, warning, success): New faces with definitions
21591 copied from old default values of `font-lock-warning-face',
21592 `compilation-warning', `compilation-info' (bug#6117).
21593
21594 * font-lock.el (font-lock-warning-face): Inherit from `error'.
21595
21596 * progmodes/compile.el (compilation-error): Inherit from `error'.
21597 (compilation-warning): Inherit from `warning'.
21598 (compilation-info): Inherit from `success'.
21599
21600 * dired.el (dired-marked): Inherit from `warning'.
21601 (dired-flagged): Inherit from `error'.
21602
21603 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21604
21605 * mail/smtpmail.el (auth-source): Require to avoid problems with
21606 binding variables (bug#9298). Also clean up some unused
21607 autoloads.
21608
21609 * net/network-stream.el (network-stream-open-starttls):
21610 Support using starttls.el without using gnutls-cli.
21611
21612 2011-08-17 Juri Linkov <juri@jurta.org>
21613
21614 * progmodes/grep.el (rgrep): Handle the case when
21615 `grep-find-command' is a cons cell (bug#9278).
21616
21617 2011-08-17 Martin Rudalics <rudalics@gmx.at>
21618
21619 * window.el (display-buffer-pop-up-frame): Run frame creation
21620 function with BUFFER current (as special-display-popup-frame
21621 does). Reported by Drew Adams.
21622
21623 2011-08-17 Daiki Ueno <ueno@unixuser.org>
21624
21625 * epa-mail.el: Simplify GnuPG group expansion using
21626 epg-expand-group.
21627 (epa-mail-group-alist, epa-mail-group-modtime)
21628 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
21629 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
21630 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
21631 Remove.
21632
21633 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
21634
21635 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
21636
21637 2011-08-16 Alan Mackenzie <acm@muc.de>
21638
21639 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
21640 Correct, to avoid the inside of macros.
21641
21642 2011-08-16 Richard Stallman <rms@gnu.org>
21643
21644 * epa-mail.el: Handle GnuPG group definitions.
21645 (epa-mail-group-alist, epa-mail-group-modtime)
21646 (epa-mail-gnupg-conf-file): New variables.
21647 (epa-mail-parse-groups, epa-mail-sync-groups)
21648 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
21649 (epa-mail-expand-recipients): New functions.
21650 (epa-mail-encrypt): Call epa-mail-expand-recipients.
21651
21652 * mail/rmail.el (rmail-epa-decrypt): New command.
21653
21654 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
21655 Don't bind buffer-read-only, just inhibit-read-only.
21656 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
21657 (epa-decrypt-armor-in-region): Make error message clearer.
21658
21659 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
21660
21661 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
21662 and "a2b" to "ab" for `prefix'.
21663
21664 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
21665
21666 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
21667 filter groups.
21668 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
21669 Fourquet (Bug#8804).
21670
21671 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
21672
21673 * startup.el (argi): Declare as global variable (bug#9275).
21674
21675 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
21676
21677 * subr.el (string-mark-left-to-right): Search the entire string
21678 for RTL script, not just the terminating character. Doc fix.
21679
21680 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
21681
21682 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
21683 New function.
21684 (js--regexp-literal, js-syntax-propertize-function): Remove.
21685 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
21686 (js-mode-map): Don't rebind electric keys.
21687 (js-insert-and-indent): Remove.
21688 (js-mode): Setup electric-layout and electric-indent instead.
21689
21690 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
21691
21692 2011-08-12 Daiki Ueno <ueno@unixuser.org>
21693
21694 * epa.el (epa-progress-callback-function): Fix the logic of
21695 displaying progress.
21696 * epa-file.el (epa-file-insert-file-contents): Make progress
21697 display more user-friendly.
21698 (epa-file-write-region): Ditto.
21699
21700 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
21701
21702 * subr.el (string-mark-left-to-right): New function.
21703
21704 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
21705 Use string-mark-left-to-right.
21706 (list-buffers-noselect): Caller changed.
21707
21708 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21709 Use string-mark-left-to-right.
21710 (tabulated-list-print): Recenter after moving point.
21711
21712 2011-08-10 Juri Linkov <juri@jurta.org>
21713
21714 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
21715 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
21716 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
21717
21718 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
21719
21720 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
21721 (Bug#7554).
21722
21723 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
21724
21725 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
21726 character. (Bug#6594)
21727
21728 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
21729
21730 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
21731 (image-dired--with-db-file): New macro.
21732 (image-dired-write-tags, image-dired-remove-tag)
21733 (image-dired-create-gallery-lists, image-dired-write-comments)
21734 (image-dired-get-comment, image-dired-mark-tagged-files)
21735 (image-dired-list-tags, image-dired-gallery-generate): Use it.
21736 (image-dired-gallery-generate): Use insert-file-contents.
21737
21738 * time.el (display-time-world-list, display-time-world-display):
21739 * time-stamp.el (time-stamp-string):
21740 * vc/add-log.el (add-change-log-entry): Use setenv instead of
21741 set-time-zone-rule (Bug#7337).
21742
21743 2011-08-08 Daiki Ueno <ueno@unixuser.org>
21744
21745 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
21746 (epg-error-to-string, epg-errors-to-string): New function.
21747 (epg-wait-for-completion): Reverse errors list.
21748 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
21749 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
21750 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
21751 (epg-sign-keys, epg-generate-key-from-file)
21752 (epg-generate-key-from-string): Format errors by using
21753 epg-errors-to-string (bug#9255).
21754 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
21755
21756 2011-08-07 Juri Linkov <juri@jurta.org>
21757
21758 * faces.el (list-faces-display): Remove extra angle bracket
21759 from `help-mode-map'.
21760
21761 * info.el (Info-history-toc-nodes): Doc fix.
21762
21763 * longlines.el (longlines-mode): Doc fix.
21764
21765 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
21766
21767 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
21768 of statements and in a few more cases (bug#9183).
21769
21770 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
21771 New functions.
21772 (cl-transform-lambda): Use them (bug#9239).
21773
21774 2011-08-05 Martin Rudalics <rudalics@gmx.at>
21775
21776 * window.el (display-buffer-same-window)
21777 (display-buffer-same-frame, display-buffer-other-window)
21778 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21779 (pop-to-buffer-other-window)
21780 (pop-to-buffer-same-frame-other-window)
21781 (pop-to-buffer-other-frame): Make them defuns.
21782 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
21783
21784 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21785
21786 * subr.el (make-composed-keymap): Move from C. Change calling
21787 convention, and improve docstring to bring attention to a subtle point.
21788 * minibuffer.el (completing-read-default): Adjust accordingly.
21789
21790 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
21791
21792 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
21793 (tramp-open-shell): Use `tramp-shell-quote-argument'.
21794
21795 * net/trampver.el: Update release number.
21796
21797 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21798
21799 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
21800 "in" (bug#9190).
21801
21802 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21803
21804 * mail/sendmail.el (sendmail-query-once): Restore the current
21805 buffer after querying (bug#9074).
21806
21807 * dired.el (dired-flagged): Use different faces for marked and
21808 flagged files (bug#6117).
21809
21810 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
21811 (bug#4433).
21812
21813 * ido.el (ido-mode): Switch off the message if called
21814 non-interactively.
21815
21816 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
21817 before 587, since it appears that that's more likely to work for
21818 more people.
21819
21820 * cus-edit.el (custom-file): When running under emacs -q, always
21821 refuse to save the customizations, even if the .emacs file doesn't
21822 exist.
21823
21824 * info.el: Remove the `Info-beginning-of-buffer' function
21825 (bug#8325).
21826
21827 * net/network-stream.el (network-stream-open-starttls):
21828 Use `starttls-available-p' to see whether starttls.el can be used.
21829
21830 2011-08-01 Martin Rudalics <rudalics@gmx.at>
21831
21832 * window.el (display-buffer-in-window): Don't set dedicated status
21833 of window here (Bug#9215).
21834 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21835 (display-buffer-pop-up-side-window)
21836 (display-buffer-in-side-window): Set dedicated status of window here.
21837
21838 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
21839
21840 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
21841 before binding generated-autoload-file.
21842
21843 2011-08-01 Deniz Dogan <deniz@dogan.se>
21844
21845 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
21846
21847 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
21848
21849 Sync with Tramp 2.2.2.
21850
21851 * net/trampver.el: Update release number.
21852
21853 2011-07-30 Juri Linkov <juri@jurta.org>
21854
21855 * dired-aux.el (dired-touch-initial): Remove function.
21856 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
21857 current time, and `default' to the last modification time of the
21858 current marked file (bug#6887).
21859
21860 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
21861
21862 * simple.el (goto-line): Use string-to-number to provide a
21863 numeric argument to read-number (bug#9163).
21864
21865 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
21866
21867 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
21868 connection process, it could be nil.
21869
21870 2011-07-27 Leo Liu <sdl.web@gmail.com>
21871
21872 Simplify url handling in rcirc-mode.
21873
21874 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
21875 (rcirc-browse-url-at-mouse): Remove.
21876 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
21877
21878 2011-07-26 Alan Mackenzie <acm@muc.de>
21879
21880 Fontify bitfield declarations properly.
21881
21882 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
21883 (c-symbol-chars): Now exported as a lang variable.
21884 (c-not-primitive-type-keywords): New lang variable.
21885
21886 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
21887 QT keyword "more" to prevent "more slots: ...." being spuriously
21888 parsed as a bitfield declaration.
21889
21890 * progmodes/cc-engine.el (c-beginning-of-statement-1):
21891 Refactor and enhance to handle bitfield declarations.
21892 (c-punctuation-in): New function.
21893 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
21894 declarations properly.
21895
21896 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
21897
21898 * calendar/icalendar.el (icalendar--all-events): Take care of
21899 multiple vcalendars in a single file.
21900 (icalendar--convert-float-to-ical): Checkdoc fixes.
21901
21902 2011-07-25 Deniz Dogan <deniz@dogan.se>
21903
21904 * image.el (insert-image): Clarifying docstring.
21905
21906 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
21907
21908 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
21909 `tramp-send-command-and-check' if there is no error.
21910 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
21911
21912 2011-07-22 Alan Mackenzie <acm@muc.de>
21913
21914 Prevent cc-langs.elc being loaded at run time.
21915
21916 * progmodes/cc-mode.el: Remove two autoload forms which loaded
21917 cc-langs.
21918
21919 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
21920 "(require 'cc-langs)". Quote a form so it will evaluate at
21921 (cc-mode's) compilation time.
21922
21923 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
21924
21925 * net/tramp.el (tramp-file-name-handler): Avoid recursive
21926 loading. (Bug#9114)
21927
21928 2011-07-21 Martin Rudalics <rudalics@gmx.at>
21929
21930 * window.el (display-buffer-pop-up-window)
21931 (display-buffer-pop-up-side-window)
21932 (display-buffer-in-side-window): Call display-buffer-set-height
21933 and display-buffer-set-width after setting the new window's
21934 buffer so `fit-window-to-buffer' and friends work on the right buffer.
21935
21936 2011-07-20 Sam Steingold <sds@gnu.org>
21937
21938 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
21939 (etags-tags-included-tables): Call `convert-standard-filename' on
21940 the file names contained in TAGS so that windows Emacs can handle
21941 TAGS files created by cygwin ctags.
21942
21943 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
21944
21945 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
21946 which apparently didn't work.
21947
21948 2011-07-19 Roland Winkler <winkler@gnu.org>
21949
21950 * proced.el (proced-send-signal): For *Marked Processes* buffer
21951 put point at beginning of buffer.
21952
21953 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
21954
21955 * proced.el (proced-format): Make header lines align with the text
21956 (bug#1779).
21957
21958 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21959
21960 * view.el (view-buffer): Allow running in `special' modes if we're
21961 visiting a file (bug#8615).
21962
21963 2011-07-19 Martin Rudalics <rudalics@gmx.at>
21964
21965 * window.el (display-buffer-alist-of-strings-p)
21966 (display-buffer-alist-set-1, display-buffer-alist-set-2):
21967 New functions.
21968 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
21969 more accurately.
21970
21971 2011-07-18 Alan Mackenzie <acm@muc.de>
21972
21973 Fontify declarators properly when, e.g., a jit-lock chunk begins
21974 inside a declaration.
21975
21976 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
21977
21978 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21979 New function.
21980 (c-complex-decl-matchers): Insert reference to
21981 c-font-lock-enclosing-decls.
21982
21983 * progmodes/cc-engine.el (c-backward-single-comment):
21984 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
21985 to nil around calls to (forward-comment -1).
21986
21987 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21988
21989 * image.el (put-image): Doc typo fix.
21990
21991 * progmodes/etags.el (tags-search): Doc typo fix.
21992
21993 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
21994 password if we get errors 550 to 554.
21995
21996 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
21997
21998 * net/gnutls.el (gnutls-log-level): Remove.
21999
22000 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
22001 indentation character (bug#6380).
22002
22003 * files.el (buffer-offer-save): Made permanently local (bug#6241).
22004
22005 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
22006 to clarify what the problem is (bug#4291).
22007
22008 * simple.el (current-kill): Clarify what
22009 `interprogram-paste-function' does (bug#7500).
22010 (auto-fill-mode): Document `auto-fill-function' in relation to
22011 `auto-fill-mode' (bug#2470).
22012
22013 2011-07-16 Lawrence Mitchell <wence@gmx.li>
22014
22015 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
22016 method if slot is read-only (bug#9035).
22017
22018 2011-07-16 Martin Rudalics <rudalics@gmx.at>
22019
22020 * frame.el (select-frame-set-input-focus): New argument NORECORD.
22021 * window.el (pop-to-buffer): Select window used even if it was
22022 selected before, see discussion of (Bug#8615), (Bug#6954).
22023 Pass argument NORECORD on to select-frame-set-input-focus.
22024
22025 2011-07-15 Glenn Morris <rgm@gnu.org>
22026
22027 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
22028 Respect help-form.
22029
22030 2011-07-09 Lawrence Mitchell <wence@gmx.li>
22031
22032 * net/gnutls.el (gnutls-min-prime-bits): New variable.
22033 (gnutls-negotiate): Use it.
22034
22035 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22036
22037 * net/gnutls.el (gnutls-negotiate):
22038 Upcase `gnutls-algorithm-priority'.
22039
22040 2011-07-15 Glenn Morris <rgm@gnu.org>
22041
22042 * jka-compr.el (jka-compr-verbose): Move from here...
22043 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
22044 Add missing :version tag.
22045 * info.el: No need to require jka-compr when compiling.
22046
22047 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22048
22049 * net/gnutls.el (gnutls-algorithm-priority): New variable.
22050 (gnutls-negotiate): Use it.
22051
22052 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
22053
22054 * info.el (Info-beginning-of-buffer): New command.
22055 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
22056 announcing `b' as the key (bug#8325).
22057 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
22058
22059 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
22060
22061 * international/mule-cmds.el
22062 (describe-specified-language-support): Make the error message
22063 clearer (bug#8905).
22064
22065 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
22066
22067 * isearch.el (isearch-barrier): Add a doc string, since it's
22068 mentioned in a function doc string (bug#8678).
22069
22070 2011-07-15 Martin Rudalics <rudalics@gmx.at>
22071
22072 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
22073 buffer argument (Bug#9083) and self-identifying label argument.
22074
22075 2011-07-15 Glenn Morris <rgm@gnu.org>
22076
22077 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
22078
22079 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22080
22081 * man.el (Man-fontify-manpage): Fix message when formatting the
22082 man page (bug#7929).
22083
22084 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22085
22086 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
22087 argument LRM; if non-nil, append an invisible LRM character to the
22088 buffer name.
22089 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
22090 last argument non-nil, when formatting buffer names.
22091 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
22092 paragraph direction.
22093
22094 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22095
22096 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
22097 the man page name (bug#7929).
22098
22099 * image.el (put-image): Mention the `put-image' overlay property
22100 (bug#7834).
22101
22102 * scroll-bar.el (set-scroll-bar-mode): Mention that
22103 `scroll-bar-mode' lists the values (bug#7772).
22104
22105 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
22106 command (bug#7729).
22107
22108 * rect.el (apply-on-rectangle): Return the point after the last
22109 operation.
22110 (string-rectangle): Go to the point after the last operation
22111 (bug#7522).
22112
22113 * printing.el (pr-toggle-region): Clarify the documentation
22114 slightly (bug#7493).
22115
22116 * time.el (display-time-update):
22117 Allow `display-time-mail-function' to return nil (bug#7158).
22118 Fix suggested by Detlev Zundel.
22119
22120 * vc/diff.el (diff): Clarify the order the file names are read
22121 (bug#7111).
22122
22123 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
22124 the doc string (bug#7015).
22125
22126 * font-lock.el (font-lock-maximum-decoration): Mention what
22127 numeric levels mean (bug#6935).
22128
22129 * startup.el (initial-buffer-choice): Don't mention the `none'
22130 selection, which is against policy.
22131
22132 2011-07-14 Martin Rudalics <rudalics@gmx.at>
22133
22134 * window.el (display-buffer-normalize-special):
22135 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
22136
22137 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22138
22139 * subr.el (version<, version<=, version=): Mention "-CVS" and
22140 "-12345" alpha version numbers.
22141
22142 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22143
22144 * bindings.el: Add advertised binding for set-mark-command
22145 (Bug#5772).
22146
22147 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22148
22149 * bindings.el (mode-line-other-buffer):
22150 * bookmark.el (bookmark-bmenu-2-window):
22151 * bs.el (bs-cycle-next, bs-cycle-previous):
22152 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
22153 switch-to-buffer.
22154
22155 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22156 Delete.
22157
22158 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
22159
22160 * follow.el (follow-debug-message, follow-redisplay):
22161 * jka-cmpr-hook.el (with-auto-compression-mode):
22162 Fix typos in docstrings.
22163
22164 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22165
22166 * subr.el (with-silent-modifications): Clarify somewhat what the
22167 macro inhibits (bug#6525).
22168
22169 * simple.el (eval-expression): Note what it does if called
22170 interactively (bug#6495).
22171
22172 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22173
22174 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
22175 Use pop-to-buffer buffer-or-name if it is nil.
22176
22177 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22178 Remove switch-to-buffer.
22179
22180 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22181
22182 * files.el (make-directory): Clarify that an error will be raised
22183 if there's an error (bug#6397).
22184
22185 * startup.el (initial-buffer-choice): Add `none' as a choice
22186 (bug#6234).
22187
22188 * subr.el (add-hook): Clarify section about buffer-local hooks
22189 (bug#6218).
22190
22191 * dired.el (dired-flagged): Clarify doc string (bug#6117).
22192
22193 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22194
22195 * tabify.el (untabify): Preserve the current column so that point
22196 doesn't move (bug#6032).
22197
22198 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22199
22200 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
22201 Rewrite to avoid awkward possessive "s" (bug#5986).
22202
22203 2011-07-13 Glenn Morris <rgm@gnu.org>
22204
22205 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
22206 (dired-insert-directory): Give a message the first time
22207 if ls is found not to support --dired.
22208
22209 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22210
22211 * simple.el (toggle-truncate-lines): Clarify what is toggled
22212 (bug#5580). Text by Drew Adams.
22213
22214 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22215
22216 * simple.el (blink-matching-open): Make the error message from the
22217 last change less verbose.
22218
22219 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
22220
22221 * font-lock.el (font-lock-comment-face): Use the high contrast
22222 "yellow" color for font-lock-comment-face on low color terminals
22223 using a dark background color (bug#4221).
22224
22225 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22226
22227 * dired.el (dired-insert-set-properties): Make the doc string
22228 reflect what it does now (bug#5325).
22229
22230 * simple.el (blink-matching-open): Say that we were unable to find
22231 the match within the limit, if we're limited (bug#5122).
22232
22233 * international/mule-cmds.el (prefer-coding-system): Add an
22234 example (bug#4869).
22235
22236 * progmodes/etags.el (tags-search): Document `file-list-form'
22237 (bug#4731).
22238
22239 2011-07-13 Lawrence Mitchell <wence@gmx.li>
22240
22241 * net/browse-url.el (browse-url-default-browser)
22242 (browse-url-browser-function): Make the default browser choice a
22243 bit more logical (bug#4300). Also clean up the doc string.
22244
22245 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22246
22247 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
22248 binary endings (bug#4440).
22249
22250 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22251
22252 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
22253 which can be pretty annoying (bug#8971).
22254
22255 * jka-compr.el (jka-compr-verbose): New variable, and use
22256 throughout (bug#8971).
22257
22258 * info.el (Info-find-file): Fall back on the installation
22259 directory if we can't find the info node anywhere else.
22260
22261 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
22262
22263 * vc/vc.el (vc-revert-file):
22264 Don't set file time-stamp in the past. (Bug#5181)
22265
22266 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22267
22268 * files.el (after-find-file): Give a better error message when
22269 trying to find a symlink that points to a file that doesn't exist
22270 (bug#4398).
22271
22272 * progmodes/cc-vars.el: Remove (probably) misleading comment
22273 (bug#4396).
22274
22275 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
22276
22277 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
22278
22279 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22280
22281 * mouse-sel.el: Hack restoring functionality, while keeping
22282 compatibility with 2010-07-03 changes to mouse selection.
22283 (mouse-sel-primary-overlay): New var.
22284 (mouse-sel-selection-alist): Use it.
22285 (mouse-sel-mode): Doc fix; remove points that are default features
22286 of mouse.el.
22287
22288 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
22289
22290 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22291 Fix previous fix (bug#2490).
22292
22293 2011-07-12 Roland Winkler <winkler@gnu.org>
22294
22295 * textmodes/bibtex.el (bibtex-initialize):
22296 Use pop-to-buffer-same-window.
22297 (bibtex-search-entries): Fix interactive call.
22298
22299 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22300
22301 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22302 Fontise bytecomp Error lines more correctly (bug#2490).
22303 Fix suggested by Johan BockgĂ¥rd.
22304
22305 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
22306
22307 * dired-x.el (dired-guess-default): Use `delete-dups'.
22308
22309 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22310
22311 * dired.el (dired-mark-prompt):
22312 * dired-aux.el (dired-read-shell-command): Doc fix.
22313
22314 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22315
22316 * mail/sendmail.el (sendmail-query-once):
22317 Use `customize-save-variable' unconditionally, now that it works under
22318 emacs -Q.
22319
22320 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22321
22322 * cus-edit.el (custom-file): Take an optional no-error variable.
22323 (customize-save-variable): Set the variable, and give a warning if
22324 running under "emacs -q".
22325
22326 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
22327
22328 * loadhist.el (unload-feature-special-hooks):
22329 Add `auto-coding-functions', `fill-nobreak-predicate' and
22330 `find-directory-functions' (bug#5327).
22331
22332 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22333
22334 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
22335
22336 * cus-edit.el (custom-guess-name-alist): -alist variables should
22337 use the `alist' type (bug#3120). Suggested by Drew Adams.
22338
22339 * printing.el: Add documentation to all the `pr-toggle-' commands.
22340
22341 2011-07-11 Leo Liu <sdl.web@gmail.com>
22342
22343 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
22344 backends where it makes sense (bug#2623).
22345
22346 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22347
22348 * dired-x.el (dired-guess-default): Remove duplicate shell command
22349 entries (bug#2028).
22350 (dired-guess-default): Fix grammar in doc string (bug#2028).
22351 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
22352
22353 * subr.el (remove-duplicates): New conveniency function.
22354
22355 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
22356
22357 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
22358 (bug#1526).
22359
22360 2011-07-10 Martin Rudalics <rudalics@gmx.at>
22361
22362 * window.el (display-buffer-normalize-default): Don't invert
22363 meaning of even-window-heights. Reported by Eli Zaretskii
22364 <eliz@gnu.org>.
22365
22366 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
22367
22368 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
22369
22370 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
22371
22372 * window.el (display-buffer): Fix arguments to
22373 display-buffer-reuse-window in last change.
22374
22375 * faces.el (link): Use a less saturated blue on light backgrounds.
22376
22377 * startup.el (fancy-startup-text, fancy-about-text)
22378 (fancy-startup-tail): Use font-lock faces, for background safety.
22379
22380 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
22381
22382 * emulation/viper-cmd.el (viper-change-state-to-vi):
22383 Limit triggering of abbrev expansion (Bug#9038).
22384
22385 2011-07-09 Martin Rudalics <rudalics@gmx.at>
22386
22387 * window.el (display-buffer-default-specifiers): Remove.
22388 (display-buffer-macro-specifiers): Remove default specifiers.
22389 (display-buffer-alist): Default to nil.
22390 (display-buffer-reuse-window): New optional argument other-window.
22391 (display-buffer-pop-up-window): Allow splitting internal
22392 windows. Check whether a live window was created.
22393 (display-buffer-other-window-means-other-frame)
22394 (display-buffer-normalize-arguments): Rename to
22395 display-buffer-normalize-argument and rewrite. Set the
22396 other-window specifier.
22397 (display-buffer-normalize-special): New function.
22398 (display-buffer-normalize-options): Rename to
22399 display-buffer-normalize-default and rewrite.
22400 (display-buffer-normalize-options-inhibit): Remove.
22401 (display-buffer-normalize-specifiers): Rewrite.
22402 (display-buffer): Process other-window specifier and call
22403 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
22404 more faithfully.
22405 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
22406 (display-buffer-alist-set): Don't handle 'unset default values.
22407 (display-buffer-in-window, display-buffer-alist-set):
22408 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
22409 <tassilo@member.fsf.org>.
22410
22411 2011-07-09 Leo Liu <sdl.web@gmail.com>
22412
22413 * register.el (insert-register): Restore accidental change on
22414 2011-06-26. (Bug#9028)
22415
22416 2011-07-09 Glenn Morris <rgm@gnu.org>
22417
22418 * subr.el (remq): Handle the empty list. (Bug#9024)
22419
22420 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
22421
22422 * mail/sendmail.el (send-mail-function): No longer delay custom
22423 initialization.
22424 * custom.el (custom-initialize-delay): Doc fix.
22425
22426 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22427
22428 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
22429
22430 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
22431
22432 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
22433 human-friendly prompt.
22434
22435 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22436
22437 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
22438 provided by a particular plugin.
22439
22440 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
22441
22442 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
22443 save customizations (with "emacs -Q"), just set the variable
22444 instead of erroring out.
22445
22446 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22447
22448 2011-07-08 Juri Linkov <juri@jurta.org>
22449
22450 * arc-mode.el (archive-zip-expunge, archive-zip-update)
22451 (archive-zip-update-case): Use 7z if found by `executable-find'.
22452 The order of searching the available programs is the same as in
22453 `archive-zip-extract' (bug#8968).
22454
22455 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22456
22457 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
22458 (menu-bar-options-menu): Tweak descriptions.
22459
22460 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22461
22462 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
22463 menu items into verb phrases (bug#1421). Also refill to fit under
22464 80 columns.
22465
22466 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22467
22468 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
22469 (Info-read-node-name): Doc fix (Bug#1084).
22470
22471 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
22472 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
22473 (end-of-sexp, beginning-of-sexp)
22474 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
22475 (forward-symbol, forward-same-syntax, word-at-point)
22476 (sentence-at-point): Doc fix (Bug#1144).
22477
22478 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22479
22480 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
22481 should cover it (bug#1281).
22482
22483 * cus-edit.el (custom-show): Mark as obsolete.
22484
22485 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
22486 negotiation fails, then possibly try again with a non-encrypted
22487 connection (bug#9017).
22488
22489 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
22490 be used.
22491
22492 2011-07-07 Richard Stallman <rms@gnu.org>
22493
22494 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
22495 property, and handle its changed format.
22496 Look for the correct line number.
22497 Use file's line contents (but not past first =) to find
22498 correct line in message.
22499
22500 2011-07-07 Kenichi Handa <handa@m17n.org>
22501
22502 * international/characters.el (build-unicode-category-table):
22503 Delete it.
22504 (unicode-category-table): Set it by unicode-property-table-internal.
22505
22506 * international/mule-cmds.el (char-code-property-alist): Move to
22507 to src/chartab.c.
22508 (get-char-code-property): Call unicode-property-table-internal to
22509 load a file. Call get-unicode-property-internal where necessary.
22510 (put-char-code-property): Call unicode-property-table-internal to
22511 load a file. Call put-unicode-property-internal where necessary.
22512 put-unicode-property-internal where necessary.
22513 (char-code-property-description):
22514 Call unicode-property-table-internal to load a file.
22515
22516 * international/charprop.el:
22517 * international/uni-bidi.el:
22518 * international/uni-category.el:
22519 * international/uni-combining.el:
22520 * international/uni-comment.el:
22521 * international/uni-decimal.el:
22522 * international/uni-decomposition.el:
22523 * international/uni-digit.el:
22524 * international/uni-lowercase.el:
22525 * international/uni-mirrored.el:
22526 * international/uni-name.el:
22527 * international/uni-numeric.el:
22528 * international/uni-old-name.el:
22529 * international/uni-titlecase.el:
22530 * international/uni-uppercase.el: Regenerate.
22531
22532 * loadup.el: Load international/charprop.el before
22533 international/characters.
22534
22535 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22536
22537 * window.el (next-buffer, previous-buffer): Signal an error if
22538 called from a minibuffer window.
22539
22540 * bindings.el: Revert 2011-07-04 change.
22541
22542 2011-07-06 Richard Stallman <rms@gnu.org>
22543
22544 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
22545 (rmail-mime-insert-bulk, rmail-mime-insert-text):
22546 Treat markers like ints.
22547 (rmail-mime-entity): Doc fix.
22548
22549 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22550
22551 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
22552 defcustom again for backwards compatibility.
22553
22554 * simple.el (shell-command-on-region): Fill.
22555
22556 * dired-aux.el (dired-kill-line): Add a doc string.
22557
22558 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
22559 to "\\sw\\|\\s_" (bug#358).
22560
22561 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
22562 (dired-unmark-backward): Ditto.
22563 (dired-flag-backup-files): Ditto.
22564
22565 * dired-x.el (dired-mark-sexp): Ditto.
22566
22567 2011-07-06 Richard Stallman <rms@gnu.org>
22568
22569 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
22570 (rmail-mime-entity): New arg TRUNCATED.
22571 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
22572 New functions.
22573 (rmail-mime-save): Warn if entity is truncated.
22574 (rmail-mime-toggle-hidden): Likewise, for showing.
22575 (rmail-mime-process-multipart): Record when an entity is truncated.
22576
22577 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
22578 if ENTITY is a string.
22579
22580 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22581
22582 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
22583 of faces when `M-C-x'-ing their definitions (bug#8378).
22584 Also clean up the code slightly.
22585
22586 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
22587 because that makes the colors go away.
22588
22589 * mail/sendmail.el (send-mail-function): Change the default to
22590 `sendmail-query-once'.
22591 (sendmail-query-once): Add an autoload cookie.
22592
22593 * net/network-stream.el (network-stream-open-starttls): Try using
22594 a plain connection even if the server offered STARTTLS, and we
22595 kinda wanted to use it, if Emacs doesn't have any STARTTLS
22596 capability. This should make smtpmail.el work in slightly more
22597 configurations.
22598
22599 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
22600
22601 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22602 New defun.
22603 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
22604
22605 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
22606
22607 * progmodes/sql.el: Version 3.0
22608 (sql-product-alist): Add product :completion-object,
22609 :completion-column, and :statement attributes.
22610 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
22611 (sql-mode-syntax-table): Mark all punctuation.
22612 (sql-font-lock-keywords-builder): Temporarily remove fallback on
22613 ansi keywords.
22614 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
22615 (sql-mode-oracle-font-lock-keywords): Improve.
22616 (sql-oracle-show-reserved-words): New function for development.
22617 (sql-product-font-lock): Simplify for source code buffers.
22618 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
22619 New functions.
22620 (sql-highlight-product): Set product specific syntax table.
22621 (sql-mode-map): Add statement movement functions.
22622 (sql-ansi-statement-starters, sql-oracle-statement-starters):
22623 New variable.
22624 (sql-statement-regexp, sql-beginning-of-statement)
22625 (sql-end-of-statement, sql-signum): New functions.
22626 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
22627 (sql-show-sqli-buffer): Bug fix.
22628 (sql-interactive-mode): Store connection data as buffer local.
22629 (sql-connect): Add NEW-NAME parameter. Redesign interaction
22630 with sql-interactive-mode.
22631 (sql-save-connection): Save buffer local settings.
22632 (sql-connection-menu-filter): Change menu entry name.
22633 (sql-product-interactive): Bug fix.
22634 (sql-preoutput-hold): New variable.
22635 (sql-interactive-remove-continuation-prompt): Bug fixes.
22636 (sql-debug-redirect): New variable.
22637 (sql-str-literal): New function.
22638 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
22639 Redesign.
22640 (sql-oracle-save-settings, sql-oracle-restore-settings)
22641 (sql-oracle-list-all, sql-oracle-list-table): New functions.
22642 (sql-completion-object, sql-completion-column)
22643 (sql-completion-sqlbuf): New variables.
22644 (sql-build-completions-1, sql-build-completions)
22645 (sql-try-completion): New functions.
22646 (sql-read-table-name): Use them.
22647 (sql-contains-names): New buffer local variable.
22648 (sql-list-all, sql-list-table): Use it.
22649 (sql-oracle-completion-types): New variable.
22650 (sql-oracle-completion-object, sql-sqlite-completion-object)
22651 (sql-postgres-completion-object): New functions.
22652
22653 2011-07-06 Glenn Morris <rgm@gnu.org>
22654
22655 * window.el (pop-to-buffer): Doc fix.
22656
22657 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
22658
22659 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
22660
22661 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
22662
22663 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
22664
22665 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
22666
22667 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
22668
22669 * button.el (button): Inherit from link face. Suggested by Dan
22670 Nicolaescu.
22671
22672 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22673
22674 * progmodes/gdb-mi.el: Fit in 80 columns.
22675 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
22676 switch-to-buffer.
22677
22678 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
22679 if imenu is simply not configured (bug#8941).
22680
22681 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
22682
22683 * allout.el (allout-post-undo-hook): New allout outline-change
22684 event hook to signal undo activity.
22685 (allout-post-command-business): Run allout-post-undo-hook if an
22686 undo just occurred.
22687 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
22688 * allout-widgets.el (allout-widgets-after-undo-function):
22689 Ensure the integrity of the current item's decoration after it has been
22690 in the vicinity of an undo.
22691 (allout-widgets-mode): Include allout-widgets-after-undo-function
22692 on the new allout-post-undo-hook.
22693
22694 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22695
22696 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
22697 Let define-derived-mode define it.
22698 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
22699 cycles of abbrev-table inheritance (bug#8998).
22700
22701 2011-07-05 Roland Winkler <winkler@gnu.org>
22702
22703 * textmodes/bibtex.el: Add support for biblatex.
22704 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
22705 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
22706 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
22707 (bibtex-entry-alist, bibtex-field-alist): New variables.
22708 (bibtex-entry-field-alist): Obsolete alias for
22709 bibtex-BibTeX-entry-alist.
22710 (bibtex-entry-alist, bibtex-field-alist): New widgets.
22711 (bibtex-set-dialect): New command.
22712 (bibtex-entry-type, bibtex-entry-head)
22713 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
22714 Bind via bibtex-set-dialect.
22715 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
22716 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
22717 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
22718 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
22719 Define via bibtex-set-dialect.
22720 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
22721 Obey bibtex-no-opt-remove-re.
22722 (bibtex-vec-push, bibtex-vec-incr): New functions.
22723 (bibtex-format-entry, bibtex-field-list)
22724 (bibtex-print-help-message, bibtex-validate)
22725 (bibtex-search-entries): Use new format of bibtex-entry-alist.
22726
22727 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22728
22729 * progmodes/compile.el (compilation-goto-locus):
22730 * net/tramp-cmds.el (tramp-append-tramp-buffers):
22731 * bs.el (bs-cycle-next, bs-cycle-previous):
22732 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
22733 * bindings.el (mode-line-other-buffer):
22734 * autoinsert.el (auto-insert):
22735 * arc-mode.el (archive-extract):
22736 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
22737
22738 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22739
22740 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
22741 Fix check of `emacs-lock-unlockable-modes'.
22742 Coerce true values of `emacs-lock--try-unlocking' to t.
22743
22744 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22745
22746 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
22747 * emacs-lock.el: New file.
22748
22749 2011-07-05 Julien Danjou <julien@danjou.info>
22750
22751 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
22752 than `boundp' to check if face is set.
22753
22754 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22755
22756 * register.el (registerv-make):
22757 * window.el (window-min-height): Fix typos in docstrings.
22758
22759 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
22760
22761 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
22762 Update doc string.
22763
22764 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22765
22766 * server.el (server-execute): Catch quit and call
22767 `server-return-error' to pass the error back to emacsclient and
22768 close the connection (bug#8942).
22769
22770 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
22771
22772 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
22773 insecure exception for current topic. Also note that auto-saves
22774 are handled differently.
22775
22776 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
22777 State variables for tracking auto-save inhibition situation.
22778
22779 (allout-write-contents-hook-handler): Rename from
22780 'allout-write-file-hook-handler', and describe how it depends on
22781 write-contents-functions sensitivity to non-nil value to prevent
22782 file write.
22783
22784 (allout-auto-save-hook-handler): Remove. auto-save does not check
22785 this in individual buffers, only in the starting buffer, so this
22786 is not the right way for us to inhibit auto-save in a buffer
22787 according to its condition.
22788
22789 (allout-mode): Use new allout-write-contents-hook-handler, and
22790 only with write-contents-functions. Remove auto-save provisions -
22791 they're implemented elsewhere.
22792
22793 (allout-before-change-handler): If undo is in progress, note that
22794 for attention of allout-post-command-business.
22795
22796 (allout-post-command-business): If the command we're following was
22797 an undo, check for change in the status of encrypted items and
22798 adjust auto-save inhibitions accordingly.
22799
22800 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
22801 according to whether there are or aren't any plain-text topics
22802 pending encryption.
22803
22804 (allout-inhibit-auto-save-info-for-decryption):
22805 Adjust buffer-saved-size and some allout state to inhibit auto-saves
22806 if there are plain-text topics pending encryption.
22807
22808 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
22809 buffer-saved-size and some allout state to not inhibit auto-saves
22810 if there are no longer any plain-text topics pending encryption.
22811
22812 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
22813 No longer provide for exemption of the current topic.
22814
22815 2011-07-04 Juri Linkov <juri@jurta.org>
22816
22817 Add 7z operations to delete and save changed members (bug#8968).
22818 * arc-mode.el (archive-7z-expunge, archive-7z-update):
22819 New defcustoms.
22820 (archive-7z-write-file-member): New function.
22821 (archive-7z-summarize): Fix the number of dashes in the
22822 listing output.
22823
22824 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22825
22826 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
22827 (bug#8958).
22828
22829 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
22830
22831 * bindings.el: Ignore next-buffer and previous-buffer in
22832 minibuffer-local-map.
22833
22834 * font-lock.el (font-lock-builtin-face): Change light background
22835 color to dark slate blue (Bug#6693).
22836
22837 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
22838
22839 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
22840
22841 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22842
22843 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
22844 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22845 Add switch-to-buffer.
22846
22847 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22848
22849 * isearch.el (isearch-search-fun-function): Clarify further the
22850 meaning of the function returned.
22851
22852 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
22853
22854 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
22855
22856 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
22857 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
22858 Use it.
22859 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
22860 `tramp-default-remote-path' does not exist.
22861 (tramp-send-command-and-read): New optional argument NOERROR.
22862 (tramp-open-connection-setup-interactive-shell)
22863 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
22864 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
22865 (tramp-process-sentinel): Flush also process' connection property.
22866 (tramp-sh-handle-start-file-process): Do not set process
22867 sentinel. It is done now ...
22868 (tramp-maybe-open-connection): ... here. (Bug#8929)
22869
22870 2011-07-04 MON KEY <monkey@sandpframing.com>
22871
22872 * play/animate.el (animate-string): Doc fixes and allow changing
22873 the buffer name (bug#5417).
22874
22875 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22876
22877 * play/animate.el (animation-buffer-name): Rename from *animate*.
22878
22879 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
22880
22881 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
22882 This is simpler and helps future-proof the code.
22883 (timer-until): Use time-subtract and float-time.
22884 (timer--time-less-p): Use time-less-p.
22885
22886 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22887
22888 * type-break.el (timep): Use the value of `float-time' to avoid a
22889 byte-compiler warning.
22890
22891 * server.el (server-eval-and-print): Return any result, even nil.
22892
22893 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
22894
22895 * type-break.el: Accept time formats that the builtins accept.
22896 (timep, type-break-time-difference): Accept any format that
22897 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
22898 This is simpler and helps future-proof the code.
22899 (type-break-time-difference): Round rather than ignoring
22900 subseconds components.
22901
22902 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22903
22904 * info.el (Info-apropos-matches): Make non-interactive, since it
22905 doesn't seem to do anything useful as a command (bug#8829).
22906
22907 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
22908
22909 * frame.el (frame-background-mode, frame-set-background-mode):
22910 Move from faces.el.
22911 (frame-default-terminal-background): New function.
22912
22913 * custom.el (custom-push-theme): Don't record faces in `changed'
22914 theme; this doesn't work correctly for per-frame face settings.
22915 (disable-theme): Use face-set-after-frame-default to reset faces.
22916 (custom--frame-color-default): New function.
22917
22918 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22919
22920 * dired.el (dired-flagging-regexp): Remove unused variable
22921 (bug#8769).
22922
22923 2011-03-29 Kevin Ryde <user42@zip.com.au>
22924
22925 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22926 `perl-Test2' extend to match possible "fail #N" rep count
22927 (bug#8377).
22928
22929 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22930
22931 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
22932 `smtpmail-via-smtp' now returns the error instead of nil.
22933
22934 * isearch.el (isearch-search-fun-function): Clarify the doc string
22935 (bug#8101).
22936
22937 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
22938
22939 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
22940 unnecessary spaces (bug#8987).
22941
22942 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22943
22944 * net/network-stream.el (open-network-stream): Use the
22945 :end-of-capability command thoughout.
22946
22947 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
22948
22949 * net/network-stream.el (open-network-stream): Add the
22950 :end-of-capability command parameter, used by pop3.el.
22951
22952 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22953
22954 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
22955
22956 * fringe.el (fringe-query-style): Remove redundant text " (type ?
22957 for list)" (bug#6475).
22958
22959 * files.el (file-expand-wildcards): Ignore non-readable
22960 sub-directories while trying to find matches instead of signaling
22961 an error (bug#6297).
22962
22963 * man.el (Man-reference-regexp): Allow matching possible
22964 word-wrapped references (bug#6289).
22965
22966 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
22967 for consistency with the other vc buffers (bug#6197).
22968 (vc-checkin): Ditto.
22969
22970 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
22971
22972 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
22973
22974 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22975
22976 * custom.el (defcustom): Clarify that :set is only used in the
22977 Customize user interface (bug#6089).
22978
22979 * progmodes/flymake.el (flymake-mode): If the buffer isn't
22980 associated with a file, refuse to run instead of erroring out
22981 (bug#6084).
22982
22983 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
22984 the doc string, since it appears that using `fill-column' always
22985 controls the width (bug#7845).
22986
22987 * simple.el (shell-command-on-region): Say where the error output
22988 went if `shell-command-default-error-buffer' is set (bug#6857).
22989
22990 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
22991
22992 * allout.el (allout-yank-processing): Adjust cursor position for
22993 backwards-deleted space.
22994
22995 (allout-rebullet-heading): Register changes with
22996 allout-exposure-changed-hook, so the modified topic is properly
22997 decorated.
22998
22999 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23000
23001 * minibuffer.el (completion-in-region): Document PREDICATE
23002 (bug#7136).
23003
23004 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
23005 of keyword/argument pairs (bug#6904).
23006
23007 * replace.el (multi-occur):
23008 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
23009
23010 2011-07-02 Drew Adams <drew.adams@oracle.com>
23011
23012 * dired.el (dired-mark-if): Make the message about whether it's
23013 marking or unmarking clearer (bug#8523).
23014
23015 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23016
23017 * disp-table.el (display-table-print-array): New function.
23018 (describe-display-table): Use it to print the vectors more pretty
23019 (Bug#8859).
23020
23021 2011-07-02 Martin Rudalics <rudalics@gmx.at>
23022
23023 * window.el (window-state-get-1): Don't assign clone numbers.
23024 Add clone-of item to list of window parameters.
23025 (window-state-put-2): Don't process clone numbers.
23026 (display-buffer-alist): Fix doc-string.
23027
23028 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
23029
23030 * subr.el (remq): Don't allocate if it's not needed.
23031 (keymap--menu-item-binding, keymap--menu-item-with-binding)
23032 (keymap--merge-bindings): New functions.
23033 (keymap-canonicalize): Use them to refine the canonicalization.
23034 * minibuffer.el (minibuffer-local-completion-map)
23035 (minibuffer-local-must-match-map): Move initialization from C.
23036 (minibuffer-local-filename-completion-map): Move initialization from C;
23037 don't inherit from anything here.
23038 (minibuffer-local-filename-must-match-map): Make obsolete.
23039 (completing-read-default): Use make-composed-keymap to combine
23040 minibuffer-local-filename-completion-map with either
23041 minibuffer-local-must-match-map or
23042 minibuffer-local-filename-completion-map.
23043
23044 2011-07-01 Glenn Morris <rgm@gnu.org>
23045
23046 * type-break.el (type-break-time-sum): Use dolist.
23047
23048 * textmodes/flyspell.el (flyspell-word-search-backward):
23049 Replace CL function.
23050
23051 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23052
23053 * mouse.el (mouse--strip-first-event): New function.
23054 (function-key-map): Use it to map fringe clicks to normal clicks
23055 by default.
23056
23057 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
23058 (vc-bzr-revision-completion-table): Add support for annotate and date.
23059
23060 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
23061 inherit from parent.
23062
23063 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23064
23065 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
23066 (dired-show-file-type): Doc fixup (bug#8818).
23067
23068 * dired.el (dired-mode): Fix up the doc string as suggested by
23069 Drew Adams (bug#8817).
23070
23071 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
23072 cookie, since the manual says that it should be possible to add
23073 this function to `find-file-hook' (bug#8709).
23074
23075 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23076
23077 * progmodes/cfengine.el: Moved all cfengine3.el functionality
23078 here. Noted Ted Zlatanov as the maintainer.
23079 (cfengine-common-settings, cfengine-common-syntax): New functions
23080 to set up common things between `cfengine-mode' and
23081 `cfengine3-mode'.
23082 (cfengine3-mode): New mode.
23083 (cfengine3-defuns cfengine3-defuns-regex
23084 (cfengine3-class-selector-regex cfengine3-category-regex)
23085 (cfengine3-vartypes cfengine3-font-lock-keywords)
23086 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
23087 (cfengine3-indent-line): Add from cfengine3.el.
23088
23089 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
23090
23091 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
23092
23093 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
23094
23095 2011-07-01 Martin Rudalics <rudalics@gmx.at>
23096
23097 * window.el (same-window-buffer-names, same-window-regexps)
23098 (same-window-p, special-display-frame-alist)
23099 (special-display-popup-frame, special-display-function)
23100 (special-display-buffer-names, special-display-regexps)
23101 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
23102 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23103 (split-window-preferred-function, split-height-threshold)
23104 (split-width-threshold, even-window-heights)
23105 (display-buffer-mark-dedicated, window-splittable-p)
23106 (split-window-sensibly, window-safely-shrinkable-p):
23107 Un-obsolete.
23108 (display-buffer): Don't spread args with function specifier
23109 because special-display-popup-frame won't like it.
23110
23111 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
23112
23113 Time-stamp simplifications and fixes.
23114 These improve accuracy slightly, and future-proof the code
23115 against some potential changes to current-time format.
23116
23117 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
23118 by using time-since and float-time.
23119
23120 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
23121 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
23122 + NNN microseconds".
23123
23124 * type-break.el (type-break-time-sum): Rewrite using time-add.
23125
23126 * play/hanoi.el (hanoi-current-time-float): Remove.
23127 All uses replaced by float-time.
23128
23129 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
23130 This yields a more-accurate answer.
23131 (rng-time-to-float): Remove; no longer needed.
23132
23133 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
23134
23135 * calendar/timeclock.el (timeclock-seconds-to-time):
23136 Defalias to seconds-to-time, since they're the same thing.
23137
23138 * emacs-lisp/elp.el (elp-elapsed-time):
23139 * emacs-lisp/benchmark.el (benchmark-elapse):
23140 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
23141
23142 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23143
23144 * window.el (bury-buffer): Don't iconify the only frame.
23145 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
23146 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
23147
23148 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
23149
23150 * eshell/em-smart.el (eshell-smart-display-navigate-list):
23151 Add mouse-yank-primary.
23152
23153 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23154
23155 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
23156
23157 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23158
23159 * emacs-lisp/find-func.el (find-library--load-name): New fun.
23160 (find-library-name): Use it to find relative load names when provided
23161 absolute file name (bug#8803).
23162
23163 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23164
23165 * textmodes/flyspell.el (flyspell-word): Consider words that
23166 differ only in case as potential doublons (bug#5687).
23167
23168 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
23169 Remove two rather uninteresting debugging-like messages to make
23170 debbugs.el more silent.
23171
23172 * comint.el (comint-password-prompt-regexp): Accept "Response" as
23173 a password-like phrase.
23174
23175 2011-06-30 Masatake YAMATO <yamato@redhat.com>
23176
23177 * progmodes/cc-guess.el: New file.
23178
23179 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
23180
23181 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
23182 derived from `c-basic-common-init'.
23183
23184 * progmodes/cc-mode.el (top-level): Require cc-guess.
23185 (c-basic-common-init): Use `cc-choose-style-for-mode'.
23186
23187 2011-06-30 Lawrence Mitchell <wence@gmx.li>
23188
23189 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
23190
23191 2011-06-30 Alan Mackenzie <acm@muc.de>
23192
23193 * progmodes/cc-engine.el (c-guess-continued-construct):
23194 Correct the handling of template-args-cont, particularly for when font
23195 lock is disabled. Name this case as "CASE G".
23196
23197 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
23198
23199 * allout.el (allout-yank-processing): Fix injection of extra space
23200 between bullet and non-whitespace character in first topic when
23201 pasting, ensuring that the actual spacing in the pasted topic
23202 following the bullet char is preserved. This extra space was
23203 causing pasted encrypted topics to get a decrypted status even
23204 when the content was actually still encrypted. Now the decryption
23205 status from before the paste is preserved.
23206
23207 (allout-flag-region): Set all allout overlays so they evaporate
23208 when reduced to zero length (evanescent), to prevent overlay
23209 leakage.
23210
23211 2011-06-30 Glenn Morris <rgm@gnu.org>
23212
23213 * w32-fns.el (w32-charset-info-alist): Declare.
23214
23215 * find-dired.el (find-grep-options): Simplify.
23216
23217 * term/ns-win.el (ns-set-resource): Declare.
23218
23219 * ses.el (row, col): Declare dynamic variables honestly.
23220
23221 * textmodes/reftex-parse.el (index-tags): Declare.
23222
23223 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
23224
23225 * cus-edit.el (customize-push-and-save): New function.
23226
23227 * files.el (hack-local-variables-confirm): Use it.
23228
23229 * custom.el (load-theme): New arg NO-CONFIRM.
23230 Use customize-push-and-save (Bug#8720).
23231 (custom-enabled-themes): Doc fix.
23232
23233 * cus-theme.el (customize-create-theme)
23234 (custom-theme-merge-theme): Callers to load-theme changed.
23235
23236 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23237
23238 * thingatpt.el (thing-at-point-short-url-regexp): Require that
23239 short URLs have at least one dot in them (bug #7614).
23240
23241 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
23242 nil, because using a pty is apparently too slow (bug #895).
23243
23244 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
23245
23246 * mail/sendmail.el (sendmail-query-once): New function.
23247 (sendmail-query-once-function): New variable.
23248
23249 2011-06-29 Glenn Morris <rgm@gnu.org>
23250
23251 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
23252
23253 * ses.el (top-level): Require cl when compiling.
23254 (ses-set-localvars): Fix error statement.
23255 Call it at compile time to silence a storm of warnings.
23256
23257 2011-06-29 Martin Rudalics <rudalics@gmx.at>
23258
23259 * window.el (normalize-live-buffer): Rename to
23260 window-normalize-buffer.
23261 (normalize-live-frame): Rename to window-normalize-frame.
23262 (normalize-any-window): Rename to window-normalize-any-window.
23263 (normalize-live-window): Rename to window-normalize-live-window.
23264 (make-window-atom): Rename to window-make-atom.
23265 (window-resize-reset): Rename to window--resize-reset.
23266 (window-resize-reset-1): Rename to window--resize-reset-1.
23267 (resize-mini-window): Rename to window--resize-mini-window.
23268 (resize-subwindows-skip-p): Rename to
23269 window--resize-subwindows-skip-p.
23270 (resize-subwindows-normal): Rename to
23271 window--resize-subwindows-normal.
23272 (resize-subwindows): Rename to window--resize-subwindows.
23273 (resize-other-windows): Rename to window--resize-siblings.
23274 (resize-this-window): Rename to window--resize-this-window.
23275 (resize-root-window): Rename to window--resize-root-window.
23276 (resize-root-window-vertically): Rename to
23277 window--resize-root-window-vertically.
23278 (normalize-buffer-to-display): Rename to
23279 window-normalize-buffer-to-display.
23280 (normalize-buffer-to-switch-to): Rename to
23281 window-normalize-buffer-to-switch-to.
23282 Correspondingly update all callers of the functions listed
23283 above.
23284 (display-buffer-alist, display-buffer-normalize-arguments)
23285 (display-buffer-normalize-options, display-buffer)
23286 (display-buffer-alist-set): Use "function" instead of
23287 "fun-with-args".
23288
23289 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
23290
23291 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
23292 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
23293 debbugs.gnu.org. Mention acknowledgment email.
23294
23295 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
23296
23297 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
23298 buffer multibyteness, since it shouldn't matter.
23299
23300 2011-06-28 Martin Rudalics <rudalics@gmx.at>
23301
23302 * window.el (display-buffer-in-side-window): Handle dedicated
23303 windows as in display-buffer-reuse-window.
23304 (display-buffer-normalize-alist): Use value of override
23305 specifier.
23306 (display-buffer-normalize-specifiers): Use value of
23307 other-window-means-other-frame specifier.
23308 (display-buffer-alist): Rewrite some texts in widgets.
23309 (display-buffer): Spread arguments when calling function
23310 specified by fun-with-args.
23311
23312 2011-06-28 Deniz Dogan <deniz@dogan.se>
23313
23314 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
23315 Unnest `let'.
23316
23317 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
23318 selectors (Bug#5732).
23319 (css-proprietary-nmstart-re): Use `regexp-opt'.
23320
23321 2011-06-27 Jari Aalto <jari.aalto@cante.net>
23322
23323 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
23324 (eshell-ls-date-format): New defcustom.
23325 (eshell-ls-file): Use it.
23326
23327 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23328
23329 * help-fns.el (describe-variable): Fix message for terminal-local vars.
23330
23331 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
23332
23333 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
23334 (ange-ftp-make-tmp-name): New arg.
23335 (ange-ftp-file-local-copy): Use it.
23336
23337 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
23338
23339 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
23340 no-conversion (Bug#8870).
23341
23342 2011-06-27 Martin Rudalics <rudalics@gmx.at>
23343
23344 * window.el (window-right, window-left, window-child)
23345 (window-child-count, window-last-child)
23346 (window-iso-combination-p, walk-window-tree-1)
23347 (window-atom-check-1, window-tree-1, delete-window)
23348 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
23349 new naming conventions - window-vchild, window-hchild,
23350 window-next and window-prev are now called window-top-child,
23351 window-left-child, window-next-sibling and window-prev-sibling
23352 respectively.
23353 (resize-window-reset): Rename to window-resize-reset.
23354 (resize-window-reset-1): Rename to window-resize-reset-1.
23355 (resize-window): Rename to window-resize.
23356 (window-min-height, window-min-width)
23357 (resize-mini-window, resize-this-window, resize-root-window)
23358 (resize-root-window-vertically, adjust-window-trailing-edge)
23359 (enlarge-window, shrink-window, maximize-window)
23360 (minimize-window, delete-window, quit-restore-window)
23361 (split-window, balance-windows, balance-windows-area-adjust)
23362 (balance-windows-area, window-state-put-2)
23363 (display-buffer-even-window-sizes, display-buffer-set-height)
23364 (display-buffer-set-width, set-window-text-height)
23365 (fit-window-to-buffer): Rename all "resize-window" prefixed
23366 calls to use the "window-resize" prefix convention.
23367 (display-buffer-alist): Fix symbol for label specifier.
23368 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
23369 corresponding specifier.
23370 Reported by Juanma Barranquero <lekktu@gmail.com>.
23371
23372 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23373
23374 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
23375 convention.
23376 (ses-call-printer): Does not pass an empty string to formatter when the
23377 cell is empty to keep from barking printer Calc math-format-value.
23378
23379 2011-06-27 Richard Stallman <rms@gnu.org>
23380
23381 * battery.el (battery-mode-line-limit): New variable.
23382 (battery-update): Handle it.
23383
23384 * mail/rmailmm.el (rmail-mime-process-multipart):
23385 Handle truncated messages.
23386
23387 2011-06-27 Glenn Morris <rgm@gnu.org>
23388
23389 * progmodes/flymake.el (flymake-err-line-patterns):
23390 Allow for column numbers in the ant/javac pattern. (Bug#8866)
23391
23392 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23393
23394 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
23395 (ses--clean-!, ses--clean-_): New functions.
23396 (ses-range): Add configurability of readout order, and conversion
23397 to Calc vector.
23398
23399 * ses.el (ses-repair-cell-reference-all): New function.
23400 (ses-cell-symbol): Set macro as safe, so that it can be used in
23401 formulas.
23402
23403 * ses.el: Update cycle detection algorithm.
23404 (ses-localvars): Add ses--Dijkstra-attempt-nb and
23405 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
23406 (ses-set-localvars): New function.
23407 (ses-make-cell): Add property-list as a cell element.
23408 (ses-cell-property-get-fun, ses-cell-property-get)
23409 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
23410 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
23411 New functions.
23412 (ses-cell-property-set, ses-cell-property-pop)
23413 (ses-cell-property-get-handle): New macro.
23414 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
23415 New aliases, used for code readability.
23416 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
23417 cycle detection.
23418 (ses-self-reference-early-detection): New defcustom.
23419 (ses-formula-references): Robustify against self-referring cells.
23420 (ses-mode): Use ses-set-localvars.
23421 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
23422 before lauching the update processing.
23423 (ses-initialize-Dijkstra-attempt): New function.
23424 (ses-recalculate-cell): Update for cycle detection based on
23425 Dijkstra algorithm.
23426
23427 * ses.el: Fix commenting and indenting convention.
23428
23429 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23430
23431 * bs.el (bs-cycle-next): Complete last change.
23432
23433 2011-06-27 Drew Adams <drew.adams@oracle.com>
23434
23435 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
23436
23437 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
23438
23439 * net/network-stream.el (network-stream-open-starttls):
23440 Don't re-get capabilities unless we've reestablished connection.
23441 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
23442
23443 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
23444 to binary to possibly avoid line encoding issues on Windows (among
23445 other things).
23446
23447 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23448
23449 * net/network-stream.el (open-network-stream): Return an :error
23450 saying what the problem was, if possible.
23451
23452 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
23453 server.
23454
23455 * net/network-stream.el (network-stream-open-starttls): If we
23456 wanted to use STARTTLS, and the server offered it, but we weren't
23457 able to because we had no STARTTLS support, then close the connection.
23458 (open-network-stream): Return an :error element, if present.
23459
23460 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23461
23462 * hl-line.el (hl-line-sticky-flag): Doc fix.
23463 (global-hl-line-sticky-flag): New option (Bug#8323).
23464 (global-hl-line-highlight): Obey it.
23465
23466 * vc/vc.el (vc-revert-show-diff): Default to t.
23467
23468 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
23469
23470 * allout-widgets.el (allout-widgets-post-command-business):
23471 Stop decorating intermediate isearch matches. They're not being
23472 undecorated when an isearch is continued past, and isearch
23473 automatically collapses them. This leads to "widget leaks", where
23474 decorated items accumulate in collapsed areas. Lines with lots of
23475 hidden widgets can slow down cursor travel, substantially.
23476 Too much complicated machinery would be needed to ensure undecoration,
23477 so we're doing without this nicety.
23478
23479 (allout-widgets-tally-string): Don't try to do a hash-table-count
23480 of allout-widgets-tally when it's nil. This eliminates spurious "Error
23481 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
23482 *Messages* when allout-widgets-maintain-tally is t.
23483
23484 2011-06-26 Martin Rudalics <rudalics@gmx.at>
23485
23486 * window.el (display-buffer-normalize-argument): Rename to
23487 display-buffer-normalize-arguments. Handle special meaning of
23488 LABEL argument. Respect special-display-function when popping up
23489 a new frame. Fix code searching for a window showing the buffer
23490 on another frame.
23491 (display-buffer-normalize-specifiers):
23492 Call display-buffer-normalize-arguments.
23493 (display-buffer-in-window): Don't undedicate the window if its
23494 buffer remains the same.
23495 Reported by Drew Adams <drew.adams@oracle.com>.
23496 (display-buffer-alist): Add choice for same-window macro
23497 specfier.
23498 (display-buffer): Mention special meaning of LABEL argument in
23499 doc-string. Fix quoting. Don't pop up a new frame even as
23500 fallback.
23501
23502 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
23503
23504 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
23505 avoid deleting the current window in some cases (bug#8911).
23506
23507 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
23508
23509 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
23510 (Bug#8934)
23511
23512 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23513
23514 * net/network-stream.el (network-stream-open-starttls):
23515 Use built-in TLS support if `gnutls-available-p' is true.
23516 (network-stream-open-tls): Ditto.
23517
23518 2011-06-26 Leo Liu <sdl.web@gmail.com>
23519
23520 * register.el (registerv): New struct.
23521 (registerv-make): New function.
23522 (jump-to-register, describe-register-1, insert-register):
23523 Support the jump-func, print-func and insert-func slot of a registerv
23524 struct. (Bug#8415)
23525
23526 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23527
23528 * vc/vc.el (vc-revert-show-diff): New defcustom.
23529 (vc-diff-internal): New arg specifying diff buffer.
23530 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
23531 reuse an existing *vc-diff* buffer (Bug#8927).
23532
23533 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
23534
23535 2011-06-26 Glenn Morris <rgm@gnu.org>
23536
23537 * progmodes/f90.el (f90-critical-indent): New option.
23538 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
23539 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
23540 (f90-mode): Doc fix.
23541 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
23542 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
23543 (f90-beginning-of-block, f90-next-block, f90-indent-region)
23544 (f90-match-end): Handle block, critical.
23545
23546 2011-06-25 Glenn Morris <rgm@gnu.org>
23547
23548 * calendar/diary-lib.el (diary-included-files): Doc fix.
23549 (diary-include-files): New function, extracted from
23550 diary-include-other-diary-files and diary-mark-included-diary-files.
23551 (diary-include-other-diary-files, diary-mark-included-diary-files):
23552 Just call diary-include-files.
23553 (diary-mark-entries): Reset diary-included-files on first call.
23554
23555 * calendar/diary-lib.el (diary-mark-entries)
23556 (diary-mark-included-diary-files):
23557 Visit included diary-files in temp buffers.
23558
23559 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
23560 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
23561 (f90-start-block-re, f90-imenu-generic-expression)
23562 (f90-looking-at-program-block-start, f90-no-block-limit):
23563 Add support for submodules.
23564
23565 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23566 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
23567
23568 2011-06-25 Eli Zaretskii <eliz@gnu.org>
23569
23570 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
23571 buffer-file-type before setting its value, to avoid disastrous
23572 global effects on decoding files for DOS/Windows systems. (Bug#8780)
23573
23574 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23575
23576 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
23577
23578 * ses.el (ses-unload-function):
23579 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
23580
23581 * proced.el (proced-unload-function):
23582 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
23583
23584 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
23585
23586 * server.el (server-create-window-system-frame): Add parameters arg.
23587 (server-process-filter): Doc fix. Handle frame-parameters.
23588
23589 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23590
23591 Fix bug#8730, bug#8781.
23592
23593 * loadhist.el (unload--set-major-mode): New function.
23594 (unload-feature): Use it.
23595
23596 * progmodes/python.el (python-after-info-look): Add autoload cookie.
23597 (python-unload-function): New function.
23598
23599 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
23600
23601 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
23602
23603 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
23604
23605 * net/browse-url.el (browse-url-firefox-program): Add icecat to
23606 the candidates list.
23607
23608 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
23609
23610 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
23611
23612 2011-06-23 Richard Stallman <rms@gnu.org>
23613
23614 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
23615 (rmail-variables): Set next-error-move-function.
23616 (rmail-what-message): Take argument POS.
23617 (rmail-next-error-move): New function.
23618
23619 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
23620
23621 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
23622 messages for adjacent non-terminals.
23623
23624 2011-06-23 Richard Stallman <rms@gnu.org>
23625
23626 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
23627 (rmail-show-message-1): Preserve buffer modified flag.
23628 (rmail-start-mail): Don't specify use of rmail-mail-return;
23629 that's done by mail-bury now.
23630 (rmail-mail-return): Handle arg NEWBUF.
23631
23632 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
23633
23634 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
23635 SIZE is a number.
23636
23637 2011-06-23 Martin Rudalics <rudalics@gmx.at>
23638
23639 * window.el (get-lru-window, get-mru-window)
23640 (get-largest-window): Never return a minibuffer window.
23641 (display-buffer-pop-up-window): Fix a bug that could lead to
23642 reusing the minibuffer window.
23643 (display-buffer): Pass original specifier argument to
23644 display-buffer-function instead of the normalized one.
23645 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
23646
23647 2011-06-22 Leo Liu <sdl.web@gmail.com>
23648
23649 * minibuffer.el (completing-read-function)
23650 (completing-read-default): Move from minibuf.c.
23651
23652 2011-06-22 Richard Stallman <rms@gnu.org>
23653
23654 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
23655 to Rmail even if not started by a special Rmail command.
23656
23657 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
23658 Copy the buffer currently showing just one message.
23659
23660 2011-06-22 Roland Winkler <winkler@gnu.org>
23661
23662 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
23663 (bibtex-clean-entry): First delete the old key so that a
23664 customized algorithm for generating the new key does not get
23665 confused by the old key.
23666 (bibtex-url): Obey regexp of first step.
23667 (bibtex-search-entries): Do not use add-to-list with local
23668 list-var.
23669
23670 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23671
23672 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
23673 stored a user name, then query for the password first, instead of
23674 waiting for SMTP to give an error message and the trying again.
23675
23676 2011-06-22 Lawrence Mitchell <wence@gmx.li>
23677
23678 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
23679 BUFFER in call-process.
23680
23681 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23682
23683 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
23684 QUIT twice.
23685 (smtpmail-try-auth-methods): Require user name and password from
23686 auth-source.
23687
23688 2011-06-22 Martin Rudalics <rudalics@gmx.at>
23689
23690 * window.el (display-buffer-default-specifiers)
23691 (display-buffer-alist): Remove entries for pop-up-frame-alist.
23692 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
23693 (split-window): Normalize SIDE argument (Bug#8916).
23694
23695 * frame.el (pop-up-frame-alist, pop-up-frame-function)
23696 (special-display-frame-alist, special-display-popup-frame):
23697 Remove duplicate declarations. These are now in window.el.
23698
23699 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
23700
23701 * mail/smtpmail.el (smtpmail-via-smtp):
23702 Set :use-starttls-if-possible so that we always use STARTTLS if the
23703 server supports it. SMTP servers that support STARTTLS commonly
23704 require it.
23705
23706 * net/network-stream.el (network-stream-open-starttls): Support
23707 upgrading to STARTTLS always, even if we don't have built-in support.
23708 (open-network-stream): Add the :always-query-capabilities keyword.
23709
23710 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
23711 upgrades with `open-network-stream', and rely solely on
23712 auth-source for all credentials. Big changes throughout the file,
23713 but in particular:
23714 (smtpmail-auth-credentials): Remove.
23715 (smtpmail-starttls-credentials): Remove.
23716 (smtpmail-via-smtp): Check for servers saying they want AUTH after
23717 MAIL FROM, too.
23718
23719 * net/network-stream.el (network-stream-open-starttls):
23720 Provide support for client certificates both for external and built-in
23721 STARTTLS.
23722 (auth-source): Require.
23723 (open-network-stream): Document the :client-certificate keyword.
23724 (network-stream-certificate): Change cert-cert to cert and
23725 cert-key to key.
23726
23727 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
23728
23729 * net/tramp-cache.el (top): Don't load the persistency file when
23730 "emacs -Q" has been called.
23731
23732 2011-06-21 Tim Harper <timcharper@gmail.com>
23733
23734 * term/ns-win.el (ns-initialize-window-system):
23735 Set application-specific `ApplePressAndHoldEnabled' system
23736 resource to NO as it is not yet supported by the NS port.
23737
23738 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
23739
23740 * misc.el (list-dynamic-libraries--refresh): Compute header here...
23741 (list-dynamic-libraries): ...not here.
23742
23743 2011-06-21 Leo Liu <sdl.web@gmail.com>
23744
23745 * subr.el (sha1): Implement sha1 using secure-hash.
23746
23747 2011-06-21 Martin Rudalics <rudalics@gmx.at>
23748
23749 * window.el (display-buffer-alist): In default value do not
23750 enforce searching a window on any but the selected frame.
23751 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
23752 (display-buffer-select-window): Remove function.
23753 (display-buffer-in-window): When a window on another frame gets
23754 reused, do not select it any more but just raise its frame if
23755 necessary (Bug#8851) and (Bug#8856).
23756 (display-buffer-normalize-options): Handle pop-up-frames related
23757 options more faithfully.
23758 (pop-to-buffer): Don't rely on `display-buffer' selecting the
23759 window if it is on another frame.
23760 (display-buffer-alist, display-buffer-default-specifiers):
23761 Don't make new frame unsplittable by default.
23762 (display-buffer-normalize-argument): Fix doc-string typo and use
23763 'same-frame-other-window instead of 'other-window when associating
23764 with display-buffer-macro-specifiers.
23765
23766 2011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
23767
23768 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
23769 New functions.
23770 (5x5-mode-map, 5x5-mode-menu): Bind them.
23771 (5x5-draw-grid): Tweak the solver's rendering.
23772
23773 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23774
23775 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
23776 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
23777
23778 2011-06-21 Drew Adams <drew.adams@oracle.com>
23779
23780 * menu-bar.el: Use function variable instead of switch-to-buffer.
23781 (menu-bar-select-buffer-function): New variable.
23782 (menu-bar-update-buffers): Use it (bug#8876).
23783
23784 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23785
23786 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
23787 variable's status.
23788
23789 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
23790
23791 * x-dnd.el (x-dnd-version-from-flags)
23792 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
23793 and long as number (Bug#8899).
23794 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
23795
23796 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
23797
23798 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
23799 (completion-try-completion, completion-all-completions): Compute the
23800 metadata argument if it's missing; make it optional (bug#8795).
23801
23802 * wid-edit.el: Use lex-bind and move towards completion-at-point.
23803 (widget-complete): Use new :completion-function property.
23804 (widget-completions-at-point): New function.
23805 (default): Use :completion-function instead of :complete.
23806 (widget-default-completions): Rename from widget-default-complete;
23807 Rewrite.
23808 (widget-string-complete, widget-file-complete, widget-color-complete):
23809 Remove functions.
23810 (file, symbol, function, variable, coding-system, color):
23811 * international/mule-cmds.el (default-input-method, charset)
23812 (language-info-custom-alist):
23813 * cus-edit.el (face): Use new property :completions.
23814
23815 * progmodes/pascal.el (pascal-completions-at-point): New function.
23816 (pascal-mode): Use it.
23817 (pascal-mode-map): Use completion-at-point.
23818 (pascal-toggle-completions): Make obsolete.
23819 (pascal-complete-word, pascal-show-completions):
23820 * progmodes/octave-mod.el (octave-complete-symbol):
23821 Redefine as obsolete alias.
23822 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
23823 Signal absence of completion info for old Octave,
23824 (inferior-octave-complete): Redefine as obsolete alias.
23825 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
23826 (meta-completions-at-point): Rename from meta-complete-symbol and
23827 adapt it for use on completion-at-point-functions.
23828 (meta-common-mode): Use it.
23829 (meta-looking-at-backward, meta-match-buffer): Remove.
23830 (meta-complete-symbol): Redefine as obsolete alias.
23831 (meta-common-mode-map): Use completion-at-point.
23832 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
23833 (makefile-mode-map): Use completion-at-point.
23834 (makefile-completions-at-point): Rename from makefile-complete and
23835 adapt it for use on completion-at-point-functions.
23836 (makefile-mode): Use it.
23837 (makefile-complete): Redefine as obsolete alias.
23838
23839 2011-06-20 Deniz Dogan <deniz@dogan.se>
23840
23841 * net/rcirc.el: Delete trailing whitespaces once and for all.
23842
23843 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
23844
23845 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
23846
23847 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
23848
23849 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
23850
23851 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
23852
23853 2011-06-19 Martin Rudalics <rudalics@gmx.at>
23854
23855 * window.el (display-buffer-other-window-means-other-frame):
23856 Call display-buffer-normalize-alist.
23857 (display-buffer-normalize-specifiers-1): Rename to
23858 display-buffer-normalize-argument. New argument other-frame.
23859 Rewrite.
23860 (display-buffer-normalize-specifiers-2): Rename to
23861 display-buffer-normalize-options.
23862 (display-buffer-normalize-alist-1): New function.
23863 (display-buffer-normalize-specifiers-3): Rename to
23864 display-buffer-normalize-alist.
23865 Call display-buffer-normalize-alist-1.
23866 (display-buffer-normalize-options-inhibit): New variable.
23867 (display-buffer-normalize-specifiers): Rewrite calling
23868 display-buffer-normalize-alist,
23869 display-buffer-normalize-argument, and
23870 display-buffer-normalize-options. Don't call the latter if
23871 display-buffer-normalize-options-inhibit is non-nil.
23872 (frame-auto-delete): New option.
23873 (window-deletable-p): Use frame-auto-delete.
23874 (window-list-no-nils, window-state-ignored-parameters)
23875 (window-state-get-1, window-state-get, window-state-put-list)
23876 (window-state-put-1, window-state-put-2, window-state-put):
23877 New functions.
23878 (display-buffer-normalize-options): Move special-display-p group
23879 after pop-up-frame group (Bug#8851) and (Bug#8856).
23880
23881 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
23882
23883 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
23884 groups (Bug#8776).
23885 (rx-submatch-n): New function.
23886 (rx): Document it.
23887
23888 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
23889 (Bug#8768).
23890
23891 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
23892
23893 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
23894
23895 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
23896 anytime existing face settings are present (Bug#8889).
23897
23898 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
23899 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
23900 Remove unused argument.
23901
23902 2011-06-18 Martin Rudalics <rudalics@gmx.at>
23903
23904 * window.el (display-buffer-default-specifiers):
23905 Remove pop-up-frame. Add pop-up-window-min-height,
23906 pop-up-window-min-width, and another reuse-window specifier
23907 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
23908 (display-buffer-normalize-specifiers-2):
23909 Handle split-height-threshold and split-width-threshold also when
23910 pop-up-windows is unset. Add a reuse-window specifier for the
23911 case popping up a new window fails.
23912 (special-display-popup-frame): Remove double quoting.
23913 (display-buffer-normalize-specifiers-1): Fix thinko.
23914
23915 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
23916
23917 * shell.el (shell-completion-vars): Set pcomplete-termination-string
23918 according to comint-completion-addsuffix.
23919
23920 * pcomplete.el: Convert to lexical binding and fix bug#8819.
23921 (pcomplete-suffix-list): Mark as obsolete.
23922 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
23923 pcomplete-seen in the closure.
23924 (pcomplete-comint-setup): Setup completion-at-point as well.
23925 (pcomplete--entries): New function.
23926 (pcomplete--env-regexp): New var.
23927 (pcomplete-entries): Rewrite to work with partial-completion and
23928 without relying on pcomplete-suffix-list.
23929 (pcomplete-pare-list): Remove, unused.
23930
23931 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23932
23933 * window.el (display-buffer-alist): Set pop-up-window-min-height
23934 and pop-up-window-min-width in default value. Reported by
23935 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
23936 other-window-means-other-frame.
23937 (display-buffer-macro-specifiers): Comment out entry for
23938 other-window specifier.
23939 (display-buffer-other-window-means-other-frame): New function.
23940 (display-buffer-normalize-specifiers-1): New arguments
23941 buffer-name and label. Treat other-window case specially.
23942 (display-buffer-normalize-specifiers-2): Treat other-window case
23943 specially.
23944 (display-buffer-normalize-specifiers-3): New function.
23945 (display-buffer-normalize-specifiers):
23946 Call display-buffer-normalize-specifiers-3.
23947
23948 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23949
23950 * window.el (same-window-p): Fix two typos introduced when
23951 adding with-no-warnings.
23952 (display-buffer-normalize-specifiers-1): Don't check
23953 pop-up-frames for 'unset initialization.
23954 (display-buffer-normalize-specifiers-2): Major rewrite using
23955 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
23956 (pop-up-frames, display-buffer-reuse-frames)
23957 (display-buffer-mark-dedicated): Don't initialize to 'unset.
23958 Suggested by David Engster <deng@randomsample.de>.
23959 (even-window-heights): Initialize to 'unset.
23960 (display-buffer-alist-set): Handle new 'unset initializations.
23961 (display-buffer-macro-specifiers): Don't pop up a new frame in the
23962 other window case.
23963
23964 2011-06-16 Martin Rudalics <rudalics@gmx.at>
23965
23966 * window.el (display-buffer-normalize-specifiers-1):
23967 Respect current value of pop-up-frames for most reasonable values of
23968 second argument of display-buffer (Bug#8865).
23969 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
23970 (switch-to-buffer-other-window-same-frame)
23971 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
23972 Adams (Bug#8875).
23973 (display-buffer): Don't check noninteractive when calling
23974 display-buffer-pop-up-frame.
23975 (display-buffer-pop-up-frame): Never pop up a frame in
23976 noninteractive mode (Bug#8857).
23977 (enlarge-window, shrink-window): Don't report an error when the
23978 window can't be resized as requested (Bug#8862).
23979
23980 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23981
23982 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
23983
23984 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
23985
23986 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
23987
23988 2011-06-15 Alan Mackenzie <acm@muc.de>
23989
23990 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
23991 for declarators, disable knr checking to speed up for normal files.
23992 2: Refactor, replacing a sequence of nested if forms by a cond form.
23993
23994 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
23995
23996 * net/network-stream.el (open-network-stream): Add the keyword
23997 :always-query-capabilities for the case where you want to force a
23998 `plain' network connection, but the protocol still requires the
23999 capabilitiy command (i.e., SMTP and EHLO).
24000
24001 * subr.el (process-live-p): Rename from `process-alive-p' for
24002 consistency with other `-live-p' functions.
24003
24004 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24005
24006 * window.el (same-window-buffer-names, same-window-regexps)
24007 (special-display-frame-alist, special-display-popup-frame)
24008 (special-display-function, special-display-buffer-names)
24009 (special-display-regexps, pop-up-frame-alist)
24010 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
24011 (pop-up-windows, split-window-preferred-function)
24012 (split-height-threshold, split-width-threshold, even-window-heights)
24013 (display-buffer-mark-dedicated): Don't encourage the use of
24014 display-buffer-alist from Elisp code.
24015
24016 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
24017
24018 * progmodes/python.el (python-mode): Derive from prog-mode.
24019 * progmodes/ps-mode.el (ps-mode):
24020 * progmodes/mixal-mode.el (mixal-mode):
24021 * progmodes/cfengine.el (cfengine-mode):
24022 * progmodes/ld-script.el (ld-script-mode): Likewise.
24023
24024 2011-06-15 Martin Rudalics <rudalics@gmx.at>
24025
24026 * window.el (display-buffer-alist): Trim default value to avoid
24027 popping up a new frame (Bug#8857) or reusing an arbitrary window
24028 on another frame.
24029 (display-buffer): Do not fall back on popping up a new frame in
24030 batch mode (Bug#8857).
24031
24032 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
24033
24034 * cus-theme.el (describe-theme-1): Use custom-theme-p.
24035 (custom-theme-summary): New function.
24036 (customize-themes): Use it.
24037
24038 2011-06-13 Glenn Morris <rgm@gnu.org>
24039
24040 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
24041
24042 2011-06-13 Martin Rudalics <rudalics@gmx.at>
24043
24044 * help.el (help-window): Remove variable.
24045 (help-window-point-marker, temp-buffer-max-height)
24046 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
24047 (help-print-return-message): Don't set help-window.
24048 (resize-temp-buffer-window): Rewrite cod eand doc-string.
24049 (help-window-setup-finish): Remove.
24050 (help-window-display-message, help-window-setup)
24051 (with-help-window): Major rewrite based on new
24052 display-buffer-window variable.
24053
24054 * help-mode.el (help-mode-finish): Remove help-window related
24055 code.
24056
24057 * view.el (view-exits-all-viewing-windows): Remove reference to
24058 view-return-to-alist in doc-string.
24059 (view-return-to-alist): Make obsolete.
24060 (view-buffer): Call pop-to-buffer-same-window and remove
24061 undo-window code.
24062 (view-buffer-other-window): Call pop-to-buffer-other-window and
24063 simplify code. Ignore second argument.
24064 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
24065 simplify code. Ignore second argument.
24066 (view-return-to-alist-update): Make obsolete.
24067 (view-mode-enter): Rename second argument to QUIT-RESTORE.
24068 Rewrite using quit-restore window parameters.
24069 (view-mode-exit): Rename second argument to EXIT-ONLY.
24070 Rewrite using quit-restore-window.
24071 (View-exit, View-exit-and-edit, View-leave, View-quit)
24072 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
24073 appropriate arguments.
24074 (view-end-message): Use quit-restore window parameter.
24075
24076 * window.el (display-buffer-function): Rewrite doc-string.
24077 (display-buffer-window, display-buffer-alist): New variables.
24078 (display-buffer-split-specifiers)
24079 (display-buffer-side-specifiers)
24080 (display-buffer-macro-specifiers): New constants.
24081 (display-buffer-even-window-sizes, display-buffer-set-height)
24082 (display-buffer-set-width, display-buffer-select-window)
24083 (display-buffer-in-window, display-buffer-reuse-window)
24084 (display-buffer-split-window-1, display-buffer-split-window)
24085 (display-buffer-split-atom-window, display-buffer-pop-up-window)
24086 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
24087 (display-buffer-in-side-window, normalize-buffer-to-display)
24088 (display-buffer-normalize-specifiers-1)
24089 (display-buffer-normalize-specifiers-2)
24090 (display-buffer-normalize-specifiers, display-buffer-frame):
24091 New functions.
24092 (display-buffer): Major rewrite.
24093 (display-buffer-other-window, display-buffer-other-frame)
24094 (pop-to-buffer, switch-to-buffer-other-window)
24095 (switch-to-buffer-other-frame): Rewrite.
24096 (display-buffer-same-window, display-buffer-same-frame)
24097 (display-buffer-same-frame-other-window)
24098 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
24099 (pop-to-buffer-other-window)
24100 (pop-to-buffer-same-frame-other-window)
24101 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
24102 (switch-to-buffer-other-window-same-frame): New functions.
24103 (same-window-p, special-display-p): Rewrite disabling warnings.
24104 Make obsolete.
24105 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
24106 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
24107 Make obsolete
24108 (same-window-buffer-names, same-window-regexps)
24109 (special-display-frame-alist, special-display-popup-frame)
24110 (special-display-function, special-display-buffer-names)
24111 (special-display-regexps, pop-up-frame-alist)
24112 (pop-up-frame-function, split-window-preferred-function)
24113 (split-height-threshold, split-width-threshold)
24114 (even-window-heights): Make obsolete.
24115
24116 2011-06-12 Glenn Morris <rgm@gnu.org>
24117
24118 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
24119 Misc simplifications.
24120
24121 2011-06-12 Martin Rudalics <rudalics@gmx.at>
24122
24123 * window.el (window-safely-shrinkable-p): Restore function which
24124 was inadvertently removed in change from 2011-06-11. Declare as
24125 obsolete.
24126
24127 * calendar/calendar.el (calendar-generate-window):
24128 Use window-iso-combined-p instead of combination of one-window-p and
24129 window-safely-shrinkable-p.
24130
24131 2011-06-12 Glenn Morris <rgm@gnu.org>
24132
24133 * progmodes/fortran.el (fortran-mode-syntax-table):
24134 * progmodes/f90.el (f90-mode-syntax-table):
24135 Set % to punctuation. (Bug#8820)
24136 (f90-find-tag-default): Remove, no longer needed.
24137
24138 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
24139
24140 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
24141
24142 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
24143
24144 * image.el (image-animated-p): Return animation delay in seconds.
24145 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
24146 (image-animate-timeout): Remove DELAY argument. Don't assume
24147 every subimage has the same delay; get it from image-animated-p.
24148 (image-animate): Caller changed.
24149
24150 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
24151
24152 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
24153 to ignored backtrace functions.
24154
24155 2011-06-11 Glenn Morris <rgm@gnu.org>
24156
24157 * calendar/appt.el (appt-disp-window-function): Doc fix.
24158 (appt-check): Handle overlapping appointments. (Bug#8337)
24159
24160 2011-06-11 Martin Rudalics <rudalics@gmx.at>
24161
24162 * window.el (window-tree-1, window-tree): New functions, moving
24163 the latter to window.el.
24164 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
24165 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
24166 (bw-refresh-edges): Remove.
24167 (balance-windows-1, balance-windows-2): New functions.
24168 (balance-windows): Rewrite in terms of window tree functions,
24169 balance-windows-1 and balance-windows-2.
24170 (bw-adjust-window): Remove.
24171 (balance-windows-area-adjust): New function with functionality of
24172 bw-adjust-window but using resize-window.
24173 (set-window-text-height): Rewrite doc-string.
24174 Use normalize-live-window and resize-window.
24175 (enlarge-window-horizontally, shrink-window-horizontally):
24176 Rename argument to DELTA.
24177 (window-buffer-height): New function.
24178 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
24179 Rewrite using new window resize routines.
24180 (kill-buffer-and-window, mouse-autoselect-window-select):
24181 Use ignore-errors instead of condition-case.
24182 (quit-window): Call delete-frame instead of delete-windows-on
24183 for the only buffer on frame.
24184
24185 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24186
24187 * loadup.el (top-level): Load window before files for the sake
24188 of replace-buffer-in-windows.
24189
24190 * files.el (read-buffer-to-switch)
24191 (switch-to-buffer-other-window)
24192 (switch-to-buffer-other-frame, display-buffer-other-frame):
24193 Move to window.el.
24194
24195 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
24196 (previous-buffer): Move to window.el.
24197
24198 * bindings.el (unbury-buffer): Move to window.el.
24199
24200 * window.el (delete-other-windows-vertically): Move after
24201 definition of delete-other-windows.
24202 (other-window, delete-windows-on, replace-buffer-in-windows):
24203 Move here from window.c.
24204 (record-window-buffer, unrecord-window-buffer)
24205 (set-window-buffer-start-and-point, switch-to-prev-buffer)
24206 (switch-to-next-buffer): New functions.
24207 (get-next-valid-buffer, last-buffer, next-buffer): Move here
24208 from simple.el. Call switch-to-next-buffer.
24209 (previous-buffer): Move here from simple.el.
24210 Call switch-to-prev-buffer.
24211 (bury-buffer): Move here from buffer.c. Switch to previous
24212 buffer when window cannot be deleted.
24213 (unbury-buffer): Move here from bindings.el.
24214 (ctl-x-map): Move binding for other-window from window.c to
24215 here.
24216 (read-buffer-to-switch, switch-to-buffer-other-window)
24217 (switch-to-buffer-other-frame): Move here from files.el.
24218 (normalize-buffer-to-switch-to): New functions.
24219 (switch-to-buffer): Move here from buffer.c.
24220 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
24221
24222 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24223
24224 * window.el (window-min-height, window-min-width): Move here
24225 from window.c. Add defcustoms and rewrite doc-strings.
24226 (resize-mini-window, resize-window): New functions.
24227 (adjust-window-trailing-edge, enlarge-window, shrink-window):
24228 Move here from window.c.
24229 (maximize-window, minimize-window): New functions.
24230 (delete-window, delete-other-windows, split-window): Move here
24231 from window.c.
24232 (window-split-min-size): New function.
24233 (split-window-keep-point): Mention split-window-above-each-other
24234 instead of split-window-vertically.
24235 (split-window-above-each-other, split-window-vertically):
24236 Rename split-window-vertically to split-window-above-each-other
24237 and provide defalias for old definition.
24238 (split-window-side-by-side, split-window-horizontally):
24239 Rename split-window-horizontally to split-window-side-by-side
24240 and provide defalias for the old definition.
24241 (ctl-x-map): Move bindings for delete-window,
24242 delete-other-windows and enlarge-window here from window.c.
24243 Replace bindings for split-window-vertically and
24244 split-window-horizontally by bindings for
24245 split-window-above-each-other and split-window-side-by-side.
24246
24247 * cus-start.el (all): Remove entries for window-min-height and
24248 window-min-width. Add entries for window-splits and
24249 window-nest.
24250
24251 2011-06-09 Glenn Morris <rgm@gnu.org>
24252
24253 * calendar/appt.el (appt-mode-line): New function.
24254 (appt-check, appt-disp-window): Use it.
24255
24256 * files.el (hack-one-local-variable-eval-safep):
24257 Allow minor-modes with explicit +/-1 arguments.
24258
24259 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
24260
24261 * term/xterm.el (xterm): Add defgroup.
24262 (xterm-extra-capabilities): Add defcustom to supply known xterm
24263 capabilities, skip querying them, or query them (default).
24264 (terminal-init-xterm): Use it.
24265 (terminal-init-xterm-modify-other-keys): New function to set up
24266 modifyOtherKeys support to simplify `terminal-init-xterm'.
24267
24268 2011-06-09 Martin Rudalics <rudalics@gmx.at>
24269
24270 * window.el (resize-window-reset, resize-window-reset-1)
24271 (resize-subwindows-skip-p, resize-subwindows-normal)
24272 (resize-subwindows, resize-other-windows, resize-this-window)
24273 (resize-root-window, resize-root-window-vertically)
24274 (window-deletable-p, window-or-subwindow-p)
24275 (frame-root-window-p): New functions.
24276
24277 2011-06-09 Glenn Morris <rgm@gnu.org>
24278
24279 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
24280 (ange-ftp-get-files): Use it.
24281
24282 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
24283
24284 * mail/sendmail.el (mail-recover-1, mail-recover):
24285 * files.el (recover-file, recover-session):
24286 Handle dired-listing-switches not being just a single short option.
24287
24288 2011-06-09 Glenn Morris <rgm@gnu.org>
24289
24290 * calendar/appt.el (appt-display-message, appt-disp-window):
24291 Handle lists of appointments.
24292
24293 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24294
24295 * window.el (one-window-p): Move down in code.
24296 Rewrite doc-string.
24297 (window-current-scroll-bars): Rewrite doc-string.
24298 Normalize live window argument.
24299 (walk-windows, get-window-with-predicate, count-windows):
24300 Rewrite doc-string. Use window-list-1.
24301 (window-in-direction-2, window-in-direction, get-mru-window):
24302 New functions.
24303
24304 2011-06-08 Reuben Thomas <rrt@sc3d.org>
24305
24306 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
24307 Doc fix (Bug#8713).
24308
24309 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
24310
24311 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
24312
24313 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
24314
24315 * loadhist.el (unload-feature-special-hooks):
24316 Add `comint-output-filter-functions'.
24317
24318 2011-06-08 Ivan Kanis <gnu@kanis.fr>
24319
24320 * calendar/appt.el (appt-check): Move some initializations into the let.
24321
24322 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24323
24324 * window.el (window-height): Defalias to window-total-height.
24325 (window-width): Defalias to window-body-width.
24326
24327 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
24328
24329 * image-mode.el (image-toggle-animation): New command.
24330 (image-mode-map): Bind it to RET.
24331 (image-mode): Update message.
24332 (image-toggle-display-image): Avoid a spurious cache flush.
24333 (image-transform-rotation): Doc fix.
24334 (image-transform-properties): Return quickly in the normal case.
24335 (image-animate-loop): Rename from image-animate-max-time.
24336
24337 * image.el (image-animate-max-time): Move to image-mode.el.
24338 (create-animated-image): Remove unnecessary function.
24339 (image-animate): Rename from image-animate-start. New arg.
24340 (image-animate-stop): Remove; just use image-animate-timer.
24341 (image-animate-timer): Use car-safe.
24342 (image-animate-timeout): Rename argument.
24343
24344 2011-06-07 Martin Rudalics <rudalics@gmx.at>
24345
24346 * window.el (get-lru-window, get-largest-window): Move here from
24347 window.c. Rename first argument to ALL-FRAMES.
24348 Rephrase doc-strings.
24349 (get-buffer-window-list): Rewrite using window-list-1.
24350 Rephrase doc-string.
24351 (window-safe-min-height, window-safe-min-width): New constants.
24352 (window-size-ignore, window-min-size, window-min-size-1)
24353 (window-sizable, window-sizable-p, window-size-fixed-1)
24354 (window-size-fixed-p, window-min-delta-1, window-min-delta)
24355 (window-max-delta-1, window-max-delta, window-resizable)
24356 (window-resizable-p, window-total-height, window-total-width)
24357 (window-body-width): New functions.
24358 (window-full-height-p, window-full-width-p): Rewrite using
24359 window-total-size.
24360 (window-body-height): Rewrite using window-body-size.
24361
24362 2011-06-06 Martin Rudalics <rudalics@gmx.at>
24363
24364 * window.el (window-right, window-left, window-child)
24365 (window-child-count, window-last-child, window-any-p)
24366 (normalize-live-buffer, normalize-live-frame)
24367 (normalize-any-window, normalize-live-window)
24368 (window-iso-combination-p, window-iso-combined-p)
24369 (window-iso-combinations)
24370 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
24371 (windows-with-parameter, window-with-parameter)
24372 (window-atom-root, make-window-atom, window-atom-check-1)
24373 (window-atom-check, window-side-check, window-check):
24374 New functions.
24375 (ignore-window-parameters, window-sides, window-sides-vertical)
24376 (window-sides-slots): New variables.
24377 (window-size-fixed): Move down in code. Minor doc-string fix.
24378
24379 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
24380
24381 * comint.el (comint-dynamic-complete-as-filename)
24382 (comint-dynamic-complete-filename): Correctly call
24383 completion-in-region.
24384
24385 2011-06-05 Deniz Dogan <deniz@dogan.se>
24386
24387 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
24388 in last change.
24389
24390 2011-06-05 Deniz Dogan <deniz@dogan.se>
24391
24392 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
24393 (rcirc): Use it to prompt for encryption.
24394
24395 2011-06-05 Roland Winkler <winkler@gnu.org>
24396
24397 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
24398 (bibtex-search-entries): New command bound to C-c C-a.
24399 (bibtex-display-entries): New function.
24400
24401 2011-06-05 Roland Winkler <winkler@gnu.org>
24402
24403 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
24404 (bibtex-insert-kill): After yanking insert newline if necessary.
24405 (bibtex-initialize): Call bibtex-string-files-init only once.
24406 (bibtex-mode): Do not call easy-menu-add.
24407 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
24408 (bibtex-yank): Set arg properly if nil.
24409
24410 2011-06-05 Roland Winkler <winkler@gnu.org>
24411
24412 * textmodes/bibtex.el (bibtex-search-entry-globally):
24413 New variable.
24414 (bibtex-search-entry): Use it.
24415
24416 2011-06-05 Roland Winkler <winkler@gnu.org>
24417
24418 * textmodes/bibtex.el (bibtex-entry-format): New option
24419 sort-fields.
24420 (bibtex-format-entry, bibtex-reformat): Honor this option.
24421 (bibtex-parse-entry): Return fields in proper order.
24422
24423 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
24424
24425 * doc-view.el (doc-view-remove-if): Move computation of result out
24426 of `dolist' to silence misleading lexical-binding warning.
24427
24428 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
24429
24430 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
24431 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
24432
24433 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24434
24435 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
24436 "SunOS 5.10".
24437
24438 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24439
24440 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
24441 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
24442 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
24443 (tramp-parse-putty):
24444 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
24445 (tramp-completion-function-alist-ssh)
24446 (tramp-completion-function-alist-telnet)
24447 (tramp-completion-function-alist-su)
24448 (tramp-completion-function-alist-putty): Set `tramp-autoload'
24449 cookie.
24450
24451 * net/tramp-ftp.el:
24452 * net/tramp-sh.el:
24453 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
24454 load "tramp.el" `tramp-set-completion-function'.
24455
24456 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
24457
24458 * shell.el: Require and use pcomplete.
24459 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
24460 (shell-completion-vars): Set pcomplete-default-completion-function.
24461
24462 2011-06-04 Deniz Dogan <deniz@dogan.se>
24463
24464 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
24465 `memq' (Bug#8799).
24466
24467 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24468
24469 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
24470
24471 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
24472
24473 * bs.el (bs--mark-unmark, bs--nth-wrapper):
24474 * mpc.el (mpc-select-extend, mpc-songpointer-context):
24475 * vc/log-view.el (log-view-beginning-of-defun):
24476 * vc/smerge-mode.el (smerge-apply-resolution-patch)
24477 (smerge-refine-forward, smerge-refine-chopup-region):
24478 Silence warning for unused `dotimes' counter variables.
24479
24480 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24481
24482 * net/tramp.el (tramp-with-progress-reporter): Rename from
24483 with-progress-reporter. Use `declare'.
24484 * net/tramp-smb.el:
24485 * net/tramp-sh.el:
24486 * net/tramp-gvfs.el: Update all uses.
24487
24488 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
24489
24490 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
24491 buffer isn't killed before making it current.
24492
24493 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24494
24495 Silence various byte-compiler warnings.
24496 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
24497 `access-type' and new obsolescence format.
24498 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
24499 new format.
24500 (byte-compile-check-variable): New `access-type' argument.
24501 Only warn if the access-type is obsolete.
24502 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24503 (byte-compile-variable-set): Adjust callers.
24504 * help-fns.el (describe-variable): Adjust to new obsolescence format.
24505 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
24506 setting it as obsolete.
24507 * simple.el (minibuffer-completing-symbol):
24508 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
24509 access as obsolete.
24510 * minibuffer.el (minibuffer-completing-file-name): Don't make it
24511 obsolete yet.
24512 * international/quail.el (quail-mouse-choose-completion): Remove unused
24513 code referring to obsolete var.
24514 (quail-choose-completion-string): Remove.
24515 * server.el (server-clients-with, server-kill-buffer-query-function)
24516 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
24517 * proced.el (proced-send-signal):
24518 * emacs-lisp/lisp.el (lisp-complete-symbol):
24519 Replace completion-annotate-function with completion-extra-properties.
24520
24521 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24522
24523 * simple.el (goto-line): Use read-number.
24524 (overriding-map-is-bound): Remove.
24525 (saved-overriding-map): Change default.
24526 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
24527 Take the map as argument.
24528 (universal-argument, negative-argument, digit-argument): Use it.
24529 (restore-overriding-map): Adjust.
24530 (do-auto-fill): Use fill-forward-paragraph.
24531 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
24532
24533 * minibuffer.el (minibuffer-inactive-mode-map): New var.
24534 (minibuffer-inactive-mode): New major mode.
24535 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
24536 the *Messages* buffer" hack.
24537 (mouse-popup-menubar): Don't burp if the event is a normal key.
24538
24539 Miscellaneous tweaks.
24540 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
24541 lexical scoping as in subr.el's dolist and dotimes.
24542 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
24543 Silence compiler warning.
24544 * thingatpt.el (forward-whitespace): Trivial coding style fix.
24545 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
24546 * international/ccl.el (ccl-compile): Trivial simplification.
24547 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
24548 * emacs-lisp/testcover.el (testcover-end): Remove spurious
24549 `printflag' argument.
24550 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
24551 Purecopy the whole obsolescence data.
24552
24553 2011-06-01 Leo Liu <sdl.web@gmail.com>
24554
24555 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
24556 improve doc-string as suggested by Marco Pessotto
24557 <melmothx@gmail.com>.
24558 (rcirc-print): Fix last change.
24559
24560 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24561
24562 * minibuffer.el (complete-with-action): Return nil for the metadata and
24563 boundaries of non-functional tables.
24564 (completion-table-dynamic): Return nil for the metadata.
24565 (completion-table-with-terminator): Add default case, using
24566 complete-with-action.
24567 (completion--metadata): New function.
24568 (completion-all-sorted-completions, minibuffer-completion-help): Use it
24569 to try and avoid pathological performance problems.
24570 (completion--embedded-envvar-table): Return `category' metadata.
24571
24572 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
24573
24574 * subr.el (process-alive-p): New tiny convenience function.
24575
24576 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24577
24578 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
24579 content but also its previous major mode.
24580
24581 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
24582
24583 * emacs-lisp/debug.el (debug): Restore the previous content of the
24584 *Backtrace* buffer when we exit with C-M-c.
24585
24586 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24587
24588 * minibuffer.el: Add metadata method to completion tables.
24589 (completion-category-overrides): New defcustom.
24590 (completion-metadata, completion--field-metadata)
24591 (completion-metadata-get, completion--styles)
24592 (completion--cycle-threshold): New functions.
24593 (completion-try-completion, completion-all-completions):
24594 Add `metadata' argument to choose completion-styles.
24595 (completion--do-completion): Use metadata to choose cycling.
24596 (completion-all-sorted-completions): Use metadata for sorting.
24597 Remove :completion-cycle-penalty which is not needed any more.
24598 (completion--try-word-completion): Add `metadata' argument.
24599 (minibuffer-completion-help): Check metadata for annotation function
24600 and sorting.
24601 (completion-file-name-table): Return `category' metadata.
24602 (minibuffer-completing-file-name): Make obsolete.
24603 * simple.el (minibuffer-completing-symbol): Make obsolete.
24604 * icomplete.el (icomplete-completions): Pass new `metadata' param to
24605 completion-try-completion.
24606
24607 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
24608
24609 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
24610
24611 2011-05-30 Leo Liu <sdl.web@gmail.com>
24612
24613 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
24614 (rcirc-print): Decode all incoming messages (bug#8744).
24615 (rcirc-decode-coding-system): Allow value nil for automatic coding
24616 system detection.
24617
24618 2011-06-01 Glenn Morris <rgm@gnu.org>
24619
24620 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
24621
24622 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24623
24624 * image.el (image-animate-max-time): Allow nil and t values.
24625 Default to nil.
24626 (create-animated-image): Doc fix.
24627 (image-animate-start): Remove second arg; just use
24628 image-animate-max-time.
24629 (image-animate-timeout): Doc fix. Args changed.
24630
24631 * image-mode.el (image-toggle-display-image): Ensure that the
24632 image spec passed to the animate timer is the same object as in
24633 the buffer's display property (Bug#6981).
24634 (image-transform-properties): Doc fix.
24635
24636 * image.el (image-animate-max-time): Default to nil.
24637
24638 2011-05-29 Martin Rudalics <rudalics@gmx.at>
24639
24640 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
24641 entire buffer list (Bug#8184).
24642
24643 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24644
24645 * image.el (imagemagick-types-inhibit)
24646 (imagemagick-register-types): Doc fix.
24647
24648 2011-05-29 Deniz Dogan <deniz@dogan.se>
24649
24650 * net/rcirc.el (rcirc): Use the user's stored encryption method by
24651 default.
24652
24653 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24654
24655 * select.el: Don't perform clipboard-manager saving in hooks;
24656 leave the hooks empty.
24657
24658 2011-05-28 Leo Liu <sdl.web@gmail.com>
24659
24660 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
24661 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
24662 (occur-edit-mode): New major mode (Bug#8463).
24663 (occur-after-change-function): New function.
24664 (occur-engine): Give Occur tags a read-only property.
24665
24666 2011-05-28 Kevin Ryde <user42@zip.com.au>
24667
24668 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
24669
24670 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24671
24672 * bindings.el (help-echo): Make the initial non-indicator dash
24673 empty on graphical terminals (Bug#7295).
24674
24675 * files.el (auto-mode-alist): Move config rule after the
24676 in-stripping one (Bug#8547).
24677
24678 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
24679
24680 * startup.el (normal-splash-screen): Remove gratuitous mode-line
24681 setting (Bug#8740).
24682
24683 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
24684
24685 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
24686 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
24687 (Bug#8539).
24688
24689 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24690
24691 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
24692
24693 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
24694
24695 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
24696 (hs-hide-block-at-point, hs-find-block-beginning)
24697 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
24698 (Bug#8279).
24699
24700 2011-05-28 Glenn Morris <rgm@gnu.org>
24701
24702 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
24703
24704 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24705
24706 * help-fns.el (describe-function-1): If the function is a derived
24707 major mode, print the parent mode.
24708
24709 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
24710 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
24711
24712 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
24713
24714 * minibuffer.el (completion--capf-wrapper): Check applicability before
24715 returning non-nil for non-exclusive completion data.
24716 * progmodes/etags.el (tags-completion-at-point-function):
24717 * info-look.el (info-lookup-completions-at-point): Mark as
24718 non-exclusive.
24719 (info-complete): Adjust accordingly.
24720
24721 * info-look.el: Convert to lexical-binding and completion-at-point.
24722 (info-lookup-completions-at-point): New function.
24723 (info-complete): Use it and completion-in-region.
24724
24725 2011-05-28 Drew Adams <drew.adams@oracle.com>
24726
24727 * isearch.el: Let M-e start with point at the first mismatched char.
24728 (isearch-fail-pos): New function.
24729 (isearch-edit-string): Use it.
24730
24731 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24732
24733 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24734
24735 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
24736
24737 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
24738 traversal functions for avl-trees.
24739 (avl-tree--stack): New struct.
24740 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
24741 (avl-tree-enter): Add optional `updatefun' arg.
24742 (avl-tree--do-enter): Add optional `updatefun' arg.
24743 Change return value.
24744 (avl-tree-delete): Add optional `test' and `nilflag' args.
24745 (avl-tree--do-delete): Add `test' and `nilflag' args.
24746 Change return value.
24747 (avl-tree-member): Add optional `nilflag'
24748 (avl-tree-member-p): New function.
24749 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
24750 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
24751 (avl-tree-stack-empty-p): New functions.
24752
24753 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
24754 avl-tree--del-balance1 and make it work both ways.
24755 (avl-tree--del-balance2): Remove.
24756 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
24757 make it work both ways.
24758 (avl-tree--enter-balance2): Remove.
24759 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
24760 New macros.
24761 (avl-tree--mapc, avl-tree-map): Add direction argument.
24762
24763 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
24764
24765 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
24766
24767 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
24768
24769 * select.el: Support clipboard managers with built-in function
24770 x-clipboard-manager-save, via delete-frame-functions and
24771 kill-emacs-hook.
24772 (xselect-convert-to-targets): Add MULTIPLE target to list.
24773 (xselect-convert-to-save-targets): New function.
24774
24775 2011-05-27 Kenichi Handa <handa@m17n.org>
24776
24777 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
24778 let-binding rfc2047-encode-encoded-words to nil.
24779
24780 2011-05-27 Glenn Morris <rgm@gnu.org>
24781
24782 * mail/emacsbug.el: Don't require url-util.
24783
24784 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
24785
24786 * files.el (set-auto-mode):
24787 Also respect mode: entries at the end of the file. (Bug#8586)
24788
24789 2011-05-26 Glenn Morris <rgm@gnu.org>
24790
24791 * files.el (hack-local-variables-prop-line, hack-local-variables):
24792 Downcase mode names, as seems to be traditional.
24793 (hack-local-variables, hack-local-variables-apply): Doc fixes.
24794
24795 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
24796 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
24797
24798 2011-05-25 Julien Danjou <julien@danjou.info>
24799
24800 * textmodes/rst.el (rst-define-level-faces): Do not define face
24801 symbol if it is already defined.
24802
24803 2011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
24804
24805 * play/5x5.el (5x5-new-game, 5x5-randomize):
24806 Reset 5x5-solver-output to nil when a new grid is cast.
24807 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
24808 these debugging traces, as defmacro breaks the compiled code.
24809
24810 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24811
24812 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24813
24814 2011-05-24 Leo Liu <sdl.web@gmail.com>
24815
24816 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
24817 (vc-bzr-sha1): Adapt.
24818
24819 * sha1.el: Remove. Function `sha1' is now builtin.
24820
24821 * bindings.el: Provide sha1 feature.
24822
24823 2011-05-24 Kenichi Handa <handa@m17n.org>
24824
24825 * mail/sendmail.el: Require `rfc2047'.
24826 (mail-insert-from-field): Do not perform RFC2047 encoding.
24827 (mail-encode-header): New function.
24828 (sendmail-send-it): Set buffer-file-coding-system of the work
24829 buffer to the return value of select-message-coding-system.
24830 Call mail-encode-header.
24831
24832 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
24833
24834 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
24835
24836 * mail/supercite.el (sc-default-cite-frame):
24837 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
24838
24839 2011-05-24 Glenn Morris <rgm@gnu.org>
24840
24841 * progmodes/python.el (brm-menu): Declare.
24842
24843 * emulation/viper.el (viper-set-hooks): Declare.
24844
24845 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
24846 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
24847 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
24848 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
24849 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
24850 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
24851
24852 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
24853
24854 Add an :exit-function for completion-at-point.
24855
24856 * minibuffer.el (completion--done): New fun.
24857 (completion--do-completion): Use it. New arg `expect-exact'.
24858 (minibuffer-complete, minibuffer-complete-word): Don't output message,
24859 since completion--do-completion does it for us now.
24860 (minibuffer-force-complete): Use completion--done and
24861 completion--replace. Handle sole-completion case with more care.
24862 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
24863 (completion-extra-properties): New var.
24864 (completion-annotate-function): Make obsolete.
24865 (minibuffer-completion-help): Adjust accordingly.
24866 Use completion-list-insert-choice-function.
24867 (completion-at-point, completion-help-at-point):
24868 Bind completion-extra-properties.
24869 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
24870 * simple.el (completion-list-insert-choice-function): New var.
24871 (completion-setup-function): Preserve it.
24872 (choose-completion): Pay attention to it, shuffle the code a bit.
24873 (choose-completion-string): New arg `insert-function'.
24874
24875 * textmodes/bibtex.el: Convert to lexical binding.
24876 (bibtex-mode-map): Use completion-at-point.
24877 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
24878 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
24879 (bibtex-complete): Define as obsolete alias.
24880 (bibtex-complete-internal): Remove.
24881 (bibtex-format-entry): Remove unused sub-group in regexp.
24882 * shell.el (shell--command-completion-data)
24883 (shell-environment-variable-completion):
24884 * pcomplete.el (pcomplete-completions-at-point):
24885 * comint.el (comint--complete-file-name-data): Use :exit-function
24886 instead of completion-table-with-terminator so it also works for
24887 choose-completion.
24888
24889 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24890
24891 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
24892
24893 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
24894 (bug#8710).
24895
24896 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
24897
24898 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
24899
24900 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
24901 customization variable and implement: If non-nil, auto-fill will
24902 be inhibited while on topic's header line.
24903
24904 2011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
24905
24906 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
24907 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
24908 always have a solution in grid size = 5 cases.
24909 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
24910 (5x5-solver-output, 5x5-log-buffer): New vars.
24911 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
24912 Make these variables buffer local to achieve 5x5 multi-session-ness.
24913 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
24914 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
24915 (5x5-solve-suggest): New funs.
24916 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
24917 randomize a grid so that we ensure that there is always a solution.
24918 (5x5-make-random-grid): Allow other movement than flipping.
24919
24920 2011-05-23 Kevin Ryde <user42@zip.com.au>
24921
24922 * emacs-lisp/advice.el (ad-read-advised-function):
24923 Use `function-called-at-point' as the default, if it has
24924 advice and passes PREDICATE.
24925
24926 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24927
24928 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
24929 byte-compile-lambda if it's actually a lambda.
24930
24931 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
24932 Fix function quoting. Use backquote better.
24933
24934 2011-05-22 Yuanle Song <sylecn@gmail.com>
24935
24936 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
24937 matching (Bug#8516).
24938
24939 2011-05-22 Jari Aalto <jari.aalto@cante.net>
24940
24941 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
24942 different face (Bug#8178).
24943
24944 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
24945
24946 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
24947 defface (Bug#8144).
24948
24949 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
24950
24951 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
24952 funcall as well (bug#8712). Warn when performing those conversions.
24953 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
24954
24955 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
24956
24957 2011-05-22 Glenn Morris <rgm@gnu.org>
24958
24959 * files.el (hack-local-variables-prop-line): Small simplifications.
24960 (hack-local-variables, hack-local-variables-prop-line):
24961 If MODE-ONLY, return the mode, rather than just `t'.
24962
24963 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
24964
24965 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
24966
24967 2011-05-21 Glenn Morris <rgm@gnu.org>
24968
24969 * files.el (hack-local-variables-prop-line, hack-local-variables):
24970 If only interested in the mode, don't bother doing the other stuff.
24971
24972 * image-mode.el (image-after-revert-hook):
24973 Redraw all frames on which the image is visible. (Bug#8567)
24974
24975 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
24976
24977 * wid-edit.el (widget-checklist-match-inline):
24978 Fix 2011-04-19 change. (Bug#8649)
24979
24980 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
24981
24982 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
24983 Also allow singlespace after single-letter capitals followed by a dot.
24984
24985 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
24986 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
24987
24988 2011-05-20 Nix <nix@esperi.org.uk>
24989
24990 * files.el (basic-save-buffer-2):
24991 Fix handling of break-hardlink-on-save with non-existent files.
24992
24993 2011-05-19 Deniz Dogan <deniz@dogan.se>
24994
24995 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
24996 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
24997
24998 2011-05-19 Glenn Morris <rgm@gnu.org>
24999
25000 * progmodes/f90.el (f90-type-def-re):
25001 Handle "type, bind(c)". (Bug#8691)
25002
25003 * emacs-lisp/autoload.el (batch-update-autoloads):
25004 Set autoload-excludes by parsing loadup.el rather than Makefiles.
25005
25006 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
25007
25008 * net/tramp.el (tramp-process-actions): Set "first-password-request"
25009 property for the correct connection in case of multihops.
25010
25011 2011-05-18 Glenn Morris <rgm@gnu.org>
25012
25013 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
25014 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
25015
25016 Rationalize calendar handling of day and month abbrev-arrays.
25017 * calendar/calendar.el (calendar-customized-p): New function.
25018 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
25019 (calendar-day-name-array, calendar-month-name-array): Doc fix.
25020 Add :set function.
25021 (calendar-abbrev-length, calendar-day-abbrev-array)
25022 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
25023 (calendar-day-abbrev-array, calendar-month-abbrev-array):
25024 Elements may no longer be nil.
25025 (calendar-day-name, calendar-month-name):
25026 Update for changed nature of abbrev arrays.
25027 * calendar/diary-lib.el (diary-name-pattern):
25028 Update for changed nature of abbrev arrays.
25029 (diary-mark-entries-1): Update calendar-make-alist calls.
25030 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
25031 * calendar/cal-html.el (cal-html-day-abbrev-array):
25032 Simply inherit from calendar-day-abbrev-array.
25033
25034 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
25035
25036 * progmodes/grep.el (grep-mode): Disable default
25037 compilation-directory-matcher setting (bug#8684).
25038
25039 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
25040
25041 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
25042 instead of "head" and "tail". There were problems with SunOS 5.9,
25043 and it performs better.
25044
25045 2011-05-17 Glenn Morris <rgm@gnu.org>
25046
25047 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
25048
25049 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
25050 Replace obsolete function.
25051
25052 * shell.el (pcomplete-parse-arguments-function): Declare.
25053
25054 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
25055 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
25056 (appt-check): Doc fixes.
25057 (appt-disp-window-function, appt-delete-window-function):
25058 Remove needless special case in custom :type.
25059 (appt-display-count): Default to 0, not nil.
25060 (appt-check): Reset appt-display-count to 0, not nil.
25061
25062 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
25063
25064 * progmodes/python.el (python-font-lock-keywords):
25065 Add the Python 3.X keyword "nonlocal" (bug#8639).
25066
25067 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
25068
25069 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
25070
25071 2011-05-16 Kevin Ryde <user42@zip.com.au>
25072
25073 * info-look.el (makefile-automake-mode): New setups, looking in
25074 automake manual, then makefile-mode.
25075 (makefile-mode): Remove automake manual, have it just in
25076 makefile-automake-mode since there's various things different or
25077 not relevant to plain make.
25078 (makefile-mode): Remove "other-modes" non-existent automake-mode,
25079 believe a hypothetical automake-mode would go to makefile-mode,
25080 not the other way around.
25081
25082 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
25083
25084 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
25085 hunk-end tags (Bug#8672).
25086
25087 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
25088 vc-annotate-show-diff-revision-at-line (Bug#8671).
25089
25090 2011-05-14 Glenn Morris <rgm@gnu.org>
25091
25092 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
25093 in the middle of an existing one with multiple authors. (Bug#8645)
25094 (change-log-font-lock-keywords): Also handle multiple author lines
25095 with leading tabs. (Bug#8644)
25096
25097 * calendar/appt.el (appt-check): Rename some local variables.
25098 Some simplification/reordering.
25099
25100 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
25101 (feedmail-sendmail-f-doesnt-sell-me-out)
25102 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25103 (feedmail-debug-sit-for, feedmail-queue-express-hook)
25104 (feedmail-queue-runner-message-sender): Set :version.
25105 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
25106 (bbdb-dwim-net-address, vm-mail): Declare.
25107 (feedmail-binmail-gnulinuxish-template):
25108 Rename from feedmail-binmail-linuxish-template.
25109 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
25110 Use insert-buffer-substring.
25111
25112 2011-05-14 Bill Carpenter <bill@carpenter.org>
25113
25114 * mail/feedmail.el (feedmail-patch-level): Increase.
25115 (feedmail-debug): New custom group.
25116 (feedmail-confirm-outgoing-timeout)
25117 (feedmail-sendmail-f-doesnt-sell-me-out)
25118 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25119 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
25120 (feedmail-sender-line, feedmail-from-line)
25121 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
25122 (feedmail-spray-this-address)
25123 (feedmail-spray-address-fiddle-plex-list)
25124 (feedmail-queue-use-send-time-for-date)
25125 (feedmail-queue-use-send-time-for-message-id)
25126 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
25127 (feedmail-buffer-eating-function):
25128 Doc fixes.
25129 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
25130 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
25131 (feedmail-message-action-scroll-down): New functions.
25132 (feedmail-queue-directory, feedmail-queue-draft-directory):
25133 Use expand-file-name.
25134 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
25135 Remove C-v help entry.
25136 (feedmail-queue-buffer-file-name): New variable.
25137 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
25138 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
25139 (feedmail-message-action-send-strong, feedmail-message-action-edit)
25140 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
25141 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
25142 (feedmail-message-action-toggle-spray)
25143 (feedmail-run-the-queue-no-prompts)
25144 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
25145 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
25146 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
25147 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
25148 (feedmail-envelope-deducer, feedmail-fiddle-from)
25149 (feedmail-fiddle-sender, feedmail-default-date-generator)
25150 (feedmail-fiddle-date, feedmail-fiddle-message-id)
25151 (feedmail-fiddle-spray-address)
25152 (feedmail-fiddle-list-of-spray-fiddle-plexes)
25153 (feedmail-fiddle-list-of-fiddle-plexes)
25154 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
25155 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
25156 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
25157 Change default. Doc fix.
25158 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
25159 (feedmail-binmail-linuxish-template): New constant.
25160 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
25161 Respect feedmail-sendmail-f-doesnt-sell-me-out.
25162 (feedmail-send-it): Add debug call.
25163 Use feedmail-queue-buffer-file-name, and
25164 feedmail-send-it-immediately-wrapper.
25165 (feedmail-message-action-send): Add debug call.
25166 Use feedmail-send-it-immediately-wrapper.
25167 (feedmail-queue-express-to-queue): Add debug call.
25168 Run feedmail-queue-express-hook.
25169 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
25170 (feedmail-message-action-help-blat):
25171 Rename from feedmail-queue-send-edit-prompt-help-first.
25172 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
25173 Check line-endings. Handle errors better.
25174 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
25175 Doc fix. Add debug call.
25176 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
25177 Use feedmail-queue-send-edit-prompt-inner.
25178 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
25179 (feedmail-queue-send-edit-prompt-inner): New function, extracted
25180 from feedmail-queue-send-edit-prompt.
25181 (feedmail-queue-send-edit-prompt-help)
25182 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
25183 (feedmail-tidy-up-slug): Add debug call.
25184 Respect feedmail-queue-slug-suspect-regexp.
25185 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
25186 (feedmail-dump-message-to-queue): Add debug call.
25187 Expand queue-directory.
25188 (feedmail-dump-message-to-queue): Change message slightly.
25189 Use feedmail-say-chatter.
25190 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
25191 (feedmail-send-it-immediately-wrapper): New function.
25192 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
25193 Insert empty string rather than newline. Handle full-frame case.
25194 Use catch/throw. Use feedmail-say-chatter.
25195 (feedmail-fiddle-from): Try mail-host-address.
25196 (feedmail-default-message-id-generator): Doc fix.
25197 Bind system-time-locale. Handle missing end.
25198 (feedmail-fiddle-x-mailer): Add debug call.
25199 Handle feedmail-x-mailer-line being nil.
25200 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
25201 Add debug call. Use buffer-substring-no-properties.
25202 (feedmail-say-debug, feedmail-say-chatter): New functions.
25203 (feedmail-find-eoh): Give an explicit error.
25204
25205 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
25206
25207 * net/newst-treeview.el (newsticker-treeview-face): Change default
25208 family from helvetica to sans.
25209 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
25210 etc/images/newsticker.
25211
25212 * net/newst-reader.el (newsticker-feed-face): Change default
25213 family from helvetica to sans.
25214
25215 * net/newst-plainview.el (newsticker-new-item-face)
25216 (newsticker-old-item-face, newsticker-immortal-item-face)
25217 (newsticker-obsolete-item-face, newsticker-date-face)
25218 (newsticker-statistics-face): Change default family from
25219 helvetica to sans.
25220 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
25221 etc/images/newsticker.
25222
25223 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
25224 (newsticker--process-auto-mark-filter-match): Tell user about
25225 auto-marking.
25226
25227 2011-05-13 Didier Verna <didier@xemacs.org>
25228
25229 Common Lisp indentation improvements on defmethod and lambda-lists.
25230 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
25231 TODO entries.
25232 (lisp-lambda-list-keyword-parameter-indentation)
25233 (lisp-lambda-list-keyword-parameter-alignment)
25234 (lisp-lambda-list-keyword-alignment): New customizable user options.
25235 (lisp-indent-defun-method): Improve docstring.
25236 (extended-loop-p): Fix comment.
25237 (lisp-indent-lambda-list-keywords-regexp): New variable.
25238 (lisp-indent-lambda-list): New function.
25239 (lisp-indent-259): Use it.
25240 (lisp-indent-defmethod): Support for more than one
25241 method qualifier and properly indent methods lambda-lists.
25242 (defgeneric): Provide a missing common-lisp-indent-function property.
25243
25244 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
25245
25246 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
25247 bounds for the empty string (bug#8667).
25248
25249 2011-05-13 Glenn Morris <rgm@gnu.org>
25250
25251 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
25252
25253 * mail/sendmail.el (sendmail-program): Try executable-find first.
25254 (sendmail-send-it): `sendmail-program' cannot be unbound.
25255
25256 * calendar/appt.el (appt-make-list): Simplify.
25257 (appt-time-msg-list): Doc fix.
25258 (appt-check): Change mode-line message at the time of the appointment.
25259
25260 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
25261
25262 * progmodes/ld-script.el (ld-script-keywords)
25263 (ld-script-builtins): Update keywords list.
25264
25265 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25266
25267 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
25268
25269 * shell.el (shell-completion-vars): New function.
25270 (shell-mode):
25271 * simple.el (read-shell-command): Use it.
25272 (blink-matching-open): No need for " [...]" in minibuffer-message.
25273
25274 2011-05-12 Glenn Morris <rgm@gnu.org>
25275
25276 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
25277 (appt-check): Simplify.
25278
25279 2011-05-12 Eli Zaretskii <eliz@gnu.org>
25280
25281 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
25282 literal "/dev/null".
25283
25284 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25285
25286 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
25287 Fix typo.
25288
25289 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
25290
25291 * progmodes/which-func.el (which-function):
25292 Use add-log-current-defun instead of add-log-current-defun-function,
25293 which might not be defined (Bug#8260).
25294
25295 2011-05-12 Glenn Morris <rgm@gnu.org>
25296
25297 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
25298 Let byte-compile-initial-macro-environment always take precedence.
25299
25300 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25301
25302 * net/rcirc.el: Add support for SSL/TLS connections.
25303 (rcirc-server-alist): New field `encryption'.
25304 (rcirc): Check `encryption' settings.
25305 (rcirc-connect): New arg `encryption'. Use open-network-stream.
25306 Merge make-local-variable into `set'.
25307 (rcirc--connection-open-p): New function.
25308 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
25309 the process is not a network process (e.g. running gnutls-cli).
25310 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
25311 Make rcirc-(en|de)code-coding-system local here.
25312 (rcirc-mode): Merge make-local-variable into `set'.
25313 (rcirc-parent-buffer): Make permanent buffer-local.
25314 (rcirc-multiline-minor-mode): Don't do it here.
25315 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
25316 there's no server buffer.
25317
25318 2011-05-11 Glenn Morris <rgm@gnu.org>
25319
25320 * newcomment.el (comment-kill): Prefix "unused" local.
25321
25322 * term/w32console.el (get-screen-color): Declare.
25323
25324 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
25325 Handle symbol elements of byte-compile-initial-macro-environment.
25326
25327 2011-05-10 Leo Liu <sdl.web@gmail.com>
25328
25329 * bookmark.el (bookmark-bmenu-mode-map):
25330 Bind bookmark-bmenu-search to `/'.
25331
25332 * mail/footnote.el: Convert to utf-8 encoding.
25333 (footnote-unicode-string, footnote-unicode-regexp): New variable.
25334 (Footnote-unicode): New function.
25335 (footnote-style-alist): Add unicode style to the list.
25336 (footnote-style): Doc fix.
25337
25338 2011-05-10 Jim Meyering <meyering@redhat.com>
25339
25340 Fix doubled-word typos.
25341 * international/quail.el (quail-insert-kbd-layout): and and -> and
25342 * kermit.el: and and -> and
25343 * net/ldap.el (ldap-search-internal): to to -> to
25344 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
25345 * progmodes/js.el (js-mode): and and -> and
25346 * textmodes/artist.el (artist-move-to-xy): at at -> at
25347 (artist-draw-region-trim-line-endings): if if -> if
25348 And Safetyc -> Safety.
25349 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
25350
25351 2011-05-10 Glenn Morris <rgm@gnu.org>
25352 Stefan Monnier <monnier@iro.umontreal.ca>
25353
25354 * files.el (hack-one-local-variable-eval-safep):
25355 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
25356
25357 2011-05-10 Glenn Morris <rgm@gnu.org>
25358
25359 * calendar/diary-lib.el (diary-list-entries-hook)
25360 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
25361 (diary-nongregorian-marking-hook, diary-list-entries)
25362 (diary-include-other-diary-files, diary-mark-entries)
25363 (diary-mark-included-diary-files): Doc fixes.
25364
25365 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25366
25367 * misc.el: Require tabulated-list.el during compilation.
25368
25369 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25370
25371 * progmodes/compile.el (compilation-start):
25372 Run compilation-filter-hook for the async case too.
25373 (compilation-filter-hook): Doc fix.
25374
25375 2011-05-09 Deniz Dogan <deniz@dogan.se>
25376
25377 * wdired.el: Remove outdated installation comment. Fix usage
25378 comment.
25379
25380 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25381
25382 * misc.el: Implement new command `list-dynamic-libraries'.
25383 (list-dynamic-libraries--loaded-only-p): New variable.
25384 (list-dynamic-libraries--refresh): New function.
25385 (list-dynamic-libraries): New command.
25386
25387 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25388
25389 * progmodes/compile.el (compilation-error-regexp-alist-alist):
25390 Fix the ant regexp to handle end-line and end-column info from jikes.
25391 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
25392 higher priority to avoid clobbering by gnu.
25393
25394 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25395
25396 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
25397 if the face has existing theme settings (Bug#8454).
25398
25399 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
25400
25401 * progmodes/perl-mode.el (perl-imenu-generic-expression):
25402 Only match variables declared via `my' or `our' (Bug#8261).
25403
25404 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
25405 special file names `.' and `..' (Bug#8259).
25406
25407 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25408
25409 * progmodes/grep.el (grep-mode-font-lock-keywords):
25410 Remove buffer-changing entries.
25411 (grep-filter): New function.
25412 (grep-mode): Add it to compilation-filter-hook.
25413
25414 * progmodes/compile.el (compilation-filter-hook)
25415 (compilation-filter-start): New defvars.
25416 (compilation-filter): Call compilation-filter-hook prior to
25417 updating the process mark.
25418
25419 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
25420
25421 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
25422
25423 2011-05-07 Eli Zaretskii <eliz@gnu.org>
25424
25425 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
25426 mailclient-send-it even if window-system is nil. (Bug#8595)
25427
25428 * term/w32console.el (terminal-init-w32console):
25429 Call get-screen-color and use its output to set the frame
25430 background-mode. (Bug#8597)
25431
25432 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
25433
25434 Make bytecomp.el understand that defmethod defines funs (bug#8631).
25435 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
25436 New functions.
25437 (defgeneric, eieio--defmethod): Use them.
25438 (eieio-defgeneric): Remove.
25439 (defmethod): Call defgeneric in a way visible to the byte-compiler.
25440
25441 2011-05-07 Glenn Morris <rgm@gnu.org>
25442
25443 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
25444 Use let rather than let*.
25445 (timeclock-find-discrep): Remove unused local.
25446
25447 * calendar/diary-lib.el (diary-comment-start): Doc fix.
25448
25449 * calendar/appt.el (appt-time-msg-list): Doc fix.
25450
25451 2011-05-06 Noah Friedman <friedman@splode.com>
25452
25453 * apropos.el (apropos-print-doc): Only use
25454 emacs-lisp-docstring-fill-column when it is bound to an integer,
25455 per that variable's documentation.
25456
25457 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
25458
25459 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
25460 and warnings are not silently discarded (e.g. use -d instead of -P).
25461
25462 2011-05-06 Glenn Morris <rgm@gnu.org>
25463
25464 * calendar/appt.el (appt-message-warning-time): Doc fix.
25465 (appt-warning-time-regexp): New option.
25466 (appt-make-list): Respect appt-message-warning-time.
25467
25468 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
25469 New options.
25470 (diary-add-to-list): Strip comments from the displayed string.
25471 (diary-mode): Set comment-start and comment-end.
25472
25473 * vc/diff-mode.el (smerge-refine-subst): Declare.
25474 (diff-refine-hunk): Don't require smerge-mode when compiling.
25475
25476 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
25477
25478 * simple.el (list-processes): Return nil as the docstring says.
25479
25480 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25481
25482 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
25483 to "".
25484 (ange-ftp-write-region, ange-ftp-insert-file-contents)
25485 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
25486 determining of binary transfer. (Bug#7383)
25487
25488 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25489
25490 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25491 Fix port computation bug. (Bug#8618)
25492
25493 2011-05-05 Glenn Morris <rgm@gnu.org>
25494
25495 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
25496
25497 * simple.el (shell-dynamic-complete-functions)
25498 (comint-dynamic-complete-functions): Declare.
25499
25500 * net/network-stream.el (gnutls-negotiate):
25501 * simple.el (tabulated-list-print): Fix declarations.
25502
25503 * progmodes/gud.el (syntax-symbol, syntax-point):
25504 Remove unnecessary and incorrect declarations.
25505
25506 * emacs-lisp/check-declare.el (check-declare-scan):
25507 Handle byte-compile-initial-macro-environment in bytecomp.el.
25508
25509 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
25510
25511 Fix earlier half-done eieio-defmethod change (bug#8338).
25512 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
25513 Streamline and change calling convention.
25514 (defmethod): Adjust accordingly and simplify.
25515 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
25516 new eieio--defmethod.
25517 (slot-boundp): Minor CSE simplification.
25518
25519 2011-05-05 Milan Zamazal <pdm@zamazal.org>
25520
25521 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
25522 (glasses-make-readable): Use glasses-separate-capital-groups.
25523
25524 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
25525
25526 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
25527 (warning-series): Doc fix.
25528 (display-warning): Don't try to create the buffer if we just found it.
25529
25530 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
25531
25532 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
25533 (autoload-find-generated-file): New function.
25534 (generate-file-autoloads): Bind generated-autoload-file to
25535 buffer-file-name.
25536 (update-file-autoloads, update-directory-autoloads):
25537 Use autoload-find-generated-file. If called interactively, prompt for
25538 output file (Bug#7989).
25539 (batch-update-autoloads): Doc fix.
25540
25541 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
25542
25543 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
25544
25545 2011-05-04 Glenn Morris <rgm@gnu.org>
25546
25547 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
25548 function, so it follows changes in calendar-date-style.
25549 (diary-fancy-date-matcher): New function.
25550 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
25551 (diary-fancy-font-lock-fontify-region-function):
25552 Use diary-fancy-date-pattern as a function.
25553
25554 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
25555 non-numbers for `year' etc pseudo-variables. (Bug#8583)
25556
25557 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
25558
25559 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
25560 instead of positional arguments. Allow :keylist and :crlfiles
25561 arguments.
25562 (open-gnutls-stream): Call it.
25563
25564 * net/network-stream.el (network-stream-open-starttls): Adjust to
25565 call `gnutls-negotiate' with :process and :hostname arguments.
25566
25567 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
25568
25569 * minibuffer.el (completion--message): New function.
25570 (completion--do-completion, minibuffer-complete)
25571 (minibuffer-force-complete, minibuffer-complete-word): Use it.
25572 (completion--do-completion): Don't ignore completion-auto-help when in
25573 icomplete-mode.
25574
25575 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
25576 internal encoding (e.g. tibetan zero is not whitespace).
25577 (global-whitespace-mode): Prefer save-current-buffer.
25578 (whitespace-trailing-regexp): Remove useless save-match-data.
25579 (whitespace-empty-at-bob-regexp): Minor simplification.
25580
25581 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
25582
25583 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
25584
25585 2011-05-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
25586
25587 * textmodes/ispell.el (ispell-add-per-file-word-list):
25588 Use `concat' to create string for insertion.
25589
25590 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25591
25592 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
25593 Avoid open-line which runs post-self-insert-hook.
25594 (bibtex-fill-entry): Remove unused `end' var.
25595
25596 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
25597
25598 * textmodes/ispell.el (ispell-add-per-file-word-list):
25599 Protect against `nil' value of `comment-start' (Bug#8579).
25600
25601 2011-05-03 Leo Liu <sdl.web@gmail.com>
25602
25603 * isearch.el (isearch-yank-pop): New command.
25604 (isearch-mode-map): Bind it to `M-y'.
25605 (isearch-forward): Mention it.
25606
25607 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25608
25609 * simple.el (minibuffer-complete-shell-command): Remove.
25610 (minibuffer-local-shell-command-map): Use completion-at-point.
25611 (read-shell-command): Setup completion vars here instead.
25612 (read-expression-map): Bind TAB to symbol completion.
25613
25614 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
25615 error directly rather via storing it into `results'.
25616
25617 2011-05-02 Leo Liu <sdl.web@gmail.com>
25618
25619 * vc/diff.el: Fix description.
25620
25621 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
25622
25623 * server.el (server-eval-at): New function.
25624
25625 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
25626
25627 * net/network-stream.el (open-network-stream): Take a :nowait
25628 parameter and pass it on to `make-network-process'.
25629 (network-stream-open-plain): Ditto.
25630
25631 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
25632
25633 * faces.el (face-spec-set-match-display): Don't match toolkit
25634 options on terminal frames.
25635
25636 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
25637
25638 * progmodes/pascal.el: Use lexical binding.
25639 (pascal-mode-map): Remove author preferences.
25640
25641 * pcomplete.el (pcomplete-std-complete): Don't abuse
25642 completion-at-point.
25643
25644 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25645
25646 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
25647 removing code that has been dead since 1991 or so.
25648
25649 * startup.el (command-line): When warning about "_emacs", use a
25650 delayed warning to allow the user to filter it out.
25651
25652 2011-04-28 Deniz Dogan <deniz@dogan.se>
25653
25654 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
25655 user has not joined.
25656
25657 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25658
25659 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
25660 aren't any completions at point.
25661
25662 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25663
25664 * subr.el (display-delayed-warnings): New function.
25665 (delayed-warnings-hook): New variable.
25666
25667 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25668
25669 * minibuffer.el (completion-at-point, completion-help-at-point):
25670 Don't presume that a given completion-at-point-function will always
25671 use the same calling convention.
25672
25673 * pcomplete.el (pcomplete-completions-at-point):
25674 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
25675 pcomplete-seen is non-nil.
25676 (pcomplete-comint-setup): Also recognize the new comint/shell
25677 completion functions.
25678 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
25679 pcomplete-seen is non-nil.
25680
25681 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
25682
25683 * calendar/icalendar.el (diary-lib): Add require statement.
25684 (icalendar--create-uid): Read out a uid from a text-property on
25685 the first character in the entry. This allows for code to add its
25686 own uid to the entry.
25687 (icalendar--convert-float-to-ical): Add export of
25688 `diary-float'-entries save for those with the optional DAY
25689 argument.
25690
25691 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
25692
25693 * subr.el (shell-quote-argument): Use alternate escaping strategy
25694 when we spot a variable reference in a string.
25695
25696 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25697
25698 * cus-start.el (all): Define customization for debug-on-event.
25699
25700 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25701
25702 * subr.el (shell-quote-argument): Escape correctly under Windows.
25703
25704 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25705
25706 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
25707
25708 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
25709
25710 * net/tramp.el (tramp-process-actions): Add POS argument.
25711 Delete region between POS and (pos).
25712
25713 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25714 Use `nil' position in `tramp-process-actions' call.
25715 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
25716
25717 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
25718 position in `tramp-process-actions' call.
25719
25720 * net/trampver.el: Update release number.
25721
25722 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25723
25724 * custom.el (defcustom): Obey lexical-binding.
25725
25726 Fix octave-inf completion problems reported by Alexander Klimov.
25727 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
25728 Inherit from octave-mode-syntax-table.
25729 (inferior-octave-mode): Set info-lookup-mode.
25730 (inferior-octave-completion-at-point): New function.
25731 (inferior-octave-complete): Use it and completion-in-region.
25732 (inferior-octave-dynamic-complete-functions): Use it as well, and use
25733 comint-filename-completion.
25734 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
25735 symbol elements which shouldn't be word elements.
25736 (octave-font-lock-keywords, octave-beginning-of-defun)
25737 (octave-function-header-regexp): Adjust regexps accordingly.
25738 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
25739
25740 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
25741
25742 * net/gnutls.el (gnutls-errorp): Declare before first use.
25743
25744 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
25745
25746 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
25747 verify-error, and verify-hostname-error parameters. Check whether
25748 default trustfile exists before going to use it. Add missing
25749 argument to gnutls-message-maybe call. Return value.
25750 Reported by Claudio Bley <claudio.bley@gmail.com>.
25751 (open-gnutls-stream): Add usage example.
25752
25753 * net/network-stream.el (network-stream-open-starttls): Give host
25754 parameter to `gnutls-negotiate'.
25755 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
25756 * subr.el (shell-quote-argument): Escape correctly under Windows.
25757
25758 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
25759
25760 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
25761 Use correct match group (bug#8438).
25762
25763 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25764
25765 * emacs-lisp/package.el (package-built-in-p): Fix typo.
25766 (package-menu--generate): New arg specifying packages to show.
25767 (package-menu-refresh, package-menu-execute, list-packages):
25768 Callers changed.
25769 (package-show-package-list): New function, replacing deleted
25770 package--list-packages (renamed because it is non-internal).
25771
25772 * finder.el (finder-list-matches): Use package-show-package-list
25773 instead of deleted package--list-packages.
25774
25775 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
25776 Based on a previous implementation by Juanma Barranquero (Bug#8366).
25777 (vc-annotate-mode-map): Bind it to RET.
25778
25779 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
25780
25781 * progmodes/etags.el (next-file): Don't use set-buffer to change
25782 buffers (Bug#8478).
25783
25784 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25785
25786 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
25787
25788 * apropos.el (apropos-label-face): Avoid variable-pitch face.
25789 (apropos-accumulator): Doc fix.
25790 (apropos-function, apropos-macro, apropos-command)
25791 (apropos-variable, apropos-face, apropos-group, apropos-widget)
25792 (apropos-plist): Add face property.
25793 (apropos-symbols-internal): Fix indentation.
25794 (apropos-print): Simplify help, and recognize apropos-multi-type.
25795 (apropos-print-doc): Use button-type-get to extract the button's
25796 face property. Fill docstring (Bug#8352).
25797
25798 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
25799
25800 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
25801
25802 * play/mpuz.el (mpuz-silent): Doc fix.
25803 (mpuz-mode-map): Use mapc.
25804 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
25805 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
25806 Fix typos in docstrings.
25807
25808 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
25809 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
25810
25811 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
25812
25813 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
25814
25815 * minibuffer.el (completion--do-completion): Avoid the "Next char
25816 not unique" prompt if icomplete-mode is enabled (Bug#5849).
25817
25818 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
25819 mouse-2 into unread-command-events, it is interpreted correctly.
25820
25821 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
25822 (image-toggle-display): Doc fix.
25823
25824 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
25825
25826 * textmodes/page.el (what-page): Use line-number-at-pos to
25827 calculate line number (Bug#6825).
25828
25829 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25830
25831 * eshell/esh-mode.el (find-tag-interactive): Declare function.
25832 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
25833 Pass argument NO-DEFAULT to `find-tag-interactive'.
25834
25835 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25836
25837 Lexical-binding cleanup.
25838
25839 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
25840 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
25841 * progmodes/ada-prj.el (ada-prj-initialize-values)
25842 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
25843 (ada-prj-show-value):
25844 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
25845 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
25846 (antlr-invalidate-context-cache, antlr-options-menu-filter)
25847 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
25848 * progmodes/bug-reference.el (bug-reference-push-button):
25849 * progmodes/fortran.el (fortran-line-length):
25850 * progmodes/glasses.el (glasses-change):
25851 * progmodes/octave-mod.el (octave-fill-paragraph):
25852 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
25853 (python-pdbtrack-grub-for-buffer, python-sentinel):
25854 * progmodes/sql.el (sql-save-connection):
25855 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
25856 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
25857 Mark unused parameters.
25858
25859 * progmodes/compile.el (compilation--flush-directory-cache)
25860 (compilation--flush-parse, compile-internal): Mark unused parameters.
25861 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
25862 (compilation-next-error-function): Remove unused variable `timestamp'.
25863
25864 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
25865 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
25866
25867 * progmodes/dcl-mode.el (dcl-end-of-command):
25868 Remove unused variable `start'.
25869 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
25870 (dcl-option-value-basic, dcl-option-value-offset)
25871 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
25872 Mark unused parameters.
25873 (dcl-save-local-variable): Remove unused variable `val'.
25874 (mode): Declare.
25875
25876 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
25877 Mark unused parameters.
25878 (delphi-ignore-changes): Move before first use.
25879 (delphi-charset-token-at): Remove unused variable `start'.
25880 (delphi-else-start): Remove unused variable `if-count'.
25881 (delphi-comment-block-start, delphi-comment-block-end):
25882 Remove unused variable `kind'.
25883 (delphi-indent-line): Remove unused variable `new-point'.
25884
25885 * progmodes/ebrowse.el (ebrowse-files-list)
25886 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
25887 Mark unused parameters. Don't quote `lambda'.
25888 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
25889 Don't quote `lambda'.
25890 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
25891 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
25892 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
25893 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
25894 Use `ignore-errors'.
25895 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
25896 (ebrowse-view/find-file-and-search-pattern)
25897 (ebrowse-view/find-member-declaration/definition):
25898 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
25899 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
25900 Rename parameter PREFIX-ARG to PREFIX.
25901 (ebrowse-tags-read-name): Remove unused variables `start' and
25902 `member-info'.
25903 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
25904 to `tags-file'.
25905
25906 * progmodes/etags.el (local-find-tag-hook): Declare.
25907 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
25908 Mark unused parameters.
25909
25910 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
25911 (executable-interpret): Mark unused parameter.
25912
25913 * progmodes/flymake.el (flymake-process-sentinel)
25914 (flymake-after-change-function)
25915 (flymake-create-temp-with-folder-structure)
25916 (flymake-get-include-dirs-dot): Mark unused parameters.
25917 (flymake-safe-delete-directory): Remove unused variable `err'.
25918
25919 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
25920 (speedbar-timer-fn, speedbar-line-text)
25921 (speedbar-change-expand-button-char, speedbar-delete-subblock)
25922 (speedbar-center-buffer-smartly): Declare functions.
25923 (gdb-find-watch-expression): Remove unused variable `array'.
25924 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
25925 (gdb-starting): Mark unused parameters.
25926 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
25927 (gdb-table-string): Remove unused variable `res'.
25928 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
25929 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
25930 (gdb-display-buffer): Remove unused variable `cur-size'.
25931
25932 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
25933 allow lexical-binding compilation.
25934 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
25935 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
25936 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
25937 Mark unused parameters.
25938 (gud-gdb-marker-filter): Remove unused variable `match'.
25939 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
25940 lambda expressions and funcall them, instead of using `fset'.
25941
25942 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
25943 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
25944
25945 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
25946 variable `header-beg'; use `let'.
25947
25948 * progmodes/icon.el (indent-icon-exp): Remove unused variables
25949 `restart', `last-sexp' and `at-do'.
25950
25951 * progmodes/js.el (js--debug): Mark unused parameter.
25952 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
25953 (js--splice-into-items): Remove unused variable `item'.
25954 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
25955
25956 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
25957 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
25958 (makefile-complete): Remove unused variable `try'.
25959 (makefile-fill-paragraph, makefile-match-function-end):
25960 Mark unused parameters.
25961
25962 * progmodes/octave-inf.el (inferior-octave-complete):
25963 Remove unused variable `proc'.
25964 (inferior-octave-output-digest): Mark unused parameter.
25965
25966 * progmodes/perl-mode.el (perl-calculate-indent):
25967 Remove unused variable `err'.
25968
25969 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
25970 (prolog-indent-line): Mark unused parameters.
25971 (prolog-indent-line): Remove unused variable `beg'.
25972
25973 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
25974 (reporter-dont-compact-list): Declare.
25975
25976 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
25977 Remove unused variable `char'.
25978 (sh-debug): Mark unused parameter.
25979 (sh-get-indent-info): Remove unused variable `start'.
25980 (sh-calculate-indent): Remove unused variable `var'.
25981
25982 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
25983 (simula-electric-keyword): Remove unused variable `null'.
25984 (simula-search-backward, simula-search-forward): Remove unused
25985 variables `begin' and `end'.
25986
25987 * progmodes/vera-mode.el (vera-guess-basic-syntax):
25988 Remove unused variable `pos'.
25989 (vera-electric-tab, vera-comment-uncomment-region):
25990 Mark unused parameters.
25991 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
25992
25993 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
25994
25995 * emacs-lisp/package.el (package--builtins, package-alist)
25996 (package-load-descriptor, package-built-in-p, package-activate)
25997 (define-package, package-installed-p)
25998 (package-compute-transaction, package-buffer-info)
25999 (package--push): Doc fix. Distinguish more clearly between
26000 version strings and version lists.
26001
26002 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
26003
26004 Lexical-binding cleanup.
26005
26006 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
26007 (5x5-make-mutate-best):
26008 * play/fortune.el (fortune-in-buffer):
26009 * play/gomoku.el (gomoku-init-display):
26010 * play/solitaire.el (solitaire, solitaire-do-check):
26011 * play/tetris.el (tetris-default-update-speed-function):
26012 Mark unused parameters.
26013
26014 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
26015 (bubbles--shift): Remove unused variable `char-org'.
26016 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
26017 (bubbles--show-images): Remove unused variable `char'.
26018
26019 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
26020 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
26021 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
26022 (decipher-analyze-buffer): Use ?\s.
26023 (decipher-make-checkpoint): Remove unused variable `mapping'.
26024
26025 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
26026
26027 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
26028 Remove unused variable `result'; use `let'.
26029
26030 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
26031 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
26032 (gametree-children-shown-p, gametree-compute-reduced-score):
26033 Use `ignore-errors'.
26034
26035 * play/handwrite.el (ps-lpr-switches): Declare.
26036 (handwrite): Remove unused variables `pmin' and `lastp'.
26037
26038 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
26039
26040 * play/landmark.el (landmark-init-display)
26041 (landmark-update-naught-weights): Mark unused parameters.
26042 (landmark-y): Remove unused variable `noise'. Simplify.
26043 (landmark-human-plays): Remove unused variable `score'.
26044
26045 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
26046 (mpuz-try-proposal): Remove unused variable `game'.
26047
26048 * play/zone.el (life-patterns): Declare.
26049
26050 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
26051
26052 * vc/vc.el (ediff-vc-internal): Declare function.
26053
26054 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26055
26056 * shell.el: Use lexical-binding and std completion UI.
26057 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
26058 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
26059 comint-preoutput-filter-functions rather than on
26060 comint-output-filter-functions.
26061 (shell-command-completion, shell--command-completion-data)
26062 (shell-filename-completion, shell-environment-variable-completion)
26063 (shell-c-a-p-replace-by-expanded-directory): New functions.
26064 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
26065 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
26066 (shell-dynamic-complete-environment-variable): Use them.
26067 (shell-dynamic-complete-as-environment-variable)
26068 (shell-dynamic-complete-as-command): Remove.
26069 (shell-match-partial-variable): Match past point.
26070 * comint.el: Clean up use of completion-at-point-functions.
26071 (comint-completion-at-point): New function.
26072 (comint-mode): Use it completion-at-point-functions.
26073 (comint-dynamic-complete): Make it obsolete.
26074 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
26075 (comint-c-a-p-replace-by-expanded-history): New function.
26076 (comint-dynamic-complete-functions)
26077 (comint-replace-by-expanded-history): Use it.
26078 * minibuffer.el (completion-table-with-terminator): Allow dynamic
26079 termination strings. Try harder to avoid second try-completion.
26080 (completion-in-region-mode-map): Disable bindings that don't work yet.
26081
26082 * comint.el: Use lexical-binding. Require CL.
26083 (comint-dynamic-complete-functions): Use comint-filename-completion.
26084 (comint-completion-addsuffix): Tweak custom type.
26085 (comint-filename-completion, comint--common-suffix)
26086 (comint--common-quoted-suffix, comint--table-subvert)
26087 (comint--complete-file-name-data): New functions.
26088 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
26089 (comint-dynamic-list-filename-completions): Use them.
26090 (comint-dynamic-simple-complete): Make obsolete.
26091
26092 * minibuffer.el (completion-in-region-mode):
26093 Keep completion-in-region-mode--predicate global.
26094 (completion-in-region--postch):
26095 Assume completion-in-region-mode--predicate is not null.
26096
26097 * progmodes/flymake.el (flymake-start-syntax-check-process):
26098 Obey `dir'. Simplify.
26099
26100 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
26101 we're in VC after all.
26102
26103 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
26104
26105 * vc/vc.el (vc-diff-build-argument-list-internal)
26106 (vc-version-ediff, vc-ediff): New commands.
26107 (vc-version-diff): Use vc-diff-build-argument-list-internal.
26108
26109 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26110
26111 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
26112 add sanity check.
26113
26114 * obsolete/erc-hecomplete.el: Make obsolete.
26115 * obsolete/: Standardize obsolescence info in the header.
26116
26117 2011-04-20 Glenn Morris <rgm@gnu.org>
26118
26119 * calendar/solar.el (solar-horizontal-coordinates):
26120 Use the longitude argument rather than `calendar-longitude'.
26121 (solar-date-next-longitude): Remove unused locals.
26122
26123 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
26124
26125 * whitespace.el: New version 13.2.1.
26126
26127 2011-04-20 felix <EmacsWiki> (tiny change)
26128
26129 * whitespace.el (global-whitespace-mode): Keep highlight when
26130 switching between major modes on a file.
26131
26132 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
26133
26134 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
26135 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
26136 multi-line comments as well.
26137
26138 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
26139
26140 Lexical-binding cleanup.
26141
26142 * arc-mode.el (archive-mode-revert):
26143 * cmuscheme.el (scheme-interactively-start-process):
26144 * custom.el (custom-initialize-delay):
26145 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
26146 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
26147 * emacs-lock.el (emacs-lock-clear-sentinel):
26148 * ezimage.el (defezimage):
26149 * follow.el (follow-avoid-tail-recenter):
26150 * fringe.el (set-fringe-mode-1):
26151 * generic-x.el (bat-generic-mode-compile):
26152 * help-mode.el (help-info-variable, help-do-xref)
26153 (help-mode-revert-buffer):
26154 * help.el (view-emacs-todo):
26155 * iswitchb.el (iswitchb-completion-help):
26156 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
26157 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
26158 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
26159 * locate.el (locate-update):
26160 * longlines.el (longlines-encode-region)
26161 (longlines-after-change-function):
26162 * outline.el (outline-isearch-open-invisible):
26163 * ps-def.el (declare-function, charset-dimension, char-width)
26164 (encode-char):
26165 * ps-mule.el (ps-mule-plot-string):
26166 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
26167 (recentf-edit-list-select, recentf-edit-list-validate)
26168 (recentf-open-files-action):
26169 * rect.el (delete-whitespace-rectangle-line)
26170 (rectangle-number-line-callback):
26171 * register.el (window-configuration-to-register)
26172 (frame-configuration-to-register):
26173 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
26174 * select.el (xselect-convert-to-string, xselect-convert-to-length)
26175 (xselect-convert-to-targets, xselect-convert-to-delete)
26176 (xselect-convert-to-filename, xselect-convert-to-charpos)
26177 (xselect-convert-to-lineno, xselect-convert-to-colno)
26178 (xselect-convert-to-os, xselect-convert-to-host)
26179 (xselect-convert-to-user, xselect-convert-to-class)
26180 (xselect-convert-to-name, xselect-convert-to-integer)
26181 (xselect-convert-to-atom, xselect-convert-to-identity):
26182 * subr.el (declare, ignore, process-kill-without-query)
26183 (text-clone-maintain):
26184 * terminal.el (te-get-char, te-tic-sentinel):
26185 * tool-bar.el (tool-bar-make-keymap):
26186 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
26187 * type-break.el (type-break-mode, type-break-noninteractive-query):
26188 * view.el (View-back-to-mark):
26189 * wid-browse.el (widget-browse-action, widget-browse-widget)
26190 (widget-browse-widgets, widget-browse-sexp):
26191 * widget.el (define-widget-keywords):
26192 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
26193 Mark unused parameters.
26194
26195 * align.el (align-adjust-col-for-rule): Mark unused parameter.
26196 (align-areas): Remove unused variable `look'.
26197 (align-region): Remove unused variables `real-end' and `pos-list'.
26198
26199 * apropos.el (apropos-score-doc): Remove unused variable `i'.
26200
26201 * bindings.el (mode-line-modified, mode-line-remote):
26202 Mark unused parameters.
26203 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
26204
26205 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
26206 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
26207
26208 * comint.el (comint-history-isearch-pop-state)
26209 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
26210 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
26211 (comint-substitute-in-file-name): Doc fix.
26212
26213 * completion.el (cmpl-statistics-block): Mark unused parameter.
26214 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
26215 (save-completions-to-file, load-completions-from-file):
26216 Remove unused local variable `e'.
26217
26218 * composite.el (compose-chars): Remove unused variable `len'.
26219 (lgstring-insert-glyph): Remove unused variable `g'.
26220 (compose-glyph-string): Remove unused variables `ascent',
26221 `descent', `lbearing' and `rbearing'.
26222 (compose-glyph-string-relative): Remove unused variables
26223 `lbearing', `rbearing' and `wadjust'.
26224 (compose-gstring-for-graphic): Remove unused variables `header',
26225 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
26226 (compose-gstring-for-terminal): Remove unused variables `header'
26227 and `nchars'. Use `let', not `let*'.
26228
26229 * cus-edit.el (Custom-set, Custom-save, custom-reset)
26230 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
26231 (Custom-buffer-done, custom-buffer-create-internal)
26232 (custom-browse-visibility-action, custom-browse-group-tag-action)
26233 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
26234 (widget-magic-mouse-down-action, custom-toggle-parent)
26235 (custom-add-parent-links, custom-toggle-hide-variable)
26236 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
26237 (custom-toggle-hide-face, face, hook, custom-group-link-action)
26238 (custom-face-menu-create, custom-variable-menu-create, get)
26239 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
26240 (custom-reset-standard-save-and-update): Remove unused variable `value'.
26241 (customize-apropos): Remove unused variable `tests'.
26242 (custom-group-value-create): Remove unused variable `hidden-p'.
26243 (sort-fold-case): Declare.
26244
26245 * cus-theme.el (custom-reset-standard-faces-list)
26246 (custom-reset-standard-variables-list): Declare.
26247 (customize-create-theme, custom-theme-revert, custom-theme-write)
26248 (custom-theme-choose-mode, customize-themes, custom-theme-save):
26249 Mark unused parameters.
26250
26251 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
26252
26253 * delim-col.el (delimit-columns-max): Move defvar before first use.
26254
26255 * descr-text.el (describe-char-categories): Don't quote `lambda'.
26256 (describe-char): Don't quote `lambda'. Mark unused parameter.
26257
26258 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
26259 (auto-insert): Declare.
26260 (desktop-restore-file-buffer): Rename desktop-* parameters;
26261 mark unused ones.
26262 (desktop-create-buffer): Rename desktop-* parameters and bind them.
26263 (desktop-buffer): Rename desktop-* parameters.
26264
26265 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
26266 (dframe-reposition-frame-xemacs, dframe-help-echo)
26267 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
26268 Mark unused parameters.
26269
26270 * dired-aux.el (backup-extract-version-start, overwrite-query)
26271 (overwrite-backup-query, rename-regexp-query)
26272 (rename-non-directory-query): Declare.
26273 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
26274 (dired-add-entry): Remove unused variable `orig-file-name'.
26275 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
26276 Use parameter PRESERVE-TIME instead of accessing dynamic variable
26277 `dired-copy-preserve-time' directly.
26278 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
26279 (dired-insert-subdir-newpos): Rename unused variable `pos'.
26280
26281 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
26282 (dired-virtual-revert, dired-make-relative-symlink):
26283 Mark unused parameters.
26284 (manual-program): Declare.
26285 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
26286 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
26287 wrapped in `with-no-warnings' to avoid replacing one warning by another.
26288
26289 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
26290
26291 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
26292
26293 * echistory.el (electric-history-in-progress, Helper-return-blurb):
26294 Declare.
26295
26296 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
26297
26298 * electric.el (Electric-command-loop): Rename parameter
26299 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
26300
26301 * expand.el (expand-in-literal): Remove unused variable `here'.
26302
26303 * facemenu.el (facemenu-add-new-color):
26304 Remove unused variable `docstring'.
26305
26306 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
26307 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
26308 (face-attr-construct): Mark unused parameter. Doc fix.
26309 (read-color): Remove unused variable `hex-string'.
26310
26311 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
26312 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
26313 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
26314 (display-buffer-other-frame): Remove unused variable `old-window'.
26315 (kill-buffer-hook): Declare.
26316 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
26317 Mark unused parameters.
26318 (after-find-file): Pass 1 to `auto-save-mode', not t.
26319
26320 * files-x.el (auto-insert): Declare.
26321 (modify-file-local-variable-prop-line): Remove unused variable `val'.
26322
26323 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
26324 variable `buf'. Mark unused parameter.
26325 (find-lisp-insert-directory): Mark unused parameter.
26326
26327 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
26328 (format-encode-region): Remove unused variables `cur-buf' and `result'.
26329 (format-common-tail): Remove, unused.
26330 (format-deannotate-region): Remove unused variable `loc'.
26331 (format-annotate-region): Remove unused variable `p'.
26332 (format-annotate-single-property-change): Remove unused variables
26333 `default' and `tail'.
26334
26335 * forms.el (read-file-filter): Declare.
26336 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
26337
26338 * frame.el (frame-creation-function-alist): Mark unused parameter.
26339 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
26340
26341 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
26342 Remove unused parameters.
26343 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
26344 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
26345
26346 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
26347 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
26348 (hfy-prepare-tag-map): Mark unused parameters.
26349 (htmlfontify-buffer): Use `called-interactively-p'.
26350
26351 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
26352 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
26353 (ibuffer-do-occur): Mark unused parameters.
26354 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
26355 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
26356
26357 * ibuffer.el: Don't quote `lambda'.
26358 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
26359 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
26360 Mark unused parameters.
26361
26362 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
26363 (ido-completing-read): Mark unused parameters.
26364 (ido-copy-current-word): Mark unused parameters;
26365 remove unused variable `name'.
26366 (ido-sort-merged-list): Remove unused parameter `dirs'.
26367
26368 * ielm.el (ielm-input-sender): Mark unused parameter.
26369 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
26370 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
26371 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
26372 `ielm-string' as a dynamic variable accessible from the IELM prompt.
26373 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
26374
26375 * image-dired.el (image-dired-display-thumbs): Remove unused
26376 variables `curr-file' and `count'.
26377 (image-dired-remove-tag): Remove unused variable `start'.
26378 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
26379 variable `curr-file'
26380 (image-dired-rotate-original): Remove unused variable `temp-file'.
26381 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
26382 Remove unused variable `file'.
26383 (image-dired-gallery-generate): Remove unused variable `curr'.
26384 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
26385
26386 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
26387
26388 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
26389
26390 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
26391
26392 * isearch.el (minibuffer-history-symbol): Declare.
26393 (isearch-edit-string): Remove unused variable `err'.
26394 (isearch-message-prefix, isearch-message-suffix):
26395 Mark unused parameters.
26396
26397 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
26398
26399 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
26400
26401 * makesum.el (double-column): Remove unused variable `cnt'.
26402
26403 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
26404 (ido-ignore-item-temp-list): Declare.
26405
26406 * mouse-drag.el (mouse-drag-throw): Remove unused variables
26407 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
26408 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
26409 (mouse-drag-drag): Remove unused variables `mouse-delta' and
26410 `mouse-col-delta'.
26411
26412 * mouse-sel.el (mouse-extend-internal):
26413 Remove unused variable `orig-window-frame'.
26414
26415 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
26416 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
26417 Move declarations before first use.
26418 (pcomplete-opt): Mark unused parameters; doc fix.
26419
26420 * proced.el (proced-revert): Mark unused parameter.
26421 (proced-send-signal): Remove unused variable `err'.
26422
26423 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
26424 Rename parameter PREFIX-ARG to ARG.
26425 (ps-basic-plot-string, ps-basic-plot-whitespace):
26426 Mark unused parameters.
26427
26428 * replace.el (replace-count): Define.
26429 (occur-revert-function): Mark unused parameters.
26430 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
26431 (isearch-case-fold-search, isearch-string): Declare.
26432 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
26433 bind `case-fold-search'. Remove unused variables `beg' and `end',
26434 and simplify.
26435 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
26436 COUNT and bind `replace-count'.
26437 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
26438 to COUNT.
26439
26440 * savehist.el (print-readably, print-string-length): Declare.
26441
26442 * shadowfile.el (shadow-expand-cluster-in-file-name):
26443 Remove unused variable `cluster'.
26444 (shadow-copy-file): Remove unused variable `i'.
26445 (shadow-noquery, shadow-clusters, shadow-site-cluster)
26446 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
26447 (shadow-define-literal-group, shadow-define-regexp-group)
26448 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
26449
26450 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
26451 (shell): Use `called-interactively-p'.
26452 (shell-directory-tracker): Remove unused variable `chdir-failure'.
26453
26454 * simple.el (compilation-context-lines, comint-file-name-quote-list)
26455 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
26456 (delete-backward-char): Remove unused variable `ocol'.
26457 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
26458 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
26459 (event-apply-hyper-modifier, event-apply-shift-modifier)
26460 (event-apply-control-modifier, event-apply-meta-modifier):
26461 Mark unused parameters.
26462 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
26463 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
26464
26465 * speedbar.el (speedbar-ignored-directory-expressions)
26466 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
26467 (speedbar-find-file, speedbar-dir-follow)
26468 (speedbar-directory-buttons-follow, speedbar-tag-find)
26469 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
26470 (speedbar-buffers-line-directory, speedbar-buffer-click):
26471 Mark unused parameters.
26472 (speedbar-tag-file): Remove unused variable `mode'.
26473 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
26474
26475 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
26476
26477 * talk.el (talk): Remove unused variable `display'.
26478
26479 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
26480 (tar-write-region-annotate): Mark unused parameter.
26481
26482 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
26483 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
26484 Declare them, wrapped in `with-no-warnings' to avoid replacing one
26485 warning by another.
26486
26487 * time-stamp.el (time-stamp-string-preprocess):
26488 Remove unused variable `require-padding'.
26489
26490 * tree-widget.el (widget-glyph-enable): Declare.
26491 (tree-widget-action): Mark unused parameter.
26492
26493 * w32-fns.el (x-get-selection): Mark unused parameter.
26494 (autoload-make-program, generated-autoload-file): Declare.
26495
26496 * wdired.el (wdired-revert): Mark unused parameters.
26497 (wdired-xcase-word): Remove unused variable `err'.
26498
26499 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
26500 (whitespace-help-scroll): Remove unused variable `data-help'.
26501
26502 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
26503 (widget-image-insert, widget-after-change, default)
26504 (widget-default-format-handler, widget-default-notify)
26505 (widget-default-prompt-value, widget-info-link-action)
26506 (widget-url-link-action, widget-function-link-action)
26507 (widget-variable-link-action, widget-file-link-action)
26508 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
26509 (widget-field-prompt-internal, widget-field-action, widget-field-match)
26510 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
26511 (widget-insert-button-action, widget-delete-button-action, visibility)
26512 (widget-documentation-link-action, widget-documentation-string-action)
26513 (widget-const-prompt-value, widget-regexp-match, symbol)
26514 (widget-coding-system-prompt-value)
26515 (widget-key-sequence-value-to-external, sexp)
26516 (widget-sexp-value-to-internal, character, vector, cons)
26517 (widget-choice-prompt-value, widget-boolean-prompt-value)
26518 (widget-color--choose-action): Mark unused parameters.
26519 (widget-item-match-inline, widget-choice-match-inline)
26520 (widget-checklist-match, widget-checklist-match-inline)
26521 (widget-group-match): Rename parameter VALUES to VALS.
26522 (widget-field-value-set): Remove unused variable `size'.
26523 (widget-color-action): Remove unused variables `value' and `start'.
26524
26525 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
26526 variable `dir'. Doc fix.
26527 (windmove-find-other-window): Don't pass it.
26528
26529 * window.el (count-windows): Mark unused parameter.
26530 (bw-adjust-window): Remove unused variable `err'.
26531
26532 * woman.el (woman-file-name): Remove unused variable `default'.
26533 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
26534 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
26535 (global-font-lock-mode): Declare.
26536 (woman-decode-region): Mark unused parameter.
26537 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
26538
26539 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
26540 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
26541 (x-dnd-handle-moz-url): Remove unused variable `title'.
26542 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
26543
26544 * xml.el (xml-parse-tag, xml-parse-attlist):
26545 Remove unused variable `pos'.
26546
26547 2011-04-19 Glenn Morris <rgm@gnu.org>
26548
26549 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
26550 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
26551 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
26552 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
26553 * calendar/cal-html.el (cal-html-insert-minical):
26554 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
26555 (calendar-mark-date-pattern):
26556 Prefix "unused" locals.
26557
26558 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
26559 optional argument `style'.
26560
26561 * calendar/appt.el (appt-make-list):
26562 * calendar/cal-china.el (calendar-chinese-date-string):
26563 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
26564 (diary-hebrew-yahrzeit):
26565 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
26566 * calendar/calendar.el (calendar-generate-window):
26567 * calendar/time-date.el (time-to-days):
26568 Remove unused local variables.
26569
26570 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
26571
26572 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
26573 glyphless-char-display table.
26574 (tabulated-list-glyphless-char-display): New var.
26575
26576 2011-04-18 Sam Steingold <sds@gnu.org>
26577
26578 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
26579 to acknowledgments.
26580
26581 2011-04-17 Glenn Morris <rgm@gnu.org>
26582
26583 * calendar/diary-lib.el (diary-sexp-entry):
26584 * calendar/holidays.el (holiday-sexp):
26585 Set debug-on-error rather than the removed stack-trace-on-error.
26586
26587 2011-04-16 Glenn Morris <rgm@gnu.org>
26588
26589 * progmodes/f90.el: Use lexical-binding.
26590 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
26591
26592 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26593
26594 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
26595 (mail-mode): Setup mailalias completion here instead.
26596 * mail/mailalias.el: Use lexical-binding.
26597 (pattern, mailalias-done): Declare dynamic.
26598 (mail-completion-at-point-function): New function, from mail-complete.
26599 (mail-complete): Use it.
26600 (mail-completion-expand): New function.
26601 (mail-get-names): Use it.
26602 (mail-directory, mail-directory-process, mail-directory-stream):
26603 Don't use `pattern' for lexically bound arg.
26604
26605 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
26606
26607 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
26608 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
26609 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
26610
26611 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
26612 (byte-save-window-excursion, byte-temp-output-buffer-setup)
26613 (byte-interactive-p): Define them again, for use when inlining
26614 old code.
26615
26616 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
26617
26618 * loadup.el: Use `string-to-number', not `string-to-int'.
26619
26620 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26621
26622 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
26623 gud-gdb-complete-command.
26624 (gud-gdb-completions): New function, from gud-gdb-complete-command.
26625 (gud-gdb-completion-at-point): New function.
26626 (gud-gdb-completions): Remove.
26627
26628 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
26629
26630 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
26631 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
26632 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
26633 whether `executable-find' is bound.
26634
26635 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
26636
26637 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
26638
26639 * minibuffer.el (completion-in-region-mode-predicate)
26640 (completion-in-region-mode--predicate): New vars.
26641 (completion-in-region, completion-in-region--postch)
26642 (completion-in-region-mode): Use them.
26643 (completion--capf-wrapper): Also return the hook function.
26644 (completion-at-point, completion-help-at-point):
26645 Adjust and provide a predicate.
26646
26647 Preserve arg names for advice of subr and lexical functions (bug#8457).
26648 * help-fns.el (help-function-arglist): Consolidate the subr and
26649 new-byte-code cases. Add argument `preserve-names' to extract names
26650 from the docstring when needed.
26651 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
26652 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
26653 (ad-arglist): Use help-function-arglist's new arg.
26654 (ad-definition-type): Use cond.
26655
26656 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
26657
26658 * autorevert.el (auto-revert-handler):
26659 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
26660 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
26661 Don't quote lambda.
26662
26663 * image-mode.el (image-transform-set-scale):
26664 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
26665
26666 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
26667
26668 * net/network-stream.el (network-stream-open-starttls): Only do
26669 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
26670 Upgrades via gnutls-cli are too slow to be done opportunistically.
26671
26672 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
26673
26674 * dframe.el (dframe-current-frame): Remove spurious quote.
26675
26676 2011-04-12 Glenn Morris <rgm@gnu.org>
26677
26678 * calendar/cal-tex.el (cal-tex-end-document):
26679 Try to automatically use latin1 input if needed.
26680
26681 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
26682 Don't try to cons a mark onto an empty element.
26683
26684 2011-04-11 Leo Liu <sdl.web@gmail.com>
26685
26686 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
26687 buffers.
26688 (ido-kill-buffer-at-head): Support killing virtual buffers.
26689
26690 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
26691
26692 * minibuffer.el (completion-show-inline-help): New var.
26693 (completion--do-completion, minibuffer-complete)
26694 (minibuffer-force-complete, minibuffer-complete-word):
26695 Inhibit minibuffer messages if completion-show-inline-help is nil.
26696
26697 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
26698 to avoid interference from inline help (Bug#5849).
26699
26700 2011-04-10 Leo Liu <sdl.web@gmail.com>
26701
26702 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
26703 Fix typo.
26704
26705 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
26706
26707 * image-mode.el (image-toggle-display-image): Signal an error if
26708 not in Image mode.
26709 (image-transform-mode, image-transform-resize)
26710 (image-transform-set-rotation): Doc fix.
26711 (image-transform-set-resize): Delete.
26712 (image-transform-set-scale, image-transform-fit-to-height)
26713 (image-transform-fit-to-width): Handle image-toggle-display-image
26714 and image-transform-resize directly.
26715
26716 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
26717
26718 * doc-view.el (doc-view-fit-width-to-window)
26719 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
26720 New functions for fitting the shown image to the Emacs window size.
26721 (doc-view-mode-map): Add bindings for the new functions.
26722
26723 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
26724
26725 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
26726 Fix typo in docstring.
26727
26728 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26729
26730 * files.el (file-size-human-readable): Produce one digit after
26731 decimal, like "ls -lh" does.
26732
26733 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
26734 the file size representation.
26735
26736 * simple.el (list-processes): If async subprocesses are not
26737 available, error out with a clear error message.
26738
26739 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
26740
26741 * help.el (help-form-show): New function, to be called from C.
26742 Put help-form output in a buffer named differently than *Help*.
26743
26744 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26745
26746 * files.el (file-size-human-readable): New function.
26747
26748 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
26749 computing the representation inline. Don't require `cl'.
26750
26751 2011-04-08 Glenn Morris <rgm@gnu.org>
26752
26753 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
26754
26755 * net/browse-url.el (browse-url-firefox):
26756 Test system-type, not system-configuration.
26757
26758 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
26759 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
26760 Use log-edit-empty-buffer-p. (Bug#7598)
26761
26762 * net/rlogin.el (rlogin-process-connection-type): Simplify.
26763 (rlogin-mode-map): Initialize in the defvar.
26764 (rlogin): Use ignore-errors.
26765
26766 * replace.el (occur-mode-map): Some fixes for menu items.
26767
26768 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
26769
26770 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
26771
26772 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26773
26774 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
26775 issuing unused warnings.
26776
26777 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
26778 macro directly.
26779
26780 * simple.el: Lisp reimplement of list-processes. Based on an
26781 earlier reimplementation by Leo Liu, but using tabulated-list.el.
26782 (process-menu-mode): New major mode.
26783 (list-processes--refresh, list-processes):
26784 (process-menu-visit-buffer): New functions.
26785
26786 * files.el (save-buffers-kill-emacs): Don't assume any return
26787 value of list-processes, which is undocumented anyway.
26788
26789 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26790
26791 * emacs-lisp/tabulated-list.el: New file.
26792
26793 * emacs-lisp/package.el: Use Tabulated List mode.
26794 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
26795 (package-menu-mode): Derive from tabulated-list-mode. Set up the
26796 table format using Tabulated List mode variables.
26797 (package--push): New macro, replacing package-list-maybe-add.
26798 (package-menu--generate): Use package--push. Renamed from
26799 package--generate-package-list.
26800 (package-menu-refresh, list-packages): Use it.
26801 (package-menu--print-info): Rename from package-print-package.
26802 Return insertion data instead of inserting it directly.
26803 (package-menu-describe-package, package-menu-execute):
26804 Use tabulated-list-get-id.
26805 (package-menu-mark-delete, package-menu-mark-install)
26806 (package-menu-mark-unmark, package-menu-backup-unmark)
26807 (package-menu-mark-obsolete-for-deletion):
26808 Use tabulated-list-put-tag.
26809 (package--list-packages, package-menu-revert)
26810 (package-menu-get-package, package-menu-get-version)
26811 (package-menu-sort-by-column): Functions deleted.
26812 (package-menu-package-list, package-menu-sort-key): Vars deleted.
26813 (package-menu--status-predicate, package-menu--version-predicate)
26814 (package-menu--name-predicate)
26815 (package-menu--description-predicate): Handle arguments in the
26816 Tabulated List format.
26817 (package-list-packages-no-fetch): Call list-packages.
26818
26819 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
26820
26821 * files.el (after-find-file-from-revert-buffer): Remove variable.
26822 (after-find-file): Don't bind it.
26823 (revert-buffer-in-progress-p): New variable.
26824 (revert-buffer): Bind it.
26825 Pass nil for `after-find-file-from-revert-buffer'.
26826
26827 * saveplace.el (save-place-find-file-hook): Use new variable
26828 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
26829
26830 2011-04-06 Glenn Morris <rgm@gnu.org>
26831
26832 * Makefile.in (AUTOGEN_VCS): New variable.
26833 (autoloads): Use $AUTOGEN_VCS.
26834
26835 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
26836 * calendar/calendar.el (calendar-mode-map):
26837 Check for toolkit scroll bars. (Bug#8305)
26838
26839 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26840
26841 * minibuffer.el (completion-in-region--postch)
26842 (completion-in-region-mode): Remove unnecessary messages.
26843
26844 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
26845
26846 * font-lock.el (font-lock-refresh-defaults):
26847 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
26848 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
26849
26850 * info.el (Info-directory-list, Info-read-node-name-2)
26851 (Info-split-parameter-string): Doc fixes.
26852 (Info-virtual-nodes): Reflow docstring.
26853 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
26854 (Info-apropos-toc-nodes, info-finder, Info-get-token)
26855 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
26856 Fix typos in docstrings.
26857 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
26858 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
26859 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
26860 (Info-restore-desktop-buffer): Mark unused parameters.
26861 (Info-directory-find-file, Info-directory-find-node)
26862 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
26863 (Info-virtual-index-find-node, Info-apropos-find-file)
26864 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
26865 Mark unused parameters; fix typos in docstrings.
26866 (Info-virtual-index): Remove unused local variable `nodename'.
26867
26868 2011-04-05 Deniz Dogan <deniz@dogan.se>
26869
26870 * net/rcirc.el: Update my e-mail address.
26871 (rcirc-mode-map): Remove M-o binding.
26872
26873 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26874
26875 * startup.el (command-line): Save the cursor's theme-face
26876 directly, instead of using face-override-spec.
26877
26878 * custom.el (load-theme): Minor optimization in assigning faces.
26879
26880 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26881
26882 * help-fns.el (describe-variable): Complete all variables having
26883 documentation, including keywords.
26884 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
26885
26886 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26887
26888 Convert to lexical-binding.
26889
26890 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
26891 (bs--get-marked-string, bs--get-modified-string)
26892 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
26893 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
26894 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
26895
26896 * ehelp.el (electric-help-execute-extended)
26897 (electric-help-ctrl-x-prefix):
26898 * hexl.el (hexl-revert-buffer-function):
26899 * linum.el (linum-after-change, linum-after-scroll):
26900 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
26901
26902 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
26903
26904 2011-04-04 Daiki Ueno <ueno@unixuser.org>
26905
26906 * epa-dired.el:
26907 * epa-mail.el:
26908 * epa-hook.el:
26909 * epa-file.el:
26910 * epa.el:
26911 * epg.el: Use lexical binding.
26912
26913 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
26914
26915 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
26916
26917 * textmodes/flyspell.el (flyspell-word): Recognize default
26918 dictionary case for flyspell-mark-duplications-exceptions.
26919 Use regexp matching for languages.
26920 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
26921 default dictionary (Bug#7926).
26922
26923 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
26924
26925 * emacs-lisp/package.el (package--with-work-buffer):
26926 Recognize https URLs.
26927
26928 * net/network-stream.el: Move from gnus/proto-stream.el.
26929 Change prefix to network-stream throughout.
26930 (open-protocol-stream): Merge into open-network-stream, leaving
26931 open-protocol-stream as an alias. Handle nil BUFFER args.
26932
26933 * subr.el (open-network-stream): Move to net/network-stream.el.
26934
26935 2011-04-02 Glenn Morris <rgm@gnu.org>
26936
26937 * find-dired.el (find-exec-terminator): New option.
26938 (find-ls-option): Test for -ls support.
26939 (find-ls-subdir-switches): Test for -b in find-ls-option.
26940 (find-dired, find-grep-dired): Doc fixes.
26941 (find-dired): Use find-exec-terminator.
26942
26943 * find-dired.el (find-ls-option, find-ls-subdir-switches)
26944 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
26945 (find-name-arg): Remove purecopy.
26946
26947 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
26948 (grep-compute-defaults): Check for `-exec COMMAND +' support.
26949 Set grep-find-use-xargs, grep-find-command, and grep-find-template
26950 accordingly. Don't add the null-device if not needed.
26951
26952 * files.el (save-some-buffers): Doc fix.
26953
26954 2011-04-02 Eli Zaretskii <eliz@gnu.org>
26955
26956 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
26957
26958 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
26959
26960 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
26961 Use `dolist' rather than `mapcar'.
26962
26963 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
26964
26965 Add lexical binding.
26966
26967 * subr.el (apply-partially): Use new closures rather than CL.
26968 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
26969 (dolist, dotimes): Use slightly different expansion for lexical code.
26970 (functionp): Move to C.
26971 (letrec): New macro.
26972 (with-wrapper-hook): Use it and apply-partially instead of CL.
26973 (eval-after-load): Preserve lexical-binding.
26974 (save-window-excursion, with-output-to-temp-buffer): Turn them
26975 into macros.
26976
26977 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
26978
26979 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
26980 than the arglist.
26981 (help-add-fundoc-usage): Don't add `Not documented'.
26982 (help-function-arglist): Handle closures, subroutines, and new
26983 byte-code-functions.
26984 (help-make-usage): Remove leading underscores.
26985 (describe-function-1): Handle closures.
26986 (describe-variable): Use special-variable-p for completion.
26987
26988 * files.el (lexical-binding): Declare safe.
26989
26990 * emacs-lisp/pcase.el: Don't use destructuring-bind.
26991 (pcase--memoize): Rename from pcase-memoize. Change weakness.
26992 (pcase): Add `let' pattern.
26993 Change memoization so it actually works.
26994 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
26995 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
26996 <let>: New case.
26997
26998 * emacs-lisp/macroexp.el: Use lexical binding.
26999 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
27000 Don't convert ' to #' without checking that it's indeed quoting
27001 a lambda.
27002
27003 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
27004 Use eval-sexp-add-defvars.
27005 (eval-sexp-add-defvars): New fun.
27006
27007 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
27008
27009 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
27010 Don't autoload.
27011 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
27012 than the internal `byte-compile-lambda'.
27013 (defmethod): Don't hide code under quotes.
27014 (eieio-defmethod): New `code' argument.
27015
27016 * emacs-lisp/eieio-comp.el: Remove.
27017
27018 * emacs-lisp/edebug.el (edebug-eval-defun)
27019 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
27020 (edebug-toggle): Avoid `eval'.
27021
27022 * emacs-lisp/disass.el (disassemble-internal): Handle new
27023 `closure' objects.
27024 (disassemble-1): Handle new byte codes.
27025
27026 * emacs-lisp/cl.el (pushnew): Silence warning.
27027
27028 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
27029 (cl-byte-compile-throw): Remove.
27030 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
27031
27032 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
27033 closures.
27034
27035 * emacs-lisp/cconv.el: New file.
27036
27037 * emacs-lisp/bytecomp.el: Use lexical binding instead of
27038 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
27039 (byte-compile-initial-macro-environment):
27040 Handle declare-function here.
27041 (byte-compile--lexical-environment): New var.
27042 (byte-stack-ref, byte-stack-set, byte-discardN)
27043 (byte-discardN-preserve-tos): New lap codes.
27044 (byte-interactive-p): Don't use any more.
27045 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
27046 New macros.
27047 (byte-compile-lapcode): Use them and handle new lap codes.
27048 (byte-compile-obsolete): Remove.
27049 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
27050 (byte-compile-arglist-warn): Check late def of inlinable funs.
27051 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
27052 since they should have been expanded by now.
27053 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
27054 (byte-compile-from-buffer): Remove unused second arg.
27055 (byte-compile-preprocess): New function.
27056 (byte-compile-toplevel-file-form): New function to distinguish
27057 file-form calls from outside from file-form calls from hunk-handlers.
27058 (byte-compile-file-form): Simplify.
27059 (byte-compile-file-form-defsubst): Remove.
27060 (byte-compile-file-form-defmumble): Simplify now that
27061 byte-compile-lambda always returns a byte-code-function.
27062 (byte-compile): Preprocess.
27063 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
27064 Remove, not used any more.
27065 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
27066 (byte-compile-make-args-desc): New funs.
27067 (byte-compile-lambda): Handle lexical functions. Always return
27068 a byte-code-function.
27069 (byte-compile-reserved-constants): New var, to make up room for
27070 closed-over variables.
27071 (byte-compile-constants-vector): Obey it.
27072 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
27073 (byte-compile-macroexpand-declare-function): New function.
27074 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
27075 byte-code-functions.
27076 (byte-compile-form): Check obsolescence here.
27077 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
27078 (byte-compile-variable-ref): Remove.
27079 (byte-compile-dynamic-variable-op): New fun.
27080 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
27081 (byte-compile-variable-set): New funs.
27082 (byte-compile-discard): Add 2 args.
27083 (byte-compile-stack-ref, byte-compile-stack-set)
27084 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
27085 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
27086 macroexpand-all instead.
27087 (byte-compile-quote-form): Remove.
27088 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
27089 (byte-compile-bind, byte-compile-unbind): New funs.
27090 (byte-compile-let): Handle let* and lexical binding.
27091 (byte-compile-let*): Remove.
27092 (byte-compile-catch, byte-compile-unwind-protect)
27093 (byte-compile-track-mouse, byte-compile-condition-case):
27094 Handle a new :fun-body form, used for lexical scoping.
27095 (byte-compile-save-window-excursion)
27096 (byte-compile-with-output-to-temp-buffer): Remove.
27097 (byte-compile-defun): Simplify.
27098 (byte-compile-stack-adjustment): New fun.
27099 (byte-compile-out): Use it.
27100 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
27101
27102 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
27103 handler any more.
27104
27105 * emacs-lisp/byte-opt.el: Use lexical binding.
27106 (byte-inline-lapcode): Remove (to bytecomp).
27107 (byte-compile-inline-expand): Pay attention to inlining to/from
27108 lexically bound code.
27109 (byte-compile-unfold-lambda): Don't handle byte-code-functions
27110 any more.
27111 (byte-optimize-form-code-walker): Don't handle save-window-excursion
27112 any more and don't call compiler-macros.
27113 (byte-compile-splice-in-already-compiled-code): Remove.
27114 (byte-code): Don't inline any more.
27115 (disassemble-offset): Receive `bytes' as argument rather than via
27116 dynamic scoping.
27117 (byte-compile-tag-number): Declare before first use.
27118 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
27119 `return' even if make-spliceable.
27120 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
27121 obsolete interactive-p.
27122 (byte-optimize-lapcode): Optimize new lap-codes.
27123 Don't trip up on new form of `byte-constant' lap code.
27124
27125 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
27126
27127 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
27128
27129 * custom.el (custom-initialize-default, custom-declare-variable):
27130 Use `defvar'.
27131
27132 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
27133 New variables.
27134 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
27135 (COMPILE_FIRST): Add macroexp and cconv.
27136 * makefile.w32-in: Mirror changes in Makefile.in.
27137
27138 * vc/cvs-status.el:
27139 * vc/diff-mode.el:
27140 * vc/log-edit.el:
27141 * vc/log-view.el:
27142 * vc/smerge-mode.el:
27143 * textmodes/bibtex-style.el:
27144 * textmodes/css-mode.el:
27145 * startup.el:
27146 * uniquify.el:
27147 * minibuffer.el:
27148 * newcomment.el:
27149 * reveal.el:
27150 * server.el:
27151 * mpc.el:
27152 * emacs-lisp/smie.el:
27153 * doc-view.el:
27154 * dired.el:
27155 * abbrev.el: Use lexical binding.
27156
27157 2011-04-01 Eli Zaretskii <eliz@gnu.org>
27158
27159 * info.el (info-display-manual): New function.
27160
27161 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
27162
27163 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
27164
27165 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
27166
27167 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
27168 an entry for that server in rcirc-authinfo. (Bug#8385)
27169
27170 2011-03-31 Glenn Morris <rgm@gnu.org>
27171
27172 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
27173
27174 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
27175
27176 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
27177
27178 * progmodes/python.el (python-default-interpreter)
27179 (python-python-command-args, python-jython-command-args)
27180 (python-which-shell, python-which-args, python-which-bufname)
27181 (python-file-queue, python-comint-output-filter-function)
27182 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
27183 variables and functions.
27184
27185 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
27186
27187 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
27188 (completion-in-region-mode): New minor mode.
27189 (completion-in-region): Use it.
27190 (completion-in-region--data, completion-in-region-mode-map): New vars.
27191 (completion-in-region--postch): New function.
27192 (completion--capf-misbehave-funs, completion--capf-safe-funs):
27193 New vars.
27194 (completion--capf-wrapper): New function.
27195 (completion-at-point): Use it to track well-behavedness of
27196 hook functions.
27197 (completion-help-at-point): New command.
27198
27199 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
27200
27201 * vc/add-log.el (add-change-log-entry): Don't use whitespace
27202 syntax class to search for whitespace on a single line
27203 (Message-ID: <4D938140.4030905@redhat.com>).
27204
27205 2011-03-30 Leo Liu <sdl.web@gmail.com>
27206
27207 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
27208 New commands.
27209 (edit-abbrevs-map): Bind them here.
27210 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
27211
27212 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
27213
27214 * allout.el (allout-hide-by-annotation, allout-flag-region):
27215 Reduce possibility of overlay leakage by making them volatile.
27216
27217 * allout-widgets.el (allout-widgets-tally): Define as nil so the
27218 hash is not shared between buffers. Mode initialization is
27219 responsible for giving it a useful starting value.
27220 (allout-item-span): Reduce possibility of overlay leakage by
27221 making them volatile.
27222 (allout-widgets-count-buttons-in-region): Add diagnostic function
27223 for tracking down button overlay leaks.
27224
27225 2011-03-29 Leo Liu <sdl.web@gmail.com>
27226
27227 * ido.el (ido-read-internal): Use the default history var
27228 minibuffer-history if no HISTORY is specified.
27229
27230 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
27231
27232 * net/imap.el (imap-shell-open, imap-process-connection-type):
27233 Use imap-process-connection-type for 'shell' streams as well as
27234 Kerberos, SSL, other subprocesses.
27235
27236 2011-03-28 Leo Liu <sdl.web@gmail.com>
27237
27238 * abbrev.el (abbrev-table-empty-p): New function.
27239 (prepare-abbrev-list-buffer): Place empty abbrev tables after
27240 nonempty ones. (Bug#5937)
27241
27242 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
27243
27244 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
27245
27246 2011-03-27 Leo Liu <sdl.web@gmail.com>
27247
27248 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
27249 for foreground and background colors.
27250 (ansi-color-make-color-map): Adapt.
27251
27252 2011-03-25 Leo Liu <sdl.web@gmail.com>
27253
27254 * midnight.el (midnight-time-float): Remove. Note it calculates
27255 the microsecond component incorrectly and seconds-to-time does the
27256 same job.
27257 Remove redundant (require 'timer).
27258
27259 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
27260 (ido-completions): Remove unused arguments. (Bug#8329)
27261
27262 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
27263
27264 * minibuffer.el (completion--flush-all-sorted-completions):
27265 Remove itself from hook.
27266 (completion-at-point): Let the functions perform the completion
27267 immediately and return nil or t.
27268 * comint.el (comint-dynamic-complete-functions): Now identical to
27269 completion-at-point-functions.
27270 (comint-dynamic-list-input-ring): Remove unused var `index'.
27271 (comint--match-partial-filename, comint--unquote&expand-filename):
27272 New funs, split from comint-match-partial-filename.
27273 (comint-dynamic-complete): Use completion-at-point.
27274 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
27275
27276 2011-03-24 Drew Adams <drew.adams@oracle.com>
27277
27278 * thingatpt.el: Support `defun'.
27279
27280 2011-03-23 Leo Liu <sdl.web@gmail.com>
27281
27282 * abbrevlist.el: Move to obsolete/abbrevlist.el.
27283
27284 * help-mode.el (help-mode-finish): Tweak regexp.
27285
27286 2011-03-23 Glenn Morris <rgm@gnu.org>
27287
27288 * eshell/esh-opt.el (eshell-eval-using-options):
27289 Do not bind unused local variable `eshell-option-stub'.
27290
27291 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
27292
27293 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27294
27295 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
27296 keymap variable in `with-no-warnings' to avoid a warning when the
27297 keymap has been already `defconst'ed.
27298
27299 2011-03-22 Leo Liu <sdl.web@gmail.com>
27300
27301 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
27302 encode all chars in abbrevs; otherwise use emacs-mule or
27303 utf-8-emacs. (Bug#8308)
27304
27305 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27306
27307 * simple.el (backward-delete-char-untabify):
27308 Avoid warning about using `delete-backward-char'.
27309
27310 * image.el (image-type-file-name-regexps): Make it variable.
27311 `imagemagick-register-types' modifies it, and the user may want
27312 to add new extensions for known image types.
27313 (imagemagick-register-types): Throw error if not using ImageMagick.
27314
27315 2011-03-22 Leo Liu <sdl.web@gmail.com>
27316
27317 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
27318 located before rcirc-prompt-end-marker.
27319 (rcirc-complete): Error if point is not after rcirc prompt.
27320 Handle the case when table is nil.
27321 (rcirc-user-authenticated): Define to fix compiler warning.
27322
27323 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
27324
27325 * custom.el (custom--inhibit-theme-enable): Make it affect only
27326 custom-theme-set-variables and custom-theme-set-faces.
27327 (provide-theme): Ignore custom--inhibit-theme-enable.
27328 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
27329 (custom-enabling-themes): Delete variable.
27330 (enable-theme): Accept only loaded themes as arguments.
27331 Ignore the special custom-enabled-themes variable.
27332 (custom-enabled-themes): Forbid themes from setting this.
27333 Eliminate use of custom-enabling-themes.
27334 (custom-push-theme): Quote "changed" custom var entry.
27335
27336 2011-03-21 Leo Liu <sdl.web@gmail.com>
27337
27338 * ido.el (ido-read-internal): Add ido-selected to history instead
27339 of user input.
27340
27341 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
27342
27343 * subr.el (deferred-action-list, deferred-action-function):
27344 Mark obsolete.
27345
27346 2011-03-21 Leo Liu <sdl.web@gmail.com>
27347
27348 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
27349 change on 2011-02-13 (bug#8309).
27350
27351 * minibuffer.el (read-file-name-function): Change default value.
27352 (read-file-name--defaults): Rename from read-file-name-defaults.
27353 (read-file-name-default): Rename from read-file-name.
27354 (read-file-name): Call read-file-name-function.
27355
27356 2011-03-21 Glenn Morris <rgm@gnu.org>
27357
27358 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
27359 Doc fixes.
27360
27361 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
27362
27363 * cus-theme.el: Add missing provide statement.
27364 (customize-create-theme): Extract theme value correctly.
27365 (custom-theme-visit-theme): Autoload.
27366 (customize-create-theme): Prompt before inserting default faces.
27367
27368 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
27369
27370 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
27371 units and musical notes.
27372
27373 2011-03-20 Leo Liu <sdl.web@gmail.com>
27374
27375 * ido.el (ido-read-internal): Use completing-read-default.
27376 (ido-completing-read): Fix compatibility with completing-read.
27377
27378 2011-03-20 Christian Ohler <ohler@gnu.org>
27379
27380 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
27381 (ert-delete-all-tests): Use `called-interactively-p' rather than
27382 `interactive-p'.
27383 (ert--make-xrefs-region): Respect END.
27384
27385 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27386
27387 * dired-aux.el (dired-create-directory): Signal an error if the
27388 directory already exists (Bug#8246).
27389
27390 * facemenu.el (list-colors-display): Call list-faces-display
27391 inside with-help-window.
27392 (list-colors-print): Use display property to align the final
27393 column, instead of checking window-width.
27394
27395 2011-03-19 Eli Zaretskii <eliz@gnu.org>
27396
27397 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
27398 windows-nt systems.
27399 (emerge-protect-metachars): Quote correctly for ms-dos and
27400 windows-nt systems.
27401
27402 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
27403
27404 * info.el (info-initialize): Replace all uses of `:' with
27405 path-separator for compatibility with non-Unix systems.
27406 Cache quoting of path-separator. (Bug#8258)
27407
27408 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
27409
27410 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
27411 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
27412 (mouse-avoidance-mode): Fix typos in docstrings.
27413
27414 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27415
27416 * startup.el (package-subdirectory-regexp): Move from package.el.
27417 Omit \\` and \\', and let callers add them.
27418
27419 * emacs-lisp/package.el (package-strip-version)
27420 (package-load-all-descriptors): Add \\` and \\' to
27421 package-subdirectory-regexp before using it.
27422 (package-untar-buffer): New arg DIR; ensure that file untars only
27423 into this expected directory. Remove superfluous delete-region.
27424 (package-unpack): Caller changed.
27425 (package-tar-file-info): Use package-subdirectory-regexp.
27426
27427 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
27428
27429 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
27430 diff-mode-shared-map (bug#8284).
27431 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
27432
27433 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
27434
27435 * calendar/time-date.el (format-seconds): Use assoc instead of
27436 assoc-string, since assoc-string doesn't exist in XEmacs.
27437
27438 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
27439
27440 * custom.el (custom-known-themes): Reflow docstring.
27441 (custom-theme-load-path): Fix typo in docstring.
27442 (load-theme): Fix typo in error message.
27443 (custom-available-themes, custom-variable-theme-value):
27444 Use `let', not `let*'.
27445
27446 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
27447
27448 * calc/README: Mention inclusion of musical notes.
27449
27450 * calc/calc-units.el (calc-lu-quant): Rename from
27451 `calc-logunits-quantity'.
27452 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
27453 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
27454 (calc-db): Rename from `calc-dblevel'.
27455 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
27456 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
27457 (calc-np): Rename from `calc-nplevel'.
27458 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
27459 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
27460 (calc-lu-plus): Rename from `calc-logunits-add'.
27461 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
27462 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
27463 (calc-lu-minus): Rename from `calc-logunits-sub'.
27464 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
27465 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
27466 (calc-lu-times): Rename from `calc-logunits-mul'.
27467 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
27468 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
27469 (calc-lu-divide): Rename from `calc-logunits-div'.
27470 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
27471 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
27472
27473 * calc/calc-ext.el (calc-init-extensions): Update the names of the
27474 functions being autoloaded.
27475
27476 * calc/calc.el (calc-lu-power-reference): Rename from
27477 `calc-logunits-power-reference'.
27478 (calc-lu-field-reference): Rename from
27479 `calc-logunits-field-reference'.
27480
27481 * calc/calc-help.el (calc-l-prefix-help):
27482 Mention musical note functions.
27483
27484 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
27485
27486 * minibuffer.el (completion-all-sorted-completions):
27487 Use :completion-cycle-penalty text property if present.
27488
27489 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
27490
27491 * allout.el (allout-yank-processing): Adjust for new rebulleting
27492 regime so bullet being yanked is used without prompting the user
27493 for a choice.
27494
27495 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27496
27497 * startup.el (command-line): Warn the user that _emacs is deprecated.
27498
27499 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27500
27501 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
27502 (delphi-verbose, delphi-comment-face, delphi-string-face)
27503 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
27504 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
27505 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
27506 (delphi-new-comment-line, delphi-font-lock-defaults)
27507 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
27508 Fix typos in docstrings.
27509
27510 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
27511
27512 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
27513 Invert the roles of character and string values for INSTEAD, so a
27514 string is used for the more common case of a defaulting prompt.
27515
27516 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27517
27518 * progmodes/ruby-mode.el (ruby-backward-sexp):
27519 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
27520 * play/gamegrid.el (gamegrid-make-face):
27521 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
27522 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
27523 * notifications.el (notifications-notify):
27524 * net/xesam.el (xesam-search-engines):
27525 * net/quickurl.el (quickurl-list-insert):
27526 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
27527
27528 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
27529
27530 * startup.el (command-line): Update package subdirectory regexp.
27531
27532 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27533
27534 * allout.el (allout-abbreviate-flattened-numbering)
27535 (allout-mode-deactivate-hook): Fix up obsolescence "date".
27536
27537 * subr.el (read-char-choice): Only show the cursor after the prompt,
27538 not after the answer.
27539
27540 2011-03-15 Kevin Ryde <user42@zip.com.au>
27541
27542 * help-fns.el (variable-at-point): Skip leading quotes, if any
27543 (bug#8253).
27544
27545 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27546
27547 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
27548 warning message.
27549
27550 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
27551
27552 * shell.el (shell): When called interactively, offer to change the
27553 shell file name on remote hosts.
27554
27555 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
27556
27557 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
27558 integration for LDAP parameters. The host, base, user or binddn,
27559 and secret tokens can be specified in a netrc file, for instance.
27560 This is optional because an `auth-source' parameter must be
27561 specified in the search attributes.
27562
27563 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
27564
27565 * help.el (describe-mode): Link to the mode's definition (bug#8185).
27566
27567 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27568
27569 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
27570 into declaration. Remove redundant and harmful binding.
27571
27572 2011-03-12 Eli Zaretskii <eliz@gnu.org>
27573
27574 * files.el (file-ownership-preserved-p): Pass `integer' as an
27575 explicit 2nd argument to `file-attributes'. If the file's owner
27576 is the Administrators group on Windows, and the current user is
27577 Administrator, consider that a match.
27578
27579 * server.el (server-ensure-safe-dir): Consider server directory
27580 safe on MS-Windows if its owner is the Administrators group while
27581 the current Emacs user is Administrator. Use `=' to compare
27582 numerical UIDs, since they could be integers or floats.
27583
27584 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
27585
27586 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
27587
27588 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
27589
27590 Sync with Tramp 2.2.1.
27591
27592 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
27593
27594 * net/trampver.el: Update release number.
27595
27596 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27597
27598 * progmodes/compile.el (compilation--previous-directory): Fix up
27599 various nil/dead-marker mismatches (bug#8014).
27600 (compilation-directory-properties, compilation-error-properties):
27601 Don't call it at a position past the one we're about to change.
27602
27603 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
27604 Disable obsolescence warnings in the file that declares it.
27605
27606 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
27607
27608 * allout-widgets.el (allout-widgets-tally):
27609 Initialize allout-widgets-tally as a hash table rather than nil to
27610 prevent mode-line redisplay warnings. Also, clarify the module
27611 description and fix a comment typo.
27612
27613 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
27614
27615 * help-fns.el (describe-variable): Don't complete keywords.
27616 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
27617
27618 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
27619
27620 * emacs-lisp/package.el (package-version-join): Impose a standard
27621 string representation for pre/alpha/beta version lists.
27622 (package-unpack-single): Standardize the directory name by passing
27623 it through package-version-join.
27624 (package-strip-rcs-id): Accept any version string that does not
27625 signal an error in version-to-list.
27626
27627 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
27628
27629 * simple.el (delete-trailing-whitespace): Return nil for the
27630 benefit of `write-file-functions'.
27631
27632 2011-03-10 Glenn Morris <rgm@gnu.org>
27633
27634 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
27635
27636 * vc/vc-git.el (vc-git-program): New option.
27637 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
27638 (vc-git--call): Use it.
27639
27640 * eshell/esh-util.el (eshell-condition-case): Doc fix.
27641
27642 * cus-edit.el (Custom-newline): If no button at point, look
27643 for a subgroup button at start-of-line. (Bug#2298)
27644
27645 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
27646
27647 2011-03-10 Julien Danjou <julien@danjou.info>
27648
27649 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
27650 `cursor-type' is nil.
27651
27652 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
27653
27654 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
27655
27656 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
27657
27658 * allout.el: Change so yank of distinctive-bullet items
27659 preserves the existing header prefix, rebulleting it if necessary,
27660 rather than replacing it. This is necessary for proper operation
27661 of cooperative addons like allout-widgets.
27662 (allout-make-topic-prefix, allout-rebullet-heading):
27663 Change SOLICIT arg to INSTEAD, and interpret additionally a string
27664 value as alternate bullet to be used, instead of prompting the user
27665 for a bullet character.
27666
27667 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
27668
27669 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
27670 Do not use `tramp-file-name-port', because this returns also
27671 `tramp-default-port'.
27672
27673 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
27674
27675 * net/rcirc.el (rcirc-handler-001): Remove useless
27676 with-rcirc-process-buffer.
27677 (rcirc-check-auth-status): Swap arguments to string-match.
27678
27679 2011-03-09 Glenn Morris <rgm@gnu.org>
27680
27681 * shell.el (shell-mode):
27682 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
27683
27684 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
27685 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
27686
27687 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27688
27689 * emacs-lisp/package.el (package-refresh-contents)
27690 (package-menu-execute): Use condition-case-no-debug.
27691
27692 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
27693
27694 * simple.el (shell-command-to-string): Use `process-file'.
27695
27696 * emacs-lisp/package.el (package-tar-file-info): Handle also
27697 remote files.
27698
27699 * emacs-lisp/package-x.el (package-upload-buffer-internal):
27700 Use `equal' for upload base check.
27701
27702 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
27703
27704 * textmodes/texinfo.el (texinfo-environments):
27705 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
27706
27707 2011-03-08 Glenn Morris <rgm@gnu.org>
27708
27709 * cus-start.el (cursor-in-non-selected-windows):
27710 Fix :set quoting oddness. (Bug#8192)
27711
27712 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
27713 in some setf expressions. (Bug#2159)
27714
27715 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27716
27717 * custom.el (custom-available-themes): Return themes in
27718 alphabetical order.
27719
27720 See ChangeLog.15 for earlier changes.
27721
27722 ;; Local Variables:
27723 ;; coding: utf-8
27724 ;; End:
27725
27726 Copyright (C) 2011-2013 Free Software Foundation, Inc.
27727
27728 This file is part of GNU Emacs.
27729
27730 GNU Emacs is free software: you can redistribute it and/or modify
27731 it under the terms of the GNU General Public License as published by
27732 the Free Software Foundation, either version 3 of the License, or
27733 (at your option) any later version.
27734
27735 GNU Emacs is distributed in the hope that it will be useful,
27736 but WITHOUT ANY WARRANTY; without even the implied warranty of
27737 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27738 GNU General Public License for more details.
27739
27740 You should have received a copy of the GNU General Public License
27741 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.