* net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
[bpt/emacs.git] / lisp / ChangeLog
1 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
2
3 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
4 when reading the events; the buffer layout shall not be changed.
5
6 2013-05-27 Leo Liu <sdl.web@gmail.com>
7
8 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9 New variable.
10 (inferior-octave-directory-tracker): Automatically re-sync
11 default-directory.
12 (octave-help): Improve handling of 'See also'.
13
14 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
15
16 * doc-view.el: Minor naming convention tweaks.
17 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
18
19 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
20 even if there's no `display' property yet (bug#14435).
21
22 2013-05-25 Eli Zaretskii <eliz@gnu.org>
23
24 * subr.el (unmsys--file-name): Rename from reveal-filename.
25
26 * Makefile.in (custom-deps, finder-data, autoloads)
27 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
28 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
29 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
30
31 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
32
33 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
34 error-completion on the first 2 args of condition-case (bug#14446).
35 Don't burp at EOB.
36
37 2013-05-25 Leo Liu <sdl.web@gmail.com>
38
39 * comint.el (comint-previous-matching-input): Do not flood the
40 *Messages* buffer with trivial messages.
41
42 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
43
44 * progmodes/flymake.el (flymake-nop): Don't return a string.
45 (flymake-set-at): Fix typo.
46
47 * simple.el (read--expression): New function, extracted from
48 eval-expression. Set completion-at-point-functions (bug#14465).
49 (eval-expression, eval-minibuffer): Use it.
50
51 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
52
53 * progmodes/flymake.el (flymake-save-buffer-in-file)
54 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
55 (flymake-selected-frame, flymake-log, flymake-ins-after)
56 (flymake-set-at, flymake-get-buildfile-from-cache)
57 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
58 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
59 Refine the doc string.
60 (flymake-get-file-name-mode-and-masks): Reformat.
61 (flymake-get-real-file-name-function): Fix a minor bug.
62
63 2013-05-24 Juri Linkov <juri@jurta.org>
64
65 * progmodes/grep.el (grep-mode-font-lock-keywords):
66 Support =linenumber= format used by git-grep for lines with
67 function names. (Bug#13549)
68
69 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
70
71 * progmodes/octave.el (octave-smie-rules): Return nil rather than
72 0 after a semi-colon; it works better for smie-auto-fill.
73 (octave--indent-new-comment-line): New function.
74 (octave-indent-new-comment-line): Use it (indirectly).
75 (octave-mode): Don't disable smie-auto-fill. Use add-function to
76 modify comment-line-break-function.
77
78 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
79 (smie-setup): Use add-function to set it.
80
81 2013-05-24 Sam Steingold <sds@gnu.org>
82
83 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
84 argument (before the `interactive' argument).
85
86 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
87
88 * image-mode.el (image-mode-winprops): Add winprops to
89 image-mode-winprops-alist before running
90 image-mode-new-window-functions.
91 * doc-view.el (doc-view-new-window-function): Don't delay
92 doc-view-goto-page via timers (bug#14435).
93
94 2013-05-24 Tassilo Horn <tsdh@gnu.org>
95
96 * doc-view.el: Integrate with desktop.el. (Bug#14435)
97 (doc-view-desktop-save-buffer): New function.
98 (doc-view-restore-desktop-buffer): New function.
99 (desktop-buffer-mode-handlers):
100 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
101 handler.
102 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
103 `desktop-save-buffer' function.
104
105 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
106
107 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
108 (tramp-gvfs-file-name-handler): Raise a user error when
109 `tramp-gvfs-enabled' is nil.
110 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
111 Do not raise a user error when loading package. (Bug#14447)
112
113 * net/xesam.el: Move to obsolete/.
114
115 2013-05-24 Glenn Morris <rgm@gnu.org>
116
117 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
118
119 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
120
121 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
122 (Info-find-node, Man-getpage-in-background): Declare.
123
124 * mail/unrmail.el (unrmail):
125 Replace obsolete detect-coding-with-priority.
126
127 * net/socks.el (socks-split-string): Use this rather than split-string.
128 (socks-nslookup-host): Update for above change.
129 (dynamic-choice, s5-dynamic-choice-match)
130 (s5-dynamic-choice-match-inline, s5-widget-value-create):
131 Comment out unused code.
132
133 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
134 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
135 (gud-tooltip-echo-area): Make obsolete.
136 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
137
138 * progmodes/js.el (js--optimize-arglist): Declare.
139
140 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
141
142 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
143 (ediff-window-C): Declare.
144
145 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
146 Tweak requires to silence compiler.
147
148 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
149 (he-search-string, he-tried-table, he-expand-list)
150 (he-init-string, he-string-member, he-substitute-string)
151 (he-reset-string): Declare.
152
153 * obsolete/options.el (list-options): Use custom-variable-p,
154 rather than obsolete alias.
155
156 2013-05-23 Sam Steingold <sds@gnu.org>
157
158 * simple.el (shell-command-on-region): Pass the `replace' argument
159 down to `call-process-region' to comply with the doc as reported on
160 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
161
162 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
163
164 * emacs-lisp/smie.el (smie-indent-forward-token)
165 (smie-indent-backward-token): Handle string tokens (bug#14381).
166
167 2013-05-23 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
168
169 * ielm.el (ielm-menu): New menu.
170 (inferior-emacs-lisp-mode): Set comment-start.
171
172 2013-05-23 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
173
174 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
175 Fix deactivate action.
176
177 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
178 Add cleveref macros.
179
180 * lisp/textmodes/reftex-parse.el
181 (reftex-locate-bibliography-files): Accept options for
182 bibliography commands.
183 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
184 Add addbibresource. Basic Biblatex support.
185
186 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
187
188 * net/tramp-gvfs.el (top):
189 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
190 when loading package. (Bug#14447)
191
192 2013-05-23 Glenn Morris <rgm@gnu.org>
193
194 * progmodes/js.el: No need to load comint when compiling.
195 (ring-insert, comint-send-string, comint-send-input)
196 (comint-last-input-end, ido-chop): Declare.
197
198 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
199 * vc/ediff-mult.el: Adjust requires.
200 (ediff-directories-internal, ediff-directory-revisions-internal)
201 (ediff-patch-file-internal): Declare.
202 * vc/ediff-ptch.el: Adjust requires.
203 (ediff-use-last-dir, ediff-buffers-internal): Declare.
204 (ediff-find-file): Autoload.
205 * vc/ediff-util.el: No need to load ediff when compiling.
206 (ediff-regions-internal): Declare.
207 * vc/ediff-wind.el: Adjust requires.
208 (ediff-compute-toolbar-width): Define when compiling.
209 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
210 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
211 (dired-get-filename, dired-get-marked-files)
212 (ediff-last-dir-patch, ediff-patch-default-directory)
213 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
214 (ediff-patch-buffer-internal): Declare.
215
216 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
217 (ispell-process, ispell-buffer-local-words, lm-summary)
218 (lm-section-start, lm-section-end): Declare.
219 (checkdoc-ispell-init): Simplify.
220
221 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
222 (he-string-member, he-reset-string, he-substitute-string): Declare.
223
224 * eshell/em-ls.el: Adjust requires.
225 (eshell-glob-regexp): Declare.
226 * eshell/em-tramp.el: Adjust requires.
227 (eshell-parse-command): Autoload.
228 * eshell/em-xtra.el: Adjust requires.
229 (eshell-parse-command): Autoload.
230 * eshell/esh-ext.el: Adjust requires.
231 (eshell-parse-command, eshell-close-handles): Autoload.
232 * eshell/esh-io.el: Adjust requires.
233 (eshell-output-filter): Autoload.
234 * eshell/esh-util.el: No need to load tramp when compiling.
235 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
236 Declare.
237 (eshell-parse-ange-ls): Require ange-ftp and tramp.
238 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
239 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
240 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
241 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
242 * eshell/esh-opt.el, eshell/esh-proc.el:
243 * eshell/esh-var.el: Adjust requires.
244 * eshell/eshell.el: Do not require esh-util twice.
245 (eshell-add-input-to-history): Declare.
246 (eshell-command): Check history module is active before using it.
247
248 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
249
250 2013-05-22 Leo Liu <sdl.web@gmail.com>
251
252 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
253
254 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
255
256 * autorevert.el (auto-revert-notify-add-watch)
257 (auto-revert-notify-handler): Add `attrib' for the inotify case,
258 it indicates changes in file modification time.
259
260 2013-05-22 Glenn Morris <rgm@gnu.org>
261
262 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
263 Always delete the autoloaded function from the noruntime and
264 unresolved functions lists.
265
266 * allout.el: No need to load epa, epg, overlay when compiling.
267 (epg-context-set-passphrase-callback, epg-list-keys)
268 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
269 (epg-key-user-id-list): Declare.
270
271 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
272 (viper-set-parsing-style-toggling-macro)
273 (viper-set-emacs-state-searchstyle-macros):
274 Use called-interactively-p on Emacs.
275 (viper-looking-back): Make it an obsolete alias. Update callers.
276 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
277 Use looking-back rather than viper-looking-back.
278 (viper-tmp-insert-at-eob, viper-enlarge-region)
279 (viper-read-string-with-history, viper-register-to-point)
280 (viper-append-to-register, viper-change-state-to-vi)
281 (viper-backward-char-carefully, viper-forward-char-carefully)
282 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
283 (viper-change-state-to-emacs): Declare.
284 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
285 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
286 * emulation/viper-mous.el: Do not load viper-cmd.
287 (viper-backward-char-carefully, viper-forward-char-carefully)
288 (viper-forward-word, viper-adjust-window): Declare.
289
290 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
291
292 * progmodes/idlw-help.el (idlwave-help-fontify):
293 Use called-interactively-p.
294
295 * term/w32console.el (w32-get-console-codepage)
296 (w32-get-console-output-codepage): Declare.
297
298 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
299 Remove unnecessary declarations.
300 (dframe-message): Doc fix.
301
302 * info.el (dframe-select-attached-frame, dframe-current-frame):
303 Declare.
304
305 * speedbar.el (speedbar-message): Make it an obsolete alias.
306 Update all callers.
307 (speedbar-with-attached-buffer)
308 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
309 (speedbar-with-writable): Use backquote.
310 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
311 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
312 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
313 rather than speedbar- aliases.
314 * mail/rmail.el: Load dframe rather than speedbar when compiling.
315 (speedbar-make-specialized-keymap, speedbar-insert-button)
316 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
317 (speedbar-do-function-pointer): Declare.
318 (rmail-speedbar-button, rmail-speedbar-find-file)
319 (rmail-speedbar-move-message):
320 Use dframe-with-attached-buffer rather than speedbar- alias.
321 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
322 (dframe-message, speedbar-make-specialized-keymap)
323 (speedbar-add-expansion-list, speedbar-mode-functions-list)
324 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
325 (speedbar-insert-button, dframe-select-attached-frame)
326 (dframe-maybee-jump-to-attached-frame)
327 (speedbar-change-initial-expansion-list)
328 (speedbar-previously-used-expansion-list-name): Declare.
329 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
330 Use dframe-message, dframe-with-attached-buffer rather than
331 speedbar- aliases.
332 (gud-sentinel): Silence compiler.
333 * progmodes/vhdl-mode.el (speedbar-refresh)
334 (speedbar-do-function-pointer, speedbar-add-supported-extension)
335 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
336 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
337 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
338 (speedbar-file-lists, speedbar-make-tag-line)
339 (speedbar-line-directory, speedbar-goto-this-file)
340 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
341 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
342 (speedbar-make-button, speedbar-reset-scanners)
343 (speedbar-files-item-info, speedbar-line-text)
344 (speedbar-find-file-in-frame, speedbar-set-timer)
345 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
346 (speedbar-with-writable): Do not (re)define it.
347 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
348 rather than speedbar- alias.
349
350 2013-05-21 Leo Liu <sdl.web@gmail.com>
351
352 * progmodes/octave.el (octave-mode-menu): Update and re-organize
353 menu items.
354 (octave-mode): Tweak fill-nobreak-predicate.
355 (inferior-octave-startup): Check process to avoid infinite loop.
356 (inferior-octave): Pop to buffer first to show abornmal process
357 exit information.
358
359 2013-05-21 Glenn Morris <rgm@gnu.org>
360
361 * printing.el (pr-menu-bar): Define when compiling.
362
363 2013-05-21 Leo Liu <sdl.web@gmail.com>
364
365 * progmodes/octave.el (octave-auto-fill): Remove.
366 (octave-indent-new-comment-line): Improve.
367 (octave-mode): Use auto fill mode through
368 comment-line-break-function and fill-nobreak-predicate
369 (octave-goto-function-definition): Support DEFUN_DLD.
370 (octave-beginning-of-defun): Small Tweak
371 (octave-help): Show parent directory.
372
373 2013-05-21 Glenn Morris <rgm@gnu.org>
374
375 * files.el (dired-unmark):
376 * progmodes/gud.el (gdb-input): Update declarations.
377
378 * calculator.el (electric, ehelp): No need to load when compiling.
379 (Electric-command-loop, electric-describe-mode): Declare.
380
381 * doc-view.el (doc-view-current-converter-processes): Move before use.
382
383 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
384 Move MODE-set-explicitly definition before use.
385
386 * international/mule-diag.el (mule-diag):
387 Don't use obsolete window-system-version.
388
389 * mail/feedmail.el (smtpmail): No need to load when compiling.
390 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
391
392 * mail/mail-utils.el (rfc822): No need to load when compiling.
393 (rfc822-addresses): Autoload it.
394 (mail-strip-quoted-names): Trivial simplification.
395
396 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
397 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
398
399 * net/snmp-mode.el (tempo): Don't duplicate requires.
400
401 * progmodes/prolog.el (info): No need to load when compiling.
402 (comint): Require before shell requires it.
403 (Info-goto-node): Autoload it.
404 (Info-follow-nearest-node): Declare.
405 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
406
407 * textmodes/artist.el (picture-mode-exit): Declare.
408
409 * textmodes/reftex-parse.el (reftex-parse-from-file):
410 Trivial rewrite so the compiler can parse it better.
411
412 2013-05-20 Leo Liu <sdl.web@gmail.com>
413
414 * progmodes/octave.el (octave-help-mode-map)
415 (octave-help-mode-finish-hook): New variables.
416 (octave-help-mode, octave-help-mode-finish): New functions.
417 (octave-help): Use octave-help-mode.
418
419 2013-05-20 Glenn Morris <rgm@gnu.org>
420
421 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
422
423 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
424
425 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
426 start at point, so that expansion starting right after opening
427 slash in a regexp is recognized.
428 (ruby-syntax-before-regexp-re): New defvar, extracted from
429 ruby-syntax-propertize-function. Since the value of this regexp
430 is looked up at runtime now, we should be able to turn
431 `ruby-syntax-methods-before-regexp' into a defcustom later.
432 (ruby-syntax-propertize-function): Split regexp matching into two
433 parts, for opening and closing slashes. That allows us to skip
434 over string interpolations and support multiline regexps.
435 Don't call `ruby-syntax-propertize-expansions', instead use another rule
436 for them, which calls `ruby-syntax-propertize-expansion'.
437 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
438 call to `ruby-syntax-propertize-function'.
439 (ruby-syntax-propertize-expansion): Extracted from
440 `ruby-syntax-propertize-expansions'. Handles one expansion.
441 (ruby-syntax-propertize-percent-literal): Leave point right after
442 the percent symbol, so that the expression expansion rule can
443 propertize the contents.
444 (ruby-syntax-propertize-heredoc): Leave point at bol following the
445 heredoc openers.
446 (ruby-syntax-propertize-expansions): Remove.
447
448 2013-05-18 Juri Linkov <juri@jurta.org>
449
450 * man.el (Man-default-man-entry): Remove `-' from the end
451 of the default value. (Bug#14400)
452
453 2013-05-18 Glenn Morris <rgm@gnu.org>
454
455 * comint.el (comint-password-prompt-regexp):
456 Allow "password for XXX" where XXX contains colons (eg https://...).
457
458 2013-05-18 Leo Liu <sdl.web@gmail.com>
459
460 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
461 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
462 (octave-source-directories): Don't check process.
463 (octave-source-directories, octave-find-definition): Doc fix.
464
465 2013-05-18 Glenn Morris <rgm@gnu.org>
466
467 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
468 Remove backspace/delete bindings. (Bug#14392)
469
470 * cus-dep.el (custom-make-dependencies): Sort the output.
471 (custom-versions-load-alist): Convert comment to doc.
472
473 2013-05-17 Leo Liu <sdl.web@gmail.com>
474
475 * newcomment.el (comment-search-backward): Stricter in finding
476 comment start. (Bug#14303)
477
478 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
479 (octave-comment-start-skip): Properly anchored.
480
481 2013-05-17 Leo Liu <sdl.web@gmail.com>
482
483 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
484 Clean up when turned off. (Bug#14395)
485 (smie--highlight-matching-block-overlay): No longer buffer-local.
486 (smie-highlight-matching-block): Adjust.
487
488 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
489
490 Doc string fix for "nanoseconds" (Bug#14406).
491 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
492 Fix doc string typo that had "nanoseconds" instead of "microseconds".
493
494 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
495
496 * calc/calc-units.el (math-extract-units): Preserve powers
497 of units.
498
499 2013-05-17 Leo Liu <sdl.web@gmail.com>
500
501 * subr.el (delete-consecutive-dups): New function.
502 * ido.el (ido-set-matches-1): Use it.
503 * progmodes/octave.el (inferior-octave-completion-table): Use it.
504 * ido.el (ido-remove-consecutive-dups): Remove.
505
506 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
507
508 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
509 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
510 regexp-opt's `words'.
511
512 2013-05-16 Leo Liu <sdl.web@gmail.com>
513
514 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
515 (smie--highlight-matching-block-overlay)
516 (smie--highlight-matching-block-lastpos)
517 (smie--highlight-matching-block-timer): New variables.
518 (smie-highlight-matching-block): New function.
519 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
520 (smie-setup): Conditionally enable smie-blink-matching-open.
521
522 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
523
524 Sync with upstream verilog-mode r840.
525 * progmodes/verilog-mode.el (verilog-mode-version)
526 (verilog-mode-release-date): Update.
527 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
528 (verilog-sig-tieoff): Fix string error on
529 AUTORESET with colon define, bug594. Reported by Andrew Hou.
530 (verilog-read-decls): Fix parameters confusing
531 AUTOINST interfaces, bug565. Reported by Leith Johnson.
532
533 2013-05-16 Eli Zaretskii <eliz@gnu.org>
534
535 * subr.el (reveal-filename): New function.
536
537 * loadup.el: Compute Emacs executable versions on MS-Windows,
538 where executables have the .exe extension. Add a hard link
539 emacs-XX.YY.ZZ.exe on MS-Windows.
540
541 * Makefile.in (XARGS_LIMIT): New variable.
542 (custom-deps, finder-data, autoloads)
543 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
544 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
545 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
546 (compile-main): Limit xargs according to $(XARGS_LIMIT).
547
548 2013-05-16 Leo Liu <sdl.web@gmail.com>
549
550 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
551 (octave-mode-menu, octave-mode-map): Remove its uses.
552
553 2013-05-16 Reto Zimmermann <reto@gnu.org>
554
555 Sync with upstream vhdl mode v3.34.2.
556 * progmodes/vhdl-mode.el: Use `push' throughout.
557 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
558 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
559 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
560 (vhdl-actual-generic-name): New option to derive actual generic name.
561 (vhdl-port-paste-signals): Replace formal by actual generics.
562 (vhdl-beautify): New name for old group vhdl-align. Update users.
563 (vhdl-beautify-options): New option.
564 (vhdl-last-input-event): New compat alias. Use throughout.
565 (vhdl-goto-line): Replace user level function `goto-line'.
566 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
567 vhdl-fix-statement-buffer.
568 (vhdl-create-mode-menu): Add some entries.
569 (vhdl-align-region-groups): Respect vhdl-beautify-options.
570 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
571 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
572 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
573 to force statements on one line.
574 (vhdl-remove-trailing-spaces-region):
575 New, split from vhdl-remove-trailing-spaces.
576 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
577 Respect vhdl-beautify-options.
578 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
579 (vhdl-update-sensitivity-list): Not add with index if exists without.
580 Not include array index with signal. Ignore keywords in comments.
581 (vhdl-get-visible-signals): Regexp tweaks.
582 (vhdl-template-component-inst): Handle empty library.
583 (vhdl-template-type): Add template for 'enum' type.
584 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
585 Use vhdl-replace-string.
586 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
587 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
588 (vhdl-speedbar-initialize): Update for above name change.
589 (vhdl-compose-wire-components): Fix in handling of constants.
590 (vhdl-error-regexp-emacs-alist): New variable.
591 (vhdl-error-regexp-add-emacs): New function;
592 adds support for new compile.el (Emacs 22+)
593 (vhdl-generate-makefile-1): Change target order for single lib. units.
594 Allow use of absolute file names.
595
596 2013-05-16 Leo Liu <sdl.web@gmail.com>
597
598 * simple.el (prog-indent-sexp): Indent enclosing defun.
599
600 2013-05-15 Glenn Morris <rgm@gnu.org>
601
602 * cus-start.el (show-trailing-whitespace): Move to editing basics.
603 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
604 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
605 (whitespace-highlight): Move to whitespace group.
606
607 * comint.el (comint-source):
608 * pcmpl-linux.el (pcmpl-linux):
609 * shell.el (shell-faces):
610 * eshell/esh-opt.el (eshell-opt):
611 * international/ccl.el (ccl): Remove empty custom groups.
612
613 * completion.el (dynamic-completion-mode):
614 * jit-lock.el (jit-lock-debug-mode):
615 * minibuffer.el (completion-in-region-mode):
616 * type-break.el (type-break-mode-line-message-mode)
617 (type-break-query-mode):
618 * emulation/tpu-edt.el (tpu-edt-mode):
619 * progmodes/subword.el (global-subword-mode, global-superword-mode):
620 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
621 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
622
623 * term/xterm.el (xterm): Change parent group to terminals.
624
625 * master.el (master): Remove empty custom group.
626 (master-mode): Remove unused :group argument.
627 * textmodes/refill.el (refill): Remove empty custom group.
628 (refill-mode): Remove unused :group argument.
629
630 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
631
632 * cus-dep.el: Provide a feature.
633 (custom-make-dependencies): Ignore dotfiles (dir-locals).
634 Don't mistakenly ignore files whose basenames match a basename
635 from preloaded-file-list (eg cedet/ede/simple.el).
636 Add a fallback method for getting :group.
637
638 2013-05-15 Juri Linkov <juri@jurta.org>
639
640 * isearch.el (isearch-char-by-name): Rename from
641 `isearch-insert-char-by-name'. Doc fix.
642 (isearch-forward): Mention `isearch-char-by-name' in
643 the docstring. (Bug#13348)
644
645 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
646 `exit-minibuffer' instead of
647 `isearch-nonincremental-exit-minibuffer'.
648 (isearch-edit-string): Remove mention of
649 `isearch-nonincremental-exit-minibuffer' from docstring.
650 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
651 (isearch-forward-exit-minibuffer)
652 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
653
654 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
655
656 * loadup.el: Just use unversioned DOC.
657
658 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
659 literals as extending to EOB.
660 (nxml-last-fontify-end): Remove unused variable.
661 (nxml-after-change1): Use with-silent-modifications.
662 (nxml-extend-after-change-region): Simplify.
663 (nxml-extend-after-change-region1): Remove function.
664 (nxml-after-change1): Don't adjust for dependent regions.
665 (nxml-fontify-matcher): Simplify.
666 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
667 (xmltok-add-dependent): Remove function.
668 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
669 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
670 (xmltok-scan-prolog-after-processing-instruction-open): Treat
671 unclosed <[[, <?, comment, and other literals as extending to EOB.
672 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
673 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
674 Remove functions.
675 (rng-do-some-validation-1): Don't mark dependent regions.
676 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
677 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
678 (nxml-clear-dependent-regions): Remove functions.
679 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
680 (nxml-ensure-scan-up-to-date):
681 Don't clear&mark dependent regions.
682
683 2013-05-15 Leo Liu <sdl.web@gmail.com>
684
685 * progmodes/octave.el (octave-goto-function-definition):
686 Improve and fix callers.
687
688 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
689
690 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
691 the setter (bug#14387).
692
693 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
694 surrounding group (bug#14402).
695
696 2013-05-14 Juri Linkov <juri@jurta.org>
697
698 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
699 (Bug#14390)
700
701 2013-05-14 Glenn Morris <rgm@gnu.org>
702
703 * progmodes/f90.el (f90-imenu-generic-expression):
704 Fix typo in 2013-05-08 change. (Bug#14402)
705
706 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
707
708 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
709 Remove signals for which replies are never received.
710
711 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
712
713 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
714 (gdb-handler-alist, gdb-handler-number): Remove variables.
715 (gdb-handler-list): New variable.
716 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
717 (gdb-pending-handler-p, gdb-handle-reply)
718 (gdb-remove-all-pending-triggers): New functions.
719 (gdb-discard-unordered-replies): New defcustom.
720 (gdb-handler): New defstruct.
721 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
722 instead of gdb-pending-triggers. Update docstring.
723 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
724 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
725 (gdb-var-update-handler, def-gdb-auto-update-trigger)
726 (def-gdb-auto-update-handler, gdb-get-changed-registers)
727 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
728 (gdb-frame-handler): Pending triggers are now automatically managed.
729 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
730 Remove argument.
731 (gdb-input): Automatically handles pending triggers. Update docstring.
732 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
733 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
734 Update comments.
735 (gdb-done-or-error): Now use gdb-handle-reply.
736
737 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
738
739 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
740 gdb-debug-log.
741
742 2013-05-14 Glenn Morris <rgm@gnu.org>
743
744 * subr.el (user-emacs-directory-warning): New option.
745 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
746
747 2013-05-14 Leo Liu <sdl.web@gmail.com>
748
749 * progmodes/octave.el (octave-font-lock-keywords): Fix error
750 during redisplay.
751 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
752 (octave-font-lock-texinfo-comment): Fix invalid search bound
753 error: wrong side of point.
754
755 2013-05-14 Glenn Morris <rgm@gnu.org>
756
757 * progmodes/flymake.el (flymake-xml-program): New option.
758 (flymake-xml-init): Use it.
759
760 * term/xterm.el: Provide a feature.
761
762 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
763
764 2013-05-13 Glenn Morris <rgm@gnu.org>
765
766 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
767 Add compat aliases as a hack workaround. (Bug#14384)
768
769 2013-05-13 Leo Liu <sdl.web@gmail.com>
770
771 * progmodes/octave.el (octave-indent-comment): Fix indentation for
772 ###, and %!.
773 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
774 C-M-q.
775 (octave-comment-start-skip): Include %!.
776 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
777
778 2013-05-12 Leo Liu <sdl.web@gmail.com>
779
780 * progmodes/octave.el (inferior-octave-startup): Store the value
781 of __octave_srcdir__ for octave-source-directories.
782 (inferior-octave-check-process): New function refactored out of
783 inferior-octave-send-list-and-digest.
784 (octave-source-directories)
785 (octave-find-definition-filename-function): New variables.
786 (octave-source-directories)
787 (octave-find-definition-default-filename): New functions.
788 (octave-find-definition): Improve to find functions implemented in C++.
789
790 2013-05-12 Glenn Morris <rgm@gnu.org>
791
792 * calendar/diary-lib.el (diary-outlook-format-1):
793 Don't include dayname in the output. (Bug#14349)
794
795 2013-05-11 Glenn Morris <rgm@gnu.org>
796
797 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
798
799 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
800 Treat cc-provide like provide.
801
802 2013-05-11 Kevin Ryde <user42@zip.com.au>
803
804 * cus-dep.el (custom-make-dependencies):
805 Use generated-autoload-load-name for the sake of files such
806 such cedet/semantic/bovine/c.el, where the base file name
807 is not in load-path. (Bug#5277)
808
809 2013-05-11 Glenn Morris <rgm@gnu.org>
810
811 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
812 Provide features.
813
814 2013-05-11 Leo Liu <sdl.web@gmail.com>
815
816 * progmodes/octave.el (octave-indent-comment): Improve.
817 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
818 (octave-eldoc-function-signatures, octave-eldoc-function):
819 New functions.
820 (octave-mode, inferior-octave-mode): Add eldoc support.
821
822 2013-05-11 Richard Stallman <rms@gnu.org>
823
824 * epa.el (epa-decrypt-file): Take output file name as argument
825 and read it using `interactive'.
826
827 2013-05-11 Leo Liu <sdl.web@gmail.com>
828
829 * progmodes/octave.el (octave-beginning-of-line)
830 (octave-end-of-line): Check before using up-list because it jumps
831 out of more syntactic contructs since moving to smie.
832 (octave-indent-comment): New function.
833 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
834 (octave-begin-keywords, octave-end-keywords)
835 (octave-reserved-words, octave-smie-bnf-table)
836 (octave-smie-rules): Add new keywords from Octave 3.6.4.
837
838 2013-05-11 Glenn Morris <rgm@gnu.org>
839
840 * faces.el (internal-face-x-get-resource):
841 * frame.el (ns-display-monitor-attributes-list):
842 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
843
844 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
845
846 * calc/calc-menu.el: Make it loadable in isolation.
847
848 * net/eudcb-bbdb.el: Make it loadable without bbdb.
849 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
850 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
851 (eudc-bbdb-query-internal): Require 'bbdb.
852
853 * lpr.el (lpr-headers-switches):
854 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
855
856 * progmodes/sql.el (sql-login-params): Fix and improve :type.
857
858 * emulation/edt-mapper.el: In batch mode, error rather than hang.
859
860 * term.el (term-set-escape-char): Make it idempotent.
861
862 2013-05-10 Leo Liu <sdl.web@gmail.com>
863
864 * progmodes/octave.el (inferior-octave-completion-table):
865 No longer a function and all uses changed. Use cache to speed up
866 completion due to bug#11906.
867 (octave-beginning-of-defun): Re-write to be more general.
868
869 2013-05-10 Glenn Morris <rgm@gnu.org>
870
871 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
872
873 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
874
875 * comint.el (comint-redirect-send-command-to-process): Use :around
876 rather than :override for comint-redirect-filter.
877 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
878 Call it instead of comint-redirect-original-filter-function (which
879 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
880
881 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
882
883 * frame.el (display-monitor-attributes-list): Add NS case.
884 (ns-display-monitor-attributes-list): Declare.
885
886 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
887
888 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
889
890 2013-05-09 Glenn Morris <rgm@gnu.org>
891
892 * international/fontset.el (vertical-centering-font-regexp):
893 Set standard-value.
894
895 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
896
897 * bookmark.el (bookmark-search-delay):
898 * cus-start.el (vertical-centering-font-regexp):
899 * ps-mule.el (ps-mule-font-info-database-default):
900 * ps-print.el (ps-default-fg, ps-default-bg):
901 * type-break.el (type-break-good-break-interval):
902 * whitespace.el (whitespace-indentation-regexp)
903 (whitespace-space-after-tab-regexp):
904 * emacs-lisp/testcover.el (testcover-1value-functions)
905 (testcover-noreturn-functions, testcover-progn-functions)
906 (testcover-prog1-functions):
907 * emulation/viper-init.el (viper-emacs-state-cursor-color):
908 * eshell/em-glob.el (eshell-glob-translate-alist):
909 * play/tetris.el (tetris-tty-colors):
910 * progmodes/cpp.el (cpp-face-default-list):
911 * progmodes/flymake.el (flymake-allowed-file-name-masks):
912 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
913 (idlwave-help-browser-generic-args):
914 * progmodes/make-mode.el (makefile-special-targets-list):
915 * progmodes/python.el (python-shell-virtualenv-path):
916 * progmodes/verilog-mode.el (verilog-active-low-regexp)
917 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
918 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
919 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
920 * textmodes/reftex-vars.el (reftex-format-label-function):
921 * textmodes/remember.el (remember-diary-file): Fix custom types.
922
923 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
924 Add :version.
925
926 2013-05-09 Leo Liu <sdl.web@gmail.com>
927
928 * progmodes/octave.el (inferior-octave-completion-at-point):
929 Restore file completion. (Bug#14300)
930 (inferior-octave-startup): Fix incorrect highlighting for the
931 first prompt.
932
933 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
934
935 * progmodes/ruby-mode.el: First cut at SMIE support.
936 (ruby-use-smie): New var.
937 (ruby-smie-grammar): New constant.
938 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
939 (ruby-smie--forward-token, ruby-smie--backward-token)
940 (ruby-smie-rules): New functions.
941 (ruby-mode-variables): Setup SMIE if applicable.
942
943 2013-05-08 Eli Zaretskii <eliz@gnu.org>
944
945 * simple.el (line-move-visual): Signal beginning/end of buffer
946 only if vertical-motion moved less than it was requested. Avoids
947 silly incorrect error messages when there are display strings with
948 multiple newlines at EOL.
949
950 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
951
952 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
953 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
954 (prolog-char-quote-workaround):
955 * progmodes/cperl-mode.el (cperl-under-as-char):
956 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
957 Mark as obsolete.
958 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
959 their declaration.
960 (vhdl-mode-syntax-table-init): Remove.
961
962 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
963 last change.
964
965 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
966 syntax for "_".
967 (ld-script-font-lock-keywords):
968 Change regexps to use things like \_< and \_>.
969
970 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
971 Change all regexps to use things like \_< and \_>.
972
973 * progmodes/autoconf.el (autoconf-definition-regexp)
974 (autoconf-font-lock-keywords, autoconf-current-defun-function):
975 Handle a _ with symbol syntax.
976 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
977
978 * progmodes/ada-mode.el (ada-mode-abbrev-table):
979 Consolidate declaration.
980 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
981 the declaration.
982 (ada-create-syntax-table): Remove.
983 (ada-capitalize-word): Don't mess with the syntax of "_" since it
984 already has the right syntax nowadays.
985 (ada-goto-next-word): Don't change the syntax of "_".
986
987 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
988 with-wrapper-hook.
989
990 2013-05-08 Sam Steingold <sds@gnu.org>
991
992 * thingatpt.el (thing-at-point): Accept optional second argument
993 NO-PROPERTIES to strip the text properties from the return value.
994 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
995 to `thing-at-point' instead of stripping the properties ourselves.
996 Also, when `thing-at-point' fails to find a url, prepend "http://"
997 to the filename at point on the assumption that the user is
998 pointing at something like gnu.org/gnu.
999
1000 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
1001
1002 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1003 * faces.el (crm-separator):
1004 Silence byte-compiler.
1005
1006 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
1007 (tool-bar-map): Remove unneeded defvars.
1008
1009 2013-05-08 Leo Liu <sdl.web@gmail.com>
1010
1011 Re-work a fix for bug#10994 based on Le Wang's patch.
1012 * ido.el (ido-remove-consecutive-dups): New helper.
1013 (ido-completing-read): Use it.
1014 (ido-chop): Revert fix for bug#10994.
1015
1016 2013-05-08 Adam Spiers <emacs@adamspiers.org>
1017
1018 * cus-edit.el (custom-save-variables):
1019 Pretty-print long values. (Bug#14187)
1020
1021 2013-05-08 Glenn Morris <rgm@gnu.org>
1022
1023 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
1024 (m4-mode-syntax-table): Init in the defvar.
1025 (m4-mode-abbrev-table): Let define-derived-mode define it.
1026
1027 2013-05-08 Tom Tromey <tromey@redhat.com>
1028
1029 * progmodes/m4-mode.el (m4-mode-syntax-table):
1030 Do not treat "_" as word constituent. (Bug#14167)
1031
1032 2013-05-07 Glenn Morris <rgm@gnu.org>
1033
1034 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
1035 Remove explicit eshell-isearch-cancel-map.
1036
1037 * progmodes/f90.el (f90-smart-end-names): New option.
1038 (f90-smart-end): Doc fix.
1039 (f90-end-block-optional-name): New constant.
1040 (f90-block-match): Respect f90-smart-end-names.
1041
1042 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1043
1044 * progmodes/octave.el (octave-smie-forward-token): Be more careful
1045 about implicit semi-colons (bug#14218).
1046
1047 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1048
1049 * frame.el (display-monitor-attributes-list)
1050 (frame-monitor-attributes): New functions.
1051
1052 2013-05-06 Leo Liu <sdl.web@gmail.com>
1053
1054 * progmodes/octave.el (octave-syntax-propertize-function): Change
1055 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
1056 (octave-font-lock-keywords): Use octave-operator-regexp.
1057 (octave-completion-at-point): Rename from
1058 octave-completion-at-point-function.
1059 (inferior-octave-directory-tracker): Robustify.
1060 (octave-text-functions): Remove and fix its uses. No such things
1061 any more.
1062
1063 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1064
1065 * emacs-lisp/trace.el (trace--display-buffer): New function.
1066 (trace-make-advice): Use it.
1067
1068 2013-05-06 Juri Linkov <juri@jurta.org>
1069
1070 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
1071 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
1072 Doc fix.
1073 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
1074 in the help string. (Bug#12985)
1075
1076 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1077
1078 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
1079
1080 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1081
1082 * progmodes/perl-mode.el: Add support for here documents.
1083 (perl-syntax-propertize-function): Match here-doc markers.
1084 (perl-syntax-propertize-special-constructs): Find their end.
1085 (perl-imenu-generic-expression): Use [:alnum:].
1086
1087 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
1088 (advice--add-function): Refresh the advice if already present
1089 (bug#14317).
1090
1091 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
1092
1093 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
1094
1095 2013-05-06 Glenn Morris <rgm@gnu.org>
1096
1097 * w32-fns.el (w32-charset-info-alist): Declare.
1098
1099 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
1100 of its defcustom properties.
1101 (eshell-cmpl-initialize): No need to load pcomplete.
1102
1103 * generic-x.el: No need to require comint when compiling.
1104
1105 * net/eudc-export.el: Make it loadable without bbdb.
1106 (top-level): Use require rather than load-library.
1107 (eudc-create-bbdb-record, eudc-bbdbify-phone)
1108 (eudc-batch-export-records-to-bbdb)
1109 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
1110 Require bbdb.
1111
1112 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1113
1114 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
1115 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
1116 some tweaks, instead.
1117
1118 2013-05-05 Leo Liu <sdl.web@gmail.com>
1119
1120 * progmodes/octave.el (octave-font-lock-keywords)
1121 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
1122 (inferior-octave-send-list-and-digest): Improve error message.
1123 (octave-mode, inferior-octave-mode): Use setq-local.
1124 (octave-help): Set info-lookup-mode.
1125
1126 2013-05-05 Richard Stallman <rms@gnu.org>
1127
1128 * vc/compare-w.el (compare-windows-whitespace):
1129 Treat no-break space as whitespace.
1130
1131 * mail/rmailsum.el (rmail-summary-rmail-update):
1132 Detect empty summary and don't change selected message.
1133 (rmail-summary-goto-msg): Likewise.
1134
1135 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
1136 Doc fixes, rename args.
1137
1138 2013-05-05 Alan Mackenzie <acm@muc.de>
1139
1140 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
1141
1142 2013-05-05 Juri Linkov <juri@jurta.org>
1143
1144 * info.el (Info-read-subfile): Use (point-min) instead of (point)
1145 to not add the length of the summary segment to the return value.
1146 (Bug#14125)
1147
1148 2013-05-05 Leo Liu <sdl.web@gmail.com>
1149
1150 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
1151 (inferior-octave-output-filter): Remove.
1152 (octave-send-region, inferior-octave-startup): Fix callers.
1153 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
1154 (octave-binary-file-extensions): New user variable.
1155 (octave-find-definition): Confirm if opening binary files.
1156 (octave-help-file): Use octave-find-definition to get the binary
1157 confirmation.
1158 (octave-help): Adjust for octave-help-file change.
1159
1160 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1161
1162 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
1163 Merge the two entries that handle function definitions.
1164 (pascal--syntax-propertize): New const.
1165 (pascal-mode): Use it. Use setq-local.
1166
1167 2013-05-04 Glenn Morris <rgm@gnu.org>
1168
1169 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
1170 (diary-from-outlook): Respect diary-from-outlook-function.
1171
1172 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1173
1174 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
1175 Move the declaration from C.
1176 (read-minibuffer, eval-minibuffer): Move from C.
1177 (completion-setup-function): Avoid minibuffer-completion-contents.
1178
1179 2013-05-03 Leo Liu <sdl.web@gmail.com>
1180
1181 * progmodes/octave.el (octave-font-lock-keywords): Do not
1182 dehighlight 'end' in comments or strings.
1183 (octave-completing-read, octave-goto-function-definition):
1184 New helpers.
1185 (octave-help-buffer): New user variable.
1186 (octave-help-file, octave-help-function): New button types.
1187 (octave-help): New command and bind it to C-h ;.
1188 (octave-find-definition): New command and bind it to M-.
1189 (user-error): Alias to error if not defined.
1190
1191 2013-05-02 Leo Liu <sdl.web@gmail.com>
1192
1193 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
1194 for \. (bug#14332)
1195 (octave-font-lock-keywords): Include [ and {.
1196
1197 2013-05-02 Leo Liu <sdl.web@gmail.com>
1198
1199 * progmodes/octave.el (inferior-octave-startup-file): Change default.
1200 (inferior-octave): Remove calling comint-mode and return the buffer.
1201 (inferior-octave-startup): Cosmetic changes.
1202
1203 2013-05-02 Leo Liu <sdl.web@gmail.com>
1204
1205 * progmodes/octave.el (octave-syntax-propertize-function):
1206 Include the case when ' is at line beginning. (Bug#14336)
1207
1208 2013-05-02 Glenn Morris <rgm@gnu.org>
1209
1210 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
1211 * desktop.el (vc-dir-mode): Just autoload it here.
1212
1213 2013-05-02 Alan Mackenzie <acm@muc.de>
1214
1215 Eliminate variable c-standard-font-lock-fontify-region-function.
1216 * progmodes/cc-mode.el
1217 (c-standard-font-lock-fontify-region-function): Remove.
1218 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
1219
1220 2013-05-01 Leo Liu <sdl.web@gmail.com>
1221
1222 * progmodes/octave.el: Compatible with older emacs-24 releases.
1223 (inferior-octave-has-built-in-variables): Remove. Built-in
1224 variables were removed from Octave in 2007.
1225 (inferior-octave-startup): Fix uses.
1226 (comint-line-beginning-position): Remove compatibility code for
1227 emacs 21.
1228
1229 2013-05-01 Juri Linkov <juri@jurta.org>
1230
1231 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
1232
1233 2013-05-01 Juri Linkov <juri@jurta.org>
1234
1235 * comint.el (comint-previous-matching-input): Don't print message
1236 "History item: %d" when `isearch-mode' is active.
1237 (comint-history-isearch-message): Print message "History item: %d"
1238 when `comint-input-ring-index' is not empty and this function is
1239 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
1240
1241 2013-05-01 Leo Liu <sdl.web@gmail.com>
1242
1243 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
1244 definitions. Use completion-at-point to insert keywords.
1245 (octave-abbrev-start): Remove.
1246 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
1247
1248 2013-04-30 Leo Liu <sdl.web@gmail.com>
1249
1250 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
1251 change.
1252
1253 2013-04-30 Alan Mackenzie <acm@muc.de>
1254
1255 Handle arbitrarily long C++ member initialisation lists.
1256 * progmodes/cc-engine.el (c-back-over-member-initializers):
1257 new function.
1258 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
1259 (most) member init lists.
1260
1261 2013-04-30 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
1262
1263 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
1264 variable.
1265
1266 2013-04-30 Leo Liu <sdl.web@gmail.com>
1267
1268 * progmodes/octave.el (octave-variables): Remove. No builtin
1269 variables any more. All converted to functions.
1270 (octave-font-lock-keywords, octave-completion-at-point-function):
1271 Fix uses.
1272 (octave-font-lock-texinfo-comment): New user variable.
1273 (octave-texinfo-font-lock-keywords): New variable for texinfo
1274 comment block.
1275 (octave-function-comment-block): New face.
1276 (octave-font-lock-texinfo-comment): New function.
1277 (octave-mode): Font lock texinfo comment block.
1278
1279 2013-04-29 Leo Liu <sdl.web@gmail.com>
1280
1281 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
1282 indexing expression.
1283 (octave-continuation-string): Do not use \.
1284 (inferior-octave-complete-impossible): Remove.
1285 (inferior-octave-completion-table)
1286 (inferior-octave-completion-at-point): Remove its uses.
1287 (inferior-octave-startup): completion_matches was introduced to
1288 Octave in 1996 so safe to assume it.
1289 (octave-function-file-comment): Improve to follow how Octave does it.
1290 (octave-update-function-file-comment): Tweak.
1291
1292 2013-04-29 Leo Liu <sdl.web@gmail.com>
1293
1294 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
1295 (inferior-octave-startup): Remove inferior-octave-startup-hook.
1296 (octave-function-file-comment): Fix typo.
1297 (octave-sync-function-file-names): Use read-char-choice.
1298
1299 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
1300
1301 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
1302 to t for the less important warnings.
1303
1304 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1305
1306 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
1307
1308 2013-04-27 Glenn Morris <rgm@gnu.org>
1309
1310 * vc/log-view.el (log-view-current-entry):
1311 Treat "---" separator lines as part of the following rev. (Bug#14169)
1312
1313 2013-04-27 Juri Linkov <juri@jurta.org>
1314
1315 * subr.el (read-number): Doc fix about using it by interactive
1316 code letter `n'. (Bug#14254)
1317
1318 2013-04-27 Juri Linkov <juri@jurta.org>
1319
1320 * desktop.el (desktop-auto-save-timeout): New option.
1321 (desktop-file-checksum): New variable.
1322 (desktop-save): Add optional arg `auto-save' and don't auto-save
1323 if nothing changed.
1324 (desktop-auto-save-timer): New variable.
1325 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
1326 (after-init-hook): Call `desktop-auto-save-set-timer'.
1327 Suggested by Reuben Thomas <rrt@sc3d.org> in
1328 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
1329
1330 2013-04-27 Leo Liu <sdl.web@gmail.com>
1331
1332 * progmodes/octave.el (octave-function-file-p)
1333 (octave-skip-comment-forward, octave-function-file-comment)
1334 (octave-update-function-file-comment): New functions.
1335 (octave-mode-map): Bind C-c ; to
1336 octave-update-function-file-comment.
1337 (octave-mode-menu): Add octave-update-function-file-comment.
1338 (octave-mode, inferior-octave-mode): Fix doc-string.
1339 (octave-insert-defun): Conform to Octave's coding convention.
1340 (Bug#14285)
1341
1342 * files.el (basic-save-buffer): Don't let errors in
1343 before-save-hook prevent saving buffer.
1344
1345 2013-04-20 Roland Winkler <winkler@gnu.org>
1346
1347 * faces.el (read-face-name): Use completing-read if arg multiple
1348 is nil.
1349
1350 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
1351
1352 * ls-lisp.el (ls-lisp-insert-directory): If no files are
1353 displayed, move point to after the totals line.
1354 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
1355 for the details.
1356
1357 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1358
1359 * emacs-lisp/package.el (package-autoload-ensure-default-file):
1360 Add current dir to the load-path.
1361 (package-generate-autoloads): Don't rely on
1362 autoload-ensure-default-file.
1363
1364 2013-04-26 Reuben Thomas <rrt@sc3d.org>
1365
1366 * textmodes/remember.el (remember-store-in-files): Document that
1367 the file name format is passed to `format-time-string'.
1368
1369 2013-04-26 Leo Liu <sdl.web@gmail.com>
1370
1371 * progmodes/octave.el (octave-sync-function-file-names): New function.
1372 (octave-mode): Use it in before-save-hook.
1373
1374 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1375
1376 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
1377 (bug#14274).
1378
1379 * progmodes/octave.el (octave-smie-forward-token): Properly skip
1380 \n and comment, even if it's not an implicit ; (bug#14218).
1381
1382 2013-04-26 Glenn Morris <rgm@gnu.org>
1383
1384 * subr.el (read-number): Once more use `read' rather than
1385 `string-to-number', to trap non-numeric input. (Bug#14254)
1386
1387 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
1388
1389 * emacs-lisp/syntax.el (syntax-propertize-multiline):
1390 Use `syntax-multiline' text property consistently instead of
1391 `font-lock-multiline'. (bug#14237).
1392
1393 2013-04-26 Glenn Morris <rgm@gnu.org>
1394
1395 * emacs-lisp/shadow.el (list-load-path-shadows):
1396 No longer necessary to check for duplicate simple.el, since
1397 2012-07-07 change to init_lread to not include installation lisp
1398 directories in load-path when running uninstalled. (Bug#14270)
1399
1400 2013-04-26 Leo Liu <sdl.web@gmail.com>
1401
1402 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
1403 (octave-mode, inferior-octave-mode): Use setq-local.
1404 (octave-not-in-string-or-comment-p): Rename to
1405 octave-in-string-or-comment-p.
1406 (octave-in-comment-p, octave-in-string-p)
1407 (octave-in-string-or-comment-p): Replace defsubst with defun.
1408
1409 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
1410
1411 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
1412
1413 2013-04-25 Bastien Guerry <bzg@gnu.org>
1414
1415 * textmodes/remember.el (remember-data-directory)
1416 (remember-directory-file-name-format): Fix custom types.
1417
1418 2013-04-25 Leo Liu <sdl.web@gmail.com>
1419
1420 * progmodes/octave.el (octave-completion-at-point-function):
1421 Make use of inferior octave process.
1422 (octave-initialize-completions): Remove.
1423 (inferior-octave-completion-table): New function.
1424 (inferior-octave-completion-at-point): Use it.
1425 (octave-completion-alist): Remove.
1426
1427 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1428
1429 * progmodes/opascal.el: Use font-lock and syntax-propertize.
1430 (opascal-mode-syntax-table): New var.
1431 (opascal-literal-kind, opascal-is-literal-end)
1432 (opascal-literal-token-at): Rewrite.
1433 (opascal--literal-start-re, opascal-font-lock-keywords)
1434 (opascal--syntax-propertize): New constants.
1435 (opascal-font-lock-defaults): Adjust.
1436 (opascal-mode): Use them. Set comment-<foo> variables as well.
1437 (delphi-comment-face, opascal-comment-face, delphi-string-face)
1438 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
1439 (delphi-other-face, opascal-other-face): Remove face variables.
1440 (opascal-save-state): Remove macro.
1441 (opascal-fontifying-progress-step): Remove constant.
1442 (opascal--ignore-changes): Remove var.
1443 (opascal-set-token-property, opascal-parse-next-literal)
1444 (opascal-is-stable-literal, opascal-complete-literal)
1445 (opascal-is-literal-start, opascal-face-of)
1446 (opascal-parse-region, opascal-parse-region-until-stable)
1447 (opascal-fontify-region, opascal-after-change)
1448 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
1449 (opascal-debug-parse-region, opascal-debug-parse-window)
1450 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
1451 (opascal-debug-fontify-buffer): Remove.
1452 (opascal-debug-mode-map): Adjust accordingly.
1453
1454 2013-04-25 Leo Liu <sdl.web@gmail.com>
1455
1456 Merge octave-mod.el and octave-inf.el into octave.el with some
1457 cleanups.
1458 * progmodes/octave.el: New file renamed from octave-mod.el.
1459 * progmodes/octave-inf.el: Merged into octave.el.
1460 * progmodes/octave-mod.el: Renamed to octave.el.
1461
1462 2013-04-25 Tassilo Horn <tsdh@gnu.org>
1463
1464 * textmodes/reftex-vars.el
1465 (reftex-label-ignored-macros-and-environments): New defcustom.
1466
1467 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
1468
1469 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1470
1471 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
1472 (smie-indent-keyword): Improve the check to ensure that the next
1473 comment is really on the same line.
1474 (smie-indent-comment): Don't align with a subsequent closer (or eob).
1475
1476 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
1477 semi-colons if the line is not otherwise empty (bug#14218).
1478
1479 2013-04-25 Glenn Morris <rgm@gnu.org>
1480
1481 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
1482
1483 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1484
1485 * progmodes/opascal.el (opascal-set-token-property): Rename from
1486 opascal-set-text-properties and only set `token' (bug#14134).
1487 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
1488 (opascal-literal-text-properties): Remove.
1489 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
1490 Adjust callers.
1491
1492 2013-04-24 Reuben Thomas <rrt@sc3d.org>
1493
1494 * textmodes/remember.el (remember-handler-functions): Add an
1495 option for a new handler `remember-store-in-files'.
1496 (remember-data-directory, remember-directory-file-name-format):
1497 New options.
1498 (remember-store-in-files): New function to store remember notes
1499 as separate files within a directory.
1500
1501 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
1502
1503 * progmodes/compile.el (compilation-next-error-function):
1504 Pass "formats" to compilation-find-file (bug#11777).
1505
1506 2013-04-24 Glenn Morris <rgm@gnu.org>
1507
1508 * vc/vc-bzr.el (vc-bzr-print-log):
1509 * vc/vc-hg.el (vc-hg-print-log):
1510 * vc/vc-svn.el (vc-svn-print-log):
1511 Fix START-REVISION with LIMIT != 1. (Bug#14168)
1512
1513 * vc/vc-bzr.el (vc-bzr-print-log):
1514 * vc/vc-cvs.el (vc-cvs-print-log):
1515 * vc/vc-git.el (vc-git-print-log):
1516 * vc/vc-hg.el (vc-hg-print-log):
1517 * vc/vc-mtn.el (vc-mtn-print-log):
1518 * vc/vc-rcs.el (vc-rcs-print-log):
1519 * vc/vc-sccs.el (vc-sccs-print-log):
1520 * vc/vc-svn.el (vc-svn-print-log):
1521 * vc/vc.el (vc-print-log-internal): Doc fixes.
1522
1523 2013-04-23 Glenn Morris <rgm@gnu.org>
1524
1525 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
1526 Remove venerable code attempting to avoid substitute-command-keys.
1527
1528 2013-04-23 Tassilo Horn <tsdh@gnu.org>
1529
1530 * textmodes/reftex-vars.el (reftex-label-regexps):
1531 Call `reftex-compile-variables' after changes to this variable.
1532
1533 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1534
1535 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
1536 Use lexical-binding.
1537 (jit-lock-force-redisplay): Use markers, check buffer's continued
1538 existence and beware narrowed buffers.
1539 (jit-lock-fontify-now): Adjust call accordingly.
1540
1541 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1542
1543 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
1544 to avoid misleading the user.
1545
1546 2013-04-22 Leo Liu <sdl.web@gmail.com>
1547
1548 * info-look.el: Prefer latex2e.info. (Bug#14240)
1549
1550 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
1551
1552 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
1553
1554 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
1555 * net/tramp.el (tramp-call-process): ... here
1556 (tramp-set-completion-function, tramp-parse-putty):
1557 * net/tramp-adb.el (tramp-adb-execute-adb-command):
1558 * net/tramp-gvfs.el (tramp-gvfs-send-command):
1559 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1560 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
1561 (tramp-call-local-coding-command): Use `tramp-call-process'
1562 instead of `tramp-compat-call-process'.
1563
1564 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
1565 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
1566 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
1567 (tramp-find-inline-compress): Improve traces.
1568 (tramp-maybe-send-script): Check for Perl binary.
1569 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
1570
1571 2013-04-22 Daiki Ueno <ueno@gnu.org>
1572
1573 * epg.el (epg-context-pinentry-mode): New function.
1574 (epg-context-set-pinentry-mode): New function.
1575 (epg--start): Pass --pinentry-mode option to gpg command.
1576
1577 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
1578
1579 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
1580 `comint-dynamic-complete' is obsolete since 24.1, replaced by
1581 `completion-at-point'. (Bug#13774)
1582
1583 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
1584 default key binding for `describe-distribution' has been moved to
1585 `C-h C-o'. (Bug#13970)
1586
1587 2013-04-21 Glenn Morris <rgm@gnu.org>
1588
1589 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
1590 Add doc strings.
1591 (vc-print-log): Clarify interactive prompt.
1592
1593 2013-04-20 Glenn Morris <rgm@gnu.org>
1594
1595 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1596 No longer include timestamp etc information.
1597
1598 2013-04-20 Roland Winkler <winkler@gnu.org>
1599
1600 * faces.el (read-face-name): Bug fix, return just one face if arg
1601 multiple is nil. (Bug#14209)
1602
1603 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1604
1605 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
1606 (remove-function): Autoload.
1607
1608 * comint.el (comint-redirect-original-filter-function): Remove.
1609 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
1610 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
1611 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
1612 * progmodes/prolog.el (prolog-consult-compile):
1613 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
1614 Use add/remove-function instead.
1615 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
1616 (gud-tooltip-process-output, gud-tooltip-tips):
1617 Use add/remove-function instead.
1618 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
1619 (scheme-interaction-mode, exit-scheme-interaction-mode):
1620 Use add/remove-function instead.
1621
1622 * vc/vc-dispatcher.el: Use lexical-binding.
1623 (vc--process-sentinel): Rename from vc-process-sentinel.
1624 Change last arg to be the code to run. Don't use vc-previous-sentinel
1625 and vc-sentinel-commands any more.
1626 (vc-exec-after): Allow code to be a function. Use add/remove-function.
1627 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
1628
1629 2013-04-19 Masatake YAMATO <yamato@redhat.com>
1630
1631 * progmodes/sh-script.el (sh-imenu-generic-expression):
1632 Handle function names with a single character. (Bug#14111)
1633
1634 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
1635
1636 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
1637 for subroutines defined in an eval (bug#14182).
1638
1639 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1640
1641 * bookmark.el (bookmark-completing-read): Improve handling of empty
1642 string (bug#14176).
1643
1644 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1645
1646 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
1647
1648 2013-04-19 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1649
1650 New faster Imenu implementation (bug#14058).
1651 * progmodes/python.el:
1652 (python-imenu-prev-index-position):
1653 (python-imenu-format-item-label-function)
1654 (python-imenu-format-parent-item-label-function)
1655 (python-imenu-format-parent-item-jump-label-function):
1656 New vars.
1657 (python-imenu-format-item-label)
1658 (python-imenu-format-parent-item-label)
1659 (python-imenu-format-parent-item-jump-label)
1660 (python-imenu--put-parent, python-imenu--build-tree)
1661 (python-imenu-create-index, python-imenu-create-flat-index)
1662 (python-util-popn): New functions.
1663 (python-mode): Set imenu-create-index-function to
1664 python-imenu-create-index.
1665
1666 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1667
1668 * winner.el (winner-active-region): Use region-active-p, activate-mark
1669 and deactivate-mark (bug#14225).
1670
1671 * simple.el (deactivate-mark): Don't inline it.
1672
1673 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
1674
1675 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
1676
1677 2013-04-18 Tassilo Horn <tsdh@gnu.org>
1678
1679 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
1680 file extensions from the archive-mode entry in order to prefer
1681 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
1682
1683 2013-04-18 Leo Liu <sdl.web@gmail.com>
1684
1685 * bindings.el (help-event-list): Add ?\?.
1686
1687 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1688
1689 * subr.el (with-wrapper-hook): Declare obsolete.
1690 * simple.el (filter-buffer-substring-function): New hook.
1691 (filter-buffer-substring): Use it.
1692 (filter-buffer-substring-functions): Mark obsolete.
1693 * minibuffer.el (completion-in-region-function): New hook.
1694 (completion-in-region): Use it.
1695 (completion-in-region-functions): Mark obsolete.
1696 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
1697 * abbrev.el (abbrev-expand-function): New hook.
1698 (expand-abbrev): Use it.
1699 (abbrev-expand-functions): Mark obsolete.
1700 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
1701 and :filter-return.
1702
1703 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1704
1705 * progmodes/python.el (python-nav--syntactically): Fix cornercases
1706 and do not care about match data.
1707
1708 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1709
1710 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
1711 completion tables when completing error conditions and
1712 `declare' arguments.
1713 (lisp-complete-symbol, field-complete): Mark as obsolete.
1714 (check-parens): Unmatched parens are user errors.
1715 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
1716
1717 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
1718
1719 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
1720 command changed buffer (ie. `flyspell-pre-buffer' is not current
1721 buffer), which prevents making decisions based on invalid value of
1722 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
1723 cause an error when `flyspell-pre-point' was nil after switching
1724 buffers.
1725 (flyspell-post-command-hook): No longer needs to change buffers when
1726 checking pre-word. While at it remove unnecessary progn.
1727
1728 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1729
1730 * textmodes/ispell.el (ispell-add-per-file-word-list):
1731 Fix `flyspell-correct-word-before-point' error when accepting
1732 words and `coment-padding' is an integer by using
1733 `comment-normalize-vars' (Bug #14214).
1734
1735 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1736
1737 New defun movement commands.
1738 * progmodes/python.el (python-nav--syntactically)
1739 (python-nav--forward-defun, python-nav-backward-defun)
1740 (python-nav-forward-defun): New functions.
1741
1742 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1743
1744 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
1745 (python-syntax-context): Use named compiler-macro for backwards
1746 compatibility with Emacs 24.x.
1747
1748 2013-04-17 Leo Liu <sdl.web@gmail.com>
1749
1750 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
1751 octave-hide-process-buffer.
1752
1753 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1754
1755 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
1756 (bug#14216).
1757
1758 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
1759
1760 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
1761 Fix adjustment of offset when receiving incomplete responses from GDB
1762 (bug#14129).
1763
1764 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1765
1766 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
1767 python-mode-abbrev-table.
1768 (python-skeleton-define): Adjust accordingly.
1769 (python-mode-abbrev-table): New table that inherits from it so that
1770 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
1771
1772 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
1773 (abbrev-symbol): Use it.
1774 (abbrev--before-point): Use it since we already handle inheritance.
1775
1776 2013-04-16 Leo Liu <sdl.web@gmail.com>
1777
1778 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
1779 binding to info-lookup-symbol.
1780
1781 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
1782
1783 * minibuffer.el (completion--twq-all):
1784 * term/ns-win.el (ns-initialize-window-system):
1785 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
1786
1787 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1788
1789 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
1790 global bindings.
1791
1792 * doc-view.el (doc-view-start-process): Handle url-handler directories.
1793
1794 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
1795
1796 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
1797 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
1798 to nil.
1799 (ruby-end-of-defun): Remove the unused arg, change the docstring
1800 to reflect that this function is only used as the value of
1801 `end-of-defun-function'.
1802 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
1803 to reflect an earlier change that beginning/end-of-defun functions
1804 jump between methods in a class definition, as well as top-level
1805 functions.
1806
1807 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1808
1809 * minibuffer.el (minibuffer-complete): Don't just scroll
1810 a *Completions* that's been iconified.
1811 (minibuffer-force-complete): Make sure repetitions do cycle when going
1812 through completion-in-region -> minibuffer-complete.
1813
1814 2013-04-15 Alan Mackenzie <acm@muc.de>
1815
1816 Correct the placement of c-cpp-delimiters when there're #s not at
1817 col 0.
1818
1819 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
1820 place a submatch around the #.
1821 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
1822 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
1823 on the #, not BOL.
1824
1825 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1826
1827 * emacs-lisp/nadvice.el: Properly test names when adding advice.
1828 (advice--member-p): New arg `name'.
1829 (advice--add-function, advice-member-p): Use it (bug#14202).
1830
1831 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
1832
1833 Reformulate java imenu-generic-expression.
1834 The old expression contained ill formed regexps.
1835
1836 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
1837 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
1838 (cc-imenu-java-method-arg-regexp): New defconsts.
1839 (cc-imenu-java-build-type-args-regex): New defun.
1840 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
1841 handling of spaces in the regexp.
1842
1843 2013-03-15 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
1844
1845 * textmodes/ispell.el (ispell-command-loop): Remove
1846 flyspell highlight of a word when ispell accepts it (bug #14178).
1847
1848 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
1849
1850 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
1851 uses code from the previous `ange-ftp-run-real-handler'.
1852 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
1853 only in case that function exist. This is needed for proper
1854 unloading of Tramp.
1855
1856 2013-04-15 Tassilo Horn <tsdh@gnu.org>
1857
1858 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
1859
1860 * textmodes/reftex.el (reftex-compile-variables): Use it.
1861
1862 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1863
1864 * files.el (normal-mode): Only use default major-mode if no other mode
1865 was specified.
1866
1867 * emacs-lisp/trace.el (trace-values): New function.
1868
1869 * files.el: Allow : in local variables (bug#14089).
1870 (hack-local-variable-regexp): New var.
1871 (hack-local-variables-prop-line, hack-local-variables): Use it.
1872
1873 2013-04-13 Roland Winkler <winkler@gnu.org>
1874
1875 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
1876 data before it gets modified by bibtex-beginning-of-entry.
1877
1878 2013-04-13 Roland Winkler <winkler@gnu.org>
1879
1880 * textmodes/bibtex.el (bibtex-url): Doc fix.
1881
1882 2013-04-13 Roland Winkler <winkler@gnu.org>
1883
1884 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
1885 does not visit a BibTeX file, exclude it from the list of buffers
1886 returned by bibtex-initialize.
1887
1888 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
1889
1890 * window.el (split-window): Remove interactive form, since as a
1891 command this function is a special case of split-window-below.
1892 Correct doc string.
1893
1894 2013-04-12 Roland Winkler <winkler@gnu.org>
1895
1896 * faces.el (read-face-name): Do not override value of arg default.
1897 Allow single faces and strings as default values. Remove those
1898 elements from return value that are not faces.
1899 (describe-face): Simplify.
1900 (face-at-point): New optional args thing and multiple so that this
1901 function can provide the same functionality previously provided by
1902 read-face-name.
1903 (make-face-bold, make-face-unbold, make-face-italic)
1904 (make-face-unitalic, make-face-bold-italic, invert-face)
1905 (modify-face, read-face-and-attribute): Use face-at-point.
1906
1907 * cus-edit.el (customize-face, customize-face-other-window)
1908 * cus-theme.el (custom-theme-add-face)
1909 * face-remap.el (buffer-face-set)
1910 * facemenu.el (facemenu-set-face): Use face-at-point.
1911
1912 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
1913
1914 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
1915
1916 2013-04-10 Tassilo Horn <tsdh@gnu.org>
1917
1918 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
1919 off leading { and trailing } from field values.
1920
1921 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1922
1923 * emacs-lisp/timer.el (timer--check): New function.
1924 (timer--time, timer-set-function, timer-event-handler): Use it.
1925 (timer-set-idle-time): Simplify.
1926 (timer--activate): CSE.
1927 (timer-event-handler): Give more info in error message.
1928 (internal-timer-start-idle): New function, moved from C.
1929
1930 * mpc.el (mpc-proc): Add `restart' argument.
1931 (mpc-proc-cmd): Use it.
1932 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
1933 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
1934 less often.
1935
1936 2013-04-10 Masatake YAMATO <yamato@redhat.com>
1937
1938 * progmodes/sh-script.el: Implement `sh-mode' own
1939 `add-log-current-defun-function' (bug#14112).
1940 (sh-current-defun-name): New function.
1941 (sh-mode): Use the function.
1942
1943 2013-04-09 Bastien Guerry <bzg@gnu.org>
1944
1945 * simple.el (choose-completion-string): Fix docstring (bug#14163).
1946
1947 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1948
1949 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
1950
1951 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
1952 timer (bug#14156).
1953
1954 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
1955
1956 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
1957 declaration.
1958
1959 2013-04-07 Leo Liu <sdl.web@gmail.com>
1960
1961 * pcmpl-x.el: New file.
1962
1963 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
1964
1965 Do not set x-display-name until X connection is established.
1966 This is needed to prevent from weird situation described at
1967 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
1968 * frame.el (make-frame): Set x-display-name after call to
1969 window system initialization function, not before.
1970 * term/x-win.el (x-initialize-window-system): Add optional
1971 display argument and use it.
1972 * term/w32-win.el (w32-initialize-window-system):
1973 * term/ns-win.el (ns-initialize-window-system):
1974 * term/pc-win.el (msdos-initialize-window-system):
1975 Add compatible optional display argument.
1976
1977 2013-04-06 Eli Zaretskii <eliz@gnu.org>
1978
1979 * files.el (normal-backup-enable-predicate): On MS-Windows and
1980 MS-DOS compare truenames of temporary-file-directory and of the
1981 file, so that 8+3 aliases (usually found in $TEMP on Windows)
1982 don't fail comparison by compare-strings. Also, compare file
1983 names case-insensitively on MS-Windows and MS-DOS.
1984
1985 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1986
1987 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
1988 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
1989
1990 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
1991
1992 * whitespace.el (whitespace-color-on, whitespace-color-off):
1993 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
1994
1995 2013-04-05 Jacek ChrzÄ…szcz <chrzaszcz@mimuw.edu.pl> (tiny change)
1996
1997 * ispell.el (ispell-set-spellchecker-params):
1998 Really set `ispell-args' for all equivs.
1999
2000 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2001
2002 * ido.el (ido-completions): Use extra elements of ido-decorations
2003 (bug#14143).
2004 (ido-decorations): Update docstring.
2005
2006 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
2007
2008 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2009 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
2010 nil during initialization, in order not to miss changes since the
2011 file was opened. (Bug#14140)
2012
2013 2013-04-05 Leo Liu <sdl.web@gmail.com>
2014
2015 * kmacro.el (kmacro-call-macro): Fix bug#14135.
2016
2017 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
2018
2019 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
2020
2021 2013-04-04 Glenn Morris <rgm@gnu.org>
2022
2023 * electric.el (electric-pair-inhibit-predicate): Add :version.
2024
2025 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2026
2027 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
2028 when a package is required several times (bug#14082).
2029
2030 2013-04-04 Roland Winkler <winkler@gnu.org>
2031
2032 * faces.el (read-face-name): Behave as promised by the docstring.
2033 Assume that arg default is a list of faces.
2034 (describe-face): Call read-face-name with list of default faces.
2035
2036 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2037
2038 * bookmark.el: Fix deletion of bookmarks (bug#13972).
2039 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
2040 (bookmark-bmenu-execute-deletions): Only skip first line if it's
2041 the header.
2042 (bookmark-exit-hook-internal): Save even if list is empty.
2043
2044 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
2045
2046 * emacs-lisp/package.el (package-pinned-packages): New var.
2047 (package--add-to-archive-contents): Obey it (bug#14118).
2048
2049 2013-04-03 Alan Mackenzie <acm@muc.de>
2050
2051 Handle `parse-partial-sexp' landing inside a comment opener
2052 (Bug#13244). Also adapt to the new values of element 7 of a parse
2053 state.
2054
2055 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
2056 parameter `not-in-delimiter'. Handle being inside comment opener.
2057 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
2058 character in case we're typing a '*' after a '/'.
2059 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
2060 instead by passing the parameter to c-state-pp-to-literal.
2061
2062 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
2063 for elt. 7 of a parse state.
2064
2065 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
2066
2067 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
2068 * international/latin1-disp.el, international/mule-util.el:
2069 * language/cyril-util.el, language/european.el, language/ind-util.el:
2070 * language/lao-util.el, language/thai.el, language/tibet-util.el:
2071 * language/tibetan.el, language/viet-util.el:
2072 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
2073
2074 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
2075
2076 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
2077 (electric-pair-post-self-insert-function): Use it.
2078 (electric-pair-default-inhibit): New function, extracted from
2079 electric-pair-post-self-insert-function.
2080
2081 2013-03-31 Roland Winkler <winkler@gnu.org>
2082
2083 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
2084
2085 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
2086
2087 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
2088
2089 2013-03-30 FabiĂ¡n Ezequiel Gallina <fabian@anue.biz>
2090
2091 Un-indent after "pass" and "return" statements (Bug#13888)
2092 * progmodes/python.el (python-indent-block-enders): New var.
2093 (python-indent-calculate-indentation): Use it.
2094
2095 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
2096
2097 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
2098 defun. Defining it as defalias could introduce too eager
2099 byte-compiler optimization. (Bug#14030)
2100
2101 2013-03-30 Chong Yidong <cyd@gnu.org>
2102
2103 * iswitchb.el (iswitchb-read-buffer): Fix typo.
2104
2105 2013-03-30 Leo Liu <sdl.web@gmail.com>
2106
2107 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
2108 (kmacro-execute-from-register): Pass the keyboard macro to
2109 kmacro-call-macro or repeating won't work correctly.
2110
2111 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
2112
2113 * progmodes/subword.el: Back to using `forward-symbol'.
2114
2115 * subr.el (forward-whitespace, forward-symbol)
2116 (forward-same-syntax): Move from thingatpt.el.
2117
2118 2013-03-29 Leo Liu <sdl.web@gmail.com>
2119
2120 * kmacro.el (kmacro-to-register): New command.
2121 (kmacro-execute-from-register): New function.
2122 (kmacro-keymap): Bind to 'x'. (Bug#14071)
2123
2124 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
2125
2126 * mpc.el: Use defvar-local and setq-local.
2127 (mpc--proc-connect): Connection failures are not bugs.
2128 (mpc-mode-map): `follow-link' only applies to the buffer's content.
2129 (mpc-volume-map): Bind to the up-events.
2130
2131 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
2132
2133 * progmodes/subword.el (superword-mode): Use `forward-sexp'
2134 instead of `forward-symbol'.
2135
2136 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2137
2138 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
2139 (edebug--recursive-edit): Use it.
2140 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
2141 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
2142
2143 2013-03-28 Leo Liu <sdl.web@gmail.com>
2144
2145 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
2146
2147 2013-03-27 Eli Zaretskii <eliz@gnu.org>
2148
2149 * facemenu.el (list-colors-callback): New defvar.
2150 (list-colors-redisplay): New function.
2151 (list-colors-display): Install list-colors-redisplay as the
2152 revert-buffer-function. (Bug#14063)
2153
2154 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2155
2156 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
2157 and suffixes don't overlap (bug#14061).
2158
2159 * case-table.el: Use lexical-binding.
2160 (case-table-get-table): New function.
2161 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
2162
2163 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
2164
2165 * progmodes/subword.el: Add `superword-mode' to do word motion
2166 over symbol_words (parallels and leverages `subword-mode' which
2167 does word motion inside MixedCaseWords).
2168
2169 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
2170
2171 * eshell/em-unix.el: Move su and sudo to...
2172 * eshell/em-tramp.el: ...Eshell tramp module.
2173
2174 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2175
2176 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
2177 Change return value to be a sexp. Delay `get-buffer' to after
2178 restoring the desktop (bug#13951).
2179
2180 2013-03-26 Leo Liu <sdl.web@gmail.com>
2181
2182 * register.el: Move semantic tag handling back to
2183 cedet/semantic/senator.el. (Bug#14052)
2184
2185 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2186
2187 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
2188 into the prompt either (bug#13963).
2189
2190 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
2191
2192 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
2193 part of "(error-foo)".
2194
2195 2013-03-24 Juri Linkov <juri@jurta.org>
2196
2197 * replace.el (list-matching-lines-prefix-face): New defcustom.
2198 (occur-1): Pass `list-matching-lines-prefix-face' to the function
2199 `occur-engine' if `face-differs-from-default-p' returns t.
2200 (occur-engine): Add `,' inside backquote construct to evaluate
2201 `prefix-face'. Propertize the prefix with the `prefix-face' face.
2202 Pass `prefix-face' to the functions `occur-context-lines' and
2203 `occur-engine-add-prefix'.
2204 (occur-engine-add-prefix, occur-context-lines): Add optional arg
2205 `prefix-face' and propertize the prefix with `prefix-face'.
2206 (Bug#14017)
2207
2208 2013-03-24 Leo Liu <sdl.web@gmail.com>
2209
2210 * nxml/rng-valid.el (rng-validate-while-idle)
2211 (rng-validate-quick-while-idle): Guard against deleted buffer.
2212 (Bug#13999)
2213
2214 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
2215 is the last entry in kill-buffer-hook.
2216
2217 * files.el (kill-buffer-hook): Doc fix.
2218
2219 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
2220
2221 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
2222 Make it safe-local.
2223
2224 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
2225
2226 2013-03-23 Leo Liu <sdl.web@gmail.com>
2227
2228 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
2229 Remove.
2230
2231 * nxml/rng-valid.el (rng-validate-mode)
2232 (rng-after-change-function, rng-do-some-validation):
2233 * nxml/rng-maint.el (rng-validate-buffer):
2234 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
2235 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
2236 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
2237 (nxml-extend-after-change-region): Use with-silent-modifications.
2238
2239 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
2240 timer-idle-list.
2241
2242 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
2243 (rng-next-error-1, rng-previous-error-1): Do not let-bind
2244 timer-idle-list. (Bug#13999)
2245
2246 2013-03-23 Juri Linkov <juri@jurta.org>
2247
2248 * info.el (info-index-match): New face.
2249 (Info-index, Info-apropos-matches): Add a nested subgroup to the
2250 main pattern and add text properties with the new face to matches
2251 in index entries relative to the beginning of the index entry.
2252 (Bug#14015)
2253
2254 2013-03-21 Eric Ludlam <zappo@gnu.org>
2255
2256 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
2257 Inhibit read only while inserting objects.
2258
2259 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
2260
2261 * progmodes/cfengine.el: Update docs to mention
2262 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
2263 symbol motion. Remove "_" from the word syntax.
2264
2265 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
2266
2267 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
2268 syntax for both `cfengine2-mode' and `cfengine3-mode'.
2269
2270 2013-03-20 Juri Linkov <juri@jurta.org>
2271
2272 * info.el (Info-next-reference-or-link)
2273 (Info-prev-reference-or-link): New functions.
2274 (Info-next-reference, Info-prev-reference): Use them.
2275 (Info-try-follow-nearest-node): Handle footnote navigation.
2276 (Info-fontify-node): Fontify footnotes. (Bug#13989)
2277
2278 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2279
2280 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
2281 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
2282
2283 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
2284
2285 Suppress unnecessary non-ASCII chatter during build process.
2286 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
2287 (batch-skkdic-convert): Suppress most of the chatter.
2288 It's not needed so much now that machines are faster,
2289 and its non-ASCII component was confusing; see Dmitry Gutov in
2290 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
2291
2292 2013-03-20 Leo Liu <sdl.web@gmail.com>
2293
2294 * ido.el (ido-chop): Fix bug#10994.
2295
2296 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2297
2298 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
2299 Remove vars.
2300 (whitespace-color-on, whitespace-color-off):
2301 Use `font-lock-fontify-buffer' (Bug#13817).
2302
2303 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
2304
2305 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
2306 remapping in mode-line.
2307 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
2308
2309 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2310
2311 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
2312 value for `whitespace-line' face (Bug#13875).
2313 (whitespace-font-lock-keywords): Change description.
2314 (whitespace-color-on): Don't save `font-lock-keywords' value, save
2315 the constructed keywords instead.
2316 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
2317
2318 2013-03-19 Leo Liu <sdl.web@gmail.com>
2319
2320 * progmodes/compile.el (compilation-display-error): New command.
2321 (compilation-mode-map, compilation-minor-mode-map): Bind it to
2322 C-o. (Bug#13992)
2323
2324 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2325
2326 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
2327
2328 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
2329
2330 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
2331
2332 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
2333
2334 * net/tramp-compat.el (tramp-compat-user-error): New defun.
2335
2336 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2337 * net/tramp-gvfs.el (top):
2338 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
2339 (tramp-handle-shell-command): Use it.
2340 (tramp-dissect-file-name): Raise an error when hostname is a
2341 method name, and neither method nor user is specified.
2342
2343 * net/trampver.el: Update release number.
2344
2345 2013-03-18 Leo Liu <sdl.web@gmail.com>
2346
2347 Make sure eldoc can be turned off properly.
2348 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
2349 eldoc-mode.
2350 (eldoc-display-message-p): Revert last change.
2351 (eldoc-display-message-no-interference-p)
2352 (eldoc-print-current-symbol-info): Tweak.
2353
2354 2013-03-18 Tassilo Horn <tsdh@gnu.org>
2355
2356 * doc-view.el (doc-view-new-window-function): Check the new window
2357 overlay's display property instead the char property of the
2358 buffer's first char. Use `with-selected-window' instead of
2359 `save-window-excursion' with `select-window'.
2360 (doc-view-document->bitmap): Check the current doc-view overlay's
2361 display property instead the char property of the buffer's first char.
2362
2363 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2364
2365 Automate the build of ja-dic.el (Bug#13984).
2366 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
2367 from the input, rather than assume that it's been done for us by the
2368 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
2369 the current date into a ja-dic.el comment, as that complicates
2370 regression testing.
2371
2372 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2373
2374 * whitespace.el: Fix double evaluation.
2375 (whitespace-space, whitespace-hspace, whitespace-tab)
2376 (whitespace-newline, whitespace-trailing, whitespace-line)
2377 (whitespace-space-before-tab, whitespace-indentation)
2378 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
2379 obsolete defvars.
2380 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
2381 (whitespace-color-on): Use a single font-lock-add-keywords call.
2382 Fix double-evaluation of face variables.
2383
2384 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
2385
2386 * net/tramp-adb.el (tramp-adb-parse-device-names):
2387 Use `start-process' instead of `call-process'. Otherwise, the
2388 function might be blocked under MS Windows. (Bug#13299)
2389
2390 2013-03-17 Leo Liu <sdl.web@gmail.com>
2391
2392 Extend eldoc to display info in the mode-line. (Bug#13978)
2393 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
2394 (eldoc-mode-line-string): New variable.
2395 (eldoc-minibuffer-message): New function.
2396 (eldoc-message-function): New variable.
2397 (eldoc-message): Use it.
2398 (eldoc-display-message-p)
2399 (eldoc-display-message-no-interference-p):
2400 Support eldoc-post-insert-mode.
2401
2402 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
2403 (eval-expression): Run it.
2404
2405 2013-03-17 Roland Winkler <winkler@gnu.org>
2406
2407 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
2408 strings in the list of return values.
2409
2410 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2411
2412 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
2413 radix before checking for HMS forms.
2414
2415 2013-03-16 Leo Liu <sdl.web@gmail.com>
2416
2417 * progmodes/scheme.el: Add indentation and font-locking for λ.
2418 (Bug#13975)
2419
2420 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
2421
2422 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
2423 token before point (bug#13942).
2424
2425 2013-03-16 Leo Liu <sdl.web@gmail.com>
2426
2427 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
2428
2429 2013-03-16 Eli Zaretskii <eliz@gnu.org>
2430
2431 * startup.el (command-line-normalize-file-name): Fix handling of
2432 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
2433 <xfq.free@gmail.com> in
2434 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
2435
2436 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
2437
2438 Sync with Tramp 2.2.7.
2439
2440 * net/trampver.el: Update release number.
2441
2442 2013-03-14 Tassilo Horn <tsdh@gnu.org>
2443
2444 * doc-view.el Fix bug#13887.
2445 (doc-view-insert-image): Don't modify overlay associated to
2446 non-live windows, and implement horizontal centering of image in
2447 case it's smaller than the window.
2448 (doc-view-new-window-function): Force redisplay of new windows on
2449 doc-view buffers.
2450
2451 2013-03-13 Karl Fogel <kfogel@red-bean.com>
2452
2453 * saveplace.el (save-place-alist-to-file): Don't sort
2454 `save-place-alist', just pretty-print it (bug#13882).
2455
2456 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
2457
2458 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
2459 whether `default-file-name-coding-system' is bound. It isn't in
2460 XEmacs.
2461
2462 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
2463
2464 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
2465 backquotes for `obsolete' (bug#13929).
2466
2467 * international/mule.el (find-auto-coding): Include file name in
2468 obsolescence warning (bug#13922).
2469
2470 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
2471
2472 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
2473 for CFEngine 3-specific indentation.
2474 (cfengine3-indent-line): Use it. Fix up category regex.
2475 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
2476
2477 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2478
2479 * type-break.el (type-break-file-name):
2480 * textmodes/remember.el (remember-data-file):
2481 * strokes.el (strokes-file):
2482 * shadowfile.el (shadow-initialize):
2483 * saveplace.el (save-place-file):
2484 * ps-bdf.el (bdf-cache-file):
2485 * progmodes/idlwave.el (idlwave-config-directory):
2486 * net/quickurl.el (quickurl-url-file):
2487 * international/kkc.el (kkc-init-file-name):
2488 * ido.el (ido-save-directory-list-file):
2489 * emulation/viper.el (viper-custom-file-name):
2490 * emulation/vip.el (vip-startup-file):
2491 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2492 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
2493
2494 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
2495
2496 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
2497 * language/thai-word.el: Switch to UTF-8.
2498
2499 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2500
2501 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
2502
2503 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2504
2505 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
2506 Use with-current-buffer and don't move point.
2507 (net-utils-run-simple): Remove useless code.
2508 (net-utils-remove-ctl-m): Remove unused custom.
2509
2510 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
2511
2512 * international/characters.el (glyphless-set-char-table-range): New fun.
2513 (update-glyphless-char-display): Use it (bug#13744).
2514
2515 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
2516
2517 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
2518 namespaces in the syntax, indent closer for hanging brace
2519 correctly, allow single-quote delimited 'strings', and make
2520 `cfengine3-mode' the default.
2521
2522 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
2523
2524 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
2525 Use lexical-binding. Fix up docstring according to conventions.
2526 (gdbmi-debug-mode): New var.
2527 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
2528 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
2529 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
2530 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
2531 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
2532 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
2533 (gdbmi-bnf-incomplete-record-result): New functions.
2534 (gdb-car<): Remove function.
2535 (gdbmi-record-list): Remove variable.
2536 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
2537 (gdbmi-bnf-result-state-configs): New const.
2538 (gud-gdbmi-marker-filter): Rewrite.
2539 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
2540 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
2541 Add `token' argument.
2542 (gdb-done, gdb-error): New functions.
2543 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
2544
2545 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2546
2547 * term/xterm.el (xterm--report-background-handler): Don't burp
2548 upon timeout.
2549 (xterm--version-handler): Extract from terminal-init-xterm.
2550 (xterm--query): Don't mishandle timeout. Remove debugging messages.
2551 Allow multiple handlers.
2552 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
2553
2554 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
2555 (xterm--report-background-handler, xterm--query): New functions.
2556 (terminal-init-xterm): Use them.
2557
2558 2013-03-11 Michael R. Mauger <michael@mauger.com>
2559
2560 * progmodes/sql.el Version 3.2
2561 Please note that my address changed to <michael@mauger.com>;
2562 the <mmaug@yahoo.com> address remains active.
2563 (sql-connection-alist): Updates documentation to fix bug#13715.
2564 (sql-connect): Handle missing `sql-connection-alist' correctly.
2565 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
2566 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
2567 property.
2568 (sql-default-value): New function.
2569 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
2570 values were not used.
2571 (sql-rename-buffer): Make sure alternate buffer name has no text
2572 properties.
2573 (sql-input-sender, sql-execute-feature): Fetch variable with
2574 `buffer-local-value' rather than `with-current-buffer'.
2575 (sql-*): Use #' function syntax consistently.
2576 (sql-*): Use message/error/user-error consistently.
2577
2578 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2579
2580 * xt-mouse.el (xterm-mouse-event-read): Remove.
2581 (xterm-mouse--read-event-sequence-1000)
2582 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
2583
2584 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2585
2586 * term/xterm.el (xterm-function-map): Support format used with
2587 formatOtherKeys=1 (bug#13839).
2588
2589 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
2590 (with-no-warnings): Use `declare'.
2591
2592 * whitespace.el (whitespace-enable-predicate): New variable.
2593 (whitespace-enable-predicate): Use it.
2594
2595 * comint.el (comint-send-input, comint-snapshot-last-prompt)
2596 (comint-output-filter, comint-update-fence):
2597 Use with-silent-modifications.
2598
2599 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
2600
2601 * replace.el (occur-read-regexp-defaults-function): New var.
2602 (occur-read-regexp-defaults): New defun.
2603 (occur-read-primary-args): Propagate above change (bug#13892).
2604
2605 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2606
2607 * mouse.el (mouse-drag-track): Remove left-over debugging code.
2608
2609 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
2610
2611 Major rewrite due to changed D-Bus interface of GVFS 1.14.
2612
2613 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
2614 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
2615 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
2616 New defconst.
2617 (tramp-gvfs-file-name-handler-alist) [directory-files]
2618 [directory-files-and-attributes, file-exists-p, file-modes]:
2619 Use Tramp default handler.
2620 [file-acl, file-selinux-context, process-file, set-file-acl]:
2621 [set-file-modes, set-file-selinux-context, shell-command]:
2622 [start-file-process]: Remove handler.
2623 [verify-visited-file-modtime]: New handler.
2624 (tramp-gvfs-dbus-string-to-byte-array)
2625 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
2626 calls of `dbus-string-to-byte-array' and
2627 `tramp-gvfs-dbus-byte-array-to-string'.
2628 (tramp-gvfs-handle-copy-file)
2629 (tramp-gvfs-handle-delete-directory)
2630 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
2631 (tramp-gvfs-handle-file-directory-p)
2632 (tramp-gvfs-handle-file-executable-p)
2633 (tramp-gvfs-handle-file-name-all-completions)
2634 (tramp-gvfs-handle-file-readable-p)
2635 (tramp-gvfs-handle-file-writable-p)
2636 (tramp-gvfs-handle-insert-directory)
2637 (tramp-gvfs-handle-insert-file-contents)
2638 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
2639 (tramp-gvfs-handle-set-visited-file-modtime)
2640 (tramp-gvfs-handle-write-region): Rewrite.
2641 (tramp-gvfs-handle-file-acl)
2642 (tramp-gvfs-handle-file-selinux-context)
2643 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
2644 (tramp-gvfs-handle-set-file-modes)
2645 (tramp-gvfs-handle-set-file-selinux-context)
2646 (tramp-gvfs-handle-shell-command)
2647 (tramp-gvfs-handle-start-file-process)
2648 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
2649 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
2650 over the symlinks. Fix user handling.
2651 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
2652 of the D-Bus signals.
2653 (tramp-gvfs-connection-mounted-p): Handle different names of the
2654 D-Bus methods.
2655 (tramp-gvfs-mount-spec-entry): New defun.
2656 (tramp-gvfs-mount-spec): Use it.
2657 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
2658 there is a share name. Handle different names of the D-Bus
2659 signals and methods. Set connection properties needed for
2660 `tramp-check-cached-permissions'.
2661 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
2662 Return t or nil.
2663
2664 * net/tramp.el (tramp-backtrace): Move up.
2665 (tramp-error): Dump a backtrace into the debug buffer when
2666 `tramp-verbose > 9.
2667 (tramp-file-mode-type-map, tramp-file-mode-from-int)
2668 (tramp-file-mode-permissions, tramp-get-local-uid)
2669 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
2670 tramp-sh.el.
2671
2672 * net/tramp-sh.el (tramp-file-mode-type-map)
2673 (tramp-check-cached-permissions, tramp-file-mode-from-int)
2674 (tramp-file-mode-permissions, tramp-get-local-uid)
2675 (tramp-get-local-gid): Move to tramp.el.
2676
2677 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2678
2679 Separate mouse-1-click-follows-link from mouse-drag-region.
2680 * mouse.el (mouse--down-1-maybe-follows-link): New function.
2681 (key-translation-map): Use it to implement mouse-1-click-follows-link.
2682 (mouse-drag-line, mouse-drag-track):
2683 Remove mouse-1-click-follows-link code.
2684 (mouse--remap-link-click-p): Remove.
2685
2686 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
2687
2688 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
2689 (hi-lock-read-regexp-defaults): New defun.
2690 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2691 (hi-lock-face-phrase-buffer): Propagate above change.
2692 Update docstring (bug#13892).
2693
2694 * subr.el (find-tag-default-as-regexp): New defun.
2695 * replace.el (read-regexp): Propagate above change.
2696
2697 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
2698
2699 * calc/calc-units.el (calc-convert-units): Fix the way that default
2700 new units are stored.
2701
2702 2013-03-07 Matthias Meulien <orontee@gmail.com>
2703
2704 * bookmark.el: Define a face to highlight bookmark names in
2705 bookmark menu buffers, where the default is a bold face similarly
2706 to buffer names in buffer menu buffers.
2707 (bookmark-menu-bookmark): New face to highlight bookmark names.
2708 (bookmark-insert-location): Remove duplicated text property to
2709 conform to buffer list (see `list-buffers').
2710 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
2711 `bookmark-menu-bookmark' to bookmark names.
2712
2713 2013-03-07 Matthias Meulien <orontee@gmail.com>
2714 Karl Fogel <kfogel@red-bean.com>
2715
2716 * bookmark.el: Display the bookmark list header similarly to the
2717 buffer list header (see `list-buffers'), where the default is now
2718 an immovable/immutable header line.
2719 (bookmark-bmenu-use-header-line): New variable.
2720 (bookmark-bmenu-inline-header-height): New name for
2721 `bookmark-bmenu-header-height', to avoid confusion with the code
2722 for the new immovable header. All references changed.
2723 (bookmark-bmenu-set-header): New function.
2724 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
2725 Conditionalize header construction accordingly.
2726 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
2727 the inline header height.
2728 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
2729 Conditionalize the skipping of the inline header height.
2730
2731 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
2732
2733 * progmodes/js.el (js--multi-line-declaration-indentation):
2734 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
2735
2736 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
2737
2738 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2739 Only propertize regexp when not inside a string (Bug#13885).
2740
2741 2013-03-06 Alan Mackenzie <acm@muc.de>
2742
2743 Correct the position of point in some line-up functions.
2744 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
2745 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
2746 point at column 0 rather than at a random place in the line.
2747
2748 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
2749
2750 * net/tramp-compat.el (tramp-compat-delete-directory):
2751 Implement TRASH argument.
2752
2753 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
2754
2755 Keep pre-existing highlighting in completion candidates (Bug#13250).
2756 * minibuffer.el (completions-first-difference): State that the
2757 face is "added" in the docstring.
2758 (completions-common-part): Same. And don't inherit from default.
2759 (completion-hilit-commonality): Prepend 'completions-common-part
2760 and 'completion-first-difference faces to the 'face property,
2761 instead of replacing the value(s).
2762 (completion--insert-strings): Same with 'completions-annotations face.
2763 (completion-hilit-commonality): Use 'face instead of
2764 'font-lock-face, because it gets priority if the completion
2765 strings already have 'face set.
2766
2767 2013-03-04 Alan Mackenzie <acm@muc.de>
2768
2769 Replace `last-command-event' by `last-command-char' in XEmacs.
2770 * progmodes/cc-defs.el (c-last-command-char): New macro.
2771 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
2772 (c-semi&comma-no-newlines-before-nonblanks)
2773 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
2774 in place of `last-command-event'.
2775 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
2776 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
2777 (c-electric-paren, c-electric-continued-statement): Use the new
2778 macro in place of `last-command-event'.
2779
2780 2013-03-04 Glenn Morris <rgm@gnu.org>
2781
2782 * files.el (inhibit-local-variables-regexps):
2783 Add .diff and .patch. (Bug#13862)
2784
2785 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
2786
2787 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
2788 whether the "su" command is available on the device.
2789
2790 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2791
2792 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
2793 (tramp-adb-handle-process-file): Remove superfluous setting.
2794 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
2795 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
2796 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
2797
2798 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
2799
2800 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
2801 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
2802 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
2803 Use dict-key rather than dict-name for the error message.
2804
2805 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2806
2807 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
2808 when reverting (bug#13831).
2809
2810 2013-03-01 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2811
2812 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2813 Always expand affix-file before storing to protect against changed
2814 `default-directory'.
2815 (ispell-print-if-debug): Make sure message is printed at the end
2816 of the debug buffer.
2817
2818 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2819
2820 * net/tramp.el (tramp-obsolete-methods): New defconst.
2821 (tramp-warned-obsolete-methods): New defvar.
2822 (tramp-find-method): Check for obsolete methods. Map them to a
2823 replacement method if appropriate.
2824
2825 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
2826 Remove methods.
2827 (top): Remove completion functions for "scp1", "scp2", "ssh1",
2828 "ssh2" and "plink1".
2829
2830 2013-02-28 Dale Sedivec <dale@codefu.org>
2831
2832 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
2833 Return valid syntax-table property value when converting
2834 quotes within text from string syntax to punctuation syntax (bug#13844).
2835
2836 2013-02-28 Juri Linkov <juri@jurta.org>
2837
2838 * dired-aux.el (dired-diff): If file at point is a backup file,
2839 use its original as the default value, and reverse the order
2840 of arguments to the `diff' call. Doc fix. (Bug#13772)
2841
2842 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
2843
2844 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
2845 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
2846
2847 2013-02-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2848
2849 Initial support for hunspell dictionaries auto-detection (Bug#13639)
2850
2851 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2852 Ask hunspell about available and default dictionaries.
2853 (ispell-parse-hunspell-affix-file): Extract relevant info from
2854 hunspell affix file.
2855 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
2856 `ispell-dictionary-alist' entry for given dictionary after info
2857 provided by `ispell-parse-hunspell-affix-file'.
2858 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
2859 of parsed hunspell dicts and associated affix files.
2860 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
2861 of parsed hunspell dicts and associated parameters.
2862 (ispell-set-spellchecker-params):
2863 Call `ispell-find-hunspell-dictionaries' if hunspell and not
2864 previously done.
2865 (ispell-start-process):
2866 Call `ispell-hunspell-fill-dictionary-entry' for current
2867 dictionary if it is not initialized.
2868
2869 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2870
2871 * imenu.el: Comment nitpicks.
2872
2873 2013-02-28 Sam Steingold <sds@gnu.org>
2874
2875 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
2876 See <http://stackoverflow.com/questions/14720205>.
2877
2878 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2879
2880 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
2881 (net-utils-mode): Use it.
2882 (net-utils--revert-cmd): New var.
2883 (net-utils-run-simple): Set it, and remove bogus interactive spec.
2884 (traceroute): Use net-utils-run-simple.
2885
2886 2013-02-28 Glenn Morris <rgm@gnu.org>
2887
2888 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
2889
2890 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2891
2892 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
2893 (doc-view-fallback-mode): Remove overlays here.
2894 (doc-view-toggle-display): Instead of here. Don't throw away
2895 image-mode-winprops-alist.
2896 (doc-view-goto-page): Don't mess with hscroll.
2897
2898 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2899
2900 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
2901 &optional (bug#13819).
2902
2903 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
2904
2905 * net/tramp-adb.el (tramp-adb-parse-device-names)
2906 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
2907
2908 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
2909
2910 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2911 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
2912 defined. POSIX environments fall back to the "C" locale then and
2913 emit a warning, which shall be suppressed.
2914
2915 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
2916
2917 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
2918 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
2919
2920 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2921
2922 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
2923
2924 2013-02-25 Juri Linkov <juri@jurta.org>
2925
2926 * replace.el (read-regexp): Let-bind `default' to the first
2927 element of `defaults' if it's a list, otherwise it should be
2928 a string or nil. Let-bind `suggestions' to `defaults' if it's
2929 a list, otherwise make a list with the string value. Doc fix.
2930 (Bug#13805)
2931
2932 2013-02-25 Eli Zaretskii <eliz@gnu.org>
2933
2934 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
2935 that match "\`\.#", to avoid compiling lock files, even if they
2936 are readable (as they are on MS-Windows).
2937
2938 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2939
2940 * files.el (basic-save-buffer): Remove redundant directory-creation.
2941
2942 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
2943
2944 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
2945 Add option to force `pi' to remain symbolic.
2946 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
2947 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
2948 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
2949 derivatives, when necessary.
2950
2951 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
2952
2953 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
2954 (ps-mode-octal-region): Use string-make-unibyte.
2955
2956 2013-02-23 Glenn Morris <rgm@gnu.org>
2957
2958 * emulation/viper-cmd.el (viper-submit-report):
2959 * progmodes/ps-mode.el (ps-mode-maintainer-address):
2960 * progmodes/vera-mode.el (vera-mode-help-address):
2961 * textmodes/artist.el (artist-maintainer-address):
2962 * textmodes/reftex.el (reftex-report-bug):
2963 * vc/ediff-util.el (ediff-submit-report):
2964 Add bug-gnu-emacs to bug report address.
2965
2966 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
2967 Remove bug report entries.
2968 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
2969
2970 * emacs-lisp/bytecomp.el (byte-compile-level): New.
2971 (byte-compile-file, byte-compile-from-buffer):
2972 Use separate input/output buffers for each level of recursive
2973 byte-compile-file calls. (Bug#13787)
2974
2975 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
2976
2977 * net/tramp.el (tramp-methods): Fix docstring.
2978 (tramp-ssh-controlmaster-options): Rename it from
2979 `tramp-ssh-controlmaster-template'. Return a string.
2980 (tramp-default-method): Adapt check for
2981 `tramp-ssh-controlmaster-options'.
2982
2983 * net/tramp-sh.el (tramp-methods):
2984 Replace `tramp-ssh-controlmaster-template' by "%c".
2985 (tramp-do-copy-or-rename-file-out-of-band)
2986 (tramp-maybe-open-connection): Use it in format spec. Ensure,
2987 that it is applied for the first hop only.
2988
2989 2013-02-22 Juri Linkov <juri@jurta.org>
2990
2991 * isearch.el (isearch-lazy-highlight-new-loop):
2992 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
2993 to `isearch-other-end' if it is not nil. (Bug#13402)
2994
2995 * replace.el (replace-highlight): Let-bind `isearch-other-end'
2996 to `match-beg'.
2997
2998 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
2999 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
3000 and `isearch-error' to nil.
3001
3002 2013-03-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3003
3004 * progmodes/python.el (python-info-current-defun):
3005 Enhance match-data cluttering prevention.
3006
3007 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
3008
3009 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
3010
3011 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3012 Handle multibyte file names.
3013
3014 2013-02-22 Glenn Morris <rgm@gnu.org>
3015
3016 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
3017 (sgml-transformation-function): Give it a :set function.
3018 (sgml-tag): Doc fix.
3019
3020 * cmuscheme.el (scheme-buffer):
3021 * progmodes/inf-lisp.el (inferior-lisp-buffer):
3022 * progmodes/tcl.el (inferior-tcl-buffer):
3023 * textmodes/tex-mode.el (tex-command): Doc fixes.
3024
3025 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
3026
3027 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
3028
3029 2013-02-21 Bastien Guerry <bzg@gnu.org>
3030
3031 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
3032
3033 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3034
3035 * progmodes/python.el (python-info-current-defun):
3036 Enhance match-data cluttering prevention.
3037
3038 2013-02-21 Glenn Morris <rgm@gnu.org>
3039
3040 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
3041 loaded while outline-regexp is let bound. (Bug#9584)
3042
3043 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3044
3045 * progmodes/python.el (python-info-current-defun): Fix failed
3046 defun name retrieval because of unwanted match-data cluttering.
3047
3048 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
3049
3050 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
3051 defconst. Apply independent check for ControlPersist.
3052
3053 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
3054 temporarily, via "env".
3055
3056 2013-02-21 Glenn Morris <rgm@gnu.org>
3057
3058 * info.el (Info-enable-edit): Remove.
3059 (Info-edit): Disable it rather than using Info-enable.
3060 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
3061 (Info-cease-edit): Make editing of Info files obsolete.
3062
3063 * informat.el (Info-tagify):
3064 Handle buffers not visiting files. (Bug#13763)
3065
3066 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
3067
3068 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
3069
3070 2013-02-21 Glenn Morris <rgm@gnu.org>
3071
3072 * files.el (basic-save-buffer): Move check for existing parent
3073 directory after hooks. (Bug#13773)
3074
3075 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
3076
3077 * simple.el (command-execute): Move from C. Add obsolete check.
3078 (extended-command-history): Move from C.
3079
3080 2013-02-20 Ulrich MĂ¼ller <ulm@gentoo.org>
3081
3082 * jka-cmpr-hook.el (jka-compr-compression-info-list)
3083 (jka-compr-mode-alist-additions): Handle .txz suffix for
3084 XZ-compressed tar archives (bug#13770).
3085
3086 2013-02-20 Bastien Guerry <bzg@gnu.org>
3087
3088 * outline.el (outline-regexp, outline-heading-end-regexp):
3089 Make variables, not options (bug#13731).
3090
3091 2013-02-20 Glenn Morris <rgm@gnu.org>
3092
3093 * image.el (image-current-frame): Change from variable to function.
3094 (image-show-frame): Rename from image-nth-frame. Update callers.
3095 * image-mode.el (image-multi-frame): New variable.
3096 (image-mode-map, image-mode, image-goto-frame):
3097 Use image-multi-frame rather than image-current-frame.
3098 (image-mode, image-goto-frame): Use image-current-frame as
3099 function rather than as variable.
3100
3101 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
3102 * emacs-lisp/cl-macs.el (cl--make-type-test)
3103 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
3104
3105 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3106
3107 * net/tramp-cache.el (tramp-get-hash-table): New defun.
3108 (tramp-get-file-property, tramp-set-file-property)
3109 (tramp-get-connection-property, tramp-set-connection-property): Use it.
3110 (tramp-flush-file-property, tramp-flush-directory-property):
3111 Rename argument to KEY.
3112 (tramp-flush-connection-property): Simplify a little bit.
3113 (tramp-connection-property-p): New defun.
3114 (top): Reapply saved values only if there isn't a corresponding
3115 entry in `tramp-connection-properties'.
3116
3117 2013-02-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3118
3119 * progmodes/python.el (python-indent-context):
3120 Fix python-info-line-ends-backslash-p call.
3121 (python-info-line-ends-backslash-p)
3122 (python-info-beginning-of-backslash): Respect line-number argument.
3123 (python-info-current-line-comment-p):
3124 Fix behavior when not at beginning-of-line.
3125 (python-util-position): Remove function.
3126 (python-util-goto-line): New function.
3127
3128 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3129
3130 * eshell/em-unix.el (eshell/su): Require tramp.
3131 (eshell/sudo): Require tramp. Remove now unnecessary check.
3132
3133 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
3134 `tramp-current-connection' in order to avoid an error when several
3135 commands are invoked in a short time in eshell and friends.
3136
3137 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
3138
3139 Cleanup some of EIEIO's namespace.
3140 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
3141 Use it to define all the class-* and object-* field accessors (renamed
3142 to eieio--class-* and eieio--object-*). Update all uses.
3143 (eieio--class-num-slots, eieio--object-num-slots): Rename from
3144 class-num-slots and object-num-slots.
3145 (eieio--check-type): New macro.
3146 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
3147 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
3148 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
3149 (object-assoc-list-safe): Use it.
3150 (eieio-defclass): Tighten regexp.
3151 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
3152 Remove unreachable code.
3153 (object-class-fast): Declare obsolete.
3154 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
3155 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
3156 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
3157 Rename from class-name, object-name, object-set-name-string,
3158 object-class, object-class-name, class-parents, class-children,
3159 class-precedence-list, class-parent; with obsolete alias.
3160 (class-of, class-direct-superclasses, class-direct-subclasses):
3161 Declare obsolete.
3162 (eieio-defmethod): Use `memq'; remove unreachable code.
3163 * emacs-lisp/eieio-base.el (eieio-persistent-read):
3164 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
3165 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
3166
3167 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
3168
3169 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
3170 commentary.
3171
3172 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
3173
3174 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
3175 Use font-lock-keyword-face for macros and special forms (bug#8345).
3176
3177 2013-02-17 Didier Verna <didier@didierverna.net>
3178
3179 * net/network-stream.el (network-stream-open-starttls):
3180 Check that response to the starttls-command is non-nil. (Bug#13706)
3181
3182 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3183
3184 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
3185 Don't assume all identifier chars have syntax word.
3186 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3187 Remove bar-not-symbol. Adjust callers.
3188 (lisp-mode-variables): Don't set a font-lock-syntax-table.
3189
3190 2013-02-17 Leo Liu <sdl.web@gmail.com>
3191
3192 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
3193
3194 2013-02-17 Glenn Morris <rgm@gnu.org>
3195
3196 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
3197
3198 * image-mode.el (image-mode-map): Add image-dired menu entry.
3199
3200 * image-dired.el (tumme): Make this alias obsolete.
3201
3202 2013-02-16 Glenn Morris <rgm@gnu.org>
3203
3204 * image.el (image-animated-types): Remove.
3205 (image-multi-frame-p): Rename from image-animated-p, and generalize.
3206 (image-animated-p): Make obsolete alias.
3207 (image-animate, image-nth-frame, image-animate-timeout):
3208 Use image-multi-frame-p.
3209 (image-animate-timeout): If no delay, use image-default-frame-delay.
3210 * image-mode.el (image-mode, image-toggle-animation):
3211 Use image-multi-frame-p. (Bug#763, bug#10739)
3212 (image-mode): Adjust startup message for a multi-frame image.
3213
3214 * image-mode.el (image-mode-map): Give it a menu.
3215
3216 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
3217
3218 * net/tramp-cache.el (tramp-connection-properties): New customer
3219 option.
3220 (tramp-get-connection-property): Use it.
3221
3222 * net/tramp-compat.el (top): Require 'trampver.
3223
3224 * net/tramp-sh.el (tramp-remote-process-environment):
3225 Set tramp-autoload cookie.
3226
3227 2013-02-16 Kevin Ryde <user42@zip.com.au>
3228
3229 * info-look.el (info-lookup-select-mode): If major-mode has no
3230 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
3231
3232 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
3233
3234 * replace.el (read-regexp): Tighten the regexp that matches tag.
3235 When tag is retrieved with `find-tag-default', use regexp that
3236 matches tag at point. Also update docstring (Bug#13687).
3237
3238 2013-02-16 Eli Zaretskii <eliz@gnu.org>
3239
3240 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
3241 add watch for the file, not its parent directory, since w32notify
3242 sets up the watch for the directory internally. (Bug#13725)
3243
3244 2013-02-16 Glenn Morris <rgm@gnu.org>
3245
3246 * image.el (image-default-frame-delay): New variable.
3247 (image-animated-p): Use image-default-frame-delay.
3248 (image-minimum-frame-delay): New constant.
3249 (image-animate-timeout): Use image-minimum-frame-delay.
3250
3251 * image.el (image-nth-frame): New, split from image-animate-timeout.
3252 (image-animate-timeout): Use image-nth-frame.
3253 * image-mode.el (image-goto-frame, image-next-frame)
3254 (image-previous-frame): New commands.
3255 (image-mode-map): Add new frame commands.
3256
3257 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
3258
3259 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
3260 If col-desc already has help-echo, use it. (Bug#13563)
3261
3262 2013-02-16 Glenn Morris <rgm@gnu.org>
3263
3264 * image.el (image-current-frame): New variable.
3265 (image-animate-timeout): Set image-current-frame.
3266 * image-mode.el (image-mode): For animated images,
3267 display a frame counter via mode-line-process.
3268
3269 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
3270
3271 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3272
3273 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
3274
3275 2013-02-15 Alan Mackenzie <acm@muc.de>
3276
3277 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
3278 global minor mode has been enabled, call the minor mode function
3279 for a new buffer once only, after the major mode hook, whilst
3280 allowing that hook explicitly to disable the minor mode.
3281 (MODE-disable-in-buffer): New (generated) function.
3282 (disable-MODE): New (generated) buffer local variable.
3283
3284 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
3285
3286 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
3287 `iswitchb-next-match' and `iswitchb-prev-match' resply.
3288 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
3289 `ido-next-match' and `ido-prev-match' resply.
3290 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
3291 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
3292 `icomplete-backward-completions' (Bug#13708).
3293
3294 2013-02-15 Glenn Morris <rgm@gnu.org>
3295
3296 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3297
3298 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3299
3300 * net/goto-addr.el (goto-address-fontify): Add start and end args.
3301 (goto-address-fontify-region): Use them instead of narrowing, so
3302 syntax-ppss has access to the whole buffer.
3303
3304 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3305
3306 * progmodes/python.el: Explain how to restore "cc-mode"-like
3307 forward-sexp movement in header documentation (Bug#13642).
3308 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
3309 comments and strings (GH bug 114).
3310
3311 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3312
3313 * progmodes/python.el (python-info-current-defun): Fix current
3314 defun detection (Bug#13618).
3315
3316 2013-02-15 Chong Yidong <cyd@gnu.org>
3317
3318 * xml.el (xml-parse-string): Fix typo in handling of bad character
3319 references.
3320
3321 2013-02-15 Glenn Morris <rgm@gnu.org>
3322
3323 * play/fortune.el (fortune-compile): Simplify and fix previous change.
3324
3325 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
3326
3327 * net/tramp.el (tramp-debug-message):
3328 Add `tramp-condition-case-unless-debug'.
3329 (tramp-debug-on-error): New defvar.
3330 (tramp-condition-case-unless-debug): New defun.
3331 (tramp-file-name-handler): Use it.
3332
3333 2013-02-14 Juri Linkov <juri@jurta.org>
3334
3335 * info.el (Info-isearch-filter): Treat non-nil values of
3336 `search-invisible' including its default value `open'
3337 like the value `t' to match hidden text. (Bug#13402)
3338
3339 2013-02-14 Glenn Morris <rgm@gnu.org>
3340
3341 * help-fns.el (find-lisp-object-file-name): Give special treatment
3342 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
3343
3344 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
3345
3346 * net/quickurl.el (quickurl-save-urls):
3347 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
3348
3349 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
3350
3351 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
3352 depth for unfinished percent literal. Not using it in the caller.
3353 (ruby-move-to-block): Jump over multiline literals of all types,
3354 ignoring code-looking contents inside them.
3355 (ruby-add-log-current-method): Improve performance at the expense
3356 of accuracy. `ruby-block-contains-point' is relatively slow, so
3357 only use it for method and singleton class blocks.
3358
3359 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3360
3361 Use ControlMaster where applicable. (Bug#13677)
3362
3363 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
3364 replacing `tramp-detect-ssh-controlmaster'.
3365 (tramp-default-method): Use it.
3366
3367 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
3368 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
3369 arguments.
3370 [scpc, rsyncc]: Remove methods.
3371 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
3372 and "ssh2_old".
3373 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
3374 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
3375
3376 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3377
3378 * emacs-lisp/package.el (package--initialized): Move before first use.
3379
3380 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
3381
3382 * icomplete.el (icomplete-hide-common-prefix): New user option.
3383 (icomplete-first-match): New face.
3384 (icomplete-completions): Correct handling of "complete but not
3385 unique" (Bug#12638).
3386
3387 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
3388
3389 * descr-text.el (describe-char): Display the script (bug#13698).
3390
3391 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3392
3393 * tmm.el: Use lexical-binding and current-active-maps.
3394 (tmm-menubar): Use map-keymap and pcase.
3395 (tmm--completion-table): New function.
3396 (tmm-prompt): Use it to fix the menu order.
3397 (tmm-get-keybind): Use current-active-maps.
3398
3399 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
3400
3401 Add dired-hide-details-mode. (Bug#6799)
3402
3403 * locate.el (locate-mode): Set parent mode property to dired-mode.
3404
3405 * find-dired.el (find-dired): Call dired-insert-set-properties on
3406 initial information line. Set process mark on end of buffer.
3407 (find-dired-sentinel):
3408 Call dired-insert-set-properties on summary.
3409
3410 * dired.el (dired-hide-details-hide-symlink-targets)
3411 (dired-hide-details-hide-information-lines): New options.
3412 (dired-insert-directory):
3413 Set properties after final treatment of output.
3414 (dired-insert-set-properties):
3415 Set dired-hide-details-* properties.
3416 (dired-mode-map): Bind dired-hide-details-mode.
3417 (dired-mode): Set buffer-invisibility-spec to a list.
3418 (dired-next-line): Skip hidden lines.
3419 (dired-previous-line): Use dired-next-line.
3420 (dired-hide-details-mode): New minor mode.
3421 (dired-hide-details-update-invisibility-spec): New function.
3422
3423 2013-02-13 Glenn Morris <rgm@gnu.org>
3424
3425 * play/yow.el: Move to obsolete/. (Bug#9384)
3426
3427 2013-02-13 Juri Linkov <juri@jurta.org>
3428
3429 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
3430 to select `ediff-control-frame' and set input focus correctly on Xfce.
3431 (Bug#12218)
3432
3433 2013-02-13 Juri Linkov <juri@jurta.org>
3434
3435 * image-mode.el (image-mode-map):
3436 * doc-view.el (doc-view-mode-map):
3437 * vc/ediff-util.el (ediff-setup-keymap):
3438 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3439
3440 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
3441
3442 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
3443 performance. Instead of recalculating indentation fully for each
3444 line, sum up indentation depth based only on visited lines.
3445 (ruby-parse-partial): Increase the depth after "do" even when END
3446 is right after it.
3447 (ruby-parse-partial): When END is in the middle of a percent
3448 literal, increase the depth if the delimiter chars belong to the
3449 paren syntax class.
3450
3451 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
3452
3453 * play/fortune.el (fortune-compile): Also make the compiled file
3454 if it does not exist at all, not just if it is old. (Bug#5338)
3455
3456 2013-02-13 Glenn Morris <rgm@gnu.org>
3457
3458 * emacs-lisp/package.el (package-menu-execute): Doc fix.
3459
3460 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
3461
3462 * lisp/emacs-lisp/package.el (package-menu-execute):
3463 Add optional noquery argument. (Bug#13625)
3464
3465 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3466
3467 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
3468 if DIR exists and PARENTS is non-nil.
3469
3470 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
3471
3472 * progmodes/js.el (js--multi-line-declaration-indentation):
3473 Silence byte-compiler warning.
3474
3475 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
3476
3477 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
3478
3479 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
3480 only if it doesn't exist.
3481
3482 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3483 Set process marker.
3484
3485 2013-02-12 Tassilo Horn <tsdh@gnu.org>
3486
3487 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
3488 UserInstallation when calling soffice to work around LibreOffice
3489 bug 37531.
3490
3491 2013-02-12 Glenn Morris <rgm@gnu.org>
3492
3493 * files.el (basic-save-buffer):
3494 Offer to create a non-existing directory. (Bug#3016)
3495
3496 * calc/calc-graph.el (calc-graph-show-dumb):
3497 * calendar/calendar.el (calendar-mode-map):
3498 * cus-edit.el (custom-mode-map):
3499 * ehelp.el (electric-help-map):
3500 * emulation/vip.el (vip-mode-map):
3501 * epa.el (epa-key-list-mode-map):
3502 * info.el (Info-mode-map):
3503 * mail/rmail.el (rmail-mode-map):
3504 * mail/rmailsum.el (rmail-summary-mode-map):
3505 * man.el (Man-mode-map):
3506 * net/newst-plainview.el (newsticker-mode-map):
3507 * progmodes/cpp.el (cpp-edit-mode-map):
3508 * progmodes/grep.el (grep-mode-map):
3509 * progmodes/idlw-help.el (idlwave-help-mode-map):
3510 * simple.el (special-mode-map):
3511 * startup.el (splash-screen-keymap):
3512 * view.el (view-mode-map):
3513 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3514
3515 2013-02-11 Elias Pipping <pipping@lavabit.com>
3516
3517 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
3518 (bug#13679).
3519
3520 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
3521
3522 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
3523
3524 2013-02-11 Glenn Morris <rgm@gnu.org>
3525
3526 * vc/diff.el (diff-use-labels): New variable.
3527 (diff-no-select): Use --label rather than -L, and first
3528 check that it is supported. (Bug#11067)
3529
3530 * files.el (enable-dir-local-variables): New variable.
3531 (hack-dir-local-variables): Respect enable-dir-local-variables.
3532 * tutorial.el (help-with-tutorial):
3533 Ignore directory-local variables. (Bug#11127)
3534
3535 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
3536 (vc-svn-global-switches): ... to here. (Bug#13513)
3537
3538 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
3539
3540 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
3541 Handle "foo (bar, default: xxx): " prompts.
3542
3543 2013-02-10 Chong Yidong <cyd@gnu.org>
3544
3545 * files.el (basic-save-buffer-1): Do not set
3546 buffer-file-coding-system-explicit (Bug#4533).
3547
3548 * mail/emacsbug.el (report-emacs-bug): Change binding of
3549 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
3550
3551 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
3552
3553 * calc/calc.el (calc-allow-units-as-numbers): New variable.
3554 * calc/calc-units.el (calc-convert-units): Use new variable.
3555
3556 2013-02-09 Eli Zaretskii <eliz@gnu.org>
3557
3558 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
3559
3560 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
3561 buffer-file-type.
3562
3563 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
3564 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
3565 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
3566 coding-system-for-write instead.
3567
3568 * jka-compr.el (jka-compr-write-region): Don't bind
3569 buffer-file-type.
3570
3571 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
3572 buffer-file-type.
3573
3574 * files.el (file-name-buffer-file-type-alist): Remove defvar.
3575 (insert-file-contents-literally): Remove reference to
3576 file-name-buffer-file-type-alist.
3577
3578 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
3579 make-obsolete.
3580 (find-buffer-file-type-match, find-buffer-file-type): Remove.
3581 (find-buffer-file-type-coding-system): Remove references to
3582 find-buffer-file-type-match, find-buffer-file-type, and
3583 buffer-file-type.
3584 Don't put find-buffer-file-type-coding-system into
3585 file-coding-system-alist.
3586 (find-file-binary, find-file-text): Bind coding-system-for-read
3587 instead of file-name-buffer-file-type-alist.
3588
3589 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
3590
3591 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
3592 converter (Bug#13622).
3593 (doc-view-unoconv-program): Make obsolete alias.
3594 (doc-view-odf->pdf-converter-program): New variable.
3595 (doc-view-odf->pdf-converter-function): New variable.
3596 (doc-view-mode-p): Use it.
3597 (doc-view-odf->pdf-converter-unoconv):
3598 Rename from `doc-view-odf->pdf-converter-unoconv'.
3599 (doc-view-odf->pdf-converter-soffice): New function.
3600 (doc-view-convert-current-doc):
3601 Use `doc-view-odf->pdf-converter-function'.
3602
3603 2013-02-09 Chong Yidong <cyd@gnu.org>
3604
3605 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
3606 view-echo-area-messages (Bug#13340).
3607
3608 * help.el (view-echo-area-messages): Use display-buffer.
3609
3610 * dired-x.el (dired-do-run-mail): Prompt for confirmation
3611 (Bug#13561).
3612
3613 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
3614
3615 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
3616 Eval body right away, now that we do eager macroexpansion (bug#13605).
3617
3618 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
3619 (fundamental-mode): Use run-mode-hooks.
3620
3621 * eshell/esh-proc.el (eshell/kill): Fix last change.
3622 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
3623
3624 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
3625
3626 * eshell/esh-proc.el (eshell/kill): Rewrite.
3627
3628 * eshell/em-ls.el (show-almost-all): Declare.
3629 (eshell-do-ls): Add support for -A argument.
3630
3631 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
3632
3633 * icomplete.el (icomplete-forward-completions)
3634 (icomplete-backward-completions): Handle corner case (bug#13602).
3635
3636 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
3637
3638 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
3639 be nil. Handle this. (Bug#13636)
3640
3641 2013-02-07 Richard Stallman <rms@gnu.org>
3642
3643 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
3644 `save-buffer-coding-system'.
3645
3646 2013-02-07 Alan Mackenzie <acm@muc.de>
3647
3648 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
3649 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
3650 (c-parse-state-get-strategy): Don't return 'BOD any more.
3651 (c-append-lower-brace-pair-to-state-cache):
3652 Extra parameter HERE instead of narrowing.
3653 Widen to top of buffer before searching backwards for a brace pair.
3654 (c-state-push-any-brace-pair): Add HERE parameter to function call.
3655 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
3656 Narrow to parameter HERE, in place of being called narrowed.
3657 (c-remove-stale-state-cache): Extra parameter HERE in place of
3658 narrowing. Check there's an open brace in the cache before
3659 searching for its match.
3660 (c-invalidate-state-cache-1): Add HERE parameter to function call.
3661 (c-parse-state-1): Don't narrow here for 'forward strategy,
3662 instead passing extra parameter HERE to several functions.
3663 Remove 'BOD strategy.
3664
3665 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
3666
3667 * emacs-lisp/package.el (describe-package-1): Tell what archive is
3668 used to install the package.
3669
3670 2013-02-06 Glenn Morris <rgm@gnu.org>
3671
3672 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
3673 if we can't get user input. (Bug#6567)
3674
3675 * startup.el (command-line): If simple.el is missing,
3676 test and warn about for some possible causes.
3677
3678 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
3679
3680 * cus-start.el (all): Add ns-use-native-fullscreen.
3681
3682 2013-02-05 Glenn Morris <rgm@gnu.org>
3683
3684 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
3685
3686 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3687 Fix directory creation in fallback case.
3688
3689 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3690
3691 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
3692 (vc-update-change-log): Use dolist.
3693
3694 2013-02-04 Chong Yidong <cyd@gnu.org>
3695
3696 * thingatpt.el: Rewrite the URL detection routines, absorbing some
3697 code from ffap.el.
3698 (thing-at-point-beginning-of-url-regexp): New var.
3699 (thing-at-point-uri-schemes): Update list of URI schemes.
3700 (thing-at-point-url-regexp): Variable deleted.
3701 (thing-at-point-markedup-url-regexp): Disallow newlines.
3702 (thing-at-point-newsgroup-regexp)
3703 (thing-at-point-newsgroup-heads)
3704 (thing-at-point-default-mail-uri-scheme): New variables.
3705 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
3706 method to find the possible bounds of the URI at point.
3707 New optional argument to find ill-formed URIs.
3708 (thing-at-point-url-at-point): Rewrite. New arguments for finding
3709 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
3710 the scheme-adding heuristics from ffap-url-at-point.
3711 (thing-at-point--bounds-of-well-formed-url): New function.
3712 Do parens matching to decide whether to include parens in the URI
3713 (Bug#9153).
3714
3715 * ffap.el: Require thingatpt.
3716 (ffap-url-at-point): Delegate URI detection to thing-at-point.
3717 All URI-valid characters are now recognized (Bug#5673).
3718 (ffap-string-at-point): Use use-region-p.
3719 (ffap-url-regexp): Extra character is handled by thing-at-point.
3720 (ffap-string-at-point-mode-alist): Allow parentheses.
3721 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
3722 Convert to aliases; code moved to thingatpt.el.
3723 (ffap-gnus-hook): Use setq-local.
3724
3725 2013-02-04 Glenn Morris <rgm@gnu.org>
3726
3727 * emacs-lisp/ert.el (ert--explain-format-atom):
3728 Don't try to print non-characters as characters. (Bug#13543)
3729
3730 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
3731
3732 * net/tramp.el (tramp-debug-message): Extend function exclude list.
3733 (tramp-backtrace): New defun.
3734 (tramp-handle-insert-file-contents): Use `visit' when inserting
3735 the local copy.
3736
3737 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
3738 Use `remote-file-name-inhibit-cache'.
3739
3740 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
3741
3742 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
3743 (bug#13614).
3744
3745 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
3746 current-load-list (bug#13366).
3747
3748 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
3749
3750 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3751 Identify g++ template instantiation trace. (Bug#12287)
3752 (compilation-mode-hook, compilation-start-hook)
3753 (compilation-window-height): Simplify docstrings. (Bug#13379)
3754
3755 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3756
3757 * mouse.el (mouse-drag-track): Always deactivate the mark before
3758 running the final event's command since that command is in charge of
3759 activating the mark if needed (bug#13523).
3760
3761 2013-02-02 Juri Linkov <juri@jurta.org>
3762
3763 * replace.el (perform-replace): Move let-bindings of isearch-*
3764 variables deeper to the loop that searches for the next match.
3765 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
3766 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
3767 (Bug#13579)
3768
3769 * isearch.el (isearch-search-fun-default): Check for null
3770 first element of isearch-cmds as a precaution when it's used
3771 with inactive isearch.
3772
3773 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
3774
3775 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
3776 error when buffer in question is narrowed so position 1 is out of
3777 visible part.
3778
3779 2013-02-02 Glenn Morris <rgm@gnu.org>
3780
3781 * textmodes/remember.el (remember-clipboard): Doc fix.
3782
3783 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3784
3785 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
3786 properties (bug#13179).
3787
3788 2013-02-02 Juri Linkov <juri@jurta.org>
3789
3790 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
3791 instead of hard-coded default face `match'. (Bug#9438)
3792
3793 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
3794
3795 * vc/vc-arch.el (vc-arch-registered):
3796 * vc/vc-bzr.el (vc-bzr-registered):
3797 * vc/vc-cvs.el (vc-cvs-registered):
3798 * vc/vc-git.el (vc-git-registered):
3799 * vc/vc-hg.el (vc-hg-registered):
3800 * vc/vc-mtn.el (vc-mtn-registered):
3801 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
3802 (Bug#13139)
3803
3804 * info.el (Info-next-reference, Info-prev-reference): Add numeric
3805 prefix argument. (Bug#11656)
3806
3807 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
3808
3809 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
3810
3811 2013-02-01 Glenn Morris <rgm@gnu.org>
3812
3813 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
3814 if the backend is known not to support it.
3815
3816 * imenu.el (imenu-default-create-index-function):
3817 Tweak infinite loop test to check for forward motion as well as none.
3818
3819 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
3820
3821 * net/soap-client.el (soap-invoke): Encode the string for
3822 `url-request-data' as UTF-8.
3823 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
3824
3825 2013-02-01 Glenn Morris <rgm@gnu.org>
3826
3827 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
3828
3829 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
3830
3831 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
3832
3833 * net/tramp.el (tramp-tramp-file-p): Comment check for
3834 `string-as-unibyte'. The function does not exist on XEmacs, and
3835 likely we need another approach.
3836
3837 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
3838 `tramp-gw-*' variables are bound.
3839
3840 2013-01-31 Glenn Morris <rgm@gnu.org>
3841
3842 * files.el (basic-save-buffer-2): Choose coding system for
3843 writing the file before backing it up, to reduce delay between
3844 backing up and writing the new version. (Bug#13522)
3845
3846 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
3847
3848 * simple.el (cycle-spacing): New command.
3849 (just-one-space): Use it.
3850
3851 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
3852
3853 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
3854 (opascal-newline-always-indents): Remove custom.
3855 (opascal-tab, opascal-newline): Remove commands.
3856 (opascal-new-comment-line): Insert "\n" instead of calling newline.
3857 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
3858 (opascal-save-match-data): Remove, use save-match-data instead.
3859 (opascal-save-state): Use with-silent-modifications.
3860
3861 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
3862 (bug#13585).
3863
3864 2013-01-30 Juri Linkov <juri@jurta.org>
3865
3866 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
3867 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
3868 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
3869
3870 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3871
3872 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
3873 column if we're just deleting the backslashes.
3874 (makefile-fill-paragraph): Use eolp.
3875
3876 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3877
3878 * autorevert.el (auto-revert-use-notify): Fix docstring.
3879
3880 2013-01-30 Leo Liu <sdl.web@gmail.com>
3881
3882 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
3883
3884 2013-01-30 Glenn Morris <rgm@gnu.org>
3885
3886 * mouse.el (mouse-drag-line): Avoid pushing same event onto
3887 unread-command-events twice in some cases. This tries to implement
3888 the 2012-07-26 changes in a different way. (Bug#13560)
3889
3890 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3891
3892 * progmodes/python.el
3893 (python-pdbtrack-comint-output-filter-function): Enhancements on
3894 stacktrace detection. (thanks @gnovak)
3895
3896 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3897
3898 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
3899 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
3900 Use defvar-local.
3901 (jit-lock-register): Use setq-local.
3902
3903 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
3904
3905 * calc-units.el (math-default-units-table): Remove initial value.
3906 (calc-convert-units): Treat expressions where all the units cancel as
3907 if they didn't have units.
3908
3909 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3910
3911 * net/tramp.el (tramp-process-connection-type): Fix docstring.
3912 (tramp-completion-reread-directory-timeout): Fix type.
3913 (tramp-connection-min-time-diff): New defcustom.
3914
3915 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3916
3917 2013-01-30 Glenn Morris <rgm@gnu.org>
3918
3919 * imenu.el (imenu-default-create-index-function):
3920 Put back a version of the infinite loop test removed 2013-01-23.
3921
3922 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3923
3924 * progmodes/python.el (python-shell-parse-command):
3925 Find python-shell-interpreter with modified environment.
3926
3927 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3928
3929 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
3930
3931 2013-01-29 Alan Mackenzie <acm@muc.de>
3932
3933 Amend to fontify /regexp/s in actions correctly.
3934 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
3935 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
3936 are no longer included.
3937 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
3938 What used to be these variables without "-line" in the name.
3939 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
3940 (c-awk-non-arith-op-bra-re): Now also matches {.
3941 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
3942 "return", and "case".
3943 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
3944 by /.
3945 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
3946 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
3947
3948 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
3949
3950 * autorevert.el (auto-revert-use-notify):
3951 Use `custom-initialize-default' for initialization. (Bug#13583)
3952
3953 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
3954
3955 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3956 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
3957 in `tramp-file-name-handler'.
3958 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
3959 compatibility.
3960 (tramp-compute-multi-hops): Check, whether
3961 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
3962
3963 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
3964
3965 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
3966 (bug#13297).
3967
3968 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
3969
3970 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
3971 checks made superfluous by the \_< operator.
3972 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
3973 temporarily) broken indentation.
3974 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3975 Highlight nested constants, too. \_< broke that.
3976
3977 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
3978
3979 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
3980 instead of "\\b".
3981
3982 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
3983
3984 * autorevert.el (auto-revert-handler): Notifications which result
3985 from a saved file shall not be taken into account. (Bug#13557)
3986
3987 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
3988
3989 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
3990 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
3991 (lisp-mode): Pass t for it. (Bug#13556)
3992
3993 2013-01-25 Alan Mackenzie <acm@muc.de>
3994
3995 AWK Mode: Fix indentation bug at top level. Bug #12274.
3996
3997 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
3998 just before CASE 5D.
3999
4000 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
4001
4002 * net/socks.el (socks-nslookup-host): Use string-to-number.
4003
4004 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
4005
4006 * autorevert.el (auto-revert-remote-files)
4007 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
4008 (auto-revert-notify-enabled, auto-revert-use-notify)
4009 (auto-revert-notify-watch-descriptor-hash-list)
4010 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
4011 (auto-revert-notify-event-descriptor)
4012 (auto-revert-notify-event-action)
4013 (auto-revert-notify-event-file-name): Doc fix.
4014 (global-auto-revert-mode): Reorder checks.
4015 (auto-revert-notify-rm-watch): Respect changed values of
4016 `auto-revert-notify-watch-descriptor-hash-list'.
4017 (auto-revert-notify-add-watch): Check for
4018 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
4019 `inotify-add-watch'. Watch `default-directory' instead of
4020 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
4021 has a changed meaning now. (Bug#13540)
4022 (auto-revert-notify-handler): Change implementation wrt events
4023 returning from a directory.
4024 (auto-revert-handler): Reorder implementation for checks of remote
4025 files.
4026 (auto-revert-buffers): Fix parentheses error.
4027
4028 2013-01-25 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4029
4030 * progmodes/python.el: Enhancements to header documentation about
4031 skeletons. (Bug#5716)
4032
4033 * imenu.el (imenu-default-create-index-function): Remove useless
4034 infinite loop check. (Bug#13438)
4035
4036 2013-01-25 Alan Mackenzie <acm@muc.de>
4037
4038 Fix a bug in the state cache mechanism. Refactor this a bit.
4039
4040 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
4041 `cache-pos' element from the return value.
4042 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
4043 buffer to enable proper searching from beyond HERE. Amend the
4044 test for detecting the sought brace pair. Amend the value written
4045 to the "brace desert cache" when the brace isn't found.
4046 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
4047 and several other variables analogously.
4048 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
4049 parameter to a locally calculated variable.
4050 (c-parse-state-1): Change the calling conventions to the two
4051 defuns involving `cache-pos'.
4052
4053 2013-01-25 Chong Yidong <cyd@gnu.org>
4054
4055 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
4056
4057 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
4058
4059 * paren.el (show-paren-function): Make sure to set 'priority and
4060 'face only if the overlay does exist.
4061
4062 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
4063
4064 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
4065
4066 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
4067 basic attributes.
4068 (tramp-sh-handle-set-file-acl): Improve error checking.
4069
4070 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
4071
4072 * doc-view.el (doc-view-display): Force mode line update until all
4073 document is converted. Suggested by Stefan Monnier (Bug#13164).
4074
4075 2013-01-23 Bastien Guerry <bzg@gnu.org>
4076
4077 * paren.el (show-paren-function): Make sure an overlay exists
4078 before trying to delete it. Also use `pos' as a position only
4079 when it is an integer.
4080
4081 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
4082
4083 * play/gametree.el (gametree-break-line-here): Use point-marker.
4084
4085 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
4086
4087 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4088 Mark descriptive parts with `display' property.
4089
4090 2013-01-21 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
4091
4092 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
4093 New variable to map standard dict names to hunspell ones.
4094 (ispell-set-spellchecker-params): Make sure specific dict names
4095 are used for standard dicts with hunspell.
4096
4097 2013-01-21 Tassilo Horn <tsdh@gnu.org>
4098
4099 * textmodes/reftex-cite.el (reftex-format-citation): Add format
4100 chars for note (%N) and url (%U).
4101 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
4102
4103 2013-01-21 Juri Linkov <juri@jurta.org>
4104
4105 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
4106 in addition to existing separate binding `meta f10' in `global-map'.
4107 (Bug#13484)
4108
4109 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
4110
4111 Improve XEmacs compatibility.
4112
4113 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
4114
4115 * net/tramp-adb.el (top): Require `time-date'.
4116 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
4117 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
4118 Use `tramp-file-name-handler'.
4119 (tramp-adb-maybe-open-connection):
4120 Use `tramp-compat-set-process-query-on-exit-flag'.
4121
4122 * net/tramp-sh.el (tramp-sh-handle-file-acl):
4123 Use `tramp-compat-funcall'.
4124
4125 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
4126 `tramp-compat-funcall'.
4127
4128 2013-01-21 JĂ¼rgen Hötzel <juergen@archlinux.org>
4129
4130 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
4131 reimplementation using "adb shell command ..." instead of running
4132 remote shell interactively.
4133
4134 2013-01-20 Glenn Morris <rgm@gnu.org>
4135
4136 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
4137 Add native profiler menu entries.
4138
4139 * profiler.el (profiler-running-p): New function.
4140 (profiler-cpu-profile): Use profiler-running-p.
4141 (profiler-report-mode-map): Add some more menu entries.
4142
4143 2013-01-19 Glenn Morris <rgm@gnu.org>
4144
4145 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
4146 fixes 2012-12-07 change. (Bug#13499)
4147
4148 2013-01-19 Leo Liu <sdl.web@gmail.com>
4149
4150 * dired.el (dired-get-marked-files): Prune erroneous values due to
4151 last change. (Bug#13152)
4152
4153 2013-01-19 Glenn Morris <rgm@gnu.org>
4154
4155 * progmodes/etags.el (tags-table-check-computed-list):
4156 Preserve point in tags buffer. (Bug#13412)
4157
4158 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
4159
4160 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
4161 Chong Yidong <cyd@gnu.org>
4162
4163 * image-mode.el (image-next-file, image-previous-file):
4164 New commands (Bug#8453).
4165 (image-mode-map): Bind them to n and p.
4166 (image-mode--images-in-directory): New helper function.
4167
4168 2013-01-19 Chong Yidong <cyd@gnu.org>
4169
4170 * image-mode.el (image-mode-fit-frame): Add a frame argument.
4171 Suggested by Drew Adams (Bug#7730). Handle window decorations;
4172 save and restore the old window configuration.
4173
4174 2013-01-18 Leo Liu <sdl.web@gmail.com>
4175
4176 * progmodes/js.el: Tweak autoload cookie for alias.
4177
4178 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4179
4180 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
4181 buffer local, again. This was lost with the fix on 2013-01-12.
4182
4183 2013-01-17 JĂ¼rgen Hötzel <juergen@archlinux.org>
4184
4185 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
4186 order to support several eshell buffers in parallel.
4187
4188 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4189
4190 * autorevert.el (auto-revert-use-notify): In the :set function, do
4191 not modify `kill-buffer-hook'.
4192 (auto-revert-notify-rm-watch):
4193 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
4194 (auto-revert-notify-add-watch): Do not call
4195 `auto-revert-notify-rm-watch', but add it to a buffer local
4196 `kill-buffer-hook'.
4197
4198 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4199
4200 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
4201 call to `eval' rather than a backquoted lambda.
4202
4203 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
4204
4205 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
4206 to return an explicit nil.
4207 (advice--remove-function): Change accordingly.
4208
4209 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
4210 the use of nadvice.el.
4211
4212 * progmodes/which-func.el (which-function): Silence imenu errors
4213 (bug#13433).
4214
4215 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4216
4217 * progmodes/sql.el (sql-imenu-generic-expression):
4218 (sql-mode-font-lock-object-name): Match schema qualified names.
4219 (sql-connect): Use string keys.
4220 (sql-product-interactive): Wait for interpreter prompt.
4221 (sql-comint-oracle): Set process coding based on NLS_LANG.
4222
4223 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4224
4225 * progmodes/sql.el (sql-output-to-send): Remove, unused.
4226 (sql-interactive-remove-continuation-prompt):
4227 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
4228
4229 2013-01-14 Leo Liu <sdl.web@gmail.com>
4230
4231 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
4232 (Bug#13420)
4233
4234 2013-01-14 Glenn Morris <rgm@gnu.org>
4235
4236 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4237 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
4238
4239 2013-01-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4240
4241 * progmodes/python.el (python-nav-end-of-statement):
4242 Fix cornercase when handling multiline strings.
4243
4244 2013-01-13 Richard Stallman <rms@gnu.org>
4245
4246 * mail/sendmail.el (mail-position-on-field): Add doc string.
4247
4248 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4249 Get current message boundaries and pass them to
4250 message-forward-make-body-mime. Minor style changes.
4251
4252 2013-01-13 Eli Zaretskii <eliz@gnu.org>
4253
4254 * cus-start.el (all): Avoid warnings about
4255 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
4256
4257 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
4258
4259 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
4260
4261 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4262
4263 * jit-lock.el (jit-lock-debug-mode): New minor mode.
4264 (jit-lock--debug-fontifying): New var.
4265 (jit-lock--debug-fontify): New function.
4266 * subr.el (condition-case-unless-debug): Don't prevent catching the
4267 error, just let the debbugger run.
4268 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
4269 timer code and don't drop errors silently.
4270
4271 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
4272
4273 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
4274 `permanent-local' property.
4275 (auto-revert-notify-handler): Use `file-equal-p'.
4276
4277 2013-01-12 Eli Zaretskii <eliz@gnu.org>
4278
4279 * autorevert.el (auto-revert-notify-handler): Fix filtering of
4280 file notification by ACTION. For filtering by file name, compare
4281 only the non-directory part of the file name.
4282
4283 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4284
4285 * autorevert.el: Use cl-lib instead of cl.
4286
4287 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
4288 (vc-bzr-checkin): Use it.
4289 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
4290 will preserve match-data.
4291
4292 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
4293
4294 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
4295 (js--declaration-keyword-re): New var.
4296 (js--multi-line-declaration-indentation): New function.
4297 (js--proper-indentation): Use it.
4298
4299 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
4300
4301 * calc/calc.el (calc-highlight-selections-with-faces)
4302 (calc-dispatch):
4303 * comint.el (comint-history-isearch-message):
4304 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
4305 * ffap.el (ffap-string-at-point-region, ffap-next)
4306 (ffap-string-at-point, ffap-string-around)
4307 (ffap-copy-string-as-kill, ffap-highlight-overlay)
4308 (ffap-literally):
4309 * font-lock.el (font-lock-keywords-alist)
4310 (font-lock-removed-keywords-alist):
4311 * help-mode.el (help-xref-symbol-regexp):
4312 * info.el (Info-find-emacs-command-nodes):
4313 * international/mule.el (add-to-coding-system-list):
4314 * isearch.el (isearch-message-function, isearch-fail-pos):
4315 * misearch.el (multi-isearch-next-buffer-function):
4316 * newcomment.el (comment-box):
4317 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
4318 (pr-setting-database):
4319 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
4320 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
4321 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
4322 (pike-font-lock-keywords-3):
4323 * progmodes/compile.el (compile):
4324 * progmodes/etags.el (tags-table-files)
4325 (tags-table-files-function, tags-included-tables-function):
4326 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
4327 (gdb-restore-windows):
4328 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
4329 (ps-n-up-filling-database):
4330 * server.el (server-buffer, server-log):
4331 * simple.el (newline, delete-backward-char, delete-forward-char)
4332 (minibuffer-history-isearch-message, kill-line, track-eol)
4333 (temporary-goal-column):
4334 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
4335 (flyspell-default-deplacement-commands):
4336 * textmodes/ispell.el (ispell-accept-output):
4337 * textmodes/sgml-mode.el (html-tag-help):
4338 * vc/compare-w.el (compare-ignore-whitespace)
4339 (compare-ignore-case, compare-windows-dehighlight):
4340 * vc/diff.el (diff):
4341 * whitespace.el (whitespace-point)
4342 (whitespace-font-lock-refontify, whitespace-bob-marker)
4343 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
4344
4345 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
4346
4347 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
4348 (auto-revert-notify-rm-watch): Ignore errors.
4349 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
4350 inotify, and '(size last-write-time) for w32notify.
4351 Set buffer-local `auto-revert-use-notify' to nil when adding a file
4352 watch fails - this is a fallback to the file modification check.
4353 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
4354 (auto-revert-notify-event-action)
4355 (auto-revert-notify-event-file-name): New defuns.
4356 (auto-revert-notify-handler): Use them. Implement first
4357 plausibility checks.
4358 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
4359
4360 2013-01-11 Julien Danjou <julien@danjou.info>
4361
4362 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
4363 max are almost equal. Also return the correct value for V which is
4364 already between 0 and 1.
4365
4366 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
4367
4368 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
4369
4370 2013-01-11 Eli Zaretskii <eliz@gnu.org>
4371
4372 * autorevert.el (auto-revert-notify-rm-watch)
4373 (auto-revert-notify-add-watch): Fix typos in w32notify function
4374 names.
4375
4376 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4377
4378 * autorevert.el (auto-revert-notify-enabled): Move up.
4379 (auto-revert-use-notify): New defcustom.
4380 (auto-revert-mode, global-auto-revert-mode)
4381 (auto-revert-notify-add-watch, auto-revert-handler)
4382 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
4383 `auto-revert-notify-enabled'.
4384
4385 2013-01-10 Elias Pipping <pipping@exherbo.org>
4386
4387 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
4388 * doc-view.el (doc-view-document->bitmap):
4389 Use doc-view-single-page-converter-function instead of
4390 single-page-converter arg; adjust callers.
4391
4392 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
4393
4394 * progmodes/which-func.el (which-function): Understand Semantic's use
4395 of overlays in imenu--index-alist.
4396
4397 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
4398
4399 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
4400 (Man-man-k-use-anchor): New var.
4401 (Man-parse-man-k): New function.
4402 (Man-completion-table): Use it.
4403 (man): Flush the completion cache between uses.
4404
4405 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4406
4407 * autorevert.el: Add file watch support.
4408 (auto-revert-notify-enabled): New defconst.
4409 (auto-revert-notify-watch-descriptor-hash-list)
4410 (auto-revert-notify-watch-descriptor)
4411 (auto-revert-notify-modified-p): New defvars.
4412 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4413 (auto-revert-notify-handler): New defuns.
4414 (auto-revert-mode, global-auto-revert-mode): Remove file watches
4415 when mode is disabled.
4416 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
4417 (auto-revert-buffers): Add file watches for active buffers.
4418
4419 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
4420
4421 * cus-start.el (toplevel): Only allow float values for
4422 scroll-up-aggressively and scroll-down-aggressively.
4423 Allow any number for line-spacing.
4424
4425 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4426
4427 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
4428 (doc-view-pdf->png-converter-function): Use mupdf if available.
4429 (doc-view-djvu->png-converter-function)
4430 (doc-view-ps->png-converter-function): Remove.
4431 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
4432 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
4433 (doc-view-already-converted-p): Adjust accordingly.
4434 (doc-view-mode-p): Simplify.
4435 (doc-view-enlarge): Use setq-local.
4436 (doc-view-pdf->png-converter-ghostscript)
4437 (doc-view-djvu->png-converter-ddjvu)
4438 (doc-view-pdf->png-converter-mupdf): Rework to call
4439 doc-view-start-process directly.
4440 (doc-view-pdf/ps->png): Simplify accordingly.
4441 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
4442 (doc-view-document->bitmap): Rename from doc-view-document->png.
4443 (doc-view-convert-current-doc): Merge pdf and djvu cases.
4444 (doc-view-set-slice-from-bounding-box): Fix completion table.
4445 (doc-view-mode): Use add-hook for after-revert-hook.
4446
4447 2013-01-10 Glenn Morris <rgm@gnu.org>
4448
4449 * emacs-lisp/authors.el (authors-ignored-files)
4450 (authors-valid-file-names, authors-renamed-files-alist):
4451 Add some more entries.
4452
4453 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4454
4455 * image-mode.el (image-mode-winprops): Don't throw away the fallback
4456 `t' pseudo-window entry.
4457
4458 2013-01-10 Alan Mackenzie <acm@muc.de>
4459
4460 Fix bugs in the c-parse-state mechanism. Reuse some markers
4461 instead of continually generating new ones.
4462
4463 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
4464 (c-state-old-cpp-end-marker): New variables.
4465 (c-append-lower-brace-pair-to-state-cache): Start a backward
4466 search for "}" definitively outside CPP constructs.
4467 (c-remove-stale-state-cache): Inform the caller of a need to
4468 search back for a brace pair in certain circumstances.
4469 (c-state-maybe-marker): New macro.
4470 (c-parse-state): Reuse markers when appropriate.
4471
4472 2013-01-10 Glenn Morris <rgm@gnu.org>
4473
4474 * simple.el (execute-extended-command): Doc fix.
4475 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
4476
4477 2013-01-10 Chong Yidong <cyd@gnu.org>
4478
4479 * faces.el (read-face-name): Doc fix.
4480
4481 2013-01-10 Roland Winkler <winkler@gnu.org>
4482
4483 * emacs-lisp/crm.el: Allow any regexp for separators.
4484 (crm-default-separator): All spaces around the default comma separator.
4485 (crm--completion-command): New macro.
4486 (crm-completion-help, crm-complete, crm-complete-word): Use it.
4487 (crm-complete-and-exit): Handle non-single-char separators.
4488
4489 2013-01-09 Elias Pipping <pipping@lavabit.com>
4490
4491 * doc-view.el: Add support for DjVu (bug#13164).
4492 (doc-view-djvu->png-converter-function): New config var.
4493 (doc-view-single-page-converter-function, doc-view--image-type)
4494 (doc-view--image-file-extension): New vars.
4495 (doc-view-mode): Initialize them.
4496 (doc-view-goto-page): Use them.
4497 (doc-view-mode-p): Add support for ddjvu.
4498 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
4499 (doc-view-set-up-single-converter): New funs.
4500 (doc-view-pdf/ps->png): Extend for djvu.
4501 (doc-view-document->png): Rename from doc-view-pdf->png.
4502 (doc-view-convert-current-doc): Handle djvu.
4503 (doc-view-insert-image, doc-view-display)
4504 (doc-view-already-converted-p): Don't hardcode png.
4505 (doc-view-set-doc-type): Recognize djvu docs.
4506
4507 2013-01-09 Elias Pipping <pipping@lavabit.com>
4508
4509 * doc-view.el: Add support for mupdf converter (bug#13164).
4510 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
4511 (doc-view-ps->png-converter-function): New config vars.
4512 (doc-view-pdf->png-converter-ghostscript)
4513 (doc-view-ps->png-converter-ghostscript)
4514 (doc-view-pdf->png-converter-mupdf): New functions.
4515 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
4516
4517 2013-01-09 JĂ¼rgen Hötzel <juergen@archlinux.org>
4518
4519 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
4520 first in session cache: When `tramp-own-remote-path' is in
4521 `tramp-remote-path', the remote path is only set in the session
4522 cache.
4523
4524 2013-01-09 Glenn Morris <rgm@gnu.org>
4525
4526 * emacs-lisp/trace.el (trace-function-foreground)
4527 (trace-function-background): Doc fix.
4528
4529 2013-01-09 Juri Linkov <juri@jurta.org>
4530
4531 * international/mule-cmds.el (read-char-by-name): Move let-binding
4532 of completion-ignore-case around completing-read to fix regression
4533 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
4534 `string-match-p' using the nil value of `case-fold-search' and
4535 `completion-ignore-case' in `completion-pcm--all-completions'.
4536 (Bug#12615).
4537
4538 2013-01-09 Glenn Morris <rgm@gnu.org>
4539
4540 * progmodes/compile.el (compilation-parse-errors):
4541 Fix typo. (Bug#13369)
4542
4543 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4544
4545 * comint.el (comint-send-input): Check size of buffer before
4546 waiting for process output, in case already accepted. (Bug#13290)
4547
4548 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
4549
4550 Spelling fixes.
4551 * net/tramp-adb.el (tramp-adb-get-toolbox):
4552 Fix misspelling of 'unknown'.
4553
4554 2013-01-08 Juri Linkov <juri@jurta.org>
4555
4556 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4557 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4558 Use underline style wave on terminals that support it. (Bug#13000)
4559
4560 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4561
4562 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
4563 the predicate returns nil.
4564
4565 * simple.el: Use lexical-binding.
4566 (primitive-undo): Use pcase.
4567 (minibuffer-history-isearch-push-state): Use a closure.
4568
4569 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4570
4571 * simple.el (primitive-undo): Move from undo.c.
4572
4573 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4574
4575 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
4576 (cvs-mode-remove-handled): Use it (bug#13380).
4577
4578 * emacs-lisp/nadvice.el (advice--tweak): New function.
4579 (advice--remove-function, advice--subst-main): Use it.
4580
4581 * emacs-lisp/advice.el: Update commentary.
4582
4583 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
4584
4585 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4586 Remove spurious entry.
4587
4588 2013-01-08 Glenn Morris <rgm@gnu.org>
4589
4590 * net/tramp.el (tramp-default-host-alist): Add :version.
4591
4592 2013-01-08 Juri Linkov <juri@jurta.org>
4593
4594 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
4595 single completion. (Bug#12456)
4596 (info--manual-names): Expand node completions into an explicit list
4597 before appending it to another list. Filter out internal buffers
4598 with the leading space in the buffer name. (Bug#10771)
4599
4600 2013-01-08 Juri Linkov <juri@jurta.org>
4601
4602 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
4603 that defaults to the Top node.
4604 (Info-goto-node, Info-read-node-name): Doc fix to mention that
4605 the short format (FILENAME) goes to the Top node.
4606 (Info-build-node-completions): Rename arg `file' to `filename'.
4607 (Bug#13365)
4608
4609 2013-01-07 Bastien Guerry <bzg@gnu.org>
4610
4611 * menu-bar.el (menu-bar-search-documentation-menu):
4612 Use `apropos-user-option' and fix the help message.
4613
4614 2013-01-07 Bastien Guerry <bzg@gnu.org>
4615
4616 * apropos.el (apropos-do-all): Update docstring.
4617 (apropos-user-option-button): New face.
4618 (apropos-user-option): Rename from `apropos-variable' and update
4619 docstring.
4620 (apropos-variable): Rewrite, now show all variables by default.
4621 (apropos-print): Mention "User option" instead of "Variable" when
4622 printing doc for user options. (Bug#13276)
4623
4624 2013-01-07 JĂ¼rgen Hötzel <juergen@archlinux.org>
4625
4626 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4627 Handle filename correctly, when parsing "source -> target" symlink
4628 output.
4629 (tramp-adb-handle-set-file-times): New defun.
4630
4631 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
4632
4633 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
4634 advice list when the interactive-spec of ad-Advice-* changes.
4635
4636 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
4637
4638 * wid-edit.el (widget-default-get): Work for inlined elements.
4639 (Bug#12670)
4640
4641 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
4642
4643 * net/tramp.el (tramp-default-host-alist): New defcustom.
4644 (tramp-find-host): Use it.
4645 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
4646 `eshell-directory-change-hook'.
4647
4648 * net/tramp-adb.el (top): Add adb specific entry in
4649 `tramp-default-host-alist'.
4650 (tramp-adb-file-name-host): Remove function.
4651 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4652 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
4653
4654 * net/tramp-sh.el: Move eshell integration code to tramp.el.
4655
4656 2013-01-06 JĂ¼rgen Hötzel <juergen@archlinux.org>
4657
4658 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
4659
4660 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
4661
4662 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
4663 consist of more than one digit.
4664 (tramp-adb-file-name-handler-alist):
4665 Use `tramp-handle-file-exists-p' consistently.
4666 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
4667 (tramp-adb-handle-file-exists-p): Remove function.
4668 (tramp-adb-file-name-host): New defun.
4669 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4670 Use it.
4671 (tramp-adb-maybe-open-connection): Set "remote-path" property.
4672
4673 2013-01-06 Chong Yidong <cyd@gnu.org>
4674
4675 * vc/vc.el (vc-next-action): Detect buffer modifications
4676 conflicting with locking VCS operation (Bug#11490).
4677
4678 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
4679
4680 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
4681
4682 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4683 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
4684
4685 2013-01-05 JĂ¼rgen Hötzel <juergen@archlinux.org>
4686
4687 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
4688 parsing of ls output using regular expression (handle filenames
4689 with spaces). Use virtual device number.
4690 (tramp-do-parse-file-attributes-with-ls): New defun (Code
4691 cleanup).
4692
4693 2013-01-04 Daiki Ueno <ueno@gnu.org>
4694
4695 * epg.el: Silence byte-compiler warnings.
4696 (epg--start): Use delete-char instead of delete-backward-char.
4697 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
4698
4699 2013-01-04 Daiki Ueno <ueno@gnu.org>
4700
4701 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
4702 Suggested by Eli Zaretskii <eliz@gnu.org>.
4703
4704 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
4705
4706 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
4707 non-negative integers. Otherwise, the default values are used.
4708 (tramp-convert-file-attributes): Convert uid and gid to integers.
4709
4710 2013-01-04 Glenn Morris <rgm@gnu.org>
4711
4712 * term.el (term-handle-colors-array): Ensure face attributes
4713 are fully specified, not nil. (Bug#13337)
4714
4715 * term.el (term-default-fg-color, term-default-bg-color):
4716 Fix custom type.
4717
4718 * progmodes/etags.el (tags-compression-info-list): Doc fix.
4719 (tag-find-file-of-tag-noselect): Check auto-compression-mode
4720 rather than 'jka-compr being loaded. (Bug#13338)
4721
4722 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
4723
4724 * icomplete.el (icomplete-completions):
4725 Honor icomplete-prospects-height once more following
4726 2012-11-29 changes. (Bug#13224)
4727
4728 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
4729
4730 * subr.el (internal--called-interactively-p--get-frame): Find aliases
4731 of called-interactively-p as well (bug#13237).
4732
4733 * view.el (view--enable, view--disable): Rename from view-mode-enable
4734 and view-mode-disable and assume it's called from view-mode.
4735 (view-mode-enable, view-mode-disable): Redefine as obsolete
4736 compatibility layer above view-mode.
4737 (view-mode-enter): Call `view-mode'.
4738
4739 * files.el (after-find-file): Call `view-mode'.
4740
4741 * doc-view.el (doc-view-scale-internally): New var.
4742 (doc-view-enlarge, doc-view-insert-image): Obey it.
4743
4744 2013-01-03 Daiki Ueno <ueno@gnu.org>
4745
4746 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
4747 exist. (Bug#13344)
4748
4749 2013-01-03 Glenn Morris <rgm@gnu.org>
4750
4751 * mail/rmail.el (rmail-set-header-1): Ignore case.
4752 Handle multi-line headers. (Bug#13330)
4753
4754 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
4755 Handle paragraph starting at beginning of buffer.
4756
4757 * subr.el (eval-after-load): Don't purecopy the form, so that it
4758 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
4759
4760 * emacs-lisp/byte-run.el (defun): Place cl declarations
4761 after any interactive spec. (Bug#13265)
4762
4763 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4764
4765 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
4766 defun. Don't check for DECL if DOCSTRING isn't a string.
4767 (defun): Likewise.
4768
4769 2013-01-02 Glenn Morris <rgm@gnu.org>
4770
4771 * eshell/em-cmpl.el (eshell-pcomplete):
4772 More thoroughly imitate pcomplete. (Bug#13293)
4773
4774 * files.el (parse-colon-path): Doc fix. (Bug#12351)
4775 Return nil for empty path elements. (Bug#13296)
4776
4777 2013-01-02 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4778
4779 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
4780 order to improve efficiency (Based on Daniel Colascione's
4781 <dancol@dancol.org> patch). (Bug#13182)
4782
4783 2013-01-02 Glenn Morris <rgm@gnu.org>
4784
4785 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
4786
4787 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4788
4789 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
4790 neither DOCSTRING nor DECL was given. (Bug#13316)
4791
4792 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
4793
4794 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
4795 `error' call.
4796 (tramp-do-copy-or-rename-file): Ignore errors when calling
4797 `set-file-extended-attributes'.
4798
4799 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4800 Add handler for `file-acl'.
4801 (tramp-smb-handle-file-acl): New defun.
4802
4803 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
4804
4805 * calc/README: Mention ISO 8601 week-numbering dates.
4806
4807 2013-01-01 Martin Rudalics <rudalics@gmx.at>
4808
4809 * view.el (view-mode-enable): New argument run-view-mode-hook.
4810 Run view-mode-hook only when it's non-nil (Bug#13315).
4811 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
4812 argument t.
4813
4814 2012-12-31 JĂ¼rgen Hötzel <juergen@archlinux.org>
4815
4816 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
4817 (No device connected, invalid device name). (Bug #13299)
4818
4819 2012-12-31 Martin Rudalics <rudalics@gmx.at>
4820
4821 * window.el (window-resizable--p): Rename to window-resizable-p.
4822 (window-resize-no-error): New function.
4823
4824 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
4825 broken in fix from 2012-12-28.
4826
4827 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
4828
4829 * subr.el (special-form-p): Don't signal errors on undef aliases.
4830
4831 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
4832
4833 * calc/calc-forms.el (math-parse-date): Try using
4834 `math-parse-iso-date' when it looks like it might be needed.
4835 Allow times of 24:00.
4836 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
4837 of 24:00.
4838
4839 2012-12-30 Glenn Morris <rgm@gnu.org>
4840
4841 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
4842 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
4843 (rmail-summary-displayed, rmail-summary): Declare.
4844 (mairix-rmail-display): Just require rmail.
4845
4846 2012-12-30 Chong Yidong <cyd@gnu.org>
4847
4848 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
4849 check for the tarball contents.
4850
4851 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
4852
4853 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
4854 tarfile content listings (Bug#13136).
4855
4856 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
4857
4858 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4859 Insert the undecoded text of the message being forwarded. (Bug#9521)
4860
4861 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
4862
4863 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
4864 integers, if they are real numbers. (Bug#13282)
4865
4866 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
4867 Return `t' on success.
4868
4869 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4870 Add handler for `set-file-selinux-context'.
4871
4872 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
4873
4874 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
4875 (tramp-sh-handle-set-file-acl): Return `t' on success.
4876
4877 2012-12-29 Eli Zaretskii <eliz@gnu.org>
4878
4879 * files.el (backup-buffer-copy, basic-save-buffer-2):
4880 If set-file-extended-attributes fails, fall back on set-file-modes
4881 instead of signaling an error. (Bug#13298)
4882 (basic-save-buffer): Likewise.
4883
4884 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4885
4886 * progmodes/python.el: Support other commands triggering
4887 python-indent-line so indentation cycling continues to work.
4888 (python-indent-trigger-commands): New defcustom.
4889 (python-indent-line): Use it.
4890
4891 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4892
4893 * progmodes/python.el (python-shell-send-region): Add blank lines
4894 for non sent code so backtraces remain correct.
4895
4896 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4897
4898 * progmodes/python.el: Remove cl dependency.
4899 (python-syntax-count-quotes): Replace incf call.
4900 (python-fill-string): Replace setf call.
4901
4902 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
4903
4904 * info.el (info-other-window): New arg, for consistency with info.
4905
4906 2012-12-28 Martin Rudalics <rudalics@gmx.at>
4907
4908 * mail/rmail.el (rmail-maybe-display-summary):
4909 Rewrite (Bug#13066).
4910
4911 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
4912
4913 * epg.el (epg--start): Modify process-environment locally.
4914
4915 2012-12-28 Daiki Ueno <ueno@gnu.org>
4916
4917 * epg.el: Support pinentry-curses.
4918 Suggested by Werner Koch in
4919 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
4920 (epg-agent-file, epg-agent-mtime): New variable.
4921 (epg--start): Record the modified time of gpg-agent socket file,
4922 to restore Emacs frame after pinentry-curses termination.
4923 (epg-wait-for-completion): Restore Emacs frame here.
4924
4925 2012-12-27 Juri Linkov <juri@jurta.org>
4926
4927 * info.el (Info-file-completions): New variable.
4928 (Info-read-node-name-1): Complete node names in the Info file
4929 when a file name is given. Call `Info-build-node-completions'
4930 with a file name.
4931 (Info-build-node-completions): Add new arg `file'. When it is
4932 non-nil, visit it in a temporary buffer and cache its completions in
4933 `Info-current-file-completions'. Move most of the function body to
4934 `Info-build-node-completions-1'.
4935 (Info-build-node-completions-1): New function with the body from
4936 `Info-build-node-completions'. (Bug#12456)
4937
4938 2012-12-27 Juri Linkov <juri@jurta.org>
4939
4940 * frame.el (frame-maximization-style): Remove user option.
4941 (cycle-frame-maximized): Remove function.
4942 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
4943 (toggle-frame-fullscreen): New command bound to <f11> instead of
4944 `toggle-frame-maximized'.
4945 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
4946
4947 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
4948
4949 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
4950
4951 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4952 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4953 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4954 for `file-accessible-directory-p'. (Bug#13275)
4955
4956 2012-12-27 Sam Steingold <sds@gnu.org>
4957
4958 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
4959 continuations, see <http://stackoverflow.com/questions/3582436>.
4960
4961 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
4962
4963 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
4964 "module" and "def" to have indentation before them.
4965 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
4966
4967 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
4968
4969 2012-12-27 Alan Mackenzie <acm@muc.de>
4970
4971 Speed up fontification where there's large brace blocks.
4972 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
4973 to a call of c-beginning-of-decl-1.
4974
4975 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4976
4977 * comint.el (comint-adjust-window-point): New function.
4978 (comint-postoutput-scroll-to-bottom):
4979 Call comint-adjust-window-point (Bug#13248).
4980
4981 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
4982
4983 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
4984 Rakefile regexp.
4985 (auto-mode-alist): Associate .gemspec files with ruby-mode
4986 (https://bugs.ruby-lang.org/issues/5453).
4987
4988 2012-12-26 JĂ¼rgen Hötzel <juergen@archlinux.org>
4989
4990 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
4991 Suppress coloring, if possible (required for BusyBox based systems like
4992 CyanogenMod).
4993 (tramp-adb-handle-file-attributes)
4994 (tramp-adb-handle-insert-directory)
4995 (tramp-adb-handle-file-name-all-completions): Use it.
4996 (tramp-adb-get-toolbox): New defun. Check for remote shell
4997 implementation (BusyBox or Toolbox).
4998
4999 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
5000
5001 * startup.el (initial-buffer-choice): Allow function as value
5002 (Bug#13251).
5003 (command-line-1): Handle case where initial-buffer-choice
5004 specifies a function.
5005 * server.el (server-execute): Handle case where
5006 initial-buffer-choice specifies a function.
5007
5008 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5009
5010 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
5011 its own function.
5012 (smtpmail-try-auth-methods): Forget the user name/password if the
5013 login is unsuccessful (bug#12424).
5014
5015 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
5016
5017 * notifications.el (notifications-notify): Protect body with
5018 `with-demoted-errors'.
5019
5020 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5021 Check properties of remote device. Restart connection, if there is a
5022 change.
5023
5024 2012-12-21 Chong Yidong <cyd@gnu.org>
5025
5026 * sort.el (sort-subr): Doc fix (Bug#13056).
5027
5028 2012-12-21 Bastien Guerry <bzg@gnu.org>
5029
5030 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
5031
5032 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
5033
5034 * simple.el (process-file): Overwrite stderr file, if exists.
5035
5036 2012-12-21 Daiki Ueno <ueno@gnu.org>
5037
5038 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
5039 (epg-error): Set `error-message' property.
5040
5041 2012-12-21 Chong Yidong <cyd@gnu.org>
5042
5043 * international/mule-cmds.el (read-char-by-name): Signal an error
5044 if the user does not supply a valid character (Bug#13177).
5045
5046 * simple.el (transpose-subr-1): Preserve marker positions by
5047 changing the insertion sequence (Bug#13122).
5048
5049 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5050
5051 * simple.el (kill-region): Deactivate mark even for empty regions
5052 (Bug#13169).
5053
5054 2012-12-21 Chong Yidong <cyd@gnu.org>
5055
5056 * help-fns.el (describe-variable): Make sure we get the right
5057 buffer name (Bug#13105). Suggested by Kelly Dean.
5058
5059 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
5060
5061 * comint.el (comint-redirect-previous-input-string): New variable.
5062 (comint-redirect-setup, comint-redirect-cleanup)
5063 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
5064 (comint-redirect-preoutput-filter): Fix verbose message.
5065
5066 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
5067
5068 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
5069 is too long for Tramp. See discussion in
5070 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
5071
5072 * progmodes/compile.el (compilation-start): Remove line escape
5073 template.
5074
5075 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
5076
5077 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
5078 Adjust comment.
5079
5080 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
5081
5082 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
5083 following non-comment text (bug#13207).
5084 (lm-header-multiline): Continuation lines need to be indented more than
5085 the first line.
5086 (lm-homepage): New function.
5087 (lm-with-file): Don't be confused if narrowing is in effect.
5088
5089 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5090
5091 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
5092 very beginning of a hunk (e.g. killing the first line).
5093
5094 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
5095
5096 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
5097 and text properties from returned ACL string.
5098 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
5099 for "setfacl" command.
5100
5101 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
5102
5103 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
5104 `tramp-cleanup-this-connection', when the process has died.
5105 (Bug#13151)
5106
5107 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5108
5109 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
5110
5111 2012-12-17 Kevin Ryde <user42@zip.com.au>
5112
5113 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
5114
5115 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
5116
5117 Add support for preserving ACL entries of files.
5118
5119 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
5120 `set-file-acl' handlers.
5121
5122 * net/tramp-adb.el (tramp-adb-handle-copy-file):
5123 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5124
5125 * net/tramp-compat.el (tramp-compat-copy-file):
5126 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5127
5128 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5129 Add `file-acl' and `set-file-acl' handlers.
5130 (tramp-gvfs-handle-copy-file):
5131 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5132 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
5133 New defuns.
5134
5135 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5136 Add `file-acl' and `set-file-acl' handlers.
5137 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
5138 (tramp-sh-handle-set-file-acl): New defuns.
5139 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
5140 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5141
5142 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5143 Add `file-acl' and `set-file-acl' handlers.
5144 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
5145
5146 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5147
5148 * help-macro.el (make-help-screen): Instead of switch-to-buffer
5149 use pop-to-buffer with NORECORD argument t. As buffer name, use
5150 *Metahelp* with a leading space (Bug#13190).
5151
5152 2012-12-16 Romain Francoise <romain@orebokech.com>
5153
5154 * files.el (file-extended-attributes)
5155 (set-file-extended-attributes): New functions.
5156 (backup-buffer): Use them to handle both SELinux context and ACL
5157 entries.
5158 (backup-buffer-copy): Work with an alist of extended attributes,
5159 rather than an SELinux context.
5160 (basic-save-buffer-2): Ditto.
5161
5162 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
5163
5164 * battery.el (battery-bsd-apm): New function.
5165
5166 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
5167
5168 * calc/calc.el (calc-standard-date-formats): Adjust one of the
5169 standard date formats.
5170
5171 2012-12-15 Juri Linkov <juri@jurta.org>
5172
5173 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
5174 `isearch-insert-char-by-name'.
5175 (with-isearch-suspended): New defmacro with body mostly from
5176 `isearch-edit-string' except the part that sets
5177 `isearch-new-string' and `isearch-new-message'.
5178 (isearch-edit-string): Use new macro `with-isearch-suspended' with
5179 body that sets `isearch-new-string' and `isearch-new-message'.
5180 (isearch-insert-char-by-name): New command.
5181 * international/mule-cmds.el (read-char-by-name): Let-bind
5182 `enable-recursive-minibuffers' to t.
5183 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
5184
5185 2012-12-15 Juri Linkov <juri@jurta.org>
5186
5187 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
5188 (Bug#13175)
5189
5190 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
5191
5192 * dired-x.el (dired-guess-shell-command): Put colon at the end of
5193 the prompt. (Bug#13045)
5194
5195 2012-12-14 Glenn Morris <rgm@gnu.org>
5196
5197 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
5198 Try to include filename in non-bytecomp warning. (Bug#13132)
5199
5200 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
5201
5202 Fix permissions bugs with setgid directories etc. (Bug#13125)
5203 * files.el (backup-buffer): Don't rely on 9th output of
5204 file-attributes, as it's now a placeholder. Instead, use the new
5205 optional arg of file-ownership-preserved-p.
5206 (file-ownership-preserved-p): New optional arg GROUP.
5207 Fix mishandling of setuid directories that would cause this
5208 function to return t when it should have returned nil.
5209 Document what happens if the file does not exist, and when
5210 it's not known whether the ownership will be preserved.
5211 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
5212 Likewise.
5213 (tramp-get-local-gid): Use group-gid for integer, as that's
5214 faster and more reliable.
5215
5216 2012-12-14 Julien Danjou <julien@danjou.info>
5217
5218 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
5219 Update keywords list, data type and PL/pgSQL.
5220
5221 2012-12-14 Dave Abrahams <dave@boostpro.com>
5222
5223 * vc/ediff-util.el (ediff-buffer-type): New function.
5224 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
5225 rather than taking it as as argument.
5226 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
5227
5228 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
5229
5230 * json.el: Add pretty-print option (bug#12634).
5231 (json-encoding-separator, json-encoding-default-indentation)
5232 (json--encoding-current-indentation, json-encoding-pretty-print)
5233 (json-encoding-lisp-style-closings): New vars.
5234 (json--with-indentation): New macro.
5235 (json-encode-hash-table, json-encode-alist, json-encode-plist)
5236 (json-encode-array): Use it to obey json-encoding-pretty-print.
5237 (json-pretty-print-buffer, json-pretty-print): New commands.
5238
5239 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
5240
5241 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5242 Extract `ruby-syntax-propertize-expansions'.
5243 (ruby-syntax-propertize-expansions): Only change syntax on
5244 certain string delimiters, to punctuation. This way the common
5245 functions like forward-word and thing-at-point still work.
5246 (ruby-match-expression-expansion): Improve readability.
5247 (ruby-block-contains-point): New function.
5248 (ruby-add-log-current-method): Handle several edge cases.
5249
5250 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5251
5252 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
5253 unload-feature finishes even when aborting an ongoing edebug session.
5254 Also, do not worry about edebug-mode, unload-feature takes care of it.
5255
5256 2012-12-13 Andreas Schwab <schwab@suse.de>
5257
5258 * net/tls.el (tls-program): Update customize type.
5259
5260 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5261
5262 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
5263 (edebug-setup-hook, cl-read-load-hooks): Use it.
5264 (edebug-unload-function): New function. (Bug#13163)
5265
5266 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
5267
5268 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
5269 Otherwise, there could be errors in autoloading. (Bug#13151)
5270
5271 2012-12-13 JĂ¼rgen Hötzel <juergen@archlinux.org>
5272
5273 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
5274 sequences.
5275
5276 2012-12-13 Alan Mackenzie <acm@muc.de>
5277
5278 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
5279 * progmodes/cc-engine.el (c-backward-comments): Add code to work
5280 around `forward-comment' not recognizing ^M as whitespace.
5281
5282 2012-12-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5283
5284 * progmodes/python.el (python-skeleton-class)
5285 (python-skeleton-def): Do not add space after defun name.
5286
5287 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5288
5289 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
5290 (cl--symbol-function): Remove (now that funbound is like nil).
5291
5292 2012-12-12 Glenn Morris <rgm@gnu.org>
5293
5294 * button.el (button--area-button-p): Fix typo.
5295
5296 2012-12-12 Sam Steingold <sds@gnu.org>
5297
5298 * frame.el (frame-maximization-style): New user option.
5299 (toggle-frame-maximized): Toggle frame maximization according to
5300 `frame-maximization-style', bound to <f11>.
5301 (cycle-frame-maximized): Cycle between all maximization styles and
5302 non-maximized frame, bound to shift-<f11>.
5303
5304 2012-12-12 David Cadé <codename68@gmail.com>
5305
5306 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
5307
5308 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
5309
5310 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
5311 (eieio-override-prin1): Don't quote kewords and booleans.
5312 (object-write) <eieio-default-superclass>: Don't put closing parens
5313 on new line, avoid needless empty lines, align values that are objects
5314 with the slot keyword (instead of beginning on the same line).
5315 (eieio-list-prin1): Align value with slot keyword; increase
5316 eieio-print-depth before printing members of the list.
5317
5318 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5319
5320 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
5321 a display text-property.
5322 (report-emacs-bug-hook): Don't bother deleting it any more.
5323
5324 * hilit-chg.el (highlight-save-buffer-state): Delete.
5325 Use with-silent-modifications instead.
5326 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
5327
5328 * button.el: Handle buttons in display text-properties.
5329 (button--area-button-p, button--area-button-string):
5330 Use (STRING . STRING-POS) representation instead of just STRING.
5331
5332 2012-12-11 Eli Zaretskii <eliz@gnu.org>
5333
5334 * makefile.w32-in (compile4-SH): Fix a typo that caused term
5335 subdirectory be skipped.
5336
5337 2012-12-11 Glenn Morris <rgm@gnu.org>
5338
5339 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
5340
5341 * progmodes/f90.el (f90-line-continued, f90-indent-region):
5342 Treat preprocessor lines embedded in continuations like comments.
5343 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
5344
5345 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
5346
5347 * calc/calc.el (calc-standard-date-formats): Add more date
5348 formats.
5349 * calc/calc-forms.el (math-parse-iso-date): New function.
5350 (math-parse-date): Use `math-parse-iso-date' when appropriate.
5351 (math-parse-iso-date-validate): Add extra error checking.
5352 (calc-date-notation): Add ability to access new date formats.
5353
5354 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5355
5356 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
5357 font-lock as well as when there's no text-property.
5358
5359 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
5360
5361 * hi-lock.el: Refine the choice of default face.
5362 (hi-lock-keyword->face): New function. Use it wherever we used
5363 cadadadr instead.
5364 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
5365 (hi-lock--last-face): Remove var.
5366 (hi-lock--unused-faces): New var to replace it.
5367 (hi-lock-read-face-name): Use/maintain it.
5368 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
5369 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
5370 if it has another face.
5371
5372 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5373
5374 * subr.el (w32notify-handle-event): New function.
5375 (inotify-handle-event): Doc fix.
5376
5377 2012-12-10 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
5378
5379 * subr.el (inotify-event-p, inotify-handle-event): New functions.
5380
5381 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
5382
5383 * simple.el (just-one-space): Doc fix.
5384
5385 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5386
5387 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
5388
5389 2012-12-10 Le Wang <l26wang@gmail.com>
5390
5391 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
5392 narrowed buffer (bug#12361).
5393
5394 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
5395
5396 * vc/vc-hooks.el (vc-state): Doc fix.
5397
5398 2012-12-10 Glenn Morris <rgm@gnu.org>
5399
5400 * mail/rmail.el (rmail-maybe-display-summary):
5401 Preserve buffer, in case select-window changes it. (Bug#13066)
5402
5403 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5404
5405 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
5406 cl-load-hook where they belong.
5407
5408 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5409
5410 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
5411
5412 2012-12-09 Eli Zaretskii <eliz@gnu.org>
5413
5414 Parallelize byte compilation on MS-Windows.
5415 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
5416 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
5417 (WINS_BASIC): Define as concatenation of the above.
5418 (compile): Subdivide into 4 separate and independent jobs that can
5419 be run in parallel.
5420 (compile0-CMD, compile0-SH): New targets for compiling
5421 COMPILE_FIRST files, which are prerequisites for the rest of the
5422 byte-compilation.
5423 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
5424 New targets for parallel compilation with cmd.exe.
5425 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
5426 compiling under a Unixy shell.
5427
5428 2012-12-09 Chong Yidong <cyd@gnu.org>
5429
5430 * simple.el (set-mark-default-inactive): Delete this
5431 accidentally-introduced option.
5432 (set-mark-command, exchange-point-and-mark): Remove calls.
5433
5434 2012-12-09 Glenn Morris <rgm@gnu.org>
5435
5436 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
5437 Respect a defcustom's :set function, if appropriate. (Bug#109)
5438 (eval-defun): Doc fix.
5439
5440 2012-12-08 Juri Linkov <juri@jurta.org>
5441
5442 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
5443 (Info-fontify-node, Info-bookmark-make-record): Remove the
5444 file extension from Info-current-file (Bug#13016).
5445
5446 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5447
5448 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
5449 point, still provide some default.
5450 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
5451 names, since we don't use it right now. Actually return the list.
5452 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
5453
5454 2012-12-07 Chong Yidong <cyd@gnu.org>
5455
5456 * novice.el (disabled-command-function): Remove a spurious help
5457 xref (Bug#13043). Suggested by Kelly Dean.
5458
5459 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
5460 syntax is specified (Bug#13025).
5461
5462 * info.el (Info-set-mode-line): Remove the file extension from
5463 Info-current-file if there is one (Bug#13016).
5464
5465 2012-12-07 Glenn Morris <rgm@gnu.org>
5466
5467 * mail/rmail.el (rmail-mime-decoded): New permanent local.
5468 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
5469 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
5470 and rmail-mime-decoded. (Bug#9841)
5471
5472 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
5473 (batch-unrmail, unrmail): Doc fixes.
5474 (unrmail): Respect unrmail-mbox-format.
5475 * mail/rmail.el (rmail-mbox-format): New option.
5476 (rmail-show-message-1): Respect rmail-mbox-format.
5477
5478 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5479
5480 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
5481
5482 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5483
5484 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
5485 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
5486 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
5487 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
5488 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
5489 (cl-progv): Don't rely on dynamic scoping to find the body.
5490 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
5491 (cl--proclaims-deferred): Rename from the "cl-" prefix.
5492 (cl-declaim): Use backquotes.
5493 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
5494 Use "cl--" prefix for the object's tag.
5495
5496 * ses.el: Use advice-add/remove.
5497 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
5498 (copy-region-as-kill, yank): Use advice-add.
5499 (ses-unload-function): Use advice-remove.
5500
5501 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
5502
5503 * button.el: Make them work in header-lines (bug#12817).
5504 (button-map): Add bindings for header-line and mode-line use.
5505 (button-get, button-put, button-label): `button' may now be a string.
5506 (button-activate): Don't make it a defsubst.
5507 (button--area-button-p, button--area-button-string): New functions.
5508 (make-text-button): Fix the return value when `beg' was a string.
5509 (push-button): Handle the mode-line case.
5510
5511 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5512
5513 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
5514 (sql-signum): Remove. Use `cl-signum' instead.
5515 (sql-read-passwd): Remove; use read-passwd instread.
5516 (sql-get-login-ext): Use read-string.
5517 (sql-get-login): Use dolist and pcase.
5518 (sql--completion-table): Rename from sql-try-completion.
5519 Use complete-with-action.
5520 (sql-mode): Don't change abbrev-all-caps globally.
5521 (sql-connect): Don't rely on dynamic scoping for `new-name'.
5522 (sql-postgres-completion-object): Initialize vars in their `let'.
5523 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
5524 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
5525 (sql-comint-interbase): Use a single append, without setq.
5526 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
5527
5528 * hi-lock.el: Rework the default face and the serialize regexp code.
5529 (hi-lock--auto-select-face-defaults): Remove.
5530 (hi-lock-string-serialize-serial): Remove.
5531 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
5532 make weak.
5533 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
5534 equal string.
5535 (hi-lock-set-pattern): Adjust accordingly.
5536 (hi-lock--regexps-at-point): Simplify accordingly.
5537 (hi-lock--auto-select-face-defaults): Remove.
5538 (hi-lock--last-face): New var to replace it.
5539 (hi-lock-read-face-name): Rewrite (bug#11095).
5540 (hi-lock-unface-buffer): Arrange for the face to be the next default.
5541
5542 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
5543
5544 * net/tramp.el (tramp-replace-environment-variables):
5545 Hide compiler warning.
5546 (tramp-file-name-for-operation): Remove `executable-find',
5547 `start-process', `call-process' and `call-process-region'.
5548
5549 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5550
5551 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
5552 compatibility.
5553
5554 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
5555
5556 2012-12-06 Chong Yidong <cyd@gnu.org>
5557
5558 * ffap.el (ffap-replace-file-component): Fix typo.
5559
5560 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5561
5562 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
5563 fix open-paren-like token test (bug#12785).
5564
5565 2012-12-06 Glenn Morris <rgm@gnu.org>
5566
5567 * mail/rmailsum.el (rmail-new-summary): Tweak for
5568 rmail-maybe-display-summary changing buffer. (Bug#13066)
5569
5570 2012-12-06 Juri Linkov <juri@jurta.org>
5571
5572 * info.el (Info-fontify-node): Don't hide the last newline.
5573 (Bug#12272)
5574
5575 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
5576
5577 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
5578 so as to enable message-read-from-minibuffer to expand mail aliases.
5579
5580 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5581
5582 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
5583 the `intangible' property.
5584 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
5585
5586 2012-12-05 Deniz Dogan <deniz@dogan.se>
5587
5588 * net/rcirc.el (rcirc-urls): Update documentation.
5589 (rcirc-condition-filter): New function.
5590 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
5591 and exclude consecutive duplicate URLs (Bug#6082).
5592
5593 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
5594
5595 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5596 Check return code of copy command.
5597
5598 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
5599 Use group `tramp'. Add version.
5600
5601 2012-12-05 Chong Yidong <cyd@gnu.org>
5602
5603 * ffap.el (ffap-url-regexp): Don't require matching at front of
5604 string (Bug#4952).
5605 (ffap-url-p): If only a substring matches, return that.
5606 (ffap-url-at-point): Use the return value of ffap-url-p.
5607 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
5608 (find-file-at-point, dired-at-point, dired-at-point-prompter)
5609 (ffap-guess-file-name-at-point): Likewise.
5610 (ffap-replace-file-component): Fix typo.
5611
5612 * info.el (info-display-manual): Add existing Info buffers, whose
5613 files may not be in Info-directory-list, to the completion.
5614 (info--manual-names): New helper function.
5615
5616 2012-12-05 Glenn Morris <rgm@gnu.org>
5617
5618 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
5619 New functions, for detecting and resolving conflicts. (Bug#10709)
5620
5621 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
5622
5623 * hi-lock.el (hi-lock-auto-select-face): New user variable.
5624 (hi-lock-auto-select-face-defaults): New buffer local variable.
5625 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
5626 (hi-lock-unface-buffer): Prompt user with useful defaults.
5627 With prefix arg, unhighlight all hi-lock patterns in buffer.
5628
5629 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5630
5631 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
5632
5633 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
5634
5635 * Makefile.in (TRAMP_SRC):
5636 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
5637
5638 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
5639
5640 * net/tramp-adb.el: New package.
5641
5642 2012-12-04 Chong Yidong <cyd@gnu.org>
5643
5644 * terminal.el: Move to obsolete/.
5645
5646 * longlines.el: Move to obsolete/.
5647
5648 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
5649 Remove code referring to longlines mode.
5650
5651 2012-12-03 Juri Linkov <juri@jurta.org>
5652
5653 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
5654
5655 2012-12-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
5656
5657 * textmodes/ispell.el (ispell-init-process)
5658 (ispell-start-process, ispell-internal-change-dictionary):
5659 Make sure personal dictionary name is expanded after initial
5660 `default-directory' value. Use expanded strings for
5661 keep/restart checks and for value (Bug#13019).
5662
5663 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5664
5665 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
5666
5667 2012-12-03 Leo Liu <sdl.web@gmail.com>
5668
5669 * files.el (dir-locals-read-from-file): Check file non-empty
5670 before reading. (Bug#13038)
5671
5672 2012-12-03 Glenn Morris <rgm@gnu.org>
5673
5674 * jka-cmpr-hook.el (jka-compr-get-compression-info):
5675 Remove any version extension before checking filename. (Bug#13006)
5676 (jka-compr-compression-info-list): Belated :version bump.
5677
5678 2012-12-03 Chong Yidong <cyd@gnu.org>
5679
5680 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
5681
5682 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
5683 (buffer-menu): Doc fix (Bug#12294).
5684
5685 2012-12-03 Roland Winkler <winkler@gnu.org>
5686
5687 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
5688 of diary-show-all-entries in the diary buffer (Bug#12994).
5689
5690 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
5691
5692 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
5693 "<STDIN>". This is binary safe.
5694
5695 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5696
5697 * calc/calc-forms.el (math-absolute-from-iso-dt)
5698 (math-date-to-iso-dt, math-parse-iso-date-validate)
5699 (math-iso-dt-to-date): New functions.
5700 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
5701 (math-fd-isoweekday): New variables.
5702 (calc-date-notation, math-parse-standard-date, math-format-date)
5703 (math-format-date-part): Add support for more formatting codes.
5704
5705 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
5706
5707 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
5708 current buffer's file name when called interactively (Bug#12488).
5709
5710 2012-12-02 Juri Linkov <juri@jurta.org>
5711
5712 * info.el (info-display-manual): Don't clobber an existing Info
5713 buffer (Bug#10770). Add completion (Bug#10771).
5714
5715 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
5716
5717 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
5718 before using it for comparison (Bug#5297).
5719
5720 2012-12-01 Jari Aalto <jari.aalto@cante.net>
5721
5722 * textmodes/css-mode.el (css-current-defun-name): New function.
5723 (css-mode): Use it.
5724
5725 * textmodes/sgml-mode.el (html-current-defun-name): New function.
5726 (html-mode): Use it.
5727
5728 2012-12-01 Chong Yidong <cyd@gnu.org>
5729
5730 Modularize add-log-current-defun (Bug#2224).
5731 Suggested by Jari Aalto.
5732
5733 * vc/add-log.el (add-log-current-defun-function): Doc fix.
5734 (add-log-current-defun): Move mode-specific code to other files.
5735 (add-log-lisp-like-modes, add-log-c-like-modes)
5736 (add-log-tex-like-modes): Variables deleted.
5737
5738 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
5739 (lisp-mode-variables): Use it.
5740
5741 * progmodes/cc-mode.el (c-common-init):
5742 * progmodes/cperl-mode.el (cperl-mode): Set a value for
5743 add-log-current-defun-function.
5744
5745 * progmodes/m4-mode.el (m4-current-defun-name): New function.
5746 (m4-mode): Use it.
5747
5748 * progmodes/perl-mode.el (perl-current-defun-name): New.
5749 (perl-mode): Use it.
5750
5751 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
5752 Use lisp-current-defun-name.
5753
5754 * textmodes/tex-mode.el (tex-current-defun-name): New.
5755 (tex-common-initialization): Use it.
5756
5757 * textmodes/texinfo.el (texinfo-current-defun-name): New.
5758 (texinfo-mode): Use it.
5759
5760 2012-12-01 Chong Yidong <cyd@gnu.org>
5761
5762 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
5763 * progmodes/autoconf.el (autoconf-mode):
5764 * progmodes/js.el (js-mode):
5765 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
5766 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
5767 * progmodes/perl-mode.el (perl-mode):
5768 * progmodes/sh-script.el (sh-mode, sh-set-shell):
5769 * textmodes/css-mode.el (css-mode):
5770 * textmodes/sgml-mode.el (html-mode, sgml-mode)
5771 (sgml-tags-invisible, sgml-guess-indent):
5772 * textmodes/tex-mode.el (tex-common-initialization)
5773 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
5774 (doctex-mode, plain-tex-mode, latex-mode):
5775 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
5776
5777 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
5778
5779 * vc/vc-hg.el (vc-hg-next-revision):
5780 Ensure use of default "tip" output format. (Bug#6968)
5781
5782 2012-12-01 Kim F. Storm <storm@cua.dk>
5783
5784 * startup.el (fancy-startup-tail): Add a clickable link
5785 (Bug#2176).
5786
5787 2012-12-01 Chong Yidong <cyd@gnu.org>
5788
5789 * startup.el (fancy-startup-tail): Improve the message about
5790 auto-save files (Bug#2176).
5791
5792 * files.el (recover-session): Improve the descriptive message, and
5793 use substitute-command-keys.
5794
5795 2012-12-01 Glenn Morris <rgm@gnu.org>
5796
5797 * ido.el (ido-file-internal):
5798 Handle other-window, other-frame for dired. (Bug#13036)
5799
5800 2012-11-30 Glenn Morris <rgm@gnu.org>
5801
5802 * icomplete.el (icomplete-separator): Fix :version.
5803
5804 2012-11-30 Chong Yidong <cyd@gnu.org>
5805
5806 * shell.el (shell): For C-u M-x shell, use an inactive shell
5807 buffer as the default (Bug#1975).
5808 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
5809 (shell-mode): Use them to reapply ansi colorization if Shell mode
5810 is re-enabled.
5811
5812 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
5813
5814 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
5815
5816 2012-11-30 Samuel Bronson <naesten@gmail.com>
5817
5818 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
5819 flag to xargs, for compatibility with BSD xargs (Bug#11703).
5820
5821 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5822
5823 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
5824 by move-to-column (Bug#3234).
5825
5826 2012-11-30 Chong Yidong <cyd@gnu.org>
5827
5828 * longlines.el (longlines-wrap-line, longlines-encode-region):
5829 Preserve text properties (Bug#1425).
5830
5831 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5832
5833 * vc/vc.el (vc-register): Allow registering a file which is
5834 already registered with a different backend (Bug#10589).
5835
5836 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
5837 Stefan Monnier <monnier@iro.umontreal.ca>
5838
5839 * icomplete.el: Change separator; add ido-style commands.
5840 (icomplete-show-key-bindings): Remove custom var.
5841 (icomplete-get-keys): Remove function.
5842 (icomplete-forward-completions, icomplete-backward-completions):
5843 New commands.
5844 (icomplete-minibuffer-map): New var.
5845 (icomplete-minibuffer-setup): Use it.
5846 (icomplete-exhibit): Don't delay if the list of completions is known.
5847 (icomplete-separator): New custom.
5848 (icomplete-completions): Use it.
5849 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
5850 (minibuffer-force-complete-and-exit): New command.
5851 (minibuffer--complete-and-exit): New function extracted from
5852 minibuffer-complete-and-exit.
5853 (minibuffer-complete-and-exit): Use it.
5854
5855 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
5856 error message when the file doesn't exist (bug#12974).
5857
5858 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5859
5860 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
5861
5862 2012-11-29 Glenn Morris <rgm@gnu.org>
5863
5864 * files.el (hack-dir-local-variables): Warn if try to set
5865 coding via dir-locals, since it doesn't work. (Bug#7169)
5866
5867 Add desktop support for restoring vc-dir buffers. (Bug#10606)
5868 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
5869 Set buffer-local value of desktop-save-buffer.
5870 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
5871 New functions.
5872 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
5873 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
5874
5875 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
5876 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
5877 Doc fix.
5878 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
5879 Doc fixes.
5880
5881 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
5882
5883 * calc/calc-forms.el (calc-date-notation): Fix regexp
5884 used to find time codes. Fix symbol for seconds.
5885
5886 2012-11-27 Glenn Morris <rgm@gnu.org>
5887
5888 * emacs-lisp/derived.el (derived-mode-make-docstring):
5889 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
5890
5891 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5892
5893 * textmodes/table.el (table-insert): Don't use `symbol-name' on
5894 lexically scoped variables (bug#13005).
5895
5896 2012-11-27 Glenn Morris <rgm@gnu.org>
5897
5898 * vc/vc-hooks.el (vc-mistrust-permissions):
5899 Default to t, to avoid data-loss. (Bug#11490)
5900
5901 2012-11-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5902
5903 * progmodes/python.el (python-indent-guess-indent-offset):
5904 If indentation is guessed make python-indent-offset buffer-local.
5905
5906 Fix Imenu regression.
5907 * progmodes/python.el (python-nav-beginning-of-defun):
5908 Fix forward movement when statement(s) separates point from defun.
5909 (python-imenu-prev-index-position): New function.
5910
5911 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5912
5913 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
5914
5915 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
5916 Don't set buffer-file-type. Return nil. (Bug#12989)
5917
5918 2012-11-27 Glenn Morris <rgm@gnu.org>
5919
5920 * hippie-exp.el (hippie-expand-try-functions-list):
5921 Re-autoload it. (Bug#12982)
5922
5923 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5924
5925 * descr-text.el (describe-char-padded-string):
5926 Call internal-char-font only on GUI frames. (Bug#11964)
5927
5928 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
5929
5930 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
5931 and obsoletion message.
5932
5933 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5934
5935 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
5936 the constructs to keep outside of the `cl-block' (bug#12977).
5937
5938 2012-11-27 Chong Yidong <cyd@gnu.org>
5939
5940 * mouse.el (mouse-drag-line): Even if the line is not draggable,
5941 keep reading until we get the up-event anyway, in order to process
5942 the up-event for mouse-1-click-follows-link (Bug#12971).
5943
5944 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
5945
5946 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
5947 base function is not yet defined (bug#12965).
5948 (ad-activate-advised-definition): Use ad-compile-function.
5949 (ad-activate): Use cond.
5950
5951 2012-11-25 Leo Liu <sdl.web@gmail.com>
5952
5953 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
5954 (Bug#12979)
5955
5956 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5957
5958 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
5959 reftex-section-info-function in order to be compatible with
5960 Texinfo integration.
5961
5962 * textmodes/reftex.el (reftex-section-pre-regexp)
5963 (reftex-section-post-regexp, reftex-section-info-function):
5964 New variable.
5965 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
5966 reftex-section-post-regexp, and reftex-section-info-function in order
5967 to be compatible with Texinfo integration.
5968
5969 * textmodes/reftex-toc.el (reftex-toc-promote-action):
5970 use reftex-section-pre-regexp variable in order to be compatible with
5971 Texinfo integration.
5972
5973 2012-11-25 Chong Yidong <cyd@gnu.org>
5974
5975 * faces.el: Make face-spec-set more analogous to setq.
5976 (face-spec-set): Change the third arg to specify whether this
5977 function is being called via defface, customize, or a third party.
5978 Set the appropriate symbol properties. Clear the override spec if
5979 setting via Custom. Initialize face if necessary. (Bug#4988)
5980 (face-spec-recalc): Allow theme faces to completely replace the
5981 defface spec, in the same way as custom faces (Bug#8454).
5982
5983 * cus-face.el (custom-declare-face): Move face initialization to
5984 face-spec-set.
5985 (custom-theme-set-faces): Don't initialize the face name here, as
5986 that is now done in face-spec-set.
5987
5988 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
5989 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
5990 Simplify by using the new arg to face-spec-set.
5991
5992 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
5993 reset face-override-spec too, and use custom-declare-face.
5994
5995 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
5996
5997 * term/ns-win.el (ns-initialize-window-system): Move creation of
5998 fontsets here (Bug#11964).
5999
6000 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6001
6002 * ses.el (ses-rename-cell): Correct bug on mode-line update after
6003 cell renaming.
6004
6005 2012-11-24 Chong Yidong <cyd@gnu.org>
6006
6007 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
6008 obsolete.
6009
6010 * custom.el (custom-theme-set-variables): Use a topological sort
6011 for ordering by custom dependencies (Bug#12952).
6012 (custom--sort-vars, custom--sort-vars-1): New functions.
6013
6014 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
6015
6016 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
6017 lexical-binding (bug#12938).
6018
6019 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
6020
6021 * image-mode.el (image-transform-check-size): Use assertions only
6022 for images of type imagemagick.
6023
6024 Otherwise no error, image-transform-fit-to-{width,height} is
6025 silently ignored, as before. Doc fix.
6026
6027 2012-11-24 Chong Yidong <cyd@gnu.org>
6028
6029 * faces.el (color-defined-p): Doc fix (Bug#12853).
6030
6031 2012-11-24 Juri Linkov <juri@jurta.org>
6032
6033 * dired.el (dired-mark): Add optional arg `interactive'.
6034 Check for `use-region-p' if `interactive' is non-nil.
6035 (dired-unmark, dired-flag-file-deletion): Add optional arg
6036 `interactive'. Call `dired-mark' with the arg `interactive'.
6037 (Bug#10624)
6038
6039 * wdired.el: Revert 2012-10-17 change partly and replace it with
6040 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
6041 (wdired-finish-edit): Add marks for new file names to
6042 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
6043 after `revert-buffer'.
6044 (wdired-do-renames): Remove calls to `dired-remove-file',
6045 `dired-add-file', `dired-add-entry'. (Bug#11795)
6046
6047 2012-11-24 Alan Mackenzie <acm@muc.de>
6048
6049 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
6050
6051 Fix bugs in the state cache. Enhance a debugging mechanism.
6052 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
6053 "brace at column zero" strategy for C++.
6054 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
6055 (c-parse-state-point): New variable.
6056 (c-record-parse-state-state): Record old parse state with
6057 `copy-tree'. Record previous value of point.
6058 (c-debug-parse-state-double-cons): New debugging function.
6059 (c-debug-parse-state): Call the above new function.
6060 (c-toggle-parse-state-debug): Output a confirmatory message.
6061
6062 * progmodes/cc-mode.el (c-before-change, c-after-change):
6063 Call c-invalidate-state-cache from `c-before-change' instead of
6064 `c-after-change'.
6065
6066 2012-11-23 Chong Yidong <cyd@gnu.org>
6067
6068 * find-cmd.el (find-constituents): Add executable, ipath,
6069 readable, samefile, writable, daystart, regextype (Bug#12856).
6070
6071 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
6072
6073 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
6074
6075 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
6076
6077 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
6078 definition. This fixes a bootstrap failure.
6079 (calc-gregorian-switch): In menu, put dates before regions.
6080 This is easier to follow, lines up better in the menu, and lets us
6081 coalesce regions that switch at the same time. Give country
6082 names, not "Vatican", as that's better for non-expert users.
6083 Use names that are stable between the date of switch and now, e.g.,
6084 Bohemia and Moravia (which existed then and now) and not
6085 Czechoslovakia (which didn't exist then and doesn't exist now).
6086 What is now the U.S. mostly did not switch at the same time as
6087 Britain, so omit the U.S. Correct spelling of "Britain".
6088 Catholic Switzerland was too much of a mess, so omit it.
6089
6090 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
6091
6092 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
6093 after the variable is changed.
6094
6095 2012-11-21 Daniel Colascione <dancol@dancol.org>
6096
6097 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
6098 in SQL declarations for font-lock.
6099 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
6100
6101 2012-11-21 Glenn Morris <rgm@gnu.org>
6102
6103 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
6104 (face-italic-p): Add optional argument "inherit".
6105
6106 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
6107 Remove -p suffix from names, for consistency with other set-face-*.
6108 (set-face-inverse-video): Fix interactive spec.
6109 * play/gamegrid.el (gamegrid-make-mono-tty-face):
6110 * textmodes/table.el (table--update-cell-face):
6111 Use set-face-inverse-video rather than now obsolete alias.
6112
6113 2012-11-21 Eli Zaretskii <eliz@gnu.org>
6114
6115 * simple.el (line-move): Don't call line-move-partial if
6116 scroll-conservatively is in effect. (Bug#12927)
6117
6118 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6119
6120 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
6121 Fallback on completion-at-point rather than
6122 pcomplete-expand-and-complete, and only if pcomplete actually failed.
6123 (eshell-cmpl-initialize): Setup completion-at-point.
6124
6125 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
6126
6127 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
6128
6129 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
6130
6131 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
6132 are remote, check out-of-band property for both.
6133
6134 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6135
6136 * window.el (switch-to-buffer): Re-add the warning that was lost in the
6137 code rewrite.
6138
6139 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
6140
6141 More minor time fixes.
6142 * calendar/time-date.el: Commentary fix.
6143 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
6144 too much other code depends on (0 0) time stamps.
6145 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
6146 Add a couple of FIXME comments.
6147
6148 Minor cleanup for times as lists of four integers.
6149 * files.el (dir-locals-directory-cache):
6150 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
6151 Doc fixes.
6152 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
6153 * ps-bdf.el (bdf-file-newer-than-time):
6154 Process four-integers time stamps, not two. Doc fixes.
6155
6156 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6157
6158 * uniquify.el (uniquify-managed): Use defvar-local.
6159 (rename-buffer, create-file-buffer): Advise with advice-add.
6160 (uniquify-unload-function): Unadvise accordingly.
6161
6162 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
6163 (trace-buffer): Don't purecopy.
6164 (trace-entry-message, trace-exit-message): Add `context' arg.
6165 (trace--timer): New var.
6166 (trace-make-advice): Adjust for use in nadvice.
6167 Add `context' argument. Delay `display-buffer' via a timer.
6168 (trace-function-internal): Use advice-add.
6169 (trace--read-args): New function.
6170 (trace-function-foreground, trace-function-background): Use it.
6171 (trace-function): Rename to trace-function-foreground and redefine as
6172 an alias to that new name.
6173 (untrace-function, untrace-all): Adjust to the use of nadvice.
6174
6175 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
6176
6177 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
6178
6179 * subr.el (called-interactively-p-functions): New var.
6180 (internal--called-interactively-p--get-frame): New macro.
6181 (called-interactively-p, interactive-p): Rewrite in Lisp.
6182 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
6183 (called-interactively-p-functions): Use it.
6184 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
6185 (called-interactively-p-functions): Use it.
6186 * allout.el (allout-called-interactively-p): Don't assume
6187 called-interactively-p is a subr.
6188
6189 2012-11-20 Glenn Morris <rgm@gnu.org>
6190
6191 * profiler.el (profiler-report-mode-map): Add a menu.
6192 No need to bind `q' because we derive from special-mode.
6193 (profiler-report-find-entry): Handle calls from the menu-bar.
6194
6195 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
6196
6197 * emacs-lisp/byte-run.el (defun-declarations-alist):
6198 Allow a compiler-macro to be a lambda expression.
6199
6200 * progmodes/python.el: Use cl-lib. Move var declarations outside of
6201 eval-when-compile.
6202 (python-syntax-context): Add compiler-macro.
6203 (python-font-lock-keywords): Simplify with De Morgan.
6204
6205 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
6206
6207 * files.el (load-file): Require match in minibuffer selection, as was
6208 the case in Emacs-20 before we changed the spec to allow .elc files
6209 (bug#12935).
6210
6211 * json.el: Don't require cl since we don't use it.
6212 * color.el: Don't require cl.
6213 (color-complement): `caddr' -> `nth 2'.
6214
6215 * calendar/time-date.el (time-to-seconds): De-obsolete.
6216
6217 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
6218
6219 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
6220 year numbers.
6221 (math-date-to-julian-dt): Adjust the initial approximation for the
6222 year to deal with the new definition of the DATE.
6223
6224 2012-11-19 Daniel Colascione <dancol@dancol.org>
6225
6226 * term/w32-win.el (cygwin-convert-path-from-windows):
6227 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6228
6229 2012-11-18 Chong Yidong <cyd@gnu.org>
6230
6231 * filecache.el (file-cache--read-list): New function.
6232 (file-cache-add-directory-list, file-cache-add-file-list)
6233 (file-cache-delete-file-list, file-cache-delete-directory-list):
6234 Use it to read a list of files or directories (Bug#12846).
6235 (file-cache-add-file, file-cache-add-directory)
6236 (file-cache-delete-file-list, file-cache-delete-file-regexp)
6237 (file-cache-delete-directory): Print an message.
6238
6239 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
6240
6241 * calc/calc-forms.el (math-date-to-dt): Use integer date when
6242 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
6243
6244 2012-11-18 Glenn Morris <rgm@gnu.org>
6245
6246 * image.el (insert-image, insert-sliced-image): Doc fix.
6247
6248 2012-11-18 Chong Yidong <cyd@gnu.org>
6249
6250 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
6251 (Bug#12810).
6252
6253 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6254
6255 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
6256 response when the target file is in a subdirectory (Bug#12757).
6257
6258 2012-11-18 Chong Yidong <cyd@gnu.org>
6259
6260 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
6261
6262 2012-11-18 Glenn Morris <rgm@gnu.org>
6263
6264 * emacs-lisp/cl-lib.el (face-underline-p):
6265 Use set-face-underline rather than the alias set-face-underline-p.
6266
6267 * window.el (with-temp-buffer-window): Doc fix.
6268 * subr.el (with-output-to-temp-buffer):
6269 Add doc xref to with-temp-buffer-window.
6270
6271 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
6272
6273 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
6274 * calc/calc.el (math-format-date-cache): Declare.
6275
6276 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
6277
6278 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
6279 It also uses January 1, 1 AD as its day number 1.
6280 * calc/calc-forms.el (math-julian-date-beginning)
6281 (math-julian-date-beginning-int): Implement this.
6282
6283 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
6284
6285 * descr-text.el (quail-find-key):
6286 * dired.el (desktop-file-name):
6287 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
6288 * generic-x.el (comint-mode, comint-exec):
6289 * image-dired.el (widget-forward):
6290 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
6291 (speedbar-change-expand-button-char)
6292 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
6293 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
6294 * printing.el (easy-menu-add-item, easy-menu-remove-item)
6295 (widget-field-action, widget-value-set):
6296 * speedbar.el (imenu--make-index-alist):
6297 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
6298 (ring-length, ring-insert):
6299 * vcursor.el (compare-windows-skip-whitespace):
6300 * woman.el (dired-get-filename):
6301 Declare functions.
6302
6303 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
6304
6305 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6306
6307 * calc/calc.el (calc-gregorian-switch): New variable.
6308
6309 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
6310 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
6311 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
6312 (math-leap-year-p): Add option to distinguish between Julian
6313 and Gregorian calendars.
6314 (math-day-number): Use `math-day-in-year' to do the computations.
6315 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
6316 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
6317 to do the computations.
6318 (math-date-to-dt): Use `math-date-to-julian-dt' and
6319 `math-date-to-gregorian-dt' to do the computations.
6320 (calcFunc-weekday, math-format-date-part): Use the new version of
6321 the DATE to determine the weekday.
6322 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
6323 when necessary.
6324
6325 2012-11-17 Eli Zaretskii <eliz@gnu.org>
6326
6327 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
6328 Cygwin; otherwise use 'file:'. (Bug#12914)
6329 (cygwin-convert-path-from-windows): Declare, to avoid
6330 byte-compiler warnings.
6331
6332 2012-11-17 Andreas Politz <politza@fh-trier.de>
6333
6334 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
6335 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
6336 prefix and negative numeric prefix args (Bug#12795).
6337
6338 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
6339
6340 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
6341 Don't signal an error with a score that is too low to add to the
6342 list of top scores. (Bug#12779)
6343
6344 2012-11-17 Chong Yidong <cyd@gnu.org>
6345
6346 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
6347
6348 * filecache.el (file-cache-add-file): Handle relative file name in
6349 the argument (Bug#12694).
6350
6351 2012-11-16 JĂ¼rgen Hötzel <juergen@archlinux.org> (tiny change)
6352
6353 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
6354
6355 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6356
6357 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
6358
6359 * emacs-lisp/cl-lib.el: Set more meaningful version number.
6360
6361 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6362
6363 * window.el (enlarge-window, shrink-window): Don't mention return
6364 value in doc-string (Bug#12896).
6365 (window--display-buffer): Don't resize frames - it won't work
6366 with all window managers and defeat pop-up-frame-alist.
6367 (display-buffer-alist): In doc-string explain that CONDITION can
6368 be a function and which arguments are passed to it (Bug#12854).
6369 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
6370 expressions (Bug#12854).
6371 (display-buffer): Pass ACTION argument to
6372 display-buffer-assq-regexp.
6373
6374 2012-11-16 Glenn Morris <rgm@gnu.org>
6375
6376 * window.el (fit-frame-to-buffer-bottom-margin)
6377 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
6378
6379 * faces.el (face-underline-p): Use face-attribute-specified-or.
6380
6381 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
6382
6383 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
6384
6385 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6386
6387 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
6388
6389 2012-11-16 Glenn Morris <rgm@gnu.org>
6390
6391 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
6392 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
6393
6394 * faces.el (face-underline-p): Doc fix. Handle :underline being
6395 things other than `t' (a string, a list).
6396 (face-inverse-video-p): Doc fix.
6397 (set-face-underline): Rename it back from set-face-underline-p.
6398 Doc fix. Allow interactive input of values other than t.
6399 (read-face-attribute): Apply formatting to :underline,
6400 since like :box and :stipple it can take list values.
6401
6402 * term.el (ansi-term): Don't let C-x escape-char binding
6403 clobber the more standard C-c binding. (Bug#12842)
6404
6405 * subr.el (set-temporary-overlay-map): Doc fix.
6406
6407 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6408
6409 * window.el (record-window-buffer)
6410 (display-buffer-record-window): When copying the markers to
6411 window-point preserve window-point-insertion-type. (Bug#12588)
6412
6413 2012-11-16 Glenn Morris <rgm@gnu.org>
6414
6415 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
6416 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
6417 Use new names for hooks rather than obsolete aliases.
6418
6419 2012-11-15 Daniel Colascione <dancol@dancol.org>
6420
6421 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
6422 prefix instead of "file:" so that when FILE-NAME begins with "//",
6423 as it does when the target file is on a network share, url-handler
6424 isn't confused.
6425
6426 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6427
6428 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
6429 a preactivated advice from an old advice.el; they're not compatible!
6430
6431 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
6432
6433 * emacs-lisp/nadvice.el (advice--make-interactive-form):
6434 Fix string-spec case.
6435
6436 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
6437
6438 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6439
6440 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
6441 (advice--buffer-local-function-sample): New var.
6442 (advice--set-buffer-local, advice--buffer-local): New functions.
6443 (add-function, remove-function): Use them.
6444
6445 2012-11-15 Drew Adams <drew.adams@oracle.com>
6446
6447 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
6448
6449 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6450
6451 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
6452 potential binding of print-gensym to t, and prettify (back)quotes in
6453 case they appear in args's default values (bug#12884).
6454
6455 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6456
6457 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
6458 (advice-eval-interactive-spec): New function.
6459 (advice--make-interactive-form): Support around advice (bug#12844).
6460
6461 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
6462
6463 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
6464 more strict. Add docstring.
6465 (ruby-expression-expansion-re): Extract from
6466 `ruby-match-expression-expansion'.
6467 (ruby-syntax-propertize-function): After everything else, search
6468 for expansions in string literals, mark their insides as
6469 whitespace syntax and save match data for font-lock.
6470 (ruby-font-lock-keywords): Use the 2nd group from expression
6471 expansion matches.
6472 (ruby-match-expression-expansion): Use the match data saved to the
6473 text property in ruby-syntax-propertize-function.
6474
6475 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6476
6477 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
6478 (bug#12879).
6479
6480 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6481
6482 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
6483 start/end keyword a bit harder. Works with different values of N.
6484 Add more comments.
6485 (ruby-end-of-block): Update accordingly.
6486
6487 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6488
6489 * woman.el (woman-file-name): Don't mess with unread-command-events
6490 (bug#12861).
6491
6492 * emacs-lisp/advice.el: Layer on top of nadvice.el.
6493 Remove out of date self-require hack.
6494 (ad-do-advised-functions): Use simple `dolist'.
6495 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
6496 (ad-advice-definition): Redefine as functions.
6497 (ad-advice-classes): Move before first use.
6498 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
6499 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
6500 (ad--defalias-fset): Remove functions.
6501 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
6502 (ad-get-orig-definition): Rewrite.
6503 (ad-make-advised-definition-docstring): Change base docstring.
6504 (ad-real-orig-definition): Rewrite.
6505 (ad-map-arglists): Change name of called function.
6506 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
6507 (ad-make-advised-definition): Simplify.
6508 (ad-assemble-advised-definition): Tweak for new calling context.
6509 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
6510 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
6511 function and call ad-activate if needed.
6512 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
6513 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
6514 (ad-compile-function): Compile ad-Advice-*.
6515 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
6516 (ad-start-advice, ad-stop-advice): Remove.
6517
6518 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6519
6520 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
6521 period before class method names, not after. Remove handling of
6522 one impossible case. Add comments.
6523
6524 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6525
6526 * emacs-lisp/advice.el: Remove support for freezing.
6527 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
6528 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
6529 Remove support for `freeze'.
6530
6531 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
6532 override the default.
6533 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
6534 cl--dotimes/dolist.
6535 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
6536 `cl' is loaded.
6537
6538 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
6539 from add-advice.
6540 (advice--strip-macro): New function.
6541 (advice--defalias-fset): Use them to handle macros.
6542 (advice-add): Use them.
6543 (advice-member-p): Correctly handle macros.
6544
6545 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6546
6547 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6548 Never font-lock the beginning of singleton class as heredoc.
6549
6550 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6551
6552 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
6553
6554 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
6555
6556 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
6557 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
6558 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
6559
6560 2012-11-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6561
6562 Fix end-of-defun misbehavior.
6563 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
6564 python-beginning-of-defun-function. Handle nested defuns
6565 correctly.
6566 (python-nav-end-of-defun): Rename from
6567 python-end-of-defun-function. Ensure forward movement.
6568 (python-info-current-defun): Reimplement to work as intended
6569 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
6570 parent defuns as soon as possible.
6571
6572 2012-11-13 Glenn Morris <rgm@gnu.org>
6573
6574 * progmodes/flymake.el (flymake-error-bitmap)
6575 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
6576 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
6577
6578 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6579
6580 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
6581 backward, always stop at indentation. Reverts the change from
6582 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
6583
6584 2012-11-13 Glenn Morris <rgm@gnu.org>
6585
6586 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
6587 Add ibuffer-filter-by-derived-mode.
6588
6589 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
6590 the same name shadowing each other.
6591
6592 * window.el (with-temp-buffer-window): Doc tweak.
6593
6594 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
6595
6596 * help.el (temp-buffer-max-height):
6597 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
6598 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
6599
6600 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
6601
6602 * emacs-lisp/nadvice.el: New package.
6603 * subr.el (special-form-p): New function.
6604 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
6605 (elp-all-instrumented-list): Remove var.
6606 (elp-not-profilable): Remove elp-wrapper.
6607 (elp-profilable-p): Use autoloadp and special-form-p.
6608 (elp--advice-name): New const.
6609 (elp-instrument-function): Use advice-add.
6610 (elp--instrumented-p): New predicate.
6611 (elp-restore-function): Use advice-remove.
6612 (elp-restore-all, elp-reset-all): Use mapatoms.
6613 (elp-set-master): Use elp--instrumented-p.
6614 (elp--make-wrapper): Rename from elp-wrapper, return a function
6615 suitable for advice-add. Use cl-inf.
6616 (elp-results): Use mapatoms+elp--instrumented-p.
6617 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
6618 (debug-function-list): Remove var.
6619 (debug): Rename arg, and then let-bind it explicitly inside.
6620 (debugger-setup-buffer): Rename arg.
6621 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
6622 (debugger-frame-number): Adjust to new debug-on-entry setup.
6623 (debug--implement-debug-on-entry): Rename from
6624 implement-debug-on-entry, add argument.
6625 (debugger-special-form-p): Remove, use special-form-p instead.
6626 (debug-on-entry): Use advice-add.
6627 (debug--function-list): New function.
6628 (cancel-debug-on-entry): Use it, along with advice-remove.
6629 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
6630 (debugger-list-functions): Use debug--function-list instead of
6631 debug-function-list.
6632 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
6633 (ad-special-form-p): Remove, use special-form-p instead.
6634 (ad-set-advice-info): Use add-function and remove-function.
6635 (ad--defalias-fset): Adjust accordingly.
6636
6637 2012-11-10 Glenn Morris <rgm@gnu.org>
6638
6639 * mail/emacsbug.el (report-emacs-bug-tracker-url)
6640 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
6641 (report-emacs-bug-create-existing-bugs-buffer)
6642 (report-emacs-bug-parse-query-results)
6643 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
6644
6645 * term.el (term-default-fg-color, term-default-bg-color):
6646 Make obsolete, rather than just saying "deprecated" in the doc.
6647
6648 * term.el (term): Rename from `term-face'.
6649 (term-current-face, ansi-term-color-vector)
6650 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
6651 Update all users.
6652
6653 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
6654
6655 * server.el (server-create-window-system-frame): Handle Nextstep
6656 specially (Bug#12780).
6657
6658 2012-11-10 Glenn Morris <rgm@gnu.org>
6659
6660 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
6661 Unautoload, and make obsolete. (Bug#7449)
6662
6663 2012-11-10 Chong Yidong <cyd@gnu.org>
6664
6665 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
6666 rename from diff-remove-trailing-whitespace (Bug#12831).
6667
6668 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6669
6670 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
6671 miscompilation of trace.el.
6672
6673 2012-11-10 Glenn Morris <rgm@gnu.org>
6674
6675 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
6676
6677 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6678
6679 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
6680 (bug#12812).
6681
6682 2012-11-10 Chong Yidong <cyd@gnu.org>
6683
6684 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
6685 a defcustom with an appropriate :set function.
6686 (minibuffer-default--in-prompt-regexps): New function.
6687
6688 2012-11-10 Glenn Morris <rgm@gnu.org>
6689
6690 * emacs-lisp/cl.el (define-setf-expander, defsetf)
6691 (define-modify-macro): Doc fixes.
6692
6693 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
6694 (gv-define-simple-setter): Update doc of `fix-return'.
6695
6696 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6697
6698 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
6699 twice when `fix-return' is set (bug#12813).
6700
6701 * emacs-lisp/cl.el (defsetf): Pass the third arg to
6702 gv-define-simple-setter (bug#12812).
6703
6704 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
6705 (bug#12756).
6706
6707 2012-11-10 Glenn Morris <rgm@gnu.org>
6708
6709 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
6710
6711 * emacs-lisp/cl-extra.el (cl-prettyexpand):
6712 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
6713 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
6714 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
6715
6716 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
6717
6718 2012-11-10 Leo Liu <sdl.web@gmail.com>
6719
6720 * ido.el (ido-set-matches-1): Improve flex matching performance by
6721 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
6722
6723 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6724
6725 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
6726 (ad--defalias-fset): New function.
6727 (ad-safe-fset): Remove.
6728 (ad-make-freeze-definition): Use cl-letf*.
6729
6730 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6731
6732 * subr.el (dolist): Don't bind VAR in RESULT.
6733
6734 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
6735 (fset, documentation): Don't save real def since we don't advise.
6736 (ad-do-advised-functions): Remove problematic `result-form'.
6737 (ad-safe-fset): `ad-real-fset' => `fset'.
6738 (ad-read-advised-function): Don't assume that ad-do-advised-functions
6739 uses CL's dolist internally.
6740 (ad-arglist): Remove unused arg `name'.
6741 (ad-docstring, ad-make-advised-docstring):
6742 `ad-real-documentation' => `documentation'.
6743 (warning-suppress-types): Declare.
6744 (ad-set-arguments): Simple CSE.
6745 (ad-recover-normality): Sanity check.
6746
6747 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
6748 (funcall '(lambda ..) ..) into ((lambda ..) ..).
6749
6750 2012-11-09 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6751
6752 * ses.el: symbol to coordinate mapping is made by symbol property
6753 `ses-cell'. This means that the same mapping is done for all SES
6754 sheets. That is good enough for cells with standard A1 names, but
6755 not for named cell. So a hash map is added for the latter.
6756 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
6757 (ses-sym-rowcol): Use hashmap for named cell.
6758 (ses-is-cell-sym-p): New defun.
6759 (ses-decode-cell-symbol): New defun.
6760 (ses-create-cell-variable): Add cell to hashmap when name is not
6761 A1-like.
6762 (ses-rename-cell): Check that cell new name is not already in
6763 spreadsheet with the use of ses-is-cell-sym-p
6764 (ses-rename-cell): Use hash map for named cells, but accept also
6765 renaming back to A1-like.
6766
6767 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6768
6769 * emacs-lisp/advice.el: Use new dynamic docstrings.
6770 (ad-make-advised-definition-docstring, ad-advised-definition-p):
6771 Use dynamic-docstring-function instead of ad-advice-info.
6772 (ad--make-advised-docstring): New function extracted from
6773 ad-make-advised-docstring.
6774 (ad-make-advised-docstring): Use it.
6775 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
6776 from sql-help.
6777 (sql-help): Use it with dynamic-docstring-function.
6778
6779 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
6780
6781 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6782
6783 * files.el (hack-one-local-variable--obsolete): New function.
6784 (hack-one-local-variable): Use it for obsolete settings.
6785
6786 * subr.el (locate-user-emacs-file): If both old and new name exist, use
6787 the new name.
6788
6789 * progmodes/js.el (js--filling-paragraph): New var.
6790 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
6791 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
6792 less sneaky.
6793
6794 2012-11-08 Julien Danjou <julien@danjou.info>
6795
6796 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
6797 `auto-mode-alist' (Bug#12835).
6798
6799 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6800
6801 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
6802 (perl--prettify-symbols-alist): New const.
6803 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
6804 New functions.
6805 (perl-font-lock-keywords-2): Use them.
6806 (perl-electric-noindent-p): New function.
6807 (perl-mode): Use it to set up electric-indent-mode.
6808 (perl-electric-terminator, perl-indent-command): Mark obsolete.
6809 (perl-mode-map): Remove bindings for them.
6810 (perl-imenu-generic-expression, perl-outline-level):
6811 Match functions&packages in column>0.
6812
6813 * env.el (env--substitute-vars-regexp): New const.
6814 (substitute-env-vars): Use it. Add `only-defined' arg.
6815 * net/tramp.el (tramp-replace-environment-variables): Use it.
6816
6817 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
6818 Byte-compile *before* eval in eval-and-compile.
6819 (byte-compile-log-warning): Remove redundant inhibit-read-only.
6820 (byte-compile-file-form-autoload): Don't hide actual definition.
6821 (byte-compile-maybe-guarded): Accept `functionp' as well.
6822
6823 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
6824
6825 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
6826
6827 * notifications.el (notifications-get-server-information-method):
6828 New defconst.
6829 (notifications-get-capabilities): Fix docstring.
6830 (notifications-get-server-information): New defun.
6831
6832 2012-11-06 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6833
6834 * textmodes/ispell.el (ispell-region): Standard re-indent for better
6835 readability.
6836
6837 * textmodes/ispell.el: Experimental support for support debugging.
6838 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
6839 buffer for ispell.
6840 (ispell-print-if-debug): New function to print stuff to
6841 `ispell-debug-buffer' if debugging is enabled.
6842 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
6843 show some debugging info.
6844 (ispell-buffer-with-debug): New function that creates a debugging
6845 buffer and calls `ispell-buffer' with debugging enabled.
6846
6847 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
6848 comment in autoconf mode. (Bug#12768)
6849
6850 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
6851
6852 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
6853 frame-first-window, frame-root-window, frame-selected-window,
6854 minibuffer-selected-window, minibuffer-window,
6855 window-absolute-pixel-edges, window-at, window-body-height,
6856 window-body-width, window-display-table, window-combination-limit,
6857 window-frame, window-fringes, window-inside-absolute-pixel-edges,
6858 window-inside-edges, window-inside-pixel-edges, window-left-child,
6859 window-left-column, window-margins, window-next-buffers,
6860 window-next-sibling, window-new-normal, window-new-total,
6861 window-normal-size, window-parameter, window-parameters, window-parent,
6862 window-pixel-edges, window-point, window-prev-buffers,
6863 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
6864 window-start, window-text-height, window-top-child, window-top-line,
6865 window-total-height, window-total-width and window-use-time to the list
6866 of functions without side-effects.
6867 (toplevel): Add window-valid-p to the list of error-free functions
6868 without side-effects.
6869
6870 2012-11-05 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6871
6872 * textmodes/ispell.el (ispell-program-name):
6873 Update spellchecker parameters when customized.
6874
6875 2012-11-04 Glenn Morris <rgm@gnu.org>
6876
6877 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
6878
6879 2012-11-04 Chong Yidong <cyd@gnu.org>
6880
6881 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
6882 same-window-* variables.
6883
6884 2012-11-04 Juri Linkov <juri@jurta.org>
6885
6886 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
6887 (isearch-describe-key, isearch-describe-mode): Use a display
6888 action instead of binding same-window-* variables (Bug#10040).
6889
6890 2012-11-03 Glenn Morris <rgm@gnu.org>
6891
6892 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
6893 Rename handler properties back from cl-- to cl-. (Bug#12788)
6894
6895 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
6896
6897 2012-11-03 Eli Zaretskii <eliz@gnu.org>
6898
6899 * term/pc-win.el: Don't load term/internal from here.
6900
6901 * loadup.el: Load term/internal from here.
6902
6903 2012-11-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6904
6905 * progmodes/python.el (inferior-python-mode): Fix hang in
6906 jit-lock (Bug#12645).
6907
6908 2012-11-03 Martin Rudalics <rudalics@gmx.at>
6909
6910 * window.el (switch-to-visible-buffer)
6911 (switch-to-buffer-preserve-window-point): Fix doc-strings.
6912
6913 2012-11-03 Glenn Morris <rgm@gnu.org>
6914
6915 * emacs-lisp/cl-lib.el (cl--random-time):
6916 Rename from cl-random-time. (Bug#12773)
6917 (cl--gensym-counter, cl--random-state): Update callers.
6918 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
6919
6920 2012-11-03 Chong Yidong <cyd@gnu.org>
6921
6922 * cus-start.el: Make cursor-type customizable (Bug#11633).
6923
6924 2012-11-02 Glenn Morris <rgm@gnu.org>
6925
6926 * filecache.el: No need to load find-lisp when compiling.
6927 (find-lisp-find-files): Autoload it.
6928 (file-cache-add-directory-recursively): Don't require find-lisp.
6929
6930 * image.el (image-type-from-file-name): Trivial simplification.
6931
6932 * emacs-lisp/bytecomp.el (byte-compile-eval):
6933 Decouple "noruntime" and "cl-functions" warnings.
6934
6935 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
6936
6937 * play/gomoku.el (gomoku-display-statistics): Update mode line
6938 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
6939
6940 2012-10-31 Martin Rudalics <rudalics@gmx.at>
6941
6942 * window.el (quit-restore-window): If the window has been
6943 created on an existing frame and ended up as the sole window on
6944 that frame, do not delete it (Bug#12764).
6945
6946 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
6947
6948 * progmodes/sh-script.el (sh--inside-noncommand-expression):
6949 Rename from sh--inside-arithmetic-expression, handle more cases
6950 (bug#11263).
6951
6952 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
6953 (sh-font-lock-open-heredoc): Use it (bug#12770).
6954
6955 2012-10-30 Glenn Morris <rgm@gnu.org>
6956
6957 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
6958
6959 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
6960
6961 2012-10-29 Chong Yidong <cyd@gnu.org>
6962
6963 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
6964 function key is stored in a keyboard macro (Bug#4894).
6965
6966 * thingatpt.el (number-at-point): Apply a thing-at-point property.
6967
6968 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6969
6970 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
6971 header comments".
6972 (diff-unified->context, diff-context->unified)
6973 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
6974
6975 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
6976
6977 * files.el (find-alternate-file): Only ask one question (bug#12487).
6978
6979 2012-10-29 Chong Yidong <cyd@gnu.org>
6980
6981 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
6982 Suggested by Dan Nicolaescu (Bug#6326).
6983
6984 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
6985
6986 * startup.el (fancy-about-screen): Don't message (Bug#12680).
6987
6988 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
6989
6990 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
6991
6992 * face-remap.el (face-remap-add-relative): Handle the case where a
6993 face-remapping-alist entry is a cons cell (Bug#12762).
6994
6995 2012-10-29 Kevin Ryde <user42@zip.com.au>
6996
6997 * woman.el (woman-parse-numeric-value): Handle picas correctly
6998 (Bug#12639).
6999
7000 2012-10-29 Glenn Morris <rgm@gnu.org>
7001
7002 * emacs-lisp/cl.el (defsetf): Doc fix.
7003
7004 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7005
7006 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
7007 syntax to the matching opener, if any (bug#12547).
7008 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
7009 matching open as a "case-(".
7010 (sh-smie-rc-grammar): Add a corresponding rule for it.
7011
7012 2012-10-28 Daniel Hackney <dan@haxney.org>
7013
7014 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
7015 "PKGNAME-autoloads.el" in case we created it.
7016
7017 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7018
7019 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
7020 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
7021 (completion--twq-all): Disable too-strict assertions.
7022
7023 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
7024
7025 2012-10-27 Eli Zaretskii <eliz@gnu.org>
7026
7027 * profiler.el (profiler-report-make-entry-part): Fix help-echo
7028 text to match the real keybindings.
7029
7030 2012-10-27 Juri Linkov <juri@jurta.org>
7031
7032 * wdired.el (wdired-keep-marker-rename): New defcustom.
7033 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
7034 (Bug#11795)
7035
7036 * dired.el (dired-keep-marker-rename): Add reference to
7037 `wdired-keep-marker-rename' in the docstring.
7038 Add default character value ?R to display initially in
7039 Customization UI instead of ?@.
7040
7041 2012-10-27 Martin Rudalics <rudalics@gmx.at>
7042
7043 * window.el (display-buffer): In doc-string describe
7044 window-height and window-width alist entries.
7045
7046 * time.el (display-time-world): Restore fit-window-to-buffer
7047 behavior.
7048
7049 2012-10-27 Chong Yidong <cyd@gnu.org>
7050
7051 * subr.el (insert-buffer-substring-as-yank): Doc fix.
7052
7053 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
7054
7055 * minibuffer.el (completion-category-overrides): New completion
7056 category `bookmark' (bug#11131).
7057
7058 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7059
7060 * emacs-lisp/advice.el (ad-assemble-advised-definition):
7061 Silence bogus compiler warnings for ad-do-it.
7062
7063 * bookmark.el (bookmark-completing-read): Set the completion category
7064 to `bookmark' (bug#11131).
7065
7066 2012-10-26 Bastien <bzg@altern.org>
7067 Stefan Monnier <monnier@iro.umontreal.ca>
7068
7069 * face-remap.el: Use lexical-binding.
7070 (text-scale-adjust): Improve docstring. Use itself for the temporary
7071 overlay-map bindings, so as to repeat the "Use..." message each time.
7072
7073 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7074
7075 * emacs-lisp/macroexp.el (macroexp--expand-all):
7076 Obey byte-compile-warning-enabled-p (bug#12486).
7077
7078 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
7079 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
7080
7081 2012-10-26 Martin Rudalics <rudalics@gmx.at>
7082
7083 * mouse.el (mouse-drag-line): Move last form into preceding when
7084 clause (Bug#12731).
7085
7086 * help.el (resize-temp-buffer-window): Fix doc-string.
7087
7088 2012-10-25 David Engster <deng@randomsample.de>
7089
7090 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
7091 Remove. This feature is already integrated in imenu.
7092
7093 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
7094 always loaded. Require `speedbar' unconditionally.
7095
7096 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7097
7098 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
7099
7100 * minibuffer.el (minibuffer-force-complete): Fix thinko.
7101
7102 * net/ldap.el (ldap-search-internal): The official ldif format starts
7103 with a "version: 1" header (bug#12724).
7104
7105 * emacs-lisp/package.el (package-installed-p): Warn if not ready
7106 (bug#12721).
7107
7108 2012-10-25 Glenn Morris <rgm@gnu.org>
7109
7110 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
7111
7112 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7113
7114 * minibuffer.el (minibuffer-force-complete): Use one more marker
7115 for the temporary-overlay-map command (bug#12619).
7116
7117 2012-10-24 Chong Yidong <cyd@gnu.org>
7118
7119 * time.el (display-time-world-mode): Derive from special-mode.
7120 (display-time-world): Use display-buffer (Bug#12708).
7121 (display-time-world-mode-map): Variable deleted.
7122 (display-time-world-display): Wrap the final delete-char inside
7123 inhibit-read-only.
7124
7125 2012-10-24 Chong Yidong <cyd@gnu.org>
7126
7127 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
7128 Doc fix.
7129
7130 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
7131
7132 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7133
7134 * minibuffer.el (completion--all-sorted-completions-location): New var.
7135 (completion--cache-all-sorted-completions)
7136 (completion--flush-all-sorted-completions): Use it.
7137 (completion-in-region, completion-in-region--postch)
7138 (completion-at-point, completion-help-at-point): Use markers in
7139 completion-in-region--data (bug#12619).
7140
7141 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7142
7143 * progmodes/compile.el (compilation-start): Try to handle common
7144 quoting of `cd' argument (bug#12640).
7145
7146 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
7147 (bug#12671).
7148
7149 2012-10-23 Glenn Morris <rgm@gnu.org>
7150
7151 * progmodes/gud.el (gud-menu-map):
7152 Check gdb-active-process is bound. (Bug#12358)
7153
7154 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7155
7156 * repeat.el (repeat): Set real-this-command (bug#12232).
7157
7158 * htmlfontify.el (hfy-post-html-hook):
7159 * filesets.el (filesets-cache-fill-content-hook):
7160 * arc-mode.el (archive-extract-hook):
7161 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
7162 * net/rcirc.el (rcirc-sentinel-functions)
7163 (rcirc-receive-message-functions, rcirc-activity-functions)
7164 (rcirc-print-functions):
7165 * net/dbus.el (dbus-event-error-functions):
7166 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
7167 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
7168 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
7169 * term/sun.el (sun-raw-prefix-hooks):
7170 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
7171
7172 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
7173
7174 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7175 Set `tramp-chunksize' to 1. This improves the performance.
7176 (tramp-smb-wait-for-output): Add timeout to
7177 `tramp-accept-process-output' calls.
7178
7179 2012-10-23 Chong Yidong <cyd@gnu.org>
7180
7181 * faces.el (font-list-limit): Define as an obsolete variable.
7182
7183 * startup.el (command-line):
7184 * cus-start.el: Don't refer to font-list-limit.
7185
7186 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
7187
7188 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7189
7190 * subr.el (internal-temp-output-buffer-show): Rename from
7191 temp-output-buffer-show, since previously compiled files expect this name.
7192
7193 2012-10-23 Glenn Morris <rgm@gnu.org>
7194
7195 * image.el (image-type-from-file-name): If multiple types match,
7196 return the first one that is supported. (Bug#9045)
7197
7198 2012-10-22 Glenn Morris <rgm@gnu.org>
7199
7200 * image.el (imagemagick-enabled-types): Doc fix.
7201
7202 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
7203
7204 * progmodes/which-func.el (which-func-current): The hash-table may have
7205 an explicit nil (bug#12338).
7206
7207 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7208
7209 * electric.el (electric-pair-delete-selection-self-insert-function):
7210 Rename to electric-pair-will-use-region, return a boolean.
7211 (electric-pair-mode): Adjust accordingly. Don't require delsel.
7212
7213 * delsel.el (delete-selection-helper): Use a function instead of a hook.
7214 (delete-selection-pre-hook): Use use-region-p.
7215 (delete-selection-self-insert-function): Remove.
7216 (self-insert-command): Obey self-insert-uses-region-functions.
7217 (self-insert-iso): Revert to previous setting, since we don't actually
7218 know what that command does.
7219 (delete-selection-self-insert-hooks): Remove.
7220
7221 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
7222
7223 * delsel.el (delete-selection-helper): New function, extracted from
7224 delete-selection-pre-hook.
7225 (delete-selection-pre-hook): Use it.
7226 (delete-selection-self-insert-function): New function.
7227 (delete-selection-self-insert-hooks): New hook.
7228 (self-insert-command, self-insert-iso): Use it.
7229 * electric.el (electric-pair-syntax): New function, extracted from
7230 electric-pair-post-self-insert-function.
7231 (electric-pair-post-self-insert-function): Use it.
7232 (electric-pair-delete-selection-self-insert-function): New function.
7233 (electric-pair-mode): Require delsel and setup
7234 delete-selection-self-insert-hooks (bug#11520).
7235
7236 2012-10-20 Chong Yidong <cyd@gnu.org>
7237
7238 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
7239 no changes to show (Bug#12586).
7240
7241 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
7242 list explicitly (Bug#12571).
7243
7244 2012-10-20 Arne Jørgensen <arne@arnested.dk>
7245
7246 * progmodes/flymake.el (flymake-create-temp-inplace):
7247 Use file-truename.
7248
7249 2012-10-20 Eli Zaretskii <eliz@gnu.org>
7250
7251 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
7252
7253 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
7254
7255 * calc/calc-units.el (math-extract-units): Properly extract powers
7256 of units.
7257
7258 2012-10-20 Daniel Colascione <dancol@dancol.org>
7259
7260 * frame.el (make-frame): Set x-display-name as we used to in order
7261 to unbreak creating an X11 frame from an Emacs daemon started
7262 without a display.
7263
7264 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7265
7266 * minibuffer.el (minibuffer-force-complete): Make the next completion use
7267 the same completion-field (bug#12221).
7268
7269 2012-10-19 Martin Rudalics <rudalics@gmx.at>
7270
7271 * emacs-lisp/debug.el (debug): Record height of debugger window
7272 also when debugger will be back (Bug#8789).
7273
7274 2012-10-18 Chong Yidong <cyd@gnu.org>
7275
7276 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7277 Convert to defcustom.
7278 (gdb-get-source-file): Don't bind pop-up-windows.
7279
7280 * progmodes/gud.el (gud-display-line): Don't specially re-use
7281 other frames for the gdb-mi case (Bug#12648).
7282
7283 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7284
7285 * emacs-lisp/advice.el: Clean up commentary a bit.
7286 (ad-do-advised-functions, ad-with-originals): Use `declare'.
7287 (byte-code-function-p): Never redefine.
7288
7289 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
7290
7291 2012-10-18 Glenn Morris <rgm@gnu.org>
7292
7293 * dired.el (dired-sort-toggle): Some ls implementations only allow
7294 a single option string. (Bug#12666)
7295
7296 * minibuffer.el (completion-cycle-threshold): Doc fix.
7297
7298 2012-10-17 Kenichi Handa <handa@gnu.org>
7299
7300 * international/mule.el (set-keyboard-coding-system):
7301 Recover input meta mode when the new coding system doesn not use 8-bit.
7302 Supply TERMINAL arg to set-input-meta-mode.
7303
7304 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7305
7306 * wdired.el (wdired-old-marks): New variable.
7307 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
7308 (wdired-do-renames): Move point with renamed file and don't lose
7309 mark status (Bug#11795).
7310
7311 2012-10-16 Juri Linkov <juri@jurta.org>
7312
7313 * replace.el (query-replace-help): Mention multi-buffer replacement
7314 keys in the Help message. (Bug#12655)
7315
7316 2012-10-15 Chong Yidong <cyd@gnu.org>
7317
7318 * emacs-lisp/byte-run.el (defsubst): Doc fix.
7319
7320 2012-10-14 Eli Zaretskii <eliz@gnu.org>
7321
7322 * window.el (display-buffer): Doc fix.
7323
7324 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7325 Adjust the msft regexp to the output of Studio 2010, and move msft
7326 before edg-1. See the discussion on emacs-devel,
7327 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
7328 for the details.
7329
7330 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7331
7332 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
7333 (oset): Move uses of object-class-fast macro after its definition.
7334
7335 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
7336
7337 2012-10-13 Chong Yidong <cyd@gnu.org>
7338
7339 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
7340 enabled, re-enable it (Bug#11963).
7341
7342 2012-10-13 Martin Rudalics <rudalics@gmx.at>
7343
7344 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
7345 non-nil, restore window configuration (Bug#12623).
7346
7347 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7348
7349 * help-fns.el (describe-variable, describe-function-1):
7350 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
7351
7352 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
7353
7354 2012-10-12 Glenn Morris <rgm@gnu.org>
7355
7356 * mail/rmailsum.el (rmail-header-summary):
7357 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
7358
7359 2012-10-12 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7360
7361 * progmodes/python.el (python-mode-map):
7362 Replace subtitute-key-definition with proper command remapping.
7363 (python-nav--up-list): Fix behavior for blocks on the same level.
7364
7365 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7366
7367 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
7368
7369 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
7370 changes to the format of load-history.
7371
7372 * international/mule-cmds.el (read-char-by-name): Move let-binding of
7373 completion-ignore-case in case that var is buffer-local (bug#12615).
7374
7375 2012-10-11 Kenichi Handa <handa@gnu.org>
7376
7377 * international/eucjp-ms.el: Re-generated.
7378
7379 2012-10-10 Kenichi Handa <handa@gnu.org>
7380
7381 * select.el (xselect--encode-string): If a coding is specified for
7382 selection, and that is compatible with COMPOUND_TEXT, use it.
7383
7384 2012-10-10 Martin Rudalics <rudalics@gmx.at>
7385
7386 * window.el (switch-to-buffer-preserve-window-point): New option.
7387 (switch-to-buffer):
7388 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
7389
7390 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7391
7392 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
7393 Don't document nil as a useful value (bug#12583).
7394
7395 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
7396
7397 * net/tramp.el (tramp-debug-message):
7398 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
7399 (with-tramp-progress-reporter): Rename from
7400 `tramp-with-progress-reporter'.
7401 (with-tramp-file-property, with-tramp-connection-property):
7402 Move from tramp-cache.el, rename from `with-file-property' and
7403 `with-connection-property', respectively.
7404
7405 * net/tramp-cache.el: Remove `with-file-property' and
7406 `with-connection-property'.
7407
7408 * net/tramp.el:
7409 * net/tramp-gvfs.el:
7410 * net/tramp-sh.el:
7411 * net/tramp-smb.el: Adapt callees.
7412
7413 * net/trampver.el: Update release number.
7414
7415 2012-10-09 Glenn Morris <rgm@gnu.org>
7416
7417 * w32-fns.el (set-message-beep):
7418 * term/w32-win.el (set-message-beep): Update declarations.
7419
7420 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7421
7422 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
7423 (mode-line-widen, mode-line-input-method-map)
7424 (mode-line-coding-system-map, mode-line-remote)
7425 (mode-line-unbury-buffer, mode-line-bury-buffer)
7426 (mode-line-next-buffer, mode-line-previous-buffer):
7427 Replace save-selected-window+select-window => with-selected-window.
7428
7429 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
7430 * progmodes/cc-vars.el (bq-process): Remove, unused.
7431
7432 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
7433
7434 2012-10-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7435
7436 Implemented `backward-up-list'-like navigation.
7437 * progmodes/python.el (python-nav-up-list)
7438 (python-nav-backward-up-list): New functions.
7439 (python-mode-map): Define substitute key for backward-up-list to
7440 python-nav-backward-up-list.
7441
7442 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7443
7444 * progmodes/python.el (python-fill-paragraph): Rename from
7445 python-fill-paragraph-function. Fixed fill-paragraph for
7446 decorators (Bug#12605).
7447
7448 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7449
7450 * progmodes/python.el (python-shell-output-filter): Handle extra
7451 carriage return in OSX (Bug#12409).
7452
7453 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7454
7455 Fix shell handling of unbalanced quotes and parens in output.
7456 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
7457 (python-syntax-propertize-function): Use it.
7458 (python-shell-output-syntax-table): New var.
7459 (inferior-python-mode): Prevent unbalanced parens/quotes from
7460 previous output mess with current input context.
7461
7462 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
7463
7464 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
7465 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
7466
7467 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
7468
7469 * ffap.el (ffap-replace-file-component): Support Tramp file name
7470 syntax, not only ange-ftp's one.
7471
7472 2012-10-08 Glenn Morris <rgm@gnu.org>
7473
7474 * cus-start.el (message-log-max): Set :version.
7475
7476 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
7477
7478 2012-10-08 Martin Rudalics <rudalics@gmx.at>
7479
7480 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
7481 the minibuffer window (Bug#10851).
7482
7483 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7484
7485 Enhancements on forward-sexp movement.
7486 * progmodes/python.el (python-nav-beginning-of-statement)
7487 (python-nav-end-of-statement): Return point-marker.
7488 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
7489 (python-info-current-symbol)
7490 (python-info-statement-starts-block-p): Rename from
7491 python-info-beginning-of-block-p.
7492 (python-info-statement-ends-block-p): Rename from
7493 python-info-end-of-block-p.
7494 (python-info-beginning-of-statement-p)
7495 (python-info-end-of-statement-p)
7496 (python-info-beginning-of-block-p, python-info-end-of-block-p):
7497 New functions.
7498
7499 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7500
7501 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
7502 frame-selected-windows.
7503
7504 2012-10-08 Daniel Colascione <dancol@dancol.org>
7505
7506 * battery.el (battery-status-function): Check for
7507 w32-battery-status itself, not system-time windows-nt.
7508
7509 * frame.el: Require cl-lib.
7510 (display-format-alist): New variable mapping frame types to
7511 functions that initialize them.
7512 (window-system-for-display): New function: interprets
7513 display-format-alist.
7514 (make-frame-on-display): Remove existing display-selection logic
7515 and just forward to make-frame, which will now DTRT.
7516 (make-frame): Restructure to use window-system-for-display to
7517 figure out how to create a frame on a given display.
7518 (display-mouse-p): Look for frame-type w32, not a particular
7519 system-type.
7520
7521 * loadup.el: Load w32 lisp code when we have the w32 feature.
7522
7523 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
7524 system-type windows-nt.
7525
7526 * server.el (server-create-window-system-frame): Look for window
7527 type.
7528 (server-proces-filter): Only force a window system when windows-nt
7529 _and_ w32. Explain why.
7530
7531 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
7532 of window systems we configure for the mode.
7533
7534 * startup.el (command-line): Mark window system is initialized
7535 after we've done it.
7536
7537 * common-win.el (x-select-text): Look for w32, not windows-nt.
7538
7539 * ns-win.el: Require cl-lib. Add ourselves to
7540 display-format-alist.
7541 (ns-initialize-window-system): Assert we're not initialized twice.
7542
7543 * w32-win.el: Enable lexical binding; require cl-lib; add
7544 ourselves to display-format-alist.
7545 (w32-handle-dropped-file): Convert incoming dropped files from
7546 Windows paths to Cygwin ones before passing them on to the rest of
7547 Emacs.
7548 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
7549 (w32-initialize-window-system): Assert we're not initialized twice.
7550
7551 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
7552 (x-initialize-window-system): Assert we're not initialized twice.
7553
7554 * w32-common-fns.el: New File.
7555 (w32-version, w32-using-nt, w32-get-clipboard-data)
7556 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7557 (w32-charset-info-alist, x-last-selected, text)
7558 (x-get-selection-value, x-selection-value): Move here.
7559
7560 * w32-fns.el: Require w32-common-fns.
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 to
7565 w32-common-fns.
7566
7567 * w32-vars.el:
7568 (w32-allow-system-shell, w32-system-shells): Define only in
7569 non-cygwin case.
7570
7571 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7572
7573 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
7574 (read-passwd): Remove a few more potential sources of leaks.
7575
7576 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7577
7578 * progmodes/python.el (inferior-python-mode)
7579 (python-shell-make-comint): Fix initialization of local
7580 variables copied from parent buffer.
7581
7582 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
7583
7584 * term/ns-win.el (ns-read-file-name): Update declaration to match
7585 nsfns.m.
7586 (ns-respond-to-change-font): Change fontsize separately so we are sure
7587 it is set when font is acted upon.
7588
7589 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7590
7591 Enhancements to indentation.
7592 * progmodes/python.el (python-indent-context): Give priority to
7593 inside-string context. Make comments indentation markers.
7594 (python-indent-region): Do not mess with strings, unless it's the
7595 enclosing set of quotes.
7596
7597 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7598
7599 * window.el (internal--before-save-selected-window)
7600 (internal--after-save-selected-window): New functions extracted from
7601 save-selected-window. Make sure we return the `alist' we construct.
7602 (save-selected-window): Use them.
7603
7604 * textmodes/tex-mode.el (tex-recenter-output-buffer):
7605 Use with-selected-window.
7606
7607 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
7608 forms that define macros (bug#12593).
7609
7610 2012-10-07 Kenichi Handa <handa@gnu.org>
7611
7612 * international/mule-conf.el (compound-text-with-extensions):
7613 Add :mime-charset property as x-ctext.
7614
7615 2012-10-07 Stefan Merten <smerten@oekonux.de>
7616
7617 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7618 (rst-indent-literal-normal, rst-indent-literal-minimized)
7619 (rst-indent-comment): Correct :version tag.
7620 (rst-official-cvs-rev): Correct version string.
7621
7622 2012-10-07 Glenn Morris <rgm@gnu.org>
7623
7624 * mail/rmailmm.el (rmail-mime-process-multipart):
7625 Do not confuse a multipart message with an epilogue
7626 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
7627
7628 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7629
7630 Fix shell output retrieval and comint-prompt-regexp init.
7631 * progmodes/python.el (inferior-python-mode):
7632 (python-shell-make-comint): Fix initialization of
7633 comint-prompt-regexp from copied file local variables.
7634 (python-shell-fetched-lines): Remove var.
7635 (python-shell-output-filter-in-progress): Rename from
7636 python-shell-fetch-lines-in-progress.
7637 (python-shell-output-filter-buffer): Rename from
7638 python-shell-fetch-lines-string.
7639 (python-shell-fetch-lines-filter): Delete function.
7640 (python-shell-output-filter): New function.
7641 (python-shell-send-string-no-output): Use them.
7642
7643 2012-10-07 Glenn Morris <rgm@gnu.org>
7644
7645 * hi-lock.el (hi-lock-process-phrase):
7646 Try to make it less fragile. (Bug#7161)
7647
7648 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
7649
7650 2012-10-06 Glenn Morris <rgm@gnu.org>
7651
7652 * ehelp.el (electric-help-mode): Use help-mode rather than
7653 non-existent mode `help'.
7654 (electric-help-map): Use button-buffer-map. (Bug#10917)
7655
7656 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
7657 (reftex-create-bibtex-footer): Fix custom types.
7658
7659 * progmodes/sh-script.el (sh-indent-after-continuation):
7660 Add explicit :group.
7661
7662 * textmodes/rst.el (rst-preferred-decorations)
7663 (rst-shift-basic-offset): Clarify obsolescence versions.
7664
7665 * profiler.el (profiler): Add missing group :version tag.
7666 * avoid.el (mouse-avoidance-banish-position):
7667 * proced.el (proced-renice-command):
7668 * calc/calc.el (calc-ensure-consistent-units):
7669 * calendar/icalendar.el (icalendar-import-format-uid):
7670 * net/tramp.el (tramp-save-ad-hoc-proxies):
7671 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7672 * progmodes/flymake.el (flymake-error-bitmap)
7673 (flymake-warning-bitmap, flymake-fringe-indicator-position):
7674 * progmodes/sh-script.el (sh-indent-after-continuation):
7675 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
7676 (verilog-before-save-font-hook, verilog-after-save-font-hook):
7677 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
7678 (vhdl-array-index-record-field-in-sensitivity-list)
7679 (vhdl-indent-comment-like-next-code-line):
7680 * textmodes/reftex-vars.el (reftex-ref-style-alist)
7681 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
7682 (reftex-cite-key-separator, reftex-create-bibtex-header)
7683 (reftex-create-bibtex-footer):
7684 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7685 (rst-indent-literal-normal, rst-indent-literal-minimized)
7686 (rst-indent-comment): Add missing custom :version tags.
7687
7688 * calendar/timeclock.el (timeclock-modeline-display):
7689 Add missing obsolete alias for renamed user option.
7690
7691 * strokes.el (strokes-modeline-string):
7692 * emulation/crisp.el (crisp-mode-modeline-string):
7693 * eshell/esh-mode.el (eshell-status-in-modeline):
7694 Aliases to defcustoms must come before the defcustom.
7695
7696 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
7697 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7698 (cal-tex-cursor-week-monday): Doc fixes.
7699 (cal-tex-cursor-week2-summary): Doc fix.
7700 Rename from cal-tex-cursor-week-at-a-glance.
7701
7702 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
7703 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
7704
7705 * calendar/calendar.el (calendar-mode-map):
7706 Add cal-tex-cursor-week2-summary.
7707
7708 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
7709
7710 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
7711
7712 * subr.el (read-passwd-map): New var.
7713 (read-passwd): Use `read-string' again.
7714 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
7715
7716 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
7717
7718 * register.el (append-to-register, prepend-to-register):
7719 Deactivate mark, as does `copy-to-register' (bug#12389).
7720
7721 2012-10-06 Chong Yidong <cyd@gnu.org>
7722
7723 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
7724
7725 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
7726
7727 * international/characters.el: Fix simple mistake ((car chars) ->
7728 elt), delete duplicated code.
7729
7730 2012-10-06 Glenn Morris <rgm@gnu.org>
7731
7732 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
7733
7734 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
7735
7736 * color.el (color-hsl-to-rgb): Fix incorrect results for
7737 small and large hue values. (Bug#12559)
7738
7739 2012-10-05 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7740
7741 Enhancements to docstring formatting when filling paragraphs.
7742 * progmodes/python.el (python-fill-docstring-style): Rename from
7743 python-fill-string-style. Added new style.
7744 (python-fill-string): Use new style. Better checks for
7745 docstrings.
7746
7747 2012-10-05 Glenn Morris <rgm@gnu.org>
7748
7749 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
7750
7751 * color.el (color-name-to-rgb, color-rgb-to-hex)
7752 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
7753 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
7754 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7755 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
7756
7757 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
7758
7759 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
7760
7761 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
7762 to get the correct size across symlinks.
7763
7764 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
7765
7766 2012-10-04 Juri Linkov <juri@jurta.org>
7767
7768 * replace.el (query-replace-interactive): Declare obsolete.
7769 (query-replace-read-from): Add the last incremental search string
7770 to the list of default values accessible via M-n.
7771 (map-query-replace-regexp): Use `read-regexp'.
7772 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7773 (map-query-replace-regexp, replace-string, replace-regexp):
7774 Fix docstrings to replace mentions of `query-replace-interactive'
7775 with alternatives. (Bug#12526)
7776
7777 2012-10-04 Juri Linkov <juri@jurta.org>
7778
7779 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
7780 (dired-pop-to-buffer): Declare obsolete.
7781 (dired-mark-pop-up): Doc fix.
7782
7783 2012-10-04 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7784
7785 Allow user to set docstring style for fill-paragraph.
7786 * progmodes/python.el
7787 (python-fill-comment-function, python-fill-string-function)
7788 (python-fill-decorator-function, python-fill-paren-function):
7789 Remove :safe for defcustoms.
7790 (python-fill-string-style): New defcustom
7791 (python-fill-paragraph-function): Enhance context detection.
7792 (python-fill-string): Honor python-fill-string-style settings.
7793
7794 2012-10-04 Martin Rudalics <rudalics@gmx.at>
7795
7796 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
7797 after setting its buffer (Bug#10805).
7798
7799 2012-10-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7800
7801 Fix cornercase for string syntax.
7802 * progmodes/python.el (python-syntax-propertize-function):
7803 Simplify and enhance the regexp for unescaped quotes. Now it also
7804 matches quotes in weird situations like the single quote in
7805 "something\"'".
7806 (python-syntax-stringify): Simplify num-quotes detecting code.
7807
7808 2012-10-03 Glenn Morris <rgm@gnu.org>
7809
7810 * help-macro.el (three-step-help):
7811 Revert 2012-09-29 change. (Bug#12567)
7812
7813 2012-10-03 Martin Rudalics <rudalics@gmx.at>
7814
7815 * menu-bar.el (kill-this-buffer): Don't do anything when
7816 `menu-frame' is not alive or visible (Bug#8184).
7817
7818 * emacs-lisp/debug.el (debug): When quitting the debugger window
7819 restore current buffer (Bug#12502).
7820
7821 2012-10-02 Chong Yidong <cyd@gnu.org>
7822
7823 * progmodes/hideif.el (hif-lookup, hif-defined):
7824 Handle semantic-c-takeover-hideif.
7825
7826 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
7827
7828 Change sampling interval units from ms to ns.
7829 * profiler.el (profiler-sampling-interval): Change units
7830 from ms to ns, multiplying the default by 1000000 so that
7831 it remains 1 ms.
7832 (profiler-report-cpu-line-format): Give enough room for
7833 the maximum counters on 64-bit hosts.
7834 (profiler-report-render-calltree-1): Call them "CPU samples",
7835 not "Time (ms)", since they are not milliseconds now (and
7836 never really were).
7837
7838 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7839
7840 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
7841 Fix querying BBDB for entries without a last name (Bug#11580).
7842
7843 2012-10-02 Chong Yidong <cyd@gnu.org>
7844
7845 * emacs-lisp/eieio.el: Restore Version header.
7846
7847 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7848
7849 * vc/diff-mode.el (diff--auto-refine-data): New var.
7850 (diff-hunk): Use it to delay refinement.
7851 (diff-mode): Remove overlays when we turn off font-lock.
7852
7853 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
7854 (table-initialize-table-fixed-width-mode)
7855 (table-set-table-fixed-width-mode): Remove functions.
7856 (table-command-list): Move initialization into declaration.
7857 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
7858 (table-with-cache-buffer): Use `declare'.
7859 (table-span-cell): Simplify via CSE.
7860 (table-fixed-width-mode): Use define-minor-mode.
7861 (table-call-interactively, table-funcall, table-apply): Remove.
7862 (table-function): New function, to replace them.
7863
7864 * bookmark.el (bookmark-search-pattern): Remove var.
7865 (bookmark-read-search-input): Remove function.
7866 (bookmark-bmenu-search): Reimplement using a minibuffer.
7867
7868 * faces.el (modeline): Remove obsolete face name.
7869
7870 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
7871 and give a non-nil default value.
7872 (add-change-log-entry): Simplify accordingly.
7873
7874 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
7875
7876 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
7877 (vc-git-log-edit-toggle-amend): New function.
7878 (vc-git-log-edit-toggle-signoff): New function.
7879 (vc-git-log-edit-mode): New major mode.
7880 (vc-git-log-edit-mode-map): Keymap for it.
7881 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
7882
7883 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
7884 header names.
7885 (log-edit-toggle-header): New function.
7886 (log-edit-extract-headers): Accept function values in HEADERS alist.
7887
7888 2012-10-01 David Engster <deng@randomsample.de>
7889
7890 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
7891 from symbol property and change message to be more consistent with
7892 Emacs proper.
7893 (eieio-describe-generic): Add filename for each implementation.
7894 Fix indices for generic and normal methods.
7895 (eieio-method-def, eieio-class-def): New buttons.
7896 (eieio-help-find-method-definition)
7897 (eieio-help-find-class-definition): New functions.
7898 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
7899 class, constructor and method definitions.
7900
7901 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
7902 information in symbol property.
7903 (scoped-class): Remove.
7904 (eieio-slot-name-index, call-next-method): Check if it is bound.
7905
7906 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
7907
7908 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
7909 (eieio-custom-mode): New major mode.
7910 (eieio-customize-object): Use it.
7911
7912 2012-10-01 Eric Ludlam <zappo@gnu.org>
7913
7914 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
7915 specifying the expected class, and whether subclassing is allowed.
7916 (eieio-persistent-convert-list-to-object):
7917 (eieio-persistent-validate/fix-slot-value)
7918 (eieio-persistent-slot-type-is-class-p): New functions.
7919 (eieio-named::slot-missing): Doc fix.
7920
7921 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
7922 Stop using unused publd variable.
7923
7924 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7925 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
7926 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
7927 (eieio-speedbar-handle-click): Do not specify a class for the
7928 method. Fixes method invocation order problems with EDE.
7929
7930 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7931
7932 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
7933 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
7934
7935 2012-10-01 Karl Fogel <kfogel@red-bean.com>
7936
7937 * bookmark.el (bookmark-version-control): Give tags in the
7938 :type choices (Bug#12309), and improve doc string.
7939 (bookmark-write-file): Bind `print-circle' to `t' to allow
7940 circular custom bookmark types. (Bug#12503)
7941
7942 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
7943
7944 Revert the FOLLOW-SYMLINKS change for file-attributes.
7945 * files.el (remote-file-name-inhibit-cache, after-find-file):
7946 * time.el (display-time-file-nonempty-p): Undo last change.
7947
7948 * profiler.el (profiler-sampling-interval): Change default back to 1.
7949 See Stefan Monnier in
7950 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
7951
7952 2012-10-01 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7953
7954 Shell output catching a la gud-gdb.
7955 * progmodes/python.el (python-shell-fetch-lines-in-progress)
7956 (python-shell-fetch-lines-string, python-shell-fetched-lines):
7957 New Vars.
7958 (python-shell-fetch-lines-filter): New function.
7959 (python-shell-send-string-no-output): Use them.
7960
7961 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
7962
7963 * profiler.el (profiler-sampling-interval): Rename from
7964 profiler-sample-interval.
7965 (profiler-sampling-interval): Default to 10.
7966 (profiler-find-profile): New command (was profiler-find-log).
7967 (profiler-find-profile-other-window): New command.
7968 (profiler-find-profile-other-frame): New command.
7969 (profiler-profile): Introduce API-level data structure.
7970
7971 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
7972
7973 file-attributes has a new optional arg FOLLOW-SYMLINKS.
7974 * files.el (remote-file-name-inhibit-cache):
7975 * time.el (display-time-file-nonempty-p): Use it.
7976 * files.el (after-find-file): Don't chase links before calling
7977 file-exists-p, as file-exists-p already does the right thing.
7978
7979 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
7980
7981 Merge from standalone RefTeX repository.
7982
7983 The following ChangeLog entries are shortened versions of the
7984 original ones with file paths adapted. A not so strongly edited
7985 version of the original ChangeLog can be found in the commit log.
7986
7987 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
7988 (reftex-arg-cite): Use `reftex-cite-key-separator'.
7989 Correctly handle new value type returned by `reftex-citation'.
7990
7991 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
7992 that entries with whitespace at various places are found.
7993 Doc fix. Include entries that are cross-referenced from cited entries.
7994 Include @String definitions in the resulting bib file. Add header
7995 and footer defined in `reftex-create-bibtex-header' and
7996 `reftex-create-bibtex-footer'.
7997 (reftex-do-citation): Make it possible again to insert
7998 non-existent entries. Save match data when asking for optional
7999 arguments. Return all keys, not just the first one.
8000 (reftex-all-used-citation-keys): Fix regexp to correctly extract
8001 all citations in the same line.
8002 (reftex-parse-bibtex-entry): Accept additional optional argument
8003 `raw' and keep quotes or braces if it is non-nil. Match fields
8004 containing hyphens besides word constituents.
8005 (reftex-get-string-refs): New function.
8006 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
8007 and ask if it should be reread in case it did.
8008 (reftex-pop-to-bibtex-entry)
8009 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
8010 entries with spaces or tabs in front of arguments.
8011 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8012 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
8013 Match entries containing numbers and symbol constituents.
8014 (reftex-do-citation, reftex-figure-out-cite-format):
8015 Use `reftex-cite-key-separator'.
8016
8017 * textmodes/reftex-dcr.el: Move provide statement to end of file.
8018 (reftex-mouse-view-crossref): Explain why point is set.
8019
8020 * textmodes/reftex-global.el: Whitespace changes.
8021
8022 * textmodes/reftex-index.el: Move provide statement to end of
8023 file.
8024 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
8025 (reftex-index-visit-phrases-buffer): Set marker when visiting
8026 buffer. This allows for returning from the phrases file to the
8027 file one was just editing instead of the file where the last
8028 phrases was added from.
8029 (reftex-index-phrases-syntax-table): New variable. Give ?\"
8030 punctuation syntax as it usually is not used as string quote in
8031 TeX-related modes and may occur unmatched. The change also
8032 prevents fontification of quoted content.
8033 (reftex-index-phrases-mode): Use it.
8034
8035 * textmodes/reftex-parse.el (reftex-parse-from-file):
8036 Move backward one char if a `\' was matched after a section macro.
8037 (reftex-parse-from-file): Use beginning of match instead of end as
8038 bound.
8039
8040 * textmodes/reftex-ref.el: Adapt creation of
8041 `reftex-<package>-<macro>' functions to new structure of
8042 `reftex-ref-style-alist'.
8043 (reftex-reference): Use `reftex-ref-style-list' function.
8044 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
8045 reference macro if `reftex-ref-macro-prompt' is non-nil.
8046 (reftex-reference): Pass refstyle to `reftex-format-special'.
8047 Determine reference macro by looking at
8048 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
8049 Use only one special format function.
8050 (reftex-varioref-vref, reftex-fancyref-fref)
8051 (reftex-fancyref-Fref): Remove definitions. The functions are now
8052 generated from `reftex-ref-style-alist'.
8053 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
8054 Remove.
8055 (reftex-format-special): New function.
8056
8057 * textmodes/reftex-sel.el
8058 (reftex-select-cycle-ref-style-internal): Adapt to new structure
8059 of `reftex-ref-style-alist'. Remove code for testing macro type.
8060 (reftex-select-toggle-varioref)
8061 (reftex-select-toggle-fancyref): Remove.
8062 (reftex-select-cycle-ref-style-internal)
8063 (reftex-select-cycle-ref-style-forward)
8064 (reftex-select-cycle-ref-style-backward): New functions.
8065 (reftex-select-label-map): Use `v' and `V' for general cycling
8066 through reference styles. Add `p' for switching between number
8067 and page reference types.
8068
8069 * textmodes/reftex-toc.el (reftex-re-enlarge):
8070 Call `enlarge-window' only if there is something to do because in Emacs
8071 the horizontal version throws an error even if the parameter is 0.
8072
8073 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
8074 (reftex-plug-into-AUCTeX): Doc fix.
8075 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
8076 string. Adapt to new name.
8077 (reftex-ref-style-alist): Change structure so that it is not
8078 possible to use multiple different package names within a style.
8079 Remove the symbols for symbols for macro type distinction.
8080 Add characters for macro selection.
8081 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
8082 (reftex-create-bibtex-footer): New variables.
8083 (reftex-format-ref-function): Mention third argument of special
8084 format function.
8085 (reftex-ref-style-alist, reftex-ref-style-default-list):
8086 New variables.
8087 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
8088 to new implementation. Mark as obsolete. Add compatibility code
8089 for honoring the variable values in case they are set.
8090 (reftex-cite-format-builtin, reftex-bibliography-commands):
8091 Add support for ConTeXt.
8092 (reftex-format-ref-function, reftex-format-cite-function):
8093 Fix custom type.
8094 (reftex-cite-key-separator): New variable.
8095
8096 * textmodes/reftex.el (reftex-syntax-table-for-bib)
8097 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
8098 `reftex-syntax-table' because parens have to retain their paren
8099 syntax in order for parsing of BibTeX entries like @book(...) to
8100 work.
8101 (reftex-in-comment): Do not error out if `comment-start-skip' is
8102 not set. Deal correctly with escaped comment characters.
8103 (reftex-tie-multifile-symbols): Add doc string.
8104 Initialize `reftex-ref-style-list'.
8105 (reftex-untie-multifile-symbols): Add doc string.
8106 (reftex-add-index-macros): Doc fix.
8107 (reftex-ref-style-activate, reftex-ref-style-toggle)
8108 (reftex-ref-style-list): New functions.
8109 (reftex-mode-menu): Use them. Adapt to new structure of
8110 `reftex-ref-style-alist'.
8111 (reftex-select-with-char): Kill the RefTeX Select buffer when
8112 done.
8113 (reftex-remove-if): New function.
8114 (reftex-erase-all-selection-and-index-buffers)
8115 (reftex-mode-menu): Reference styles are now computed from
8116 `reftex-ref-style-alist'. Fix typo.
8117 (reftex-report-bug): New function.
8118 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
8119 algorithms with O(n log n). Introduce optional argument SORT (not
8120 yet used).
8121
8122 2012-09-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8123
8124 Enhancements for triple-quote string syntax.
8125 * progmodes/python.el (python-syntax-propertize-function):
8126 Match both quote cases in one regexp.
8127 (python-syntax-stringify): Handle matches properly.
8128
8129 2012-09-30 Juri Linkov <juri@jurta.org>
8130
8131 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
8132 to nil around the call to `insert' to prevent
8133 directory time modification by lock_file. (Bug#2295)
8134 * tar-mode.el (tar-summarize-buffer): Idem.
8135
8136 2012-09-30 Juri Linkov <juri@jurta.org>
8137
8138 * facemenu.el (list-colors-sort): Add option "Luminance".
8139 (list-colors-sort-key): Implement it.
8140
8141 * vc/diff-mode.el (diff-refine-removed):
8142 * vc/ediff-init.el (ediff-fine-diff-A):
8143 * vc/smerge-mode.el (smerge-refined-removed):
8144 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
8145
8146 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
8147
8148 * term/ns-win.el (x-file-dialog): New function.
8149
8150 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
8151
8152 * ido.el (ido-max-directory-size): Default to nil; the current
8153 default is small for POSIX systems, and impractical on Windows 7
8154 now that lstat returns directory sizes for NTFS.
8155
8156 2012-09-30 Martin Rudalics <rudalics@gmx.at>
8157
8158 In buffer display functions handle window-height/window-width
8159 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
8160 * window.el (window--display-buffer): New argument ALIST.
8161 Obey window-height and window-width alist entries.
8162 (window--try-to-split-window): New argument ALIST.
8163 Bind window-combination-limit to t when the window's size shall be
8164 changed and window-combination-limit equals `window-size'.
8165 (display-buffer-in-atom-window)
8166 (display-buffer-in-major-side-window)
8167 (display-buffer-in-side-window, display-buffer-same-window)
8168 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8169 (display-buffer-pop-up-window, display-buffer-below-selected)
8170 (display-buffer-at-bottom, display-buffer-in-previous-window)
8171 (display-buffer-use-some-window): Adjust all callers of
8172 window--display-buffer and window--try-to-split-window.
8173 (fit-frame-to-buffer): New option.
8174 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
8175 is non-nil.
8176 (display-buffer-in-major-side-window): Evaluate window-height /
8177 window-width alist entries.
8178
8179 * help.el (temp-buffer-resize-frames)
8180 (temp-buffer-resize-regexps): Remove options.
8181 (temp-buffer-resize-mode): Adjust doc-string.
8182 (resize-temp-buffer-window): Don't consult
8183 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
8184 temp-buffer-resize-frames.
8185
8186 * dired.el (dired-mark-pop-up):
8187 Call display-buffer-below-selected with a fit-window-to-buffer alist
8188 entry.
8189
8190 2012-09-30 Chong Yidong <cyd@gnu.org>
8191
8192 * server.el (server-host): Document the security implications.
8193 (server-auth-key): Doc fix.
8194
8195 * startup.el (initial-buffer-choice): Doc fix.
8196
8197 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
8198
8199 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
8200 restriction change.
8201
8202 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
8203
8204 * help-fns.el (help-fns--obsolete): Fix last change.
8205
8206 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
8207
8208 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
8209 (minor-mode-map-alist): Remove redundant code.
8210
8211 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
8212 visited in a buffer.
8213 (cvs-insert-visited-file): New function.
8214 (find-file-hook): Use it.
8215
8216 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
8217
8218 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
8219 chose face.
8220 (log-edit-empty-buffer-p): Don't require a space after a header.
8221
8222 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
8223
8224 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
8225
8226 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
8227 a proper minor-mode.
8228
8229 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
8230
8231 2012-09-29 Glenn Morris <rgm@gnu.org>
8232
8233 * winner.el (winner-mode): Remove variable (let define-minor-mode
8234 handle it).
8235 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
8236 Doc fixes.
8237 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
8238 (winner-mode): Use define-minor-mode.
8239
8240 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
8241 the full definition in loaddefs, rather than duplicating it.
8242
8243 * help-macro.el (three-step-help): No need to autoload defcustom.
8244
8245 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
8246 (inferior-lisp-program, inferior-lisp-load-command)
8247 (inferior-lisp-prompt, inferior-lisp-mode-hook):
8248 No need to autoload defcustoms.
8249
8250 * hippie-exp.el (hippie-expand-try-functions-list)
8251 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
8252 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
8253 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
8254 (hippie-expand-only-buffers): No need to autoload defcustoms.
8255 * progmodes/vhdl-mode.el (vhdl-line-expand):
8256 Explicitly load hippie-exp, so it does not get autoloaded
8257 while hippie-expand-try-functions-list is let-bound.
8258
8259 2012-09-28 Glenn Morris <rgm@gnu.org>
8260
8261 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
8262
8263 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
8264 Only "cl.el" counts as cl these days.
8265
8266 2012-09-28 Juri Linkov <juri@jurta.org>
8267
8268 Display archive errors in the echo area instead of inserting
8269 to the file buffer.
8270
8271 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
8272 to STDERR-TEST that can be a regexp matching a successful output.
8273 Create a temporary file and redirect stderr to it. Search for
8274 STDERR-TEST in the stderr output and display it in the echo area
8275 if no match is found.
8276 (archive-extract-by-file): New function like
8277 `archive-extract-by-stdout' but extracting archives to files
8278 and looking for successful matches in stdout. Function body is
8279 mostly copied from `archive-rar-extract'.
8280 (archive-rar-extract): Use `archive-extract-by-file'.
8281 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
8282
8283 2012-09-28 Leo Liu <sdl.web@gmail.com>
8284
8285 * pcomplete.el (pcomplete-show-completions):
8286 Use minibuffer-message to make pcomplete usable in minibuffer.
8287
8288 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
8289
8290 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8291
8292 * type-break.el: Use lexical-binding.
8293 (type-break-mode): Use define-minor-mode.
8294
8295 * emacs-lisp/pcase.el (pcase--mark-used): New.
8296 (pcase--u1): Use it (bug#12512).
8297
8298 * custom.el (load-theme): Set buffer-file-name so the load is recorded
8299 in load-history with the right file name.
8300
8301 2012-09-28 Tassilo Horn <tsdh@gnu.org>
8302
8303 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
8304 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
8305 (doc-view-get-bounding-box): Make bounding box slicing work for
8306 ODF and DVI documents.
8307
8308 2012-09-28 Glenn Morris <rgm@gnu.org>
8309
8310 * type-break.el (type-break-mode, type-break-interval)
8311 (type-break-good-rest-interval, type-break-keystroke-threshold):
8312 No need to autoload.
8313 (type-break-good-rest-interval, type-break-keystroke-threshold):
8314 Add :set-after.
8315
8316 2012-09-28 Chong Yidong <cyd@gnu.org>
8317
8318 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
8319 Add :version tag.
8320
8321 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8322
8323 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
8324
8325 2012-09-27 Glenn Morris <rgm@gnu.org>
8326
8327 * faces.el (x-display-name): Declare (for without-x builds).
8328
8329 * linum.el (linum-format): Don't autoload it. Improve :type.
8330
8331 * progmodes/tcl.el: Don't require outline when compiling.
8332 (outline-regexp, outline-level): Declare.
8333 * textmodes/sgml-mode.el: Don't require outline when compiling.
8334 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
8335
8336 * term.el (term-ansi-reset):
8337 Try setting term-ansi-face-already-done to nil. (Bug#11785)
8338
8339 * vc/vc.el (vc-next-action): Only gripe about committing read-only
8340 files for RCS and SCCS. (Bug#9781)
8341
8342 2012-09-27 Chong Yidong <cyd@gnu.org>
8343
8344 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
8345 change; value should be t.
8346
8347 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8348
8349 * image-mode.el: Use lexical-binding.
8350 (image-mode-winprops): Use t to stand for the window of
8351 a buffer that's not displayed.
8352 * doc-view.el (doc-view-new-window-function): Handle the new
8353 t in winprops.
8354 (doc-view-enlarge): Make it a real nop if the size is not changed.
8355 (doc-view-display): Handle the case where the buffer is not (yet?)
8356 displayed in any window.
8357 (doc-view-saved-settings): New var.
8358 (doc-view-mode): Use it.
8359 (doc-view-fallback-mode): Set it.
8360
8361 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
8362 Set lexical-binding.
8363 (minibuffer-eldef-shorten-default): New var.
8364 (minibuffer-default-in-prompt-regexps): Use it for new default.
8365 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
8366
8367 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8368
8369 * international/uni-bidi.el:
8370 * international/uni-category.el:
8371 * international/uni-name.el:
8372 * international/uni-numeric.el: Regenerate.
8373
8374 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
8375 Stefan Monnier <monnier@iro.umontreal.ca>
8376
8377 * profiler.el: New file.
8378
8379 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
8380
8381 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
8382 (testcover-reinstrument): Simplify with CSE.
8383
8384 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8385
8386 * window.el (temp-buffer-window-setup): Fix typo in docstring.
8387
8388 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
8389
8390 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
8391 (verilog-auto-input, verilog-auto-insert-lisp)
8392 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
8393 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
8394 (verilog-auto-unused, verilog-auto-wire)
8395 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
8396 newline. Reported by Andrew Jones.
8397 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
8398 Reported by Brad Dobbie.
8399 (verilog-batch-delete-trailing-whitespace):
8400 Create verilog-batch-delete-trailing-whitespace.
8401 Reported by Brad Dobbie.
8402 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
8403 parameters from another module. Reported by Dan Katz.
8404 (verilog-auto, verilog-auto-assign-modport)
8405 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
8406 AUTOINOUTMODPORT for UVM interface module shell generation.
8407 Reported by Brad Dobbie.
8408 (verilog-auto-inst-interfaced-ports): Make default nil, as more
8409 standard behavior.
8410 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
8411 Reported by Matt Martin.
8412
8413 2012-09-25 Martin Rudalics <rudalics@gmx.at>
8414
8415 * window.el (window--resize-child-windows): When resizing child
8416 windows proportionally, process them in reverse order to
8417 preserve the "when splitting a window the new one gets the odd
8418 line" behavior.
8419 (window--resize-root-window-vertically): When resizing the
8420 minibuffer window try to affect only windows at the bottom of the
8421 frame. (Bug#12419)
8422
8423 2012-09-25 Chong Yidong <cyd@gnu.org>
8424
8425 * subr.el (declare): Doc fix.
8426
8427 * help-fns.el (help-fns--obsolete): Handle macros properly.
8428
8429 2012-09-25 Chong Yidong <cyd@gnu.org>
8430
8431 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
8432 this function obsolete.
8433
8434 * calendar/cal-x.el (calendar-two-frame-setup)
8435 (calendar-only-one-frame-setup, calendar-one-frame-setup):
8436 * calendar/calendar.el (american-calendar, european-calendar)
8437 (calendar-for-loop):
8438 * comint.el (comint-dynamic-simple-complete)
8439 (comint-dynamic-complete-as-filename, comint-unquote-filename):
8440 * desktop.el (desktop-load-default):
8441 * dired-x.el (dired-omit-here-always)
8442 (dired-hack-local-variables, dired-default-directory):
8443 * emacs-lisp/derived.el (derived-mode-class):
8444 * emacs-lisp/timer.el (timer-set-time-with-usecs):
8445 * emacs-lock.el (toggle-emacs-lock):
8446 * epa.el (epa-display-verify-result):
8447 * epg.el (epg-sign-keys, epg-start-sign-keys)
8448 (epg-passphrase-callback-function):
8449 * eshell/esh-util.el (eshell-for):
8450 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
8451 (eshell-add-to-window-buffer-names):
8452 * files.el (locate-file-completion):
8453 * imenu.el (imenu-example--create-c-index)
8454 (imenu-example--create-lisp-index)
8455 (imenu-example--lisp-extract-index-name)
8456 (imenu-example--name-and-position):
8457 * international/mule-cmds.el (princ-list):
8458 * international/mule-diag.el (decode-codepage-char):
8459 * international/mule-util.el (detect-coding-with-priority):
8460 * iswitchb.el (iswitchb-read-buffer):
8461 * mail/mailalias.el (mail-complete):
8462 * mail/sendmail.el (mail-sent-via):
8463 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
8464 (mouse-major-mode-menu):
8465 * password-cache.el (password-read-and-add):
8466 * pcomplete.el (pcomplete-parse-comint-arguments):
8467 * progmodes/sh-script.el (sh-maybe-here-document):
8468 * replace.el (query-replace-regexp-eval):
8469 * savehist.el (savehist-load):
8470 * simple.el (choose-completion-delete-max-match):
8471 * term.el (term-dynamic-simple-complete):
8472 * vc/ediff-init.el (ediff-check-version):
8473 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
8474 * vc/vc.el (vc-diff-switches-list):
8475 * view.el (view-return-to-alist-update): Likewise.
8476
8477 * subr.el (eval-next-after-load, makehash, insert-string)
8478 (assoc-ignore-representation, assoc-ignore-case): Use declare to
8479 mark obsolete.
8480 (mode-line-inverse-video): Variable deleted.
8481
8482 * international/mule-util.el (string-to-sequence): Remove.
8483
8484 * calendar/calendar.el (calendar-version):
8485 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
8486 (icalendar-convert-diary-to-ical):
8487 * cus-edit.el (custom-mode):
8488 * ansi-color.el (ansi-color-unfontify-region):
8489 * international/latin1-disp.el (latin1-char-displayable-p):
8490 * progmodes/cwarn.el (turn-on-cwarn-mode):
8491 * progmodes/which-func.el (which-func-update-1):
8492 Use define-obsolete-function-alias.
8493
8494 * net/newst-backend.el (newsticker-cache-filename):
8495 * net/newst-treeview.el (newsticker-groups-filename):
8496 Fix incorrect obsolescence declaration.
8497
8498 * allout.el (allout-passphrase-hint-string): Likewise.
8499 (allout-init): Use a declare form to mark obsolete.
8500
8501 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
8502 this applies to functions.
8503
8504 * iswitchb.el (iswitchb-read-buffer): Move code of
8505 iswitchb-define-mode-map here, and delete that obsolete function.
8506
8507 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
8508 font-lock-reference-face.
8509
8510 2012-09-25 Glenn Morris <rgm@gnu.org>
8511
8512 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
8513 Doc fixes.
8514
8515 * eshell/em-term.el (eshell-term-name):
8516 Default to term-term-name. (Bug#12485)
8517
8518 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8519
8520 * progmodes/python.el (python-shell-send-buffer): Better handling
8521 of "if __name__ == '__main__':" conditionals when sending the buffer.
8522
8523 2012-09-24 Glenn Morris <rgm@gnu.org>
8524
8525 * eshell/esh-cmd.el (eshell-find-alias-function):
8526 Tighten up file-name regexp. (Bug#12499)
8527
8528 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8529
8530 Enhancements for triple-quote string syntax.
8531 * progmodes/python.el (python-quote-syntax): Remove.
8532 (python-syntax-propertize-function): New value.
8533 (python-syntax-count-quotes, python-syntax-stringify):
8534 New functions.
8535
8536 2012-09-24 Chong Yidong <cyd@gnu.org>
8537
8538 * mail/supercite.el (sc-version): Remove obsolete function.
8539 (sc-describe): Don't mark as obsolete, since it is bound.
8540 (sc-submit-bug-report): Remove.
8541
8542 * vc/log-edit.el (cvs-changelog-full-paragraphs)
8543 (cvs-commit-buffer-require-final-newline): Remove.
8544 (log-edit-require-final-newline)
8545 (log-edit-changelog-full-paragraphs): Default to t.
8546
8547 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
8548 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
8549 * vc/vc.el (vc-checkout-carefully): Likewise.
8550
8551 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
8552 (emerge-version): Remove.
8553
8554 * progmodes/compile.el (compile-internal): Remove.
8555 (compilation-parse-errors-function): Fix typo.
8556
8557 * international/mule.el (set-char-table-default): Remove.
8558 (set-coding-priority, make-coding-system, generic-char-p)
8559 (charset-list, charset-bytes, charset-id): Use declare to mark
8560 functions as obsolete.
8561
8562 * vc/pcvs-defs.el (cvs-buffer-name-alist)
8563 (cvs-invert-ignore-marks): Remove references to obsolete vars.
8564 * vc/vc-hooks.el (vc-default-registered): Don't use
8565 vc-master-templates.
8566
8567 * font-lock.el (font-lock-reference-face):
8568 Use define-obsolete-variable-alias.
8569
8570 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
8571 * calendar/calendar.el (calendar-font-lock-keywords):
8572 * calendar/diary-lib.el (diary-font-lock-keywords)
8573 (diary-fancy-font-lock-keywords):
8574 * textmodes/reftex-sel.el (reftex-insert-docstruct):
8575 * textmodes/reftex-index.el (reftex-insert-index):
8576 * textmodes/reftex-cite.el (reftex-format-bib-entry):
8577 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8578 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
8579 * progmodes/prolog.el (prolog-font-lock-keywords):
8580 * progmodes/idlwave.el (idlwave-idl-keywords):
8581 * progmodes/ada-mode.el (ada-font-lock-keywords):
8582 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
8583
8584 2012-09-24 Glenn Morris <rgm@gnu.org>
8585
8586 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
8587
8588 2012-09-23 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8589
8590 * progmodes/python.el (python-indent-line): More consistent cursor
8591 movement behavior.
8592
8593 2012-09-23 Stefan Merten <smerten@oekonux.de>
8594
8595 * textmodes/rst.el: Fix compiler warning.
8596
8597 2012-09-23 Roland Winkler <winkler@gnu.org>
8598
8599 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
8600 Transcribe also LaTeX hyphenation.
8601 (bibtex-reformat): Bug fix. Do not quote twice the elements of
8602 bibtex-reformat-previous-options.
8603
8604 2012-09-23 Roland Winkler <winkler@gnu.org>
8605
8606 * proced.el (proced-renice-command): New variable.
8607 (proced-marked-processes): New function.
8608 (proced-with-processes-buffer): New macro.
8609 (proced-send-signal): Use them.
8610 (proced-renice): New command bound to r.
8611
8612 2012-09-23 Roland Winkler <winkler@gnu.org>
8613
8614 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
8615 ibuffer-saved-filter-groups has one element, shortcut the call of
8616 completing-read. (Bug#12331)
8617
8618 2012-09-23 Chong Yidong <cyd@gnu.org>
8619
8620 * bindings.el (mode-line-toggle-read-only):
8621 * bs.el (bs-toggle-readonly):
8622 * buff-menu.el (Buffer-menu-toggle-read-only):
8623 * dired.el (dired-toggle-read-only):
8624 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
8625
8626 2012-09-23 Chong Yidong <cyd@gnu.org>
8627
8628 * image.el (image-type-available-p): Adapt to init-image-library
8629 argument changes.
8630
8631 2012-09-22 Juri Linkov <juri@jurta.org>
8632
8633 * dired.el (dired-mode-map): Add [remap read-only-mode] for
8634 `dired-toggle-read-only'. (Bug#12462)
8635
8636 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8637
8638 * subr.el (temp-output-buffer-show): New function.
8639 (with-output-to-temp-buffer): Call temp-output-buffer-show
8640 instead of internal-temp-output-buffer-show.
8641
8642 2012-09-22 Chong Yidong <cyd@gnu.org>
8643
8644 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
8645 (Bug#12462).
8646
8647 * repeat.el (repeat): Doc fix (Bug#12348).
8648
8649 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
8650 (Bug#10909).
8651
8652 * simple.el (shell-command-on-region): Doc fix.
8653 (read-only-mode): Doc fix.
8654
8655 2012-09-22 Eli Zaretskii <eliz@gnu.org>
8656
8657 * emacs-lisp/timer.el (run-with-idle-timer)
8658 (timer-activate-when-idle): Warn against reinvoking an idle timer
8659 from within its own timer action. (Bug#12447)
8660
8661 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8662
8663 * cus-start.el (window-combination-limit): Add new optional
8664 values.
8665 * window.el (temp-buffer-window-show)
8666 (window--try-to-split-window): Handle new values of
8667 window-combination-limit (Bug#1806).
8668 (split-window): Test window-combination-limit for t instead of
8669 non-nil.
8670 (display-buffer-at-bottom): New buffer display action function.
8671 * help.el (temp-buffer-resize-regexps): New option.
8672 (temp-buffer-resize-mode): Rewrite doc-string.
8673 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
8674 Don't resize reused window. Suggested by Glenn Morris.
8675
8676 2012-09-22 Stefan Merten <smerten@oekonux.de>
8677
8678 * textmodes/rst.el: Revamp section title faces.
8679 (rst-official-version)
8680 (rst-package-emacs-version-alist): Sync with official version
8681 V1.4.0.
8682 (rst-faces-defaults, rst-set-level-default)
8683 (rst-level-face-max, rst-level-face-base-color)
8684 (rst-level-face-base-light, rst-level-face-format-light)
8685 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
8686 (rst-adornment-faces-alist): Match new setup.
8687 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
8688 (rst-level-5, rst-level-6): New faces.
8689
8690 2012-09-22 Chong Yidong <cyd@gnu.org>
8691
8692 * simple.el (undo): Handle indirect buffers (Bug#8207).
8693
8694 2012-09-21 Leo Liu <sdl.web@gmail.com>
8695
8696 IDO: Disable match re-ordering for buffer switching.
8697 * ido.el (ido-buffer-disable-smart-matches): New variable.
8698 (ido-set-matches-1): Use it. (Bug#2042)
8699
8700 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
8701
8702 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8703 Fix 2011-05-17 change. (Bug#12418)
8704
8705 2012-09-21 Leo Liu <sdl.web@gmail.com>
8706
8707 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
8708
8709 2012-09-21 Glenn Morris <rgm@gnu.org>
8710
8711 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
8712 Be more robust about locating simple.el.
8713
8714 2012-09-21 Glenn Morris <rgm@gnu.org>
8715
8716 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
8717
8718 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
8719
8720 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
8721
8722 2012-09-20 Juri Linkov <juri@jurta.org>
8723
8724 * replace.el (query-replace-read-from): Use `read-regexp' instead
8725 of `read-from-minibuffer' when `regexp-flag' is non-nil.
8726 (occur-read-primary-args): Use `read-regexp' instead of
8727 `read-string'.
8728 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
8729 `read-from-minibuffer'.
8730 * isearch.el (isearch-occur): Use `read-regexp' instead of
8731 `read-string'.
8732 * dired.el (dired-read-regexp): Use `read-regexp' instead of
8733 `read-from-minibuffer'.
8734 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
8735 of `read-string'. (Bug#7567)
8736
8737 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
8738 and allow accepting a list of strings prepended to a list of
8739 standard default values. Doc fix. (Bug#12321)
8740
8741 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
8742
8743 * replace.el (read-regexp): Don't add ": " when PROMPT already
8744 ends with a colon and space. (Bug#12321)
8745
8746 2012-09-20 Tassilo Horn <tsdh@gnu.org>
8747
8748 * doc-view.el (doc-view-display): Better fix for the cl-assertion
8749 error.
8750
8751 2012-09-20 Stefan Merten <smerten@oekonux.de>
8752
8753 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
8754 Fixes feature request bug#11711.
8755 (rst-mode): Create `imenu-create-index-function'.
8756 (rst-get-stripped-line): Delete after refactoring.
8757 (rst-section-tree, rst-section-tree-rec)
8758 (rst-section-tree-point): Refactor and document properly.
8759 (rst-imenu-find-adornments-for-position)
8760 (rst-imenu-convert-cell, rst-imenu-create-index):
8761 New function.
8762
8763 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8764
8765 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
8766 (macroexp--expand-all): Use it.
8767 (macroexp--funcall-and-return): Remove by folding it into its sole
8768 caller (macroexp--warn-and-return).
8769 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
8770 Use macroexp--obsolete-warning.
8771
8772 * calc/calc.el: Fix last change by removing the whole chunk, since it
8773 was only needed back when Calc was not bundled.
8774
8775 2012-09-20 Martin Rudalics <rudalics@gmx.at>
8776
8777 * emacs-lisp/debug.el (debug): Restore assignment to
8778 debugger-old-buffer removed on 2012-09-08.
8779
8780 2012-09-20 Juri Linkov <juri@jurta.org>
8781
8782 * dired-aux.el (dired-diff): Remove (require 'diff) since
8783 `diff-latest-backup-file' is now autoloaded.
8784
8785 2012-09-20 Chong Yidong <cyd@gnu.org>
8786
8787 * vc/diff.el (diff-latest-backup-file): Autoload.
8788
8789 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8790
8791 * calc/calc.el: Remove redundant autoload shape check.
8792 (sel-mode): Don't defvar.
8793 (calc-get-stack-element): Add `sel-mode' arg instead.
8794 (calc-top, calc-top-list): Pass it this additional argument.
8795 * calc/calc-store.el (calc-store-map):
8796 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
8797 (calc-map-equation, calc-outer-product, calc-inner-product):
8798 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
8799
8800 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
8801
8802 2012-09-19 Juri Linkov <juri@jurta.org>
8803
8804 * dired-aux.el (dired-diff): Add (require 'diff) because
8805 `diff-latest-backup-file' is not autoloaded.
8806 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
8807 of `dired-get-filename' to t to not report error when there is
8808 no default file on the current line.
8809
8810 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8811
8812 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
8813 macroexp--eval-if-compile.
8814 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
8815 (macroexp--expand-all): Use them (bug#12371).
8816
8817 * doc-view.el (doc-view-guess-paper-size)
8818 (doc-view-scale-bounding-box): Fix unbound `caddr'.
8819
8820 2012-09-19 Tassilo Horn <tsdh@gnu.org>
8821
8822 New feature: set optimal slice from BoundingBox information.
8823 * doc-view.el (doc-view-mode-map): Add keybinding.
8824 (doc-view-menu): Add menu entry.
8825 (doc-view-set-slice): Adapt docstring.
8826 (doc-view-get-bounding-box, doc-view-guess-paper-size)
8827 (doc-view-scale-bounding-box)
8828 (doc-view-set-slice-from-bounding-box): New functions.
8829 (doc-view-paper-sizes): New defvar.
8830
8831 2012-09-19 Glenn Morris <rgm@gnu.org>
8832
8833 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
8834 (byte-compile-log-warning): Autoload. (Bug#12371)
8835
8836 * calendar/calendar.el (calendar-american-month-header)
8837 (calendar-european-month-header, calendar-iso-month-header)
8838 (calendar-month-header): New options.
8839 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
8840 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
8841
8842 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
8843
8844 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
8845
8846 2012-09-18 Juri Linkov <juri@jurta.org>
8847
8848 * dired-aux.el (dired-diff): Restore original functionality of
8849 getting the default value, but keep new feature of using the
8850 latest existing backup file (`diff-latest-backup-file').
8851
8852 2012-09-18 Juri Linkov <juri@jurta.org>
8853
8854 * dired.el (dired-mark): If the region is active in Transient Mark
8855 mode, mark all files in the active region. Doc fix.
8856 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
8857 Doc fix. (Bug#10624)
8858
8859 2012-09-18 Juri Linkov <juri@jurta.org>
8860
8861 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
8862 attributes for M-n are pulled from the file at point.
8863 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
8864 Suggested by Drew Adams. (Bug#10624)
8865
8866 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
8867
8868 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
8869 whitespace after "end".
8870 (ruby-do-end-to-brace): Collapse block to one line if it fits
8871 within fill-column.
8872
8873 2012-09-18 Martin Rudalics <rudalics@gmx.at>
8874
8875 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
8876 value.
8877 (debug): Don't remove debugger window when debugger is expected
8878 to be back.
8879
8880 2012-09-18 Chong Yidong <cyd@gnu.org>
8881
8882 * custom.el (defface): Doc fix.
8883
8884 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
8885
8886 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
8887
8888 * progmodes/compile.el (compilation-start): Use compilation-always-kill
8889 to initialize query-on-exit; then test that instead (bug#12288).
8890
8891 2012-09-17 Stefan Merten <smerten@oekonux.de>
8892
8893 * textmodes/rst.el: Add support for `testcover'.
8894 (rst-defcustom-testcover, rst-testcover-add-compose)
8895 (rst-testcover-add-1value): New functions.
8896 (rst-portable-mark-active-p): Replace by `use-region-p'.
8897 (rst-update-section, rst-classify-adornment)
8898 (rst-find-title-line): Mark `1value' forms.
8899 (rst-classify-adornment): Remove superfluous form.
8900 (rst-update-section, rst-get-adornments-around)
8901 (rst-adornment-complete-p, rst-get-next-adornment)
8902 (rst-adjust, rst-promote-region)
8903 (rst-display-adornments-hierarchy, rst-straighten-adornments)
8904 (rst-find-pfx-in-region, rst-section-tree-rec)
8905 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
8906 (rst-toc-node, rst-toc, rst-forward-section)
8907 (rst-iterate-leftmost-paragraphs)
8908 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
8909 (rst-bullet-list-region)
8910 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
8911 (rst-compile-find-conf, rst-compile)
8912 (rst-repeat-last-character): Fix style.
8913
8914 2012-09-17 Chong Yidong <cyd@gnu.org>
8915
8916 * comint.el (comint--complete-file-name-data): Don't add a space
8917 if the status is `sole'; that adds a gratuitous space in the
8918 completion-cycling case (Bug#12092).
8919
8920 * pcomplete.el (pcomplete-completions-at-point): Likewise.
8921
8922 2012-09-17 Richard Stallman <rms@gnu.org>
8923
8924 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
8925 only in the mime-shown mode, not in raw mode.
8926 (rmail-mime): Toggle off mime by displaying the message without
8927 mime processing. (Bug#12305)
8928
8929 * mail/rmail.el (rmail-retry-failure):
8930 Turn off mime processing first. (Bug#12037)
8931
8932 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
8933
8934 2012-09-17 Chong Yidong <cyd@gnu.org>
8935
8936 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
8937 (shell-dynamic-complete-functions): Convert to defcustom.
8938 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
8939
8940 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
8941 * comint.el (comint-prompt-read-only):
8942 * custom.el (defcustom):
8943 * hi-lock.el (hi-lock-mode):
8944 * ibuffer.el (ibuffer-formats):
8945 * ielm.el (ielm-prompt-read-only):
8946 * novice.el (disable-command):
8947 * saveplace.el (toggle-save-place):
8948 * speedbar.el (speedbar-supported-extension-expressions):
8949 * startup.el (auto-save-list-file-prefix, init-file-user)
8950 (after-init-hook, inhibit-startup-echo-area-message):
8951 * strokes.el (strokes-help):
8952 * time-stamp.el (time-stamp):
8953 * calendar/calendar.el (calendar, diary-file):
8954 * calendar/diary-lib.el (diary-mail-entries, diary)
8955 (diary-list-entries-hook):
8956 * calendar/holidays.el (holidays, calendar-holidays):
8957 * calendar/lunar.el (lunar-phases):
8958 * calendar/solar.el (sunrise-sunset):
8959 * emulation/edt.el (edt-load-keys):
8960 * emulation/viper.el (viper-mode):
8961 * eshell/em-alias.el (eshell-command-aliases-list):
8962 * eshell/esh-util.el (eshell-convert-numeric-arguments):
8963 * international/ogonek.el (ogonek-information):
8964 * net/tramp-cmds.el (tramp-bug):
8965 * net/quickurl.el (quickurl-reread-hook-postfix):
8966 * play/decipher.el (decipher-font-lock-keywords):
8967 * progmodes/cc-styles.el (c-set-style):
8968 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
8969 * progmodes/inf-lisp.el (inferior-lisp-prompt):
8970 * progmodes/octave-mod.el (octave-mode):
8971 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
8972 * progmodes/verilog-mode.el (verilog-read-defines):
8973 * textmodes/two-column.el (2C-mode): Likewise.
8974
8975 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
8976
8977 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
8978 that holds many addresses.
8979
8980 2012-09-16 Chong Yidong <cyd@gnu.org>
8981
8982 * align.el (align-areas): Call the indication function with
8983 positions instead of markers for arguments (Bug#12343).
8984
8985 * files.el (parse-colon-path): Use split-string (Bug#12351).
8986
8987 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8988 (display-buffer-function): Mark as obsolete.
8989
8990 * progmodes/compile.el (compilation-parse-errors): Accept list
8991 values similar to font-lock-keywords (Bug#12136).
8992 Suggested by Oleksandr Manzyuk.
8993 (compilation-error-regexp-alist): Doc fix.
8994
8995 2012-09-15 Glenn Morris <rgm@gnu.org>
8996
8997 * version.el (emacs-bzr-version-bzr): New function.
8998 (emacs-bzr-get-version): Add optional EXTERNAL argument.
8999
9000 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
9001 checkouts, check the parent dirstate matches the branch.
9002 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
9003 empty string.
9004
9005 * version.el (emacs-bzr-version): Doc fix.
9006 (emacs-bzr-version-dirstate): New function.
9007 (emacs-bzr-get-version): For lightweight checkouts, if the parent
9008 is local try and check that it matches the branch. If not, just
9009 use dirstate information. (Bug#12441)
9010
9011 2012-09-14 Juri Linkov <juri@jurta.org>
9012
9013 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
9014 (Bug#12399)
9015
9016 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9017
9018 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
9019
9020 * emacs-lisp/edebug.el: Miscellaneous cleanup.
9021 Remove obsolete byte-compiler hack that tried to silence some warnings.
9022 (edebug-submit-bug-report): Remove.
9023 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
9024 Remove aliases, use the un-prefixed name instead.
9025 (edebug-pop-to-buffer): Consider other frames.
9026 (edebug-original-read):: Make it more obvious that it's always defined.
9027 (edebug--make-form-data-entry, edebug--form-data-name)
9028 (edebug--form-data-begin, edebug--form-data-end): Rename from the
9029 single-dashed name, and implement with cl-defstruct.
9030 (edebug-set-form-data-entry): Use the standard accessors.
9031 (edebug-make-top-form-data-entry): Use push.
9032 (edebug-no-match): Drop useless `funcall'.
9033 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
9034 to functions.
9035 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
9036 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
9037 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
9038 (easy-menu-define, with-custom-print): Remove redundant specs.
9039 (edebug-outside-overriding-local-map)
9040 (edebug-outside-overriding-terminal-local-map): Remove, unused.
9041 (edebug--display): Bind unread-command-events directly to nil rather
9042 than binding it to unread-command-events and later setting it to nil.
9043 (edebug--display): Kill edebug-eval-buffer here...
9044 (edebug--recursive-edit): ...rather than here.
9045 Bind standard-output and standard-input.
9046 (edebug-eval): Check cl-macroexpand-all is fboundp.
9047 (edebug-temp-display-freq-count): Fix last change.
9048
9049 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
9050 * subr.el (noreturn, 1value): Add `debug' spec.
9051 * emacs-lisp/advice.el: Require cl-lib.
9052 (ad-copy-tree): Remove, use copy-tree instead.
9053 (ad-dolist): Remove use dolist or cl-dolist instead.
9054 (ad-do-return): Remove, use cl-return instead.
9055 (defadvice): Add `debug' spec.
9056
9057 2012-09-13 Juri Linkov <juri@jurta.org>
9058
9059 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
9060 (Bug#12399)
9061
9062 2012-09-13 Glenn Morris <rgm@gnu.org>
9063
9064 * calc/calc.el (math-compose-expr):
9065 * calc/calc-ext.el (math-compose-expr):
9066 * progmodes/cc-defs.el (cl-macroexpand-all):
9067 * progmodes/cc-langs.el (delete-duplicates, mapcan)
9068 (cl-macroexpand-all): Update declarations.
9069
9070 * vc/vc.el: No need to require ediff.
9071 (ediff-load-version-control): Declare.
9072 (ediff-vc-internal): Fix declaration.
9073 (vc-version-ediff): Require ediff.
9074
9075 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9076
9077 Use a more backwards-compatible timer format (Bug#12430).
9078 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
9079 being right after USECS, as that better supports old code that
9080 inadvisedly looked directly at the timer vector.
9081
9082 2012-09-13 Kenichi Handa <handa@gnu.org>
9083
9084 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
9085 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
9086 `coding-priority' property of these language environment.
9087
9088 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9089
9090 Fix glitches caused by addition of psec to timers (Bug#12430).
9091 * image.el (image-animate-timer):
9092 * time.el (display-time-world-timer):
9093 Use timer--function and timer--args rather than raw access to
9094 timer vector.
9095
9096 2012-09-13 Glenn Morris <rgm@gnu.org>
9097
9098 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
9099 If not compiling a file, try using load-file-name.
9100
9101 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9102
9103 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
9104 Fix last change.
9105 (edebug-update-eval-list): Use `push'.
9106
9107 * emacs-lisp/edebug.el: Use lexical-binding.
9108 Remove the "edebug-" prefix from non-dynamically-scoped variables.
9109 Mark unused args with underscore.
9110 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
9111 (edebug-form-data): Use defvar-local.
9112 (edebug-make-before-and-after-form, edebug-make-after-form):
9113 Use backquote.
9114 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
9115 Not dynamically scoped any more.
9116 (edebug--enter-trace): Add arguments `function' and `args'.
9117 Rename from edebug-enter-trace.
9118 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
9119 (edebug--update-coverage): Add `after-index' and `value' args.
9120 Rename from edebug-update-coverage.
9121 (edebug-slow-after): Call it accordingly.
9122 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
9123 edebug-recursive-edit.
9124 (edebug--display): Call it accordingly. Add args `value',
9125 `offset-index', and `arg-mode'. Rename from edebug-display.
9126 (edebug-debugger, edebug): Call it accordingly.
9127 (edebug-eval-display-list): Use dolist.
9128
9129 2012-09-12 Juri Linkov <juri@jurta.org>
9130
9131 * info.el (Info-search): Don't check for isearch-mode and
9132 isearch-regexp before let-binding search-spaces-regexp to
9133 Info-search-whitespace-regexp.
9134 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
9135 search-whitespace-regexp if isearch-lax-whitespace or
9136 isearch-regexp-lax-whitespace is non-nil.
9137 (Info-mode): Don't set local variable search-whitespace-regexp.
9138 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
9139
9140 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9141
9142 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
9143 (debugger-env-macro): Remove support for unread-command-char.
9144
9145 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
9146 the temporary map re-appearing on emulation-mode-map-alists.
9147
9148 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
9149 since 22.1.
9150
9151 * ehelp.el (with-electric-help): Accept functions in
9152 electric-help-form-to-execute.
9153 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
9154 And replace unread-command-char -> unread-command-events.
9155
9156 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
9157
9158 Sync with Tramp 2.2.6.
9159
9160 * net/tramp.el (tramp-accept-process-output): Don't use
9161 JUST-THIS-ONE in the XEmacs case.
9162
9163 * net/trampver.el: Update release number.
9164
9165 2012-09-12 Martin Rudalics <rudalics@gmx.at>
9166
9167 * emacs-lisp/debug.el (debugger-previous-window-height):
9168 New variable.
9169 (debug): When debugger-jumping-flag is non-nil try to restore
9170 height of debugger window. (Bug#8789)
9171
9172 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9173
9174 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
9175 overriding-local-map and pre/post-command-hook here.
9176 (edebug-recursive-edit): Do it here instead (bug#12345).
9177 (edebug-outside-unread-command-char): Remove all uses of
9178 unread-command-char.
9179
9180 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
9181 inhibit-debugger is bound instead.
9182
9183 2012-09-11 Bastien Guerry <bzg@gnu.org>
9184
9185 * subr.el (set-temporary-overlay-map): Add a docstring.
9186 (Bug#12346)
9187
9188 2012-09-11 Bastien Guerry <bzg@gnu.org>
9189
9190 * minibuffer.el (completion-table-subvert): Fix docstring.
9191 (Bug#12347)
9192
9193 2012-09-11 Bastien Guerry <bzg@gnu.org>
9194
9195 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
9196
9197 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
9198
9199 * progmodes/sql.el: Version 3.1
9200 (sql-db2-escape-newlines): New variable.
9201 (sql-escape-newlines-filter): Use it.
9202
9203 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
9204
9205 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
9206
9207 2012-09-10 Dan Nicolaescu <dann@gnu.org>
9208
9209 * vc/diff-mode.el (diff-mode-menu):
9210 Bind diff-remove-trailing-whitespace.
9211
9212 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9213
9214 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
9215 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
9216 (emacs-lisp-byte-code-mode): New functions.
9217 (eval-sexp-add-defvars): Don't skip defvars in column >0.
9218 (eval-defun-2): Remove bogus interactive spec.
9219 (lisp-indent-line): Remove redundant whole-exp code, now done in
9220 indent-according-to-mode.
9221 (save-match-data): Remove redundant indent data.
9222
9223 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
9224 Use `declare'.
9225
9226 2012-09-09 Juri Linkov <juri@jurta.org>
9227
9228 * replace.el (replace-regexp-lax-whitespace): New defcustom.
9229 (replace-lax-whitespace, query-replace-regexp)
9230 (query-replace-regexp-eval, replace-regexp): Doc fix.
9231 (perform-replace, replace-highlight): Let-bind
9232 isearch-lax-whitespace to replace-lax-whitespace and
9233 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
9234
9235 * isearch.el (isearch-query-replace): Let-bind
9236 replace-lax-whitespace to isearch-lax-whitespace and
9237 replace-regexp-lax-whitespace to
9238 isearch-regexp-lax-whitespace. (Bug#10885)
9239
9240 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
9241
9242 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
9243
9244 2012-09-09 Alan Mackenzie <acm@muc.de>
9245
9246 * progmodes/cc-engine.el (c-state-cache-init):
9247 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
9248 (c-record-parse-state-state):
9249 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
9250
9251 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
9252
9253 * register.el (register-separator): Rename from
9254 separator-register. All uses changed. Doc fix.
9255 (register): Fix version.
9256
9257 2012-09-09 Chong Yidong <cyd@gnu.org>
9258
9259 * replace.el (query-replace-map): Bind four new symbols for
9260 requesting window scrolling.
9261
9262 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
9263 query-replace-map (Bug#8948).
9264
9265 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
9266
9267 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
9268 since they are now in query-replace-map.
9269
9270 * window.el (scroll-other-window-down): Make the arg optional.
9271
9272 2012-09-09 Chong Yidong <cyd@gnu.org>
9273
9274 * files.el (hack-local-variables-confirm): Use quit-window to kill
9275 the *Local Variables* buffer.
9276
9277 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9278
9279 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
9280 not just expect to be at its beginning. Adjust callees.
9281 Succeed when do-end block has no space before the pipe character.
9282 (ruby-brace-to-do-end): When the original block is one-liner,
9283 convert to multiline. Reindent the result.
9284
9285 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
9286
9287 * register.el (register): New group.
9288 (separator-register): New user option.
9289 (increment-register): Route it to `append-to-register', if
9290 register contains text. Implication is that `C-x r +' can now be
9291 used for appending to a text register (bug#12217).
9292 (append-to-register, prepend-to-register): Add separator based on
9293 `separator-register'.
9294
9295 2012-09-08 Alan Mackenzie <acm@muc.de>
9296
9297 AWK Mode: make auto-newline work when there's "==" in the pattern.
9298 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
9299 correctly.
9300 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
9301 Test more rigorously for "=" token.
9302
9303 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9304
9305 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
9306 Only fail when reached LIMIT.
9307
9308 2012-09-08 Chong Yidong <cyd@gnu.org>
9309
9310 * dired.el (dired-mode-map): Don't bind M-=.
9311
9312 * dired-aux.el (dired-diff): Use backup file as default.
9313
9314 2012-09-08 Drew Adams <drew.adams@oracle.com>
9315
9316 * subr.el (add-to-history): Fix delete usage (Bug#12314).
9317
9318 2012-09-08 Chong Yidong <cyd@gnu.org>
9319
9320 * subr.el (syntax-after, syntax-class): Doc fix.
9321
9322 2012-09-08 Martin Rudalics <rudalics@gmx.at>
9323
9324 * window.el (display-buffer-in-previous-window): New buffer
9325 display action function.
9326
9327 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
9328 (debugger-previous-window): New variable.
9329 (debug): Rewrite using display-buffer-in-previous-window,
9330 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
9331
9332 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9333
9334 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
9335
9336 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
9337
9338 * progmodes/python.el (python-shell-send-string):
9339 When default-directory is remote, create temp file on remote
9340 filesystem.
9341 (python-shell-send-file): When file is remote, pass local view of
9342 file paths to remote Python interpreter. (Bug#12340)
9343
9344 2012-09-07 Chong Yidong <cyd@gnu.org>
9345
9346 * window.el (switch-to-buffer): Doc fix (Bug#12181).
9347
9348 * files.el (after-find-file): Don't fail on a read-only buffer if
9349 require-final-newline is `visit' or `visit-save' (Bug#11156).
9350
9351 * subr.el (read-char-choice): Allow quitting via ESC ESC.
9352
9353 * userlock.el (ask-user-about-supersession-threat):
9354 Use read-char-choice (Bug#12093).
9355
9356 2012-09-07 Chong Yidong <cyd@gnu.org>
9357
9358 * subr.el (buffer-narrowed-p): New function.
9359
9360 * ses.el (ses-widen):
9361 * simple.el (count-words--buffer-message):
9362 * net/browse-url.el (browse-url-of-buffer): Use it.
9363
9364 * simple.el (count-words-region): Don't signal an error if there
9365 is a non-nil prefix arg and the mark is not set.
9366
9367 * help.el (describe-key-briefly): Allow the message to be seen
9368 when invoked from the minibuffer (Bug#7014).
9369
9370 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9371
9372 * progmodes/ruby-mode.el (ruby-end-of-defun)
9373 (ruby-beginning-of-defun): Simplify, allow indentation before
9374 block beginning and end keywords.
9375 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
9376 (ruby-end-of-defun): Expect that the point is at the beginning of
9377 the defun.
9378
9379 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9380
9381 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
9382 (bug#12367).
9383 (cl--make-usage-args): Strip _ from argument names.
9384
9385 2012-09-06 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
9386
9387 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
9388 obsolete alias speedbar-key-map.
9389 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
9390 (vhdl-index-menu-init): Don't use obsolete variable
9391 font-lock-maximum-size.
9392
9393 2012-09-06 Chong Yidong <cyd@gnu.org>
9394
9395 * frame.el (window-system-version): Mark as obsolete.
9396
9397 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
9398 of obsolete variable speedbar-key-map.
9399
9400 2012-09-06 Juri Linkov <juri@jurta.org>
9401
9402 * replace.el (replace-lax-whitespace): New defcustom.
9403 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9404 (replace-string, replace-regexp): Mention it in docstrings.
9405 (perform-replace, replace-highlight): Let-bind
9406 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
9407 to the values of replace-lax-whitespace and regexp-flag.
9408 Don't let-bind search-whitespace-regexp. (Bug#10885)
9409
9410 * isearch.el (isearch-query-replace): Let-bind
9411 replace-lax-whitespace instead of let-binding
9412 replace-search-function and replace-re-search-function.
9413 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
9414 and isearch-regexp-lax-whitespace to lazy-highlight variables.
9415 (isearch-toggle-symbol): Set isearch-regexp to nil
9416 in isearch-word mode (like in isearch-toggle-word).
9417
9418 2012-09-06 Juri Linkov <juri@jurta.org>
9419
9420 * replace.el (replace-search-function)
9421 (replace-re-search-function): Set default values to nil.
9422 (perform-replace): Let-bind isearch-related variables based on
9423 replace-related values, call `isearch-search-fun' and let-bind
9424 the result to `search-function'. Remove code that sets
9425 `search-function' and `search-string' separately for
9426 `delimited-flag'.
9427 (replace-highlight): Add new argument `delimited-flag' and
9428 rename other arguments to the names used in `perform-replace'.
9429 Let-bind `isearch-word' to the argument `delimited-flag'.
9430 (Bug#10885, bug#10887)
9431
9432 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9433
9434 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
9435 ruby-beginning-of-indent, simplify, allow all keywords to have
9436 indentation before them.
9437 (ruby-beginning-of-indent): Adjust for above. Search until the
9438 found point is not inside a string or comment.
9439 (ruby-font-lock-keywords): Allow symbols to start with "@"
9440 character, give them higher priority than variables.
9441 (ruby-syntax-propertize-function)
9442 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
9443 matchers. Expression expansions are not comments when inside a
9444 string, and there comment syntax status is irrelevant.
9445 (ruby-match-expression-expansion): New function. Check that
9446 expression expansion is inside a string, and it's not escaped.
9447 (ruby-font-lock-keywords): Use it.
9448
9449 2012-09-05 Martin Rudalics <rudalics@gmx.at>
9450
9451 * help.el (temp-buffer-max-height): New default value.
9452 (temp-buffer-resize-frames): New option.
9453 (resize-temp-buffer-window): Optionally resize frame.
9454
9455 * window.el (fit-frame-to-buffer-bottom-margin): New option.
9456 (fit-frame-to-buffer): New function.
9457
9458 2012-09-05 Glenn Morris <rgm@gnu.org>
9459
9460 * emulation/cua-rect.el (cua--init-rectangles):
9461 * textmodes/picture.el (picture-mode-map):
9462 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
9463 like forward-char and backward-char. (Bug#12317)
9464
9465 2012-09-05 Leo Liu <sdl.web@gmail.com>
9466
9467 * progmodes/flymake.el (flymake-warning-re): New variable.
9468 (flymake-parse-line): Use it.
9469
9470 2012-09-05 Glenn Morris <rgm@gnu.org>
9471
9472 * calendar/holidays.el (holiday-christian-holidays):
9473 Rename an entry. (Bug#12289)
9474
9475 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9476
9477 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
9478 (bug#12222).
9479
9480 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9481
9482 * loadup.el: Load macroexp. Remove hack.
9483 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
9484 (macroexp--expand-all): Use it to get better warnings.
9485 (macroexp--backtrace, macroexp--trim-backtrace-frame)
9486 (internal-macroexpand-for-load): New functions.
9487 (macroexp--pending-eager-loads): New var.
9488 (emacs-startup-hook): New hack to replace one in loadup.el.
9489 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
9490 (cl--compiler-macro-cXXr): Move to top, before they can be used.
9491 (cl-psetf): Simplify.
9492 (cl-defstruct): Add indent rule.
9493
9494 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
9495
9496 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
9497 over `user-mail-address' for the SMTP MAIL FROM envelope.
9498 (smtpmail-via-smtp): Ditto.
9499
9500 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
9501
9502 * progmodes/ruby-mode.el: Clean up keybindings.
9503 (ruby-mode-map): Don't bind ruby-electric-brace,
9504 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
9505 backward-kill-word, reindent-then-newline-and-indent.
9506 (ruby-mark-defun): Remove.
9507 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
9508 (ruby-mode): Set local beginning-of-defun-function and
9509 end-of-defun-function values.
9510
9511 2012-09-03 Martin Rudalics <rudalics@gmx.at>
9512
9513 * window.el (temp-buffer-window-setup-hook)
9514 (temp-buffer-window-show-hook): New hooks.
9515 (temp-buffer-window-setup, temp-buffer-window-show)
9516 (with-temp-buffer-window): New functions.
9517 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
9518 (special-display-popup-frame): Make sure the window used shows BUFFER.
9519
9520 * help.el (temp-buffer-resize-mode): Fix doc-string.
9521 (resize-temp-buffer-window): New optional argument WINDOW.
9522
9523 * files.el (recover-file, save-buffers-kill-emacs):
9524 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
9525
9526 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
9527
9528 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
9529 remote definition of `default-directory', ensure we can connect.
9530
9531 2012-09-02 Juri Linkov <juri@jurta.org>
9532
9533 Toggle whitespace matching mode with M-s SPC.
9534 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
9535
9536 * isearch.el (search-whitespace-regexp): Doc fix.
9537 Remove cons cell customization.
9538 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
9539 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
9540 New variables.
9541 (isearch-forward, isearch-forward-regexp): Doc fix.
9542 (isearch-toggle-lax-whitespace): New command.
9543 (search-forward-lax-whitespace, search-backward-lax-whitespace)
9544 (re-search-forward-lax-whitespace)
9545 (re-search-backward-lax-whitespace): New functions.
9546 (isearch-whitespace-regexp): Remove function.
9547 (isearch-query-replace): Let-bind replace-search-function and
9548 replace-re-search-function.
9549 (isearch-occur): Let-bind search-spaces-regexp according to the
9550 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
9551 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
9552 condition for C-q SPC.
9553 (isearch-search-fun-default): Use new functions mentioned above.
9554 (isearch-search-forward, isearch-search-backward): Remove functions.
9555 (isearch-search): Don't let-bind search-spaces-regexp.
9556 (isearch-lazy-highlight-space-regexp): Remove variable.
9557 (isearch-lazy-highlight-lax-whitespace)
9558 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
9559 (isearch-lazy-highlight-new-loop): Use them.
9560 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
9561
9562 2012-09-02 Chong Yidong <cyd@gnu.org>
9563
9564 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
9565
9566 2012-09-02 Glenn Morris <rgm@gnu.org>
9567
9568 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
9569
9570 2012-09-01 Glenn Morris <rgm@gnu.org>
9571
9572 * term.el: Tidy up menu definitions.
9573 (term-mode-map): Use easymenu for In/Out, Complete menus.
9574 (term-pager-break-map): Initialize in the defvar.
9575 (term-terminal-menu, term-signals-menu): Define with easymenu.
9576 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
9577 (term-pager-menu): New, extracted from term-process-pager.
9578 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
9579 (term-update-mode-line): Propertize line/char and page items.
9580 (term-process-pager): Move keymap initialization elsewhere.
9581
9582 2012-09-01 Martin Rudalics <rudalics@gmx.at>
9583
9584 * window.el (switch-to-prev-buffer): Handle additional values of
9585 BURY-OR-KILL argument. Don't switch in minibuffer window.
9586 (switch-to-next-buffer): Don't switch in minibuffer window.
9587 (quit-restore-window): New function based on quit-window.
9588 Handle additional values of former KILL argument.
9589 (quit-window): Call quit-restore-window with appropriate
9590 interpretation of KILL argument.
9591 (display-buffer-below-selected): New buffer display action
9592 function.
9593
9594 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
9595
9596 * minibuffer.el (completion-at-point-functions): Complete docstring
9597 (bug#12254).
9598
9599 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
9600
9601 Better seed support for (random).
9602 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
9603 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
9604 * play/mpuz.el, play/tetris.el, play/zone.el:
9605 * calc/calc-comb.el (math-init-random-base):
9606 * play/blackbox.el (bb-init-board):
9607 * play/life.el (life):
9608 * server.el (server-use-tcp):
9609 * type-break.el (type-break):
9610 Remove unnecessary call to (random t).
9611 * net/sasl.el (sasl-unique-id-function):
9612 Change (random t) to (random), now that the latter is more random.
9613 * play/life.el (life-initialized): Remove no-longer-needed var.
9614
9615 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
9616
9617 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9618 Consider frame's buffer predicate when choosing the buffer.
9619 (Bug#12081)
9620
9621 2012-08-30 Richard Stallman <rms@gnu.org>
9622
9623 * simple.el (special-mode-map): Delete binding for `z'.
9624
9625 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
9626
9627 * progmodes/compile.el (compilation-always-kill): Doc fix.
9628
9629 2012-08-30 Chong Yidong <cyd@gnu.org>
9630
9631 * window.el (display-buffer-reuse-frames): Make the obsolescence
9632 message more informative.
9633
9634 2012-08-30 Glenn Morris <rgm@gnu.org>
9635
9636 * paren.el (show-paren-delay):
9637 Add a :set function. Doc fix. (Bug#12297)
9638
9639 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
9640
9641 * progmodes/compile.el (compilation-always-kill): New var.
9642 (compilation-start): Use it.
9643
9644 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9645
9646 * simple.el (read-only-mode): Move from files.el for bootstrapping.
9647 * files.el (read-only-mode): Move to simple.el.
9648
9649 * files.el (read-only-mode): New minor mode.
9650 (toggle-read-only): Use it and mark obsolete.
9651 (find-file--read-only):
9652 * vc/vc.el (vc-next-action, vc-checkout):
9653 * vc/vc-cvs.el (vc-cvs-checkout):
9654 * obsolete/vc-mcvs.el (vc-mcvs-update):
9655 * ffap.el (ffap--toggle-read-only): Update callers.
9656
9657 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
9658
9659 * eshell/esh-ext.el (eshell-external-command): Do not examine
9660 remote shell scripts.
9661 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
9662
9663 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
9664 "/usr/local/sbin".
9665
9666 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9667
9668 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
9669
9670 2012-08-28 Leo Liu <sdl.web@gmail.com>
9671
9672 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
9673 completion-at-point. (Bug#12220)
9674
9675 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
9676
9677 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
9678
9679 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9680
9681 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
9682 be buffer-local; add delete-trailing-whitespace (bug#12259).
9683
9684 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
9685
9686 * progmodes/hideif.el (hif-compress-define-list):
9687 Fix typo. (Bug#11951)
9688
9689 2012-08-28 Dan Nicolaescu <dann@gnu.org>
9690
9691 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
9692 buffer local setting.
9693
9694 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
9695 rcirc-encode-coding-system.
9696
9697 2012-08-28 Leo Liu <sdl.web@gmail.com>
9698
9699 * net/rcirc.el (rcirc-split-message): New function.
9700 (rcirc-send-message): Use it. (Bug#12051)
9701
9702 2012-08-28 Juri Linkov <juri@jurta.org>
9703
9704 * info.el (Info-fontify-node): Hide empty lines at the end of
9705 the node. (Bug#12272)
9706
9707 2012-08-27 Drew Adams <drew.adams@oracle.com>
9708
9709 * dired.el (dired-pop-to-buffer): Make window start at beginning
9710 of buffer (Bug#12281).
9711
9712 2012-08-26 Chong Yidong <cyd@gnu.org>
9713
9714 * window.el (special-display-regexps, special-display-frame-alist)
9715 (special-display-buffer-names, special-display-function)
9716 (display-buffer-reuse-frames): Mark as obsolete.
9717
9718 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
9719
9720 * help.el (help-print-return-message): Don't treat
9721 display-buffer-reuse-frames specially.
9722
9723 2012-08-26 Chong Yidong <cyd@gnu.org>
9724
9725 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
9726 New variable, replacing gdb-frame-parameters.
9727 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
9728 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
9729 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
9730 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
9731 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
9732 the functions directly with gdb-display-buffer-other-frame-action.
9733 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
9734 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
9735 (gdb-display-stack-buffer, gdb-display-locals-buffer)
9736 (gdb-display-registers-buffer): Define directly.
9737 (def-gdb-display-buffer): Macro deleted.
9738 (gdb-display-buffer): Remove second and third args, callers don't
9739 use them. Defer to the default display-buffer behavior, apart
9740 from making windows dedicated.
9741 (gdb-setup-windows): Don't call display-buffer unnecessarily.
9742
9743 * progmodes/gud.el (gud-display-line): Just use display-buffer.
9744
9745 * window.el (display-buffer-pop-up-frame): Handle a
9746 pop-up-frame-parameters alist entry.
9747 (display-buffer): Document it.
9748
9749 2012-08-26 Chong Yidong <cyd@gnu.org>
9750
9751 * isearch.el (search-whitespace-regexp): Make string and nil
9752 values apply to both ordinary and regexp search. Allow a cons
9753 cell value to distinguish between the two.
9754 (isearch-whitespace-regexp, isearch-search-forward)
9755 (isearch-search-backward): New functions.
9756 (isearch-occur, isearch-search-fun-default, isearch-search)
9757 (isearch-lazy-highlight-new-loop): Use them.
9758 (isearch-forward, isearch-forward-regexp): Doc fix.
9759
9760 2012-08-26 Chong Yidong <cyd@gnu.org>
9761
9762 * faces.el (help-argument-name): Always inherit from italic
9763 (Bug#12213).
9764
9765 2012-08-25 Martin Rudalics <rudalics@gmx.at>
9766
9767 * window.el (window--even-window-heights): Even heights when
9768 WINDOW and the selected window form a vertical combination.
9769 (display-buffer-use-some-window): Provide that window used gets
9770 sized back by quit-window. (Bug#11880) and (Bug#12091)
9771
9772 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
9773
9774 Fix file time stamp problem with bzr and CVS (Bug#12001).
9775 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
9776 in the file's time stamp, since the version control system loses
9777 that information.
9778
9779 2012-08-22 Juri Linkov <juri@jurta.org>
9780
9781 * info.el (Info-fontify-node): Hide the suffix of the
9782 Info file name in the header line. (Bug#12187)
9783
9784 2012-08-22 Glenn Morris <rgm@gnu.org>
9785
9786 * calendar/cal-tex.el (cal-tex-weekly-common):
9787 Restore leading blank page.
9788
9789 2012-08-22 Le Wang <l26wang@gmail.com>
9790
9791 * misc.el (forward-to-word, backward-to-word): Activate or extend
9792 the region under `shift-select-mode'. (Bug#12231)
9793
9794 2012-08-22 Bastien Guerry <bzg@gnu.org>
9795
9796 * progmodes/executable.el (executable-prefix): Set to "#!" instead
9797 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
9798 gives details on why the space is never needed.
9799
9800 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9801
9802 * window.el (walk-window-tree, window-with-parameter):
9803 New optional argument MINIBUF to control whether these functions
9804 should run on the minibuffer window.
9805 (window-at-side-list): Don't operate on minibuffer window.
9806 (window-in-direction): Simplify and rewrite doc-string.
9807 (window--size-ignore): Rename to window--size-ignore-p.
9808 Update callers.
9809 (display-buffer-in-atom-window, window--major-non-side-window)
9810 (window--major-side-window, display-buffer-in-major-side-window)
9811 (delete-side-window, display-buffer-in-side-window):
9812 New functions.
9813 (window--side-check, window-deletable-p, delete-window)
9814 (delete-other-windows, split-window): Handle side windows and
9815 atomic windows appropriately.
9816 (window--display-buffer): Call display-buffer-record-window also
9817 when the window buffer did not change.
9818
9819 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
9820
9821 * help-fns.el (help-fns--key-bindings):
9822 Abbreviate non-symbol remap targets. (Bug#12174)
9823
9824 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9825
9826 * dired.el (dired-mark-remembered): Don't clobber point.
9827 (Bug#11795)
9828
9829 2012-08-22 Glenn Morris <rgm@gnu.org>
9830
9831 * progmodes/bug-reference.el (bug-reference): New custom group.
9832 (bug-reference-bug-regexp): Make it a defcustom.
9833
9834 2012-08-22 Daiki Ueno <ueno@unixuser.org>
9835
9836 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
9837 (js-paren-indent-offset, js-square-indent-offset)
9838 (js-curly-indent-offset): Add :safe (Bug#12257).
9839
9840 2012-08-22 Edward O'Connor <hober0@gmail.com>
9841
9842 * json.el (json-key-format): Add error properties.
9843 (json-encode-key): New function.
9844 (json-encode-hash-table, json-encode-alist, json-encode-plist):
9845 Use json-encode-key.
9846
9847 2012-08-22 Glenn Morris <rgm@gnu.org>
9848
9849 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
9850 (cal-tex-leftday, cal-tex-rightday): Remove functions.
9851 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
9852 Update for above change.
9853
9854 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
9855
9856 * cus-face.el (custom-face-attributes): Fix customize type for the
9857 :underline attribute. (Bug#11805)
9858
9859 2012-08-21 Martin Rudalics <rudalics@gmx.at>
9860
9861 * window.el (window-point-1, set-window-point-1): Remove.
9862 (window-in-direction, record-window-buffer)
9863 (set-window-buffer-start-and-point, split-window-below)
9864 (window--state-get-1, display-buffer-record-window):
9865 Replace calls to window-point-1 and set-window-point-1 by calls to
9866 window-point and set-window-point respectively.
9867
9868 2012-08-21 Glenn Morris <rgm@gnu.org>
9869
9870 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
9871 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
9872 Use it.
9873
9874 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
9875 (cal-tex-shortday): New function.
9876 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
9877 (cal-tex-cursor-filofax-daily): Use the above.
9878
9879 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
9880 New functions.
9881 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9882 (cal-tex-cursor-filofax-week): Use them.
9883
9884 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
9885 New constants.
9886 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9887 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
9888
9889 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
9890 (cal-tex-end-document): Don't rely on buffer name.
9891
9892 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
9893 Use cal-tex-vspace.
9894 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
9895 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
9896 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
9897 Use cal-tex-arg.
9898
9899 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
9900 (cal-tex-cursor-week, cal-tex-cursor-week2)
9901 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
9902 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9903 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
9904 (cal-tex-insert-preamble, cal-tex-b-document)
9905 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
9906 Improve cal-tex-cmd usage.
9907
9908 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
9909 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
9910 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
9911 (cal-tex-weekly-paper): New function.
9912 (cal-tex-cursor-week, cal-tex-cursor-week2)
9913 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
9914 (cal-tex-cursor-day): Use it.
9915
9916 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
9917 (cal-tex-cursor-filofax-week): Remove leading blank page.
9918
9919 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9920 Add autoload cookie. For now at least, don't use color, since
9921 no other cal-tex function does.
9922
9923 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
9924 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9925 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
9926
9927 2012-08-21 Juri Linkov <juri@jurta.org>
9928
9929 * info.el (Info-file-attributes): New variable.
9930 (info-insert-file-contents): Add file attributes to
9931 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
9932 `Info-toc-nodes' when previous modtime of the Info file is less
9933 than new modtime.
9934 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
9935 of info.el. (Bug#12230)
9936
9937 2012-08-20 Glenn Morris <rgm@gnu.org>
9938
9939 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
9940 * calendar/holidays.el (calendar-holiday-list):
9941 Report errors with display-warning rather than beep'n'sleep.
9942
9943 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
9944
9945 * net/tramp.el (tramp-accept-process-output): Accept only output
9946 from PROC. Otherwise, process filters and sentinels might be
9947 confused. (Bug#12145)
9948
9949 2012-08-20 Chong Yidong <cyd@gnu.org>
9950
9951 * descr-text.el (describe-text-properties-1): Use overlays-in to
9952 report on empty overlays (Bug#3322).
9953
9954 2012-08-20 Glenn Morris <rgm@gnu.org>
9955
9956 * mail/rmailout.el (rmail-output-read-file-name):
9957 Trap and report errors in rmail-output-file-alist elements.
9958
9959 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
9960 since most non-font-lock faces are not also variables).
9961
9962 2012-08-20 Edward Reingold <reingold@iit.edu>
9963
9964 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9965 New function. (Bug12160)
9966
9967 2012-08-19 Glenn Morris <rgm@gnu.org>
9968
9969 * mail/rmailout.el (rmail-output-read-file-name):
9970 Fix previous change (when the alist is nil or does not match).
9971
9972 2012-08-19 Chong Yidong <cyd@gnu.org>
9973
9974 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
9975 (Bug#12228).
9976
9977 2012-08-18 Chong Yidong <cyd@gnu.org>
9978
9979 * simple.el (yank-handled-properties): New defcustom.
9980 (yank-excluded-properties): Add font-lock-face and category.
9981 (yank): Doc fix.
9982
9983 * subr.el (remove-yank-excluded-properties):
9984 Obey yank-handled-properties. The special handling of font-lock-face
9985 and category is now done this way, instead of being hard-coded.
9986 (insert-for-yank-1): Remove font-lock-face handling.
9987 (yank-handle-font-lock-face-property)
9988 (yank-handle-category-property): New function.
9989
9990 2012-08-17 Glenn Morris <rgm@gnu.org>
9991
9992 * mail/rmailout.el (rmail-output-read-file-name):
9993 Check rmail-output-file-alist against the full message body
9994 in the correct rmail buffer. (Bug#12214)
9995
9996 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
9997
9998 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
9999 Eliminate superfluous prompt. (Bug#12203)
10000
10001 2012-08-17 Chong Yidong <cyd@gnu.org>
10002
10003 * mouse.el (mouse-appearance-menu): If x-select-font returns a
10004 font spec, set the font directly (Bug#3228).
10005
10006 2012-08-17 Martin Rudalics <rudalics@gmx.at>
10007
10008 * window.el (delete-window): Fix last fix.
10009
10010 2012-08-16 Martin Rudalics <rudalics@gmx.at>
10011
10012 * window.el (window-valid-p): Move to window.c.
10013 (window-child, window-child-count, window-last-child)
10014 (window-normalize-window, window-combined-p)
10015 (window-combinations, window-atom-root, window-min-size)
10016 (window-sizable, window-sizable-p, window-size-fixed-p)
10017 (window-min-delta, window-max-delta, window--resizable)
10018 (window--resizable-p, window-resizable, window-total-size)
10019 (window-full-height-p, window-full-width-p, window-body-size)
10020 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
10021 (minimize-window, window-deletable-p, delete-window)
10022 (delete-other-windows, set-window-buffer-start-and-point)
10023 (next-buffer, previous-buffer, split-window, balance-windows-2)
10024 (set-window-text-height, window-buffer-height)
10025 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
10026 (truncated-partial-width-window-p): Minor code adjustments.
10027 In doc-strings state whether the argument window has to denote a
10028 live, valid or any window.
10029
10030 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
10031
10032 * progmodes/subword.el (subword-forward-function)
10033 (subword-backward-function, subword-forward-regexp)
10034 (subword-backward-regexp): New variables.
10035 (subword-forward, subword-forward-internal, subword-backward-internal):
10036 Use new variables, eg so that different "word" definitions
10037 can be easily used. (Bug#11411)
10038
10039 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10040
10041 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
10042 for composite selectors.
10043 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
10044 operation just because we can't find a previous revision.
10045
10046 2012-08-15 Chong Yidong <cyd@gnu.org>
10047
10048 * frame.el (set-frame-font): Accept font objects.
10049
10050 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10051
10052 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
10053
10054 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
10055
10056 * man.el (Man-overstrike-face, Man-underline-face)
10057 (Man-reverse-face): Remove variables.
10058 (Man-overstrike, Man-underline, Man-reverse): New faces.
10059 (Man-fontify-manpage): Use them instead of the variables.
10060 (Man-cleanup-manpage): Comment change.
10061 (Man-ansi-color-map): New variable.
10062 (Man-fontify-manpage): Use it.
10063 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
10064
10065 Implement ANSI SGR parameters 22-27 (bug#12146).
10066 * ansi-color.el (ansi-colors): Doc fix.
10067 (ansi-color-context, ansi-color-context-region): Doc fix.
10068 (ansi-color--find-face): New function.
10069 (ansi-color-apply, ansi-color-apply-on-region): Use it.
10070 Rename the local variable `face' to `codes' since it is now a list of
10071 ansi codes. Doc fix.
10072 (ansi-color-get-face): Remove.
10073 (ansi-color-parse-sequence): New function, derived from
10074 ansi-color-get-face.
10075 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
10076 codes 22-27.
10077
10078 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
10079
10080 * subr.el (read-passwd): Allow use from a minibuffer.
10081
10082 2012-08-14 Eli Zaretskii <eliz@gnu.org>
10083
10084 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
10085 inside comments and strings as identifiers.
10086
10087 * progmodes/gud.el (gud-tooltip-print-command): Quote the
10088 expression to evaluate. This allows to evaluate expressions with
10089 embedded whitespace.
10090 (gud-tooltip-tips): Add a blank before the newline in the
10091 message-box text, for the benefit of message-box emulation on
10092 MS-Windows.
10093
10094 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
10095 messages from GDB, pop them up in a tooltip to give feedback to
10096 user.
10097 (gdb-tooltip-print-1): Quote the expression to evaluate.
10098 This allows to evaluate expressions with embedded whitespace.
10099 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
10100 if the TTY name is nil or empty (which happens when communicating
10101 with the inferior via pipes, e.g. on MS-Windows).
10102 (gdb-internals): If GDB sends a "&\n" empty debugging message,
10103 don't send that to the GUD buffer.
10104
10105 2012-08-14 Glenn Morris <rgm@gnu.org>
10106
10107 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
10108 Optimize away setq-default with no args, as for setq. (Bug#12195)
10109
10110 2012-08-14 Chong Yidong <cyd@gnu.org>
10111
10112 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
10113
10114 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
10115 (Bug#12085).
10116
10117 2012-08-14 Glenn Morris <rgm@gnu.org>
10118
10119 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
10120
10121 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
10122
10123 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
10124 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10125 Use cached shell name.
10126
10127 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10128
10129 * progmodes/python.el (python-shell-send-string):
10130 (python-shell-send-setup-code): Do not use `format' with `message'.
10131
10132 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
10133
10134 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
10135 (ruby-percent-literal-beg-re): New constant.
10136 (ruby-syntax-general-delimiters-goto-beg): Rename to
10137 `ruby-syntax-enclosing-percent-literal', improve literal type check.
10138 (ruby-syntax-propertize-general-delimiters): Rename to
10139 `ruby-syntax-propertize-percent-literal', it's a shorter and more
10140 popular term. Adjust comments everywhere.
10141 (ruby-syntax-propertize-percent-literal): Only propertize when not
10142 inside a simple string or comment. When the literal is unclosed,
10143 leave the text after it unpropertized.
10144 (ruby-syntax-methods-before-regexp): New constant.
10145 (ruby-syntax-propertize-function): Use it to recognize regexps.
10146 Don't look at the text after regexp, just use the whitelist.
10147
10148 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
10149
10150 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
10151 non-nil always load the compiled file if it exists. (Bug#12197)
10152
10153 2012-08-14 Chong Yidong <cyd@gnu.org>
10154
10155 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
10156 (hi-lock-set-pattern): When deciding whether to use font lock or
10157 overlays, look at font-lock-mode instead of font-lock-fontified
10158 (Bug#12168).
10159 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
10160 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
10161
10162 2012-08-14 Daiki Ueno <ueno@unixuser.org>
10163
10164 * subr.el (internal--after-with-selected-window): Fix typo
10165 (Bug#12193).
10166
10167 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10168
10169 Use `completion-table-dynamic' for completion functions.
10170 * progmodes/python.el
10171 (python-shell-completion--do-completion-at-point)
10172 (python-shell-completion--get-completions):
10173 Remove functions.
10174 (python-shell-completion-complete-at-point): New function.
10175 (python-completion-complete-at-point): Use it.
10176
10177 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
10178
10179 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
10180 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
10181
10182 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10183
10184 * subr.el (function-get): Refine `autoload' arg so it can also
10185 autoload functions for gv.el (bug#12191).
10186 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
10187 autoloads macros.
10188
10189 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
10190 Prefer pcase-let over destructuring-bind.
10191 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
10192 Also, remove whitespace as we go, rather than after accumulating the
10193 various places.
10194
10195 * subr.el (internal--before-with-selected-window)
10196 (internal--after-with-selected-window): Fix typo seleted->selected.
10197 (with-selected-window): Adjust callers.
10198 Reported by Dmitry Gutov <dgutov@yandex.ru>.
10199
10200 2012-08-13 Bastien Guerry <bzg@gnu.org>
10201
10202 * window.el (special-display-popup-frame): Minor docstring
10203 enhancement. (Bug#12172)
10204
10205 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
10206
10207 * tar-mode.el (tar-header-data-end): Only ignore size for files of
10208 type 1-6.
10209 (tar-header-block-summarize, tar-get-descriptor): Handle pax
10210 extended headers.
10211
10212 * files.el (hack-local-variables-filter): Remove useless eval.
10213
10214 2012-08-13 Martin Rudalics <rudalics@gmx.at>
10215
10216 * subr.el (with-selected-window): Fix last change.
10217
10218 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10219
10220 * subr.el (internal--before-with-seleted-window)
10221 (internal--after-with-seleted-window): New functions.
10222 (with-selected-window): Use them, to replace dependency on
10223 tty-top-frame.
10224
10225 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
10226
10227 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
10228 binding for `newline'.
10229 (ruby-move-to-block): When moving backward, stop at block opening,
10230 not indentation.
10231 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
10232 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
10233 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
10234 `ruby-toggle-block'.
10235
10236 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10237
10238 * ibuffer.el (ibuffer-do-toggle-read-only):
10239 * dired.el (dired-toggle-read-only):
10240 * buff-menu.el (Buffer-menu-toggle-read-only):
10241 * bindings.el (mode-line-toggle-read-only):
10242 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
10243
10244 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
10245
10246 * descr-text.el (describe-char): Put the overlays over the
10247 "displayed as" character.
10248
10249 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
10250
10251 * calc/calc-units.el (math-default-units-table): Give an
10252 initial value.
10253 (math-put-default-units): Add options to put composite units and
10254 unit systems in the default units table.
10255 (calc-convert-units): Send composite units to
10256 `math-put-default-units' when appropriate.
10257
10258 2012-08-11 Glenn Morris <rgm@gnu.org>
10259
10260 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
10261
10262 * tutorial.el (help-with-tutorial):
10263 * emacs-lisp/copyright.el (copyright-update-directory):
10264 * emacs-lisp/autoload.el (autoload-find-generated-file)
10265 (autoload-find-file): Disable local eval: (for insurance).
10266
10267 * files.el (hack-local-variables-filter): If an eval: form is not
10268 known to be safe, and enable-local-variables is :safe, then ignore
10269 the form totally, as is done for non-eval forms. (Bug#12155)
10270 This is CVE-2012-3479.
10271
10272 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10273
10274 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
10275 (rx-form): Simplify.
10276
10277 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
10278
10279 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
10280 ?, _, and : are symbol constituents, ! is not (but kinda should be).
10281 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
10282 (ruby-syntax-propertize-function): Adjust for changes in
10283 `ruby-syntax-propertize-heredoc'.
10284
10285 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
10286
10287 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
10288 binding (use `M-;' instead).
10289 (ruby-singleton-class-p): New function.
10290 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
10291
10292 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10293
10294 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
10295
10296 2012-08-10 Chong Yidong <cyd@gnu.org>
10297
10298 * progmodes/python.el (python-shell-get-process-name): Don't mess
10299 with same-window-buffer-names.
10300
10301 * eshell/eshell.el (eshell-add-to-window-buffer-names)
10302 (eshell-remove-from-window-buffer-names): Make obsolete.
10303 (eshell-buffer-name, eshell-unload-hook): Don't use them.
10304 (eshell): Just use pop-to-buffer-same-window instead.
10305
10306 2012-08-10 Chong Yidong <cyd@gnu.org>
10307
10308 * bindings.el: Bind M-= back to count-words-region.
10309
10310 * simple.el (count-words-region): Accept a prefix arg for acting
10311 on the entire buffer.
10312 (count-words--buffer-message): New helper function.
10313
10314 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10315
10316 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
10317 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
10318 (event-start, event-end): Use posn-at-point to return a more
10319 informative posn.
10320 (posnp): New function.
10321 * mouse.el (popup-menu-normalize-position): Use it.
10322
10323 2012-08-10 Masatake YAMATO <yamato@redhat.com>
10324
10325 * mouse.el (popup-menu-normalize-position): New function.
10326 (popup-menu): Use `popup-menu-normalize-position' to normalize
10327 the form for POSITION argument.
10328
10329 * term/x-win.el (x-menu-bar-open):
10330 Use the value returend from (posn-at-point) as position
10331 passed to `popup-menu'.
10332
10333 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10334
10335 * calc/calccomp.el (math-compose-expr): Add extra argument
10336 indicating that parentheses should be put around products in
10337 denominators. Give multiplication precedence over division during
10338 composition.
10339
10340 2012-08-09 Chong Yidong <cyd@gnu.org>
10341
10342 * man.el (Man-switches, Man-sed-command, Man-awk-command)
10343 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
10344 (Man-untabify-command, manual-program): Convert to defcustom
10345 (Bug#10429).
10346
10347 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
10348
10349 * descr-text.el (describe-char): Don't insert extra newlines
10350 (Bug#10127).
10351
10352 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
10353 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
10354
10355 * align.el (align-region): Delete temporary markers (Bug#10047).
10356 Plus some code cleanups.
10357
10358 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10359
10360 * progmodes/python.el (python-pdbtrack-tracked-buffer)
10361 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
10362 (python-shell-internal-last-output): Use make-local-variable
10363 instead of make-variable-buffer-local.
10364
10365 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10366
10367 * progmodes/python.el: Enhancements to forward-sexp.
10368 (python-nav-forward-sexp): Rename from
10369 python-nav-forward-sexp-function.
10370 (python-nav--forward-sexp, python-nav--backward-sexp):
10371 New functions.
10372
10373 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10374
10375 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
10376 modes and simplification modes.
10377
10378 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10379
10380 * delsel.el (delete-selection-pre-hook): Don't propagate the
10381 file-supersession signals (bug#12161).
10382
10383 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10384
10385 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
10386 (cl-map-extents): Add compatibility aliases (bug#12135).
10387
10388 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
10389
10390 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
10391 tests by `ignore-error'.
10392 (tramp-find-shell): Open also a new shell, when cache is already
10393 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
10394
10395 2012-08-08 Juri Linkov <juri@jurta.org>
10396
10397 * bookmark.el: Add `defaults' property to the bookmark record.
10398 (bookmark-current-buffer): Doc fix.
10399 (bookmark-make-record): Add `defaults' property with default values
10400 to the bookmark record.
10401 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
10402 with `bookmark-insert-current-bookmark'.
10403 (bookmark-set): Get `defaults' property from the bookmark record
10404 and use it in `read-from-minibuffer'.
10405 (bookmark-insert-current-bookmark): Remove function.
10406
10407 * info.el (Info-bookmark-make-record): Add `defaults' property
10408 with values of canonical Info node name, the current Info file
10409 name and the current Info node name. (Bug#12107)
10410
10411 2012-08-08 Juri Linkov <juri@jurta.org>
10412
10413 * files.el (basic-save-buffer): Use `buffer-name' as the default
10414 of `read-file-name' when buffer is not visiting a file (bug#12128).
10415
10416 2012-08-08 Juri Linkov <juri@jurta.org>
10417
10418 * info.el (Info-isearch-search): Doc fix.
10419 (Info-search): Change search-failed message from "initial node" to
10420 "end of node" (bug#12078).
10421 (Info-isearch-search): Change `isearch-string-state' to
10422 `isearch--state-string'.
10423
10424 2012-08-08 Glenn Morris <rgm@gnu.org>
10425
10426 * language/persian.el: Remove file.
10427 * language/misc-lang.el: Move unique part of persian.el here.
10428 * loadup.el: Remove language/persian.
10429
10430 2012-08-08 Ă“scar Fuentes <ofv@wanadoo.es>
10431
10432 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
10433
10434 2012-08-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10435
10436 * progmodes/python.el: Fix defsubst warning.
10437 (python-syntax-context) Rename from python-info-ppss-context.
10438 (python-syntax-context-type): Rename from
10439 python-info-ppss-context-type.
10440 (python-syntax-comment-or-string-p): Rename from
10441 python-info-ppss-comment-or-string-p.
10442
10443 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
10444
10445 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
10446
10447 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
10448
10449 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
10450 a defcustom that is quoted with backquote.
10451
10452 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
10453 Fix handling of interactive spec when the body uses return.
10454 (math-do-arg-check, math-define-function-body): Use backquote forms.
10455 * calc/calc-ext.el (math-defcache): Likewise.
10456 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
10457 * allout.el (allout-new-exposure): Likewise.
10458 * calc/calcalg2.el (math-tracing-integral): Likewise.
10459 * info.el (Info-last-menu-item): Likewise.
10460 * emulation/vip.el (vip-loop): Likewise.
10461 * textmodes/artist.el (artist-funcall): Likewise.
10462 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
10463 Construct menu-item directly.
10464
10465 * progmodes/autoconf.el (font-lock-syntactic-keywords):
10466 Don't declare.
10467
10468 2012-08-07 Chong Yidong <cyd@gnu.org>
10469
10470 * simple.el (deactivate-mark): Preserve text properties when
10471 saving the primary selection (Bug#8384).
10472
10473 2012-08-07 Kevin Ryde <user42@zip.com.au>
10474
10475 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
10476 (woman-parse-numeric-value): On a bad .IP line, issue a warning
10477 and continue processing (Bug#12110).
10478
10479 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10480
10481 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
10482 syntax-propertize-function (bug#10095).
10483
10484 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10485
10486 * help-fns.el (help-fns--key-bindings, help-fns--signature)
10487 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
10488 describe-function-1.
10489 (describe-function-1): Use them. Move compiler macro after sig.
10490 (help-fns--compiler-macro): Use function-get. Assume we're already in
10491 standard-output. Adjust layout to new call order.
10492
10493 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
10494 re-binding a symbol that has a symbol-macro (bug#12119).
10495
10496 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
10497
10498 * language/persian.el: New file. (Bug#11812)
10499 * loadup.el: Add language/persian.el.
10500
10501 2012-08-06 Chong Yidong <cyd@gnu.org>
10502
10503 * window.el (window--maybe-raise-frame): New function.
10504 (window--display-buffer): Split off from here.
10505 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10506 (display-buffer-pop-up-window, display-buffer-use-some-window):
10507 Obey an inhibit-switch-frame action alist entry.
10508 (display-buffer): Update doc.
10509
10510 * replace.el (occur-after-change-function): Avoid losing focus by
10511 using the inhibit-switch-frame display parameter (Bug#12139).
10512
10513 2012-08-06 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10514
10515 Make internal shell process buffer names start with space.
10516 * progmodes/python.el (python-shell-make-comint): Add optional
10517 argument INTERNAL.
10518 (run-python-internal): Use it.
10519 (python-shell-internal-get-or-create-process): Check for new
10520 internal buffer names.
10521
10522 2012-08-06 Glenn Morris <rgm@gnu.org>
10523
10524 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
10525 Do less getting and setting of environment variables.
10526
10527 2012-08-05 Chong Yidong <cyd@gnu.org>
10528
10529 * proced.el (proced): Add substitution string to docstring to
10530 trigger autoloading of the proced library on C-h f (Bug#1768).
10531
10532 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10533 Don't show defvars which have no second argument (Bug#8638).
10534
10535 * imenu.el (imenu-generic-expression): Move documentation here
10536 from imenu--generic-function.
10537 (imenu--generic-function): Refer to imenu-generic-expression.
10538
10539 2012-08-05 Vegard Ă˜ye <vegard_oye@hotmail.com> (tiny change)
10540
10541 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
10542 indentation declaration.
10543 (viper-loop): Add indentation declaration (Bug#7025).
10544
10545 2012-08-05 Chong Yidong <cyd@gnu.org>
10546
10547 * help-fns.el (describe-variable): Add hyperlink for
10548 directory-local variables files. Improve buffer-local and
10549 permanent-local reporting; suggested by MON KEY (Bug#6644).
10550
10551 * help-mode.el (help-dir-local-var-def): New button type.
10552
10553 * files.el (kill-buffer-hook): Provide a defvar.
10554
10555 2012-08-05 Glenn Morris <rgm@gnu.org>
10556
10557 * eshell/esh-ext.el (eshell/addpath):
10558 Also update eshell-path-env. (Bug#12013)
10559
10560 2012-08-05 Chong Yidong <cyd@gnu.org>
10561
10562 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
10563
10564 * fringe.el (fringe-styles): Add docstring.
10565 (fringe--check-mode): New function.
10566 (set-fringe-mode, set-fringe-style): Use it.
10567 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
10568
10569 * files.el (set-auto-mode): Fix invalid setq call.
10570
10571 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10572
10573 * isearch.el: Misc simplification; use defstruct.
10574 (isearch-mode-map): Dense maps now work like sparse ones.
10575 (isearch--state): New defstruct.
10576 (isearch-string-state, isearch-message-state, isearch-point-state)
10577 (isearch-success-state, isearch-forward-state)
10578 (isearch-other-end-state, isearch-word-state, isearch-error-state)
10579 (isearch-wrapped-state, isearch-barrier-state)
10580 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
10581 replaced by defstruct's accessors.
10582 (isearch--set-state): Rename from isearch-top-state and change
10583 calling convention.
10584 (isearch-push-state): Use new isearch--get-state.
10585 (isearch-toggle-word): Disable regexp when enabling word.
10586 (isearch-message-prefix): Remove unused arg _c-q-hack.
10587 (isearch-message-suffix): Remove unused arg _ellipsis.
10588
10589 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
10590
10591 * simple.el (list-processes--refresh): For a server use :host or
10592 :local as the address.
10593 (list-processes): Doc fix.
10594
10595 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
10596
10597 * lisp/mpc.el: Support password in host argument.
10598 (mpc--proc-connect): Parse and use new password element.
10599 Set mpc-proc variable instead of returning process.
10600 (mpc-proc): Adjust accordingly.
10601
10602 2012-08-03 Eli Zaretskii <eliz@gnu.org>
10603
10604 * whitespace.el (whitespace-display-mappings): Use Unicode
10605 codepoints, instead of emacs-mule codepoints. See
10606 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
10607 for the details.
10608
10609 * files.el (file-truename): Don't skip symlink-chasing part on
10610 windows-nt. Incorporate the resolution of 8+3 short aliases on
10611 Windows into the loop that recursively chases symlinks.
10612 Compare directory and its parent case-insensitively on MS-Windows and
10613 MS-DOS.
10614
10615 2012-08-03 Chong Yidong <cyd@gnu.org>
10616
10617 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
10618
10619 * sort.el (sort-regexp-fields): Doc fix.
10620
10621 2012-08-03 Tassilo Horn <tsdh@gnu.org>
10622
10623 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
10624 labels regex position point at the expected place.
10625
10626 2012-08-03 MON KEY <monkey@sandpframing.com>
10627
10628 * net/imap.el (imap-interactive-login, imap-authenticate)
10629 (imap-mailbox-lsub, imap-mailbox-list)
10630 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
10631 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
10632 (imap-parse-response): Doc fix.
10633
10634 2012-08-03 JoĂ£o TĂ¡vora <joaotavora@gmail.com>
10635
10636 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
10637 if sexp scanning does not move point (Bug#5734).
10638
10639 2012-08-02 Tassilo Horn <tsdh@gnu.org>
10640
10641 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
10642 Add listings, minted, and ctable packages.
10643 (reftex-label-alist-builtin): Move listings, minted, and ctable
10644 entries before LaTeX.
10645 (reftex-label-alist): Docfix.
10646
10647 2012-08-02 Bastien Guerry <bzg@gnu.org>
10648
10649 * replace.el (occur): Fix docstring (bug#12122).
10650
10651 2012-08-02 Glenn Morris <rgm@gnu.org>
10652
10653 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
10654
10655 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
10656
10657 Obsolete alias inactivate-current-input-method-function (Bug#10150).
10658 * international/mule-cmds.el: Create
10659 inactivate-current-input-method-function as an obsolete alias for
10660 deactivate-current-input-method-function. See Katsumi Yamaoka in
10661 <http://bugs.gnu.org/10150#46>.
10662
10663 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
10664
10665 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
10666 of nested `if's.
10667
10668 2012-08-01 Glenn Morris <rgm@gnu.org>
10669
10670 * progmodes/autoconf.el (autoconf-definition-regexp):
10671 Add AH_TEMPLATE, adjust submatch numbering.
10672 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
10673 (autoconf-current-defun-function): Update for above change.
10674 (autoconf-current-defun-function): First skip to end of current word.
10675
10676 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
10677
10678 * calendar/cal-html.el (cal-html-insert-agenda-days):
10679 Fix typo. (Bug#12018)
10680
10681 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10682
10683 Shell processes: enhancements to startup and CEDET compatibility.
10684 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
10685 (python-shell-make-comint): accept-process-output at startup.
10686 (run-python-internal): Set inferior-python-mode-hook to nil.
10687 (python-shell-internal-get-or-create-process): call sit-for.
10688 (python-preoutput-result): Add obsolete alias.
10689 (python-shell-internal-send-string): Use it.
10690 (python-shell-send-setup-code): Remove call to
10691 accept-process-output.
10692
10693 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
10694
10695 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
10696 (Bug#12108)
10697
10698 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
10699
10700 * calc-mode.el (calc-basic-simplification-mode): Rename from
10701 `calc-limited-simplification-mode'.
10702 (calc-alg-simplification-mode): New function.
10703 (calc-set-simplify-mode): Adjust message.
10704
10705 * calc.el (calc-set-mode-line): Adjust mode line display for
10706 basic simplification mode.
10707
10708 * calc-help.el (calc-m-prefix-help): Update help message.
10709
10710 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
10711 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
10712
10713 2012-07-31 Bastien Guerry <bzg@gnu.org>
10714
10715 * man.el (man): Fix comment. (bug#12101)
10716
10717 2012-07-31 Martin Rudalics <rudalics@gmx.at>
10718
10719 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
10720 Don't return a non-nil value when no suitable buffer was found.
10721
10722 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10723
10724 * progmodes/python.el (run-python-internal): Disable font lock for
10725 internal shells.
10726
10727 2012-07-30 Stefan Merten <smerten@oekonux.de>
10728
10729 * textmodes/rst.el: Silence `checkdoc-ispell'.
10730 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10731 (rst-official-version, rst-official-cvs-rev)
10732 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
10733 (rst-mode-map): New key binding.
10734
10735 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
10736
10737 Update .PHONY listings in makefiles.
10738 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
10739 autoloads, update-subdirs, updates, bzr-update, update-authors,
10740 compile-onefile, compile-calc, backup-compiled-files,
10741 compile-after-backup, compile-one-process, mh-autoloads,
10742 bootstrap-clean, distclean, maintainer-clean.
10743
10744 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
10745
10746 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
10747 (calc-set-mode-line): Don't display "AlgSimp ".
10748
10749 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
10750 (calc-lim-simplify-mode): New function.
10751 (calc-set-simplify-mode): Default to 'alg.
10752 (calc-default-simplify-mode): Make algebraic simplifications
10753 the default.
10754
10755 * calc/calc-ext.el (calc-init-extensions): Remove binding for
10756 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
10757
10758 * calc/calc-help.el (calc-m-prefix-help): Change messages to
10759 indicate new simplification modes.
10760
10761 * calc/README: Mention new default simplification mode.
10762
10763 * calc/calc.el (math-normalize-error): New variable.
10764 (math-normalize): Set `math-normalize-error' to t
10765 when there's an error.
10766
10767 * calc/calc-alg.el (math-simplify): Don't simplify when
10768 `math-normalize' returns an error.
10769
10770 2012-07-29 Eli Zaretskii <eliz@gnu.org>
10771
10772 * international/mule-cmds.el (set-locale-environment): Revert last
10773 change, since display-graphic-p returns nil when this function is
10774 called during startup. Instead...
10775
10776 * term/w32console.el (terminal-init-w32console): ...setup the
10777 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
10778
10779 2012-07-29 Juri Linkov <juri@jurta.org>
10780
10781 * simple.el (goto-line): Don't display default line number in the
10782 prompt because it should be displayed by `read-number' (bug#9952).
10783 Add the current line number to the defaults of `goto-line' to
10784 allow its easier modification by users with `M-n' (bug#9201).
10785
10786 * subr.el (read-number): Support multiple default values like in
10787 other minibuffer reading functions. Replace `read' with
10788 `string-to-number' for consistency with `number-to-string'.
10789
10790 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
10791
10792 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
10793 * emulation/viper-init.el (viper-deactivate-input-method-action):
10794 Rename from viper-inactivate-input-method-action.
10795 (viper-deactivate-input-method):
10796 Rename from viper-inactivate-input-method.
10797 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
10798 * international/mule-cmds.el (deactivate-input-method):
10799 Rename from inactivate-input-method.
10800 Also run input-method-deactivate-hook.
10801 (deactivate-current-input-method-function):
10802 Rename from inactivate-current-input-method-function.
10803 (input-method-deactivate-hook): New hook.
10804 (input-method-inactivate-hook): Mark obsolete.
10805 (inactivate-input-method): Mark obsolete.
10806
10807 * international/quail.el (quail-activate):
10808 Also run quail-deactivate-hook.
10809 (quail-deactivate): Rename from quail-inactivate.
10810 * international/robin.el (robin-activate):
10811 Also run robin-deactivate-hook.
10812 (robin-deactivate): Rename from robin-inactivate.
10813
10814 2012-07-29 Chong Yidong <cyd@gnu.org>
10815
10816 * simple.el (indicate-copied-region): New function.
10817 (kill-ring-save): Split off from here.
10818
10819 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
10820 (kill-rectangle): Set deactivate-mark to t on read-only error.
10821
10822 * register.el (copy-to-register, copy-rectangle-to-register):
10823 Deactivate the mark, and use indicate-copied-region (Bug#10056).
10824 (append-to-register, prepend-to-register): Call indicate-copied-region.
10825
10826 2012-07-29 Juri Linkov <juri@jurta.org>
10827
10828 * simple.el (async-shell-command-buffer): New defcustom.
10829 (shell-command): Use it. (Bug#4719)
10830
10831 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10832
10833 * international/mule-cmds.el (set-locale-environment): In a
10834 console session on MS-Windows, set up keyboard and terminal
10835 encoding from the OEM codepage, not the ANSI codepage.
10836 (Bug#12055)
10837
10838 2012-07-28 Chong Yidong <cyd@gnu.org>
10839
10840 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
10841 gdb-get-location.
10842
10843 2012-07-28 Leo Liu <sdl.web@gmail.com>
10844
10845 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
10846 the alist (bug#12029).
10847
10848 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10849
10850 * makefile.w32-in (custom-deps, finder-data, updates, compile)
10851 (compile-always, compile-first)
10852 ($(lisp)/calendar/cal-loaddefs.el)
10853 ($(lisp)/calendar/diary-loaddefs.el)
10854 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10855 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
10856 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
10857 instead of on update-subdirs.
10858 (bootstrap-clean): Delete $(lisp)/subdirs.el.
10859
10860 2012-07-28 Chong Yidong <cyd@gnu.org>
10861
10862 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
10863 directory if vc-deduce-backend returns nil (Bug#7350).
10864
10865 * simple.el (delete-trailing-lines): New option.
10866 (delete-trailing-whitespace): Obey it (Bug#11879).
10867
10868 2012-07-28 David Engster <deng@randomsample.de>
10869
10870 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
10871 Explanation of new 'symbol-qnames feature in doc-strings.
10872 (xml-maybe-do-ns): Return expanded names as plain symbols if
10873 'symbol-qnames was provided in XML-NS argument (Bug#11916).
10874 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
10875
10876 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10877
10878 Consistent completion in inferior python with emacs -nw.
10879 * progmodes/python.el (inferior-python-mode): replace "<tab>"
10880 binding in inferior-python-mode-map with "\t".
10881 (python-shell-completion-complete-at-point)
10882 (python-completion-complete-at-point): Remove interactive spec.
10883
10884 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10885
10886 * calc/calccomp.el (math-compose-expr): Undo previous change.
10887
10888 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10889
10890 * progmodes/python.el (python-mode-map): Add keybinding for
10891 run-python.
10892 (python-shell-make-comint): Fix pop-to-buffer call.
10893 (run-python): Autoload. New arg SHOW.
10894 (python-shell-get-or-create-process): Do not pop python process
10895 buffer.
10896
10897 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
10898
10899 * notifications.el (notifications-on-action-signal)
10900 (notifications-on-closed-signal): Use also the bus address for the map.
10901 (notifications-notify, notifications-close-notification)
10902 (notifications-get-capabilities): Add optional argument BUS.
10903
10904 2012-07-27 Tassilo Horn <tsdh@gnu.org>
10905
10906 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
10907 Add support for the lstlisting and minted environments, and for the
10908 ctable macro.
10909 * textmodes/reftex.el (reftex-compile-variables): Also recognize
10910 labels written in keyvals syntax.
10911
10912 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10913
10914 * calc/calccomp.el (math-compose-expr): Use parentheses when
10915 there is a product in the denominator of a fraction.
10916
10917 2012-07-26 Eli Zaretskii <eliz@gnu.org>
10918
10919 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
10920 ($(lisp)/calendar/diary-loaddefs.el)
10921 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10922 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
10923 Fixes failures in parallel bootstrap because subdirs.el is being
10924 rewritten while the autoload files are built at the same time,
10925 which needs to load subdirs.el.
10926
10927 2012-07-26 Martin Rudalics <rudalics@gmx.at>
10928
10929 * mouse.el (popup-menu): Fix doc-string and re-indent code.
10930 (mouse-drag-line): Don't exit tracking when a switch-frame or
10931 switch-window event occurs (Bug#12006).
10932
10933 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10934
10935 * mouse.el (popup-menu): Fix last change.
10936
10937 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10938
10939 Autoload from Lisp with more care. Follow aliases when looking for
10940 function properties.
10941 * subr.el (autoloadp): New function.
10942 (symbol-file): Use it.
10943 (function-get): New function.
10944 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
10945 autoload-do-load.
10946 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
10947 (lisp-indent-function):
10948 * emacs-lisp/gv.el (gv-get):
10949 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
10950 * emacs-lisp/byte-opt.el (byte-optimize-form):
10951 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10952 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
10953 Use function-get.
10954 * emacs-lisp/cl.el: Don't propagate function properties any more.
10955
10956 * speedbar.el (speedbar-add-localized-speedbar-support):
10957 * emacs-lisp/disass.el (disassemble-internal):
10958 * desktop.el (desktop-load-file):
10959 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
10960 (describe-function-1):
10961 * emacs-lisp/find-func.el (find-function-noselect):
10962 * emacs-lisp/elp.el (elp-instrument-function):
10963 * emacs-lisp/advice.el (ad-has-proper-definition):
10964 * apropos.el (apropos-safe-documentation, apropos-macrop):
10965 * emacs-lisp/debug.el (debug-on-entry):
10966 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
10967 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
10968 * calc/calc.el (name): Use autoloadp & autoload-do-load.
10969
10970 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
10971
10972 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
10973 function, not an obsolete variable (Bug#12046).
10974
10975 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10976
10977 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
10978
10979 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
10980
10981 * emacs-lisp/pp.el (pp-display-expression): Select old selected
10982 window only if it is still live (Bug#12034).
10983
10984 2012-07-25 Martin Rudalics <rudalics@gmx.at>
10985
10986 * subr.el (redirect-frame-focus): Add advertised calling
10987 convention (Bug#12030).
10988
10989 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
10990
10991 Prefer typical American spelling for "acknowledgment".
10992 * vc/add-log.el (change-log-acknowledgment): Rename from
10993 change-log-acknowledgement, with an alias for the old name.
10994
10995 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
10996
10997 * calc-alg.el (math-simplify-divide): Don't cross multiply
10998 in an equation when the lhs is a variable.
10999
11000 2012-07-24 Julien Danjou <julien@danjou.info>
11001
11002 * net/netrc.el (netrc-find-service-number, netrc-store-data):
11003 Remove, unused.
11004
11005 2012-07-23 Eli Zaretskii <eliz@gnu.org>
11006
11007 * startup.el (command-line): Don't display an empty user name in
11008 the error message about non-existent home directory, when
11009 init-file-user was set to an empty string. See
11010 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
11011 for the details and context.
11012
11013 2012-07-22 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11014
11015 * ses.el (ses-cell-formula-aset): New macro.
11016 (ses-cell-references-aset): New macro.
11017 (ses-cell-p): New function.
11018 (ses-rename-cell): Do no longer rely on complex operations like
11019 ses-cell-set-formula or ses-set-cell to change the cell and handle
11020 the undo at the same time, but rather use lower level new macros
11021 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
11022 the undo directly. Refresh the mode line.
11023
11024 2012-07-21 Leo Liu <sdl.web@gmail.com>
11025
11026 * progmodes/cc-cmds.el (c-defun-name):
11027 Use match-string-no-properties instead for consistency.
11028
11029 2012-07-20 Leo Liu <sdl.web@gmail.com>
11030
11031 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
11032 (Bug#7879)
11033
11034 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
11035
11036 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
11037
11038 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
11039 * progmodes/bug-reference.el, misearch.el: Provide themselves
11040 (bug#11915).
11041
11042 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
11043 of narrowed buffer (bug#11966).
11044
11045 2012-07-20 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11046
11047 * ses.el (ses-rename-cell): Set new name also in reference list of
11048 cells of which the renamed cell depends.
11049
11050 2012-07-20 Masatake YAMATO <yamato@redhat.com>
11051
11052 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
11053 to check whether menu-bar is shown or not. If not shown,
11054 show the menu-bar as a popup menu instead of using tmm.
11055 * mouse.el (popup-menu): Accept `point' as `position' argument.
11056
11057 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
11058
11059 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
11060 up inside string symbol literal (bug#11923).
11061
11062 2012-07-20 Eli Zaretskii <eliz@gnu.org>
11063
11064 * startup.el (fancy-startup-text): Read the whole tutorial, not
11065 just its first 256 bytes. Prevents gibberish in display of the
11066 tutorial title.
11067
11068 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
11069
11070 Drop idle buffer compaction due to an absence of the
11071 proved efficiency.
11072 * compact.el: Remove.
11073
11074 2012-07-19 Sam Steingold <sds@gnu.org>
11075
11076 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
11077 vc-bzr-pull & vc-bzr-merge-branch.
11078 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
11079 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
11080 for consistency with compilation-error-regexp-alist.
11081 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
11082 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
11083 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
11084 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
11085
11086 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11087
11088 * emacs-lisp/chart.el: Use lexical-binding.
11089 (chart-emacs-storage): Don't hardcode the list of entries.
11090
11091 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11092
11093 Next round of tweaks caused by Fgarbage_collect changes.
11094 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
11095
11096 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11097
11098 Compact buffers when idle.
11099 * compact.el: New file.
11100
11101 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11102
11103 * subr.el (eventp): Presume that if it looks vaguely like an event,
11104 it's an event (bug#10190).
11105
11106 2012-07-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11107
11108 Enhancements to ppss related code (thanks Stefan).
11109 * progmodes/python.el (python-indent-context)
11110 (python-indent-calculate-indentation, python-indent-dedent-line)
11111 (python-indent-electric-colon, python-nav-forward-block)
11112 (python-mode-abbrev-table)
11113 (python-info-assignment-continuation-line-p): Simplify checks
11114 for ppss context.
11115 (python-info-continuation-line-p): Cleanup.
11116 (python-info-ppss-context): Do not catch 'quote.
11117 (python-info-ppss-context-type)
11118 (python-info-ppss-comment-or-string-p): Simplify.
11119
11120 2012-07-18 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11121
11122 * progmodes/python.el: Enhancements to eldoc support.
11123 (python-info-current-symbol): New function.
11124 (python-eldoc-at-point): Use python-info-current-symbol.
11125 (python-info-current-defun): Fix cornercase on first defun scan.
11126 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
11127 and signal error when no inferior python process is available.
11128
11129 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
11130
11131 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
11132 assume it's always t.
11133 (vc-git-registered): Remove caching, the function is only called
11134 once.
11135 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
11136
11137 2012-07-18 Chong Yidong <cyd@gnu.org>
11138
11139 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
11140
11141 * simple.el (count-words): Report on narrowing (Bug#9959).
11142
11143 * bindings.el: Bind M-= to count-words.
11144
11145 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
11146
11147 2012-07-18 Masatake YAMATO <yamato@redhat.com>
11148
11149 * progmodes/sh-script.el (sh-imenu-generic-expression):
11150 Capture a function with `function' keyword and without parentheses
11151 like "function FOO" (bug#11856).
11152
11153 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
11154
11155 * window.el (split-window-sensibly): Make WINDOW argument
11156 optional.
11157
11158 2012-07-18 Chong Yidong <cyd@gnu.org>
11159
11160 * subr.el (keyboard-translate): Doc fix (Bug#7261).
11161
11162 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
11163 and make C-x 8 RET exit isearch (Bug#11439).
11164
11165 * international/iso-transl.el: Move isearch-mode-map key
11166 definitions to isearch.el.
11167
11168 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
11169
11170 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
11171 (eieio-defclass): Use gv-define-setter when possible.
11172
11173 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
11174
11175 Reflect recent changes in Fgarbage_collect.
11176 * emacs-lisp/chart.el (chart-emacs-storage): Change to
11177 reflect new format of data returned by Fgarbage_collect.
11178
11179 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11180
11181 New utility functions + python-info-ppss-context fix (Bug#11910).
11182 * progmodes/python.el (python-info-beginning-of-block-statement-p)
11183 (python-info-ppss-comment-or-string-p): New functions.
11184 (python-info-ppss-context): Small fix for string check.
11185
11186 2012-07-17 Juri Linkov <juri@jurta.org>
11187
11188 * dired-aux.el (dired-do-async-shell-command): Doc fix.
11189 (dired-do-async-shell-command): Don't add `*' at the end of the
11190 command (Bug#11815).
11191 (dired-do-shell-command): Doc fix.
11192 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
11193 Join the individual commands using either "&" or ";" as the
11194 separator depending on the values of these trailing characters.
11195 At the end re-add the trailing "&". (Bug#10598)
11196
11197 * simple.el (async-shell-command): Sync the interactive spec with
11198 `shell-command'. Doc fix.
11199 (shell-command): Doc fix.
11200
11201 2012-07-17 Juri Linkov <juri@jurta.org>
11202
11203 * descr-text.el (describe-char): Fix format args. (Bug#10129)
11204
11205 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11206
11207 Final renames and doc fixes for movement commands (bug#11899).
11208 * progmodes/python.el (python-nav-beginning-of-statement):
11209 Rename from python-nav-statement-start.
11210 (python-nav-end-of-statement): Rename from
11211 python-nav-statement-end.
11212 (python-nav-beginning-of-block): Rename from
11213 python-nav-block-start.
11214 (python-nav-end-of-block): Rename from python-nav-block-end.
11215
11216 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11217
11218 * progmodes/python.el (python-shell-send-string-no-output):
11219 Allow accept-process-output to quit, keeping shell process ready for
11220 future interactions (Bug#11868).
11221
11222 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11223
11224 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
11225
11226 * emacs-lisp/elint.el (elint-find-args-in-code):
11227 Use help-function-arglist, so as to handle lexical byte-code.
11228
11229 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
11230 change (bug#11826).
11231
11232 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11233
11234 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
11235 Avoid spuriously marking the buffer as modified because of c-is-sws.
11236
11237 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
11238 as not-a-comment (bug#11946).
11239
11240 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
11241 for uninterned vars.
11242
11243 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
11244 Use read-event since we don't really want to read chars but bytes.
11245
11246 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
11247 $$..$$ but also $..$ using regexps (bug#11953).
11248 Use tex-verbatim for \url and \path.
11249 (tex-font-lock-keywords): Define as defconst like the others.
11250 (tex-common-initialization): Don't use font-lock-syntax-table any more.
11251
11252 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
11253
11254 * international/mule-cmds.el (ucs-insert): Make it an obsolete
11255 alias for insert-char.
11256
11257 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11258
11259 * progmodes/python.el: Simplified imenu implementation.
11260 (python-nav-jump-to-defun): Remove command.
11261 (python-mode-map): Use `imenu' instead.
11262 (python-nav-list-defun-positions-cache)
11263 (python-imenu-include-defun-type, python-imenu-make-tree)
11264 (python-imenu-subtree-root-label, python-imenu-index-alist):
11265 Remove vars.
11266 (python-nav-list-defun-positions, python-nav-read-defun)
11267 (python-imenu-tree-assoc, python-imenu-make-element-tree)
11268 (python-imenu-make-tree, python-imenu-create-index):
11269 Remove functions.
11270 (python-mode): Update to interact with imenu by setting
11271 `imenu-extract-index-name-function' only.
11272
11273 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11274
11275 * progmodes/python.el: Enhancements to navigation commands.
11276 (python-nav-backward-sentence)
11277 (python-nav-forward-sentence): Remove.
11278 (python-nav-backward-statement, python-nav-forward-statement)
11279 (python-nav-statement-start, python-nav-statement-end)
11280 (python-nav-backward-block, python-nav-forward-block)
11281 (python-nav-block-start, python-nav-block-end)
11282 (python-nav-forward-sexp-function)
11283 (python-info-current-line-comment-p)
11284 (python-info-current-line-empty-p): New functions.
11285 (python-indent-context): Use `python-nav-statement-start'.
11286
11287 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
11288
11289 * eshell/em-ls.el (eshell/ls): Use `apply'.
11290
11291 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
11292 multi-hops, instead of Tramp internals.
11293
11294 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
11295
11296 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
11297 when F1 and F2 are located on different hosts.
11298
11299 2012-07-14 Chong Yidong <cyd@gnu.org>
11300
11301 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
11302 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
11303 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
11304 (xterm-mouse--read-event-sequence-1000)
11305 (xterm-mouse--read-event-sequence-1006): New functions. For old
11306 mouse protocol, handle M-mouse-X events correctly.
11307 (xterm-mouse-event): New arg specifying mouse protocol.
11308 (turn-on-xterm-mouse-tracking-on-terminal)
11309 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
11310 sequence to toggle extended coordinates on newer XTerms.
11311 This appears to be harmless on terminals which do not support this.
11312
11313 2012-07-14 Leo Liu <sdl.web@gmail.com>
11314
11315 Add fringe bitmap indicators for flymake. (Bug#11253)
11316 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
11317 (flymake-make-overlay): New arg BITMAP.
11318 (flymake-error-bitmap, flymake-warning-bitmap)
11319 (flymake-fringe-indicator-position): New user variables.
11320
11321 * fringe.el: New bitmap exclamation-mark.
11322
11323 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
11324
11325 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
11326 also (Bug#7879).
11327
11328 2012-07-14 Chong Yidong <cyd@gnu.org>
11329
11330 * electric.el (electric-pair-post-self-insert-function): Fix pair
11331 insertion in empty-region case (Bug#11520).
11332
11333 2012-07-14 Chong Yidong <cyd@gnu.org>
11334
11335 * bindings.el: Consolidate ctl-x-r-map bindings.
11336 Bind copy-rectangle-as-kill to C-x r w.
11337
11338 * rect.el, register.el: Move bindings to bindings.el.
11339
11340 2012-07-14 Reuben Thomas <rrt@sc3d.org>
11341
11342 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
11343
11344 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
11345
11346 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
11347
11348 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
11349
11350 * bindings.el (top): Use `mapc' instead of `mapcar'.
11351
11352 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
11353
11354 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
11355
11356 * progmodes/sql.el (sql-comint): Suppress the check for program on
11357 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
11358 (Bug#11908)
11359
11360 2012-07-13 Chong Yidong <cyd@gnu.org>
11361
11362 * bindings.el: Assign a non-nil permanent-local property to
11363 per-buffer variables which lack a default value (Bug#11930).
11364
11365 * help-fns.el (describe-variable): In the "automatically becomes
11366 local" notice, take note of permanent-local variables.
11367
11368 2012-07-13 Chong Yidong <cyd@gnu.org>
11369
11370 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
11371 to allow printing the message when called from Lisp.
11372
11373 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11374 Remove toggle-read-only.
11375
11376 * bs.el (bs-toggle-readonly):
11377 * buff-menu.el (Buffer-menu-toggle-read-only):
11378 Remove with-no-warnings around toggle-read-only.
11379
11380 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
11381 Remove with-no-warnings around toggle-read-only.
11382 (ffap-read-only, ffap-read-only-other-window)
11383 (ffap-read-only-other-frame): Callers changed.
11384
11385 * help-mode.el: Don't require view package.
11386 (help-mode-finish): Set buffer-read-only instead of calling
11387 toggle-read-only.
11388
11389 * bindings.el (mode-line-toggle-read-only):
11390 * dired.el (dired-toggle-read-only):
11391 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
11392 with non-nil second arg.
11393
11394 * emacs-lisp/eieio-custom.el (eieio-customize-object):
11395 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
11396 directly.
11397
11398 2012-07-12 Eli Zaretskii <eliz@gnu.org>
11399
11400 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
11401 not incf.
11402
11403 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
11404
11405 More CL cleanups and reduction of use of cl.el.
11406 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
11407 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
11408 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
11409 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
11410 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
11411 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
11412 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
11413 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
11414 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
11415 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
11416 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
11417 * eshell/em-cmpl.el, eshell/em-banner.el:
11418 * calendar/parse-time.el: Use cl-lib.
11419 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
11420 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
11421 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
11422 * term/ns-win.el, term.el, shell.el, ps-samp.el:
11423 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
11424 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
11425 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
11426 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
11427 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
11428 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
11429 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
11430 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
11431 `lambda' rather than with `quote'.
11432 (eshell-do-opt): Adjust accordingly.
11433 (eshell-process-option): Simplify.
11434 * eshell/esh-var.el:
11435 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
11436 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
11437 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
11438 to `pcase--dontcare'.
11439 * emacs-lisp/cl.el (labels): Mark obsolete.
11440 (cl--letf, letf): Move to cl-lib.
11441 (cl--letf*, letf*): Remove.
11442 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
11443 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
11444 (cl-progv): Rewrite.
11445 (cl--letf, cl-letf): Move from cl.el.
11446 (cl-letf*): New macro.
11447 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
11448
11449 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
11450
11451 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
11452
11453 2012-07-11 Chong Yidong <cyd@gnu.org>
11454
11455 * vc/log-edit.el (log-edit-vc-backend): New variable.
11456 (log-edit): Doc fix.
11457
11458 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
11459 argument of log-edit to set up all local variables.
11460 (vc-start-logentry): New optional arg specifying VC backend.
11461
11462 * vc/vc.el (vc-checkin): Use it.
11463 (vc-deduce-fileset): Handle Log Edit buffers.
11464 (vc-diff): Make first argument optional too.
11465
11466 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
11467
11468 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
11469
11470 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
11471 command, just in case. The function is not needed anymore.
11472 (eshell-external-command): Do not call `eshell-remote-command'.
11473
11474 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
11475
11476 Reduce use of (require 'cl).
11477 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
11478 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
11479 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
11480 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
11481 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
11482 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
11483 * battery.el, avoid.el, abbrev.el: Use cl-lib.
11484 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
11485 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
11486 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
11487 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
11488 * calculator.el, autorevert.el, apropos.el: Don't require CL.
11489 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
11490 (byte-compile-unfold-bcf, byte-compile-check-variable):
11491 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
11492 (byte-compile-nilconstp):
11493 * emacs-lisp/autoload.el (make-autoload): Use pcase.
11494 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
11495
11496 * emacs-lisp/gv.el (cond): Make it a valid place.
11497 (if): Simplify slightly.
11498
11499 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
11500 (pcase--self-quoting-p): New function.
11501 (pcase--u1): Use it.
11502
11503 2012-07-10 Glenn Morris <rgm@gnu.org>
11504
11505 * emacs-lisp/authors.el (authors-fixed-entries):
11506 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
11507
11508 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
11509
11510 Rename configure.in to configure.ac (Bug#11603).
11511 * emacs-lisp/authors.el (authors-canonical-file-name):
11512 * progmodes/autoconf.el (autoconf-mode):
11513 Prefer configure.ac to configure.in.
11514
11515 2012-07-08 Chong Yidong <cyd@gnu.org>
11516
11517 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
11518 Implement the mouse-1-click-follows-link handling properly.
11519
11520 * info.el (Info-link-keymap): Use follow-link mechanism for
11521 header-line links (Bug#374).
11522
11523 * simple.el (deactivate-mark): Do not set the primary selection
11524 if another program has acquired it (Bug#11772).
11525
11526 2012-07-07 Kevin Ryde <user42@zip.com.au>
11527
11528 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
11529 (woman-decode-region): Replace escaped-escapes without destroying
11530 bold or underline (Bug#11552).
11531 (woman2-process-escapes): Handle nofill regions (Bug#11591).
11532
11533 2012-07-07 Chong Yidong <cyd@gnu.org>
11534
11535 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
11536 (interprogram-cut-function, interprogram-paste-function):
11537 Mention that we typically mean the clipboard.
11538
11539 2012-07-06 Glenn Morris <rgm@gnu.org>
11540
11541 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
11542
11543 * files.el (toggle-read-only): Restrict message to interactive use.
11544
11545 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
11546
11547 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
11548
11549 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
11550
11551 2012-07-06 Glenn Morris <rgm@gnu.org>
11552
11553 * Makefile.in (compile-one-process): Rename from "recompile".
11554
11555 * Makefile.in (bzr-update): "compile" is the same as "recompile
11556 autoloads", but parallelizable, so use that instead.
11557
11558 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
11559
11560 * window.el (quit-window): Always restore window height when
11561 it's saved in quit-restore parameter (Bug#11810).
11562
11563 2012-07-06 Glenn Morris <rgm@gnu.org>
11564
11565 * simple.el (kill-whole-line): Doc tweak.
11566
11567 2012-07-06 Eli Zaretskii <eliz@gnu.org>
11568
11569 * files.el (file-relative-name): Compare file names
11570 case-insensitively if on MS-Windows or MS-DOS, or if
11571 read-file-name-completion-ignore-case is non-nil. Don't use
11572 case-fold-search for this purpose. (Bug#11827)
11573
11574 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
11575
11576 * calendar/cal-dst.el (calendar-current-time-zone):
11577 Return calendar-current-time-zone-cache if non-nil.
11578
11579 2012-07-17 Masatake YAMATO <yamato@redhat.com>
11580 2012-07-06 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-06 Glenn Morris <rgm@gnu.org>
11586
11587 * Makefile.in (cvs-update): Remove old alias.
11588
11589 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
11590
11591 Sync with Tramp 2.2.6-pre.
11592
11593 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
11594 compatible declaration.
11595
11596 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11597 Protect `list-load-path-shadows' call.
11598
11599 * net/tramp-compat.el (top): Require packages, which aren't
11600 autoloaded anymore for XEmacs. Protect call of
11601 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
11602 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
11603 it hurts at least for SXEmacs.
11604 (tramp-compat-temporary-file-directory): In XEmacs, there is no
11605 standard-value for `temporary-file-directory'.
11606
11607 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
11608 Redirect stderr to /dev/null.
11609 (tramp-sh-handle-write-region): uid and gid can be floats.
11610 Reported by Russell Sim <russell.sim@gmail.com>.
11611 (tramp-sh-handle-vc-registered): Hide errors.
11612 (tramp-vc-file-name-handler): Use dummy results for `process-file'
11613 and `start-file-process'.
11614 (tramp-maybe-open-connection): Check also whether `non-essential'
11615 is bound.
11616
11617 2012-07-04 Chong Yidong <cyd@gnu.org>
11618
11619 * xml.el (xml--parse-buffer): Use xml-syntax-table.
11620 (xml-parse-tag): Likewise, and avoid changing entity tables.
11621 (xml-syntax-table): Define from scratch, making sure not to give
11622 x2000 and other Unicode spaces whitespace syntax, since those are
11623 not spaces in XML.
11624 (xml-parse-fragment): Delete unused function.
11625 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
11626 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
11627 (xml-entity-ref, xml-pe-reference-re)
11628 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
11629 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
11630 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
11631 (xml-entity-value-re): Use syntax references in regexps where
11632 possible; no need to define inside a let-binding.
11633 (xml-parse-dtd): Use xml-pe-reference-re.
11634 (xml-entity-or-char-ref-re): New defconst.
11635 (xml-parse-string, xml-substitute-special): Use it.
11636
11637 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11638
11639 * files.el (locate-dominating-file): Allow `name' to be a predicate.
11640 (find-file--read-only): New function.
11641 (find-file-read-only, find-file-read-only-other-window)
11642 (find-file-read-only-other-frame): Use it.
11643 (insert-file-contents-literally): Don't `fset'.
11644 (get-free-disk-space): Use locate-dominating-file.
11645
11646 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
11647 function is already compiled.
11648
11649 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
11650
11651 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
11652
11653 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
11654 files on the same host.
11655
11656 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
11657
11658 * help-fns.el (describe-function-1): Only call
11659 help-fns--autoloaded-p when we have a file name. (Bug#11848)
11660
11661 2012-07-03 Chong Yidong <cyd@gnu.org>
11662
11663 * xml.el: Protect parser against XML bombs.
11664 (xml-entity-expansion-limit): New variable.
11665 (xml-parse-string, xml-substitute-special): Use it.
11666 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
11667
11668 2012-07-03 Glenn Morris <rgm@gnu.org>
11669
11670 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11671 Allow linking to specific messages in debbugs reports (eg 123#5).
11672
11673 2012-07-02 Chong Yidong <cyd@gnu.org>
11674
11675 * xml.el: Fix entity and character reference expansion, allowing
11676 them to expand into markup as per XML spec.
11677 (xml-default-ns): New variable.
11678 (xml-entity-alist): Use XML spec definitions for lt and amp.
11679 (xml-parse-region): Make first two arguments optional.
11680 Discard text properties.
11681 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
11682 All callers changed.
11683 (xml-parse-tag): Call xml-parse-tag-1. For backward
11684 compatibility, this function should not modify buffer contents.
11685 (xml-parse-tag-1): Fix opening-tag regexp.
11686 (xml-parse-string): Rewrite, handling entity and character
11687 references properly.
11688 (xml--entity-replacement-text): Signal an error if a parameter
11689 entity is undefined.
11690
11691 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11692
11693 * comint.el (comint-output-filter): Filter out repeated prompts.
11694
11695 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
11696 and file-name-absolute-p.
11697 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
11698 internal calls.
11699
11700 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
11701
11702 Spelling fixes.
11703 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
11704 Rename from byte-compile--refiy-function. All uses changed.
11705
11706 2012-07-01 Chong Yidong <cyd@gnu.org>
11707
11708 * xml.el (xml--parse-buffer): New function. Move most of
11709 xml-parse-region here.
11710 (xml-parse-region): Copy region into a temporary buffer, since
11711 parameter entity substitution requires changing buffer contents.
11712 Use xml--parse-buffer.
11713 (xml-parse-file): Use xml--parse-buffer.
11714 (xml-parse-dtd): Make parameter entity substitution work right.
11715 Use proper regexps for ELEMENT declarations (Bug#7172).
11716
11717 2012-06-30 Glenn Morris <rgm@gnu.org>
11718
11719 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
11720
11721 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
11722 Remove outdated and unnecessary dbus declarations.
11723
11724 2012-06-30 Eli Zaretskii <eliz@gnu.org>
11725
11726 * emacs-lisp/timer.el (timer-until): Subtract results of
11727 float-time, instead of taking float-time of the result of
11728 time-subtract, since float-time signals an error for negative time
11729 arguments.
11730
11731 2012-06-30 Chong Yidong <cyd@gnu.org>
11732
11733 * xml.el (xml-*-re): Convert defvars into defconsts, and
11734 eval-and-compile them so eval-and-compile works on derivatives.
11735 (xml--entity-replacement-text): Use eval-and-comple.
11736
11737 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
11738
11739 * vc/vc-git.el (vc-git-registered): Use cache property
11740 `git-registered'.
11741 (vc-git-mode-line-string): Call `vc-working-revision' instead of
11742 `vc-git-working-revision' in order to benefit from the cache.
11743 (vc-git-root): Use cache property `git-root'. (Bug#11757)
11744
11745 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
11746
11747 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
11748 removed (likely outside Emacs). (Bug#11757)
11749
11750 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11751
11752 * emacs-lisp/cl-lib.el: Require macroexp.
11753
11754 2012-06-30 Chong Yidong <cyd@gnu.org>
11755
11756 * xml.el: Implement XML parameter entities.
11757 (xml-parameter-entity-alist): New variable.
11758 (xml-parse-region, xml-parse-fragment): Preserve previous values
11759 of xml-entity-alist and xml-parameter-entity-alist, so that
11760 repeated calls on different documents do not change them.
11761 (xml-parse-tag): Fix doctype regexp.
11762 (xml--entity-replacement-text): New function.
11763 (xml-parse-dtd): Use it. Don't handle system entities; doing that
11764 properly requires url retrieval which is unimplemented.
11765 (xml-escape-string): Doc fix.
11766
11767 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11768
11769 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
11770
11771 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
11772
11773 * fringe.el (fringe-mode): Doc fix.
11774
11775 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
11776
11777 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
11778 is non-nil.
11779 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
11780 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
11781
11782 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
11783
11784 * calendar/cal-dst.el (calendar-current-time-zone):
11785 Return calendar-current-time-zone-cache if non-nil.
11786
11787 2012-06-29 Masatake YAMATO <yamato@redhat.com>
11788
11789 * progmodes/which-func.el (which-func-format):
11790 Add mouse-face. (Bug#11698)
11791
11792 2012-06-29 Leo Liu <sdl.web@gmail.com>
11793
11794 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
11795
11796 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11797
11798 * minibuffer.el (minibuffer-confirm-exit-commands):
11799 Add completion-at-point (bug#11725).
11800
11801 2012-06-29 Glenn Morris <rgm@gnu.org>
11802
11803 * progmodes/f90.el (f90-font-lock-keywords-2):
11804 Add some preprocessor elements. (Bug#10499)
11805
11806 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11807
11808 * progmodes/cperl-mode.el (cperl-update-syntaxification):
11809 Use syntax-propertize (bug#11739).
11810
11811 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
11812
11813 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
11814
11815 2012-06-28 Julien Danjou <julien@danjou.info>
11816
11817 * term.el (term-handle-colors-array): Use a set of new faces to
11818 color the terminal. Also uses :inverse-video property.
11819 (term-default-fg-color): Set to nil by default, deprecate in favor
11820 of `term-face'.
11821 (term-default-bg-color): Set to nil by default, deprecate in favor
11822 of `term-face'.
11823 (term-current-face): Use `term-face' by default.
11824 (term-bold-attribute): Variable deleted.
11825
11826 2012-06-28 Glenn Morris <rgm@gnu.org>
11827
11828 * simple.el (completion-list-mode-finish):
11829 Don't use toggle-read-only. (Since completion-list-mode has
11830 a special mode-class, it wasn't doing anything extra anyway.)
11831
11832 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
11833
11834 Make inlining of other-mode interpreted functions work (bug#11799).
11835 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
11836 (byte-compile): Use it to fix compilation of lexical-binding closures.
11837 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
11838 function, if needed.
11839
11840 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11841
11842 * help-mode.el (help-make-xrefs): Don't just withstand
11843 cyclic-variable-indirection but any error in documentation-property.
11844
11845 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
11846 memory use.
11847 * bindings.el (bindings--define-key): New function.
11848 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
11849 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
11850 * bindings.el: Use it to purecopy define-key bindings.
11851
11852 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
11853
11854 * emacs-lisp/cl.el (flet): Mark obsolete.
11855 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
11856 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
11857 * progmodes/js.el (js-c-fill-paragraph):
11858 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
11859 (ebrowse-switch-member-buffer-to-derived-class):
11860 * play/5x5.el (5x5-solver): Use cl-flet.
11861
11862 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
11863 (cl--symbol-function): New macro.
11864 (cl--letf, cl--letf*): Use it.
11865
11866 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
11867 Strip "toggle-" if any.
11868
11869 2012-06-27 Glenn Morris <rgm@gnu.org>
11870
11871 * info.el (Info-default-directory-list): Move here from paths.el.
11872 * paths.el: Remove file, which is now empty.
11873 * loadup.el: No longer load "paths".
11874
11875 * custom.el (custom-initialize-delay): Doc fix.
11876
11877 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11878 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
11879 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
11880 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
11881 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
11882 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
11883 * eshell/eshell.el (eshell-defgroup): Remove alias.
11884
11885 2012-06-27 Chong Yidong <cyd@gnu.org>
11886
11887 * help.el (help-enable-auto-load): New variable.
11888
11889 * help-fns.el (help-fns--autoloaded-p): New function.
11890 (describe-function-1): Refer to a function as "autoloaded" if it
11891 was autoloaded at any time in the past. Perform autoloading if
11892 help-enable-auto-load is non-nil.
11893
11894 2012-06-26 Eli Zaretskii <eliz@gnu.org>
11895
11896 * makefile.w32-in (compile, compile-always): Depend on
11897 update-subdirs, not on subdirs.el. Otherwise, several different
11898 sub-targets of 'bootstrap' running in parallel could
11899 simultaneously write to subdirs.el, producing a garbled file.
11900
11901 2012-06-26 Sam Steingold <sds@gnu.org>
11902
11903 * files.el (file-name-base): New convenience function.
11904 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
11905 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
11906 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
11907 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
11908 * textmodes/ispell.el, textmodes/reftex-ref.el:
11909 * textmodes/tex-mode.el: Use it.
11910 Did not touch cedet and org because they are maintained elsewhere.
11911
11912 2012-06-26 Martin Rudalics <rudalics@gmx.at>
11913
11914 * calendar/calendar.el (calendar-exit): Don't try to delete or
11915 iconify last frame. See:
11916 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
11917
11918 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
11919
11920 * server.el (server-process-filter): Remember dir in the
11921 process's `server-client-directory' properties.
11922
11923 2012-06-24 Chong Yidong <cyd@gnu.org>
11924
11925 * xml.el (xml-parse-tag): Correctly handle comment embedded in
11926 non-tag text.
11927
11928 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
11929
11930 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
11931
11932 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11933
11934 * help-fns.el (describe-variable): Don't croak when doc is not found.
11935 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
11936 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
11937 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
11938 * emacs-lisp/smie.el (smie-next-sexp): CSE.
11939 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
11940 ((lambda ..) ..).
11941 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
11942
11943 2012-06-23 Chong Yidong <cyd@gnu.org>
11944
11945 * info.el (Info-mouse-follow-link): Accept symbol values of
11946 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
11947 (Info-fontify-node): Use Info-link-keymap for all navigation
11948 buttons, with link-args property to perform the desired action.
11949 (Info-link-keymap): Doc fix.
11950 (Info-next-link-keymap, Info-prev-link-keymap)
11951 (Info-up-link-keymap): Delete now-unused keymaps.
11952
11953 2012-06-23 Chong Yidong <cyd@gnu.org>
11954
11955 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
11956
11957 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
11958 system abbrevs.
11959
11960 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
11961
11962 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11963
11964 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
11965 (bug#11719).
11966
11967 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
11968 the requote function doesn't work properly (bug#11714).
11969
11970 2012-06-23 Glenn Morris <rgm@gnu.org>
11971
11972 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
11973
11974 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11975
11976 Further GV/CL cleanups.
11977 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
11978 gv-expander.
11979 (gv--defun-declaration): New function.
11980 (defun-declarations-alist): Use it.
11981 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
11982 (gv-place): Autoload.
11983 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
11984 original definition of dotimes and dolist.
11985 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
11986 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
11987 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
11988 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11989 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
11990 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
11991 to the function's definition.
11992 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
11993 * window.el:
11994 * files.el:
11995 * faces.el:
11996 * env.el: Don't use CL.
11997
11998 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
11999
12000 Support higher-resolution time stamps (Bug#9000).
12001
12002 * calendar/time-date.el (with-decoded-time-value): New arg
12003 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
12004 (encode-time-value): New optional arg PICO. New type 3.
12005 (time-to-seconds) [!float-time]: Support the new picoseconds
12006 component if it's used.
12007 (seconds-to-time, time-subtract, time-add):
12008 Support ps-resolution time stamps as well.
12009
12010 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
12011 (timerp): Timer vectors now have length 9, not 8.
12012 (timer--time): Support new-style (4-part) time stamps.
12013 (timer-next-integral-multiple-of-time): Time stamps now have
12014 picosecond resolution, so take a bit more care about rounding.
12015 (timer-relative-time, timer-inc-time): New optional arg psecs.
12016 (timer-set-time-with-usecs): Set psecs to 0.
12017 (timer--activate): Check psecs component, too.
12018
12019 * proced.el (proced-time-lessp): Support ps-resolution stamps.
12020
12021 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12022
12023 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
12024 Move the non-essential binding to the post/pre-command-hook where it is
12025 more obviously correct.
12026
12027 * subr.el (read-passwd): Don't use a history at all.
12028 * savehist.el (savehist-save): Remove password saved accidentally
12029 because of the above bug.
12030
12031 2012-06-22 Bastien Guerry <bzg@gnu.org>
12032
12033 * files.el (toggle-read-only): Display a message telling whether
12034 the buffer is read-only or not (bug#11726).
12035
12036 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12037
12038 * emacs-lisp/gv.el: New file.
12039 * subr.el (push, pop): Extend to generalized variables.
12040 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
12041 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
12042 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
12043 gv-define-simple-setter, and gv-define-expander.
12044 Remove setf-methods defined in gv. Rename cl-setf -> setf.
12045 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
12046 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
12047 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
12048 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
12049 gv-letplace.
12050 (cl-defstruct): Don't define setf-method any more.
12051 * emacs-lisp/cl.el (flet): Don't autoload.
12052 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
12053 (define-setf-expander, defsetf, define-modify-macro)
12054 (cl-struct-setf-expander): Move from cl-lib.el.
12055 * emacs-lisp/syntax.el:
12056 * emacs-lisp/ewoc.el:
12057 * emacs-lisp/smie.el:
12058 * emacs-lisp/cconv.el:
12059 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
12060 (timer--time): Use gv-define-simple-setter.
12061 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
12062 to avoid coding-system problems in subr.el. Adjust all users.
12063 (macroexp--maxsize, macroexp-small-p): New functions.
12064 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
12065 * scroll-bar.el (scroll-bar-mode):
12066 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
12067 (normal-erase-is-backspace-mode): Don't use the `eq' place.
12068 * winner.el (winner-configuration, winner-make-point-alist)
12069 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
12070 * files.el (locate-file-completion-table): Avoid list*.
12071
12072 2012-06-22 Chong Yidong <cyd@gnu.org>
12073
12074 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
12075 (dired-create-files): Doc fix (Bug#11329).
12076 (dired-do-copy): Doc fix (Bug#11334).
12077 (dired-mark-read-string): Doc fix (Bug#11553).
12078
12079 * dired.el (dired-recursive-copies, dired-recursive-deletes):
12080 Doc fix (Bug#11326).
12081 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
12082 (dired-dwim-target): Doc fix.
12083
12084 * wdired.el (wdired-mode): Doc fix.
12085
12086 2012-06-22 Glenn Morris <rgm@gnu.org>
12087
12088 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
12089 (pcmpl-rpm-cache-stamp-file): New constant.
12090 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
12091 (pcmpl-rpm-packages): Optionally cache list of packages.
12092
12093 * pcmpl-rpm.el (pcmpl-rpm): New group.
12094 (pcmpl-rpm-query-options): New option.
12095 (pcmpl-rpm-packages): No need to inline it.
12096 Use pcmpl-rpm-query-options.
12097
12098 * calendar/calendar.el (calendar-in-read-only-buffer):
12099 Avoid some needless mode changes.
12100
12101 2012-06-21 Chong Yidong <cyd@gnu.org>
12102
12103 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
12104 (desktop-path): Remove . from the default value (Bug#10977).
12105 (desktop-read): Use user-emacs-directory if desktop-path is nil.
12106
12107 2012-06-20 Chong Yidong <cyd@gnu.org>
12108
12109 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
12110
12111 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
12112
12113 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
12114 (bug#11201).
12115
12116 2012-06-20 Chong Yidong <cyd@gnu.org>
12117
12118 * term.el (term-window-width): Handle the case of a missing right
12119 fringe (Bug#8837).
12120 (term-check-size): Use window-text-height (Bug#5445).
12121 (term-mode): Use define-derived-mode. Minor cleanups.
12122 Set font-lock-defaults (Bug#7692).
12123 (term-move-columns, term-insert-char, term-emulate-terminal)
12124 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
12125
12126 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
12127
12128 * net/ange-ftp.el (ange-ftp-get-passwd):
12129 Bind `enable-recursive-minibuffers'.
12130 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
12131
12132 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
12133
12134 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
12135
12136 2012-06-19 Glenn Morris <rgm@gnu.org>
12137
12138 * progmodes/python.el (python-mode): Derive from prog-mode.
12139
12140 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
12141
12142 * emulation/edt.el (edt-default-menu-bar-update-buffers)
12143 (edt-user-menu-bar-update-buffers): New functions.
12144 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
12145
12146 2012-06-19 Chong Yidong <cyd@gnu.org>
12147
12148 * subr.el (with-selected-window): Preserve the selected window's
12149 terminal's top-frame (Bug#4702).
12150
12151 * window.el (save-selected-window): Likewise.
12152
12153 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12154
12155 * progmodes/python.el (python-rx-constituents): Move backquote.
12156 (python-skeleton-define, python-define-auxiliary-skeleton):
12157 Use `declare'.
12158
12159 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
12160
12161 * minibuffer.el (read-file-name-default): Revert the patch from
12162 2012-06-17.
12163
12164 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12165
12166 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
12167 (pcase--u1, pcase--q1): Don't use apply-partially.
12168
12169 2012-06-18 Glenn Morris <rgm@gnu.org>
12170
12171 * progmodes/python.el (python-proc, python-buffer)
12172 (python-send-receive, python-send-string): Fix obsolete versions.
12173
12174 2012-06-18 Martin Rudalics <rudalics@gmx.at>
12175
12176 * window.el (special-display-p): Completely remove stringp
12177 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
12178
12179 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
12180
12181 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
12182
12183 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
12184
12185 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
12186 * net/tramp-sh.el (tramp-maybe-open-connection):
12187 Throw if `non-essential' is non-nil.
12188
12189 2012-06-17 Martin Rudalics <rudalics@gmx.at>
12190
12191 * window.el (special-display-p): Signal an error if BUFFER-NAME
12192 is not a string (Bug#11713).
12193
12194 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
12195
12196 * progmodes/python.el (python-info-beginning-of-backslash):
12197 Rename from python-info-beginning-of-backlash, as a spelling fix.
12198
12199 2012-06-17 Chong Yidong <cyd@gnu.org>
12200
12201 * term.el (term-emulate-terminal): If term-check-size is called,
12202 move point to the process mark without resetting point (Bug#4635).
12203
12204 2012-06-17 Glenn Morris <rgm@gnu.org>
12205
12206 * international/mule-cmds.el (mule-menu-keymap)
12207 (set-language-environment, set-locale-environment): Doc tweaks.
12208
12209 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
12210
12211 * cus-face.el (custom-face-attributes): Add wave-style underline
12212 attribute.
12213 * faces.el (set-face-attribute): Update docstring to describe
12214 wave-style underline attribute.
12215
12216 2012-06-16 Chong Yidong <cyd@gnu.org>
12217
12218 * term/xterm.el (terminal-init-xterm): Discard input before
12219 querying background mode (Bug#10959).
12220
12221 2012-06-16 Stefan Merten <smerten@oekonux.de>
12222
12223 * textmodes/rst.el: Added and corrected some comments.
12224 (rst-re-alist-def): Improve symbol syntax.
12225 (rst-mode-syntax-table): Correct syntax entries.
12226 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
12227 (rst-official-version, rst-official-cvs-rev): Update version
12228 information.
12229
12230 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
12231
12232 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
12233 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
12234
12235 2012-06-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12236
12237 * progmodes/python.el: New python.el merge.
12238 (python-guess-indent): Obsolete var.
12239 (python-indent-guess-indent-offset): New defcustom.
12240 (python-indent): Obsolete var.
12241 (python-indent-offset): New defcustom.
12242 (python-python-command, python-jython-command): Delete var.
12243 (python-shell-interpreter): New defcustom.
12244 (python-pdbtrack-do-tracking-p): Delete var.
12245 (python-pdbtrack-activate): New defcustom.
12246 (python-use-skeletons): Obsolete var.
12247 (python-skeleton-autoinsert): New defcustom.
12248 (inferior-python-filter-regexp, python-continuation-offset)
12249 (python-honour-comment-indentation, python-indent-string-contents)
12250 (python-jython-packages, python-mode-hook)
12251 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
12252 (python-shell-prompt-alist)
12253 (python-source-modes): Delete defcustoms.
12254 (python-check-buffer-name, python-eldoc-setup-code)
12255 (python-eldoc-string-code, python-ffap-setup-code)
12256 (python-ffap-string-code, python-fill-comment-function)
12257 (python-fill-decorator-function, python-fill-paren-function)
12258 (python-fill-string-function, python-imenu-include-defun-type)
12259 (python-imenu-make-tree, python-imenu-subtree-root-label)
12260 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
12261 (python-shell-compilation-regexp-alist)
12262 (python-shell-completion-module-string-code)
12263 (python-shell-completion-pdb-string-code)
12264 (python-shell-completion-setup-code)
12265 (python-shell-completion-string-code)
12266 (python-shell-enable-font-lock, python-shell-exec-path)
12267 (python-shell-extra-pythonpaths)
12268 (python-shell-internal-buffer-name, python-shell-interpreter-args)
12269 (python-shell-process-environment)
12270 (python-shell-prompt-block-regexp)
12271 (python-shell-prompt-output-regexp)
12272 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
12273 (python-shell-send-setup-max-wait, python-shell-setup-codes)
12274 (python-shell-virtualenv-path): New defcustoms.
12275 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
12276 (inferior-python-mode-syntax-table, python--prompt-regexp)
12277 (python-buffer, python-command python-python-command)
12278 (python-default-template, python-imports, python-indent-index)
12279 (python-indent-list, python-indent-list-length)
12280 (python-mode-running, python-pdbtrack-is-tracking-p)
12281 (python-preoutput-continuation, python-preoutput-leftover)
12282 (python-preoutput-result, python-preoutput-skip-next-prompt)
12283 (python-prev-dir/file, python-recursing)
12284 (python-saved-check-command, python-version-checked)
12285 (python-which-func-length-limit)
12286 (view-return-to-alist): Delete vars.
12287 (python-check-custom-command, python-dotty-syntax-table)
12288 (python-imenu-index-alist, python-indent-current-level)
12289 (python-indent-dedenters, python-indent-levels)
12290 (python-nav-beginning-of-defun-regexp)
12291 (python-nav-list-defun-positions-cache)
12292 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
12293 (python-shell-internal-buffer)
12294 (python-skeleton-available): New vars.
12295 (def-python-skeleton): Delete macro.
12296 (python-skeleton-define): New macro.
12297 (python-define-auxiliary-skeleton, python-rx): New macros.
12298 (python-insert-class): Delete command.
12299 (python-skeleton-class): New command.
12300 (python-insert-def): Delete command.
12301 (python-skeleton-def): New command.
12302 (python-insert-for): Delete command.
12303 (python-skeleton-for): New command.
12304 (python-insert-if): Delete command.
12305 (python-skeleton-if): New command.
12306 (python-insert-try/except, python-insert-try/finally): Delete commands.
12307 (python-skeleton-try): New command.
12308 (python-insert-while): Delete command.
12309 (python-skeleton-while): New command.
12310 (python-backspace): Delete command.
12311 (python-indent-dedent-line-backspace): New command.
12312 (python-electric-colon): Delete command.
12313 (python-indent-electric-colon): New command.
12314 (python-guess-indent): Delete command.
12315 (python-indent-guess-indent-offset): New command.
12316 (python-shift-left): Delete command.
12317 (python-indent-shift-left): New command.
12318 (python-shift-right): Delete command.
12319 (python-indent-shift-right): New command.
12320 (python-find-function): Delete command.
12321 (python-nav-jump-to-defun): New command.
12322 (python-next-statement): Delete command.
12323 (python-nav-forward-sentence): New command.
12324 (python-previous-statement): Delete command.
12325 (python-nav-backward-sentence): New command.
12326 (python-fill-paragraph): Delete command.
12327 (python-fill-paragraph-function): New command.
12328 (python-send-buffer): Delete command.
12329 (python-shell-send-buffer): New command.
12330 (python-send-defun): Delete command.
12331 (python-shell-send-defun): New command.
12332 (python-send-region, python-send-region-and-go): Delete commands.
12333 (python-shell-send-region)
12334 (python-shell-switch-to-shell): New commands.
12335 (python-send-string): Delete command.
12336 (python-shell-send-string): New command.
12337 (python-switch-to-python): Delete command.
12338 (python-shell-switch-to-shell): New command.
12339 (python-describe-symbol): Delete command.
12340 (python-eldoc-at-point): New command.
12341 (python--set-prompt-regexp, python-args-to-list)
12342 (python-after-info-look, python-check-version)
12343 (python-check-comint-prompt, python-find-imports)
12344 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
12345 (python-unload-function, python-expand-template)
12346 (python-maybe-jython, python-preoutput-filter)
12347 (python-pdbtrack-get-source-buffer)
12348 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
12349 (python-pdbtrack-toggle-stack-tracking)
12350 (python-pdbtrack-track-stack-file, python-initial-text)
12351 (python-first-word, python-comment-line-p, python-send-command)
12352 (python-setup-brm, python-sentinel, python-set-proc)
12353 (python-skip-out, python-input-filter, python-outdent-p)
12354 (python-outline-level, python-backslash-continuation-line-p)
12355 (python-end-of-block, python-end-of-statement, python-mark-block)
12356 (python-beginning-of-block, python-beginning-of-statement)
12357 (python-blank-line-p, python-beginning-of-string)
12358 (python-open-block-statement-p): Delete functions.
12359 (python-indent-line, python-indent-line-1): Delete functions.
12360 (python-indent-line): New function.
12361 (python-indentation-levels): Delete function.
12362 (python-indent-calculate-levels): New function.
12363 (python-proc): Delete function.
12364 (python-shell-get-process): New function.
12365 (python-send-receive): Delete function.
12366 (python-shell-send-string-no-output): New function.
12367 (python-module-path): Delete function.
12368 (python-ffap-module-path): New function.
12369 (python-completion-at-point)
12370 (python-symbol-completions): Delete functions.
12371 (python-completion-complete-at-point): New function.
12372 (python-load-file): Delete function.
12373 (python-shell-send-file): New function.
12374 (python-calculate-indentation): Delete function.
12375 (python-indent-calculate-indentation): New function.
12376 (python-skip-comments/blanks): Delete function.
12377 (python-util-forward-comment): New function.
12378 (python-continuation-line-p): Delete function.
12379 (python-info-continuation-line-p): New function.
12380 (python-which-func, python-current-defun): Delete function.
12381 (python-info-current-defun): New function.
12382 (python-beginning-of-defun): Delete function.
12383 (python-nav-beginning-of-defun): New function.
12384 (python-close-block-statement-p)
12385 (python-block-end-p): Delete function.
12386 (python-info-closing-block): New function.
12387 (python-comint-output-filter-function)
12388 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
12389 (python-fill-comment, python-fill-decorator, python-fill-paren)
12390 (python-fill-string, python-imenu-make-element-tree)
12391 (python-imenu-make-tree, python-imenu-tree-assoc)
12392 (python-indent-context, python-indent-dedent-line)
12393 (python-indent-line-function)
12394 (python-indent-post-self-insert-function)
12395 (python-indent-toggle-levels)
12396 (python-info-assignment-continuation-line-p)
12397 (python-info-beginning-of-backlash)
12398 (python-info-block-continuation-line-p)
12399 (python-info-closing-block-message)
12400 (python-info-line-ends-backslash-p)
12401 (python-info-looking-at-beginning-of-defun)
12402 (python-info-ppss-context, python-info-ppss-context-type)
12403 (python-nav-list-defun-positions, python-nav-read-defun)
12404 (python-nav-sentence-end, python-nav-sentence-start)
12405 (python-pdbtrack-comint-output-filter-function)
12406 (python-pdbtrack-set-tracked-buffer)
12407 (python-shell-calculate-exec-path)
12408 (python-shell-calculate-process-environment)
12409 (python-shell-completion--do-completion-at-point)
12410 (python-shell-completion--get-completions)
12411 (python-shell-completion-complete-at-point)
12412 (python-shell-completion-complete-or-indent)
12413 (python-shell-get-or-create-process)
12414 (python-shell-get-process-name)
12415 (python-shell-internal-get-or-create-process)
12416 (python-shell-internal-get-process-name)
12417 (python-shell-internal-send-string, python-shell-make-comint)
12418 (python-shell-parse-command, python-shell-send-setup-code)
12419 (python-skeleton-add-menu-items)
12420 (python-util-clone-local-variables, python-util-position)
12421 (run-python-internal, python-indentation-levels)
12422 (python-nav-beginning-of-defun)
12423 (python-completion-complete-at-point): New functions.
12424 (run-python): Change arguments. New API requirements.
12425
12426 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12427
12428 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
12429 (bug#11649).
12430
12431 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
12432 (macroexp--expand-all): Use it.
12433
12434 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
12435 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
12436 Use `cl-function' instead.
12437
12438 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
12439
12440 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
12441 Suggested by Stefan Monnier while discussing bug#11657.
12442
12443 2012-06-14 Sam Steingold <sds@gnu.org>
12444
12445 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
12446
12447 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
12448
12449 * play/doctor.el (doctor-doc): Remove parameter and use
12450 doctor-sent instead of sent.
12451 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
12452
12453 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12454
12455 * files.el: Require cl-lib.
12456 (file-name-non-special): Replace case -> cl-case.
12457
12458 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
12459
12460 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
12461 mapping from #' to function*.
12462
12463 2012-06-13 Chong Yidong <cyd@gnu.org>
12464
12465 * mouse.el (mouse-drag-track): Do not set the mark if the user
12466 releases the mouse without selecting anything (Bug#11588).
12467
12468 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12469
12470 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
12471 as well (bug#11646).
12472
12473 * loadup.el: Count byte-code functions as well.
12474
12475 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
12476 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
12477
12478 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
12479 (bug#11649). Add cl-defun and cl-defmacro.
12480
12481 2012-06-13 Drew Adams <drew.adams@oracle.com>
12482
12483 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12484 Fix last change.
12485
12486 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
12487
12488 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
12489 Otherwise, it blocks in batch mode.
12490
12491 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
12492
12493 * help-mode.el (bookmark-make-record-default): Declare.
12494
12495 2012-06-13 Chong Yidong <cyd@gnu.org>
12496
12497 * emacs-lisp/package.el (list-packages): Compute a list of
12498 packages that are newly-available since the last list-packages
12499 invocation.
12500 (package-menu--new-package-list): New var.
12501 (package-menu--generate, package-menu--print-info)
12502 (package-menu--status-predicate, package-menu-mark-install):
12503 Handle new status label "new".
12504
12505 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12506
12507 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
12508 conversion to backquotes.
12509
12510 2012-06-12 Chong Yidong <cyd@gnu.org>
12511
12512 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
12513 Rename from gud-inhibit-global-bindings.
12514
12515 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
12516
12517 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
12518 hook from nxml-glyph-set-hook.
12519
12520 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
12521 declaration.
12522
12523 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
12524
12525 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
12526 Convert to defcustom.
12527
12528 2012-06-12 Drew Adams <drew.adams@oracle.com>
12529
12530 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12531 New functions.
12532 (help-mode): Use them.
12533
12534 2012-06-11 Glenn Morris <rgm@gnu.org>
12535
12536 * progmodes/fortran.el (fortran-font-lock-keywords-3):
12537 Use preprocessor face for directives.
12538 (fortran-directive-re): Doc fix.
12539
12540 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12541
12542 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
12543 conversion to backquotes (bug#11652).
12544
12545 Fix compiler-expansion of CL's cXXr functions (bug#11673).
12546 * emacs-lisp/cl-lib.el (cl--defalias): New function.
12547 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
12548 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
12549 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12550 (cl-ninth, cl-tenth): Mark them as inlinable.
12551 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
12552 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
12553 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
12554 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
12555 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
12556 (cl-list*, cl-adjoin): Don't put an autoload manually.
12557 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
12558 (cl--compiler-macro-list*): Add autoload cookie.
12559 (cl--compiler-macro-cXXr): New function.
12560
12561 * help-fns.el (help-fns--compiler-macro): New function extracted from
12562 describe-function-1; follow aliases and use `compiler-macro' property.
12563 (describe-function-1): Use it.
12564
12565 2012-06-11 Chong Yidong <cyd@gnu.org>
12566
12567 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
12568 is uninstalled, if imagemagick is installed.
12569
12570 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12571
12572 * emacs-lisp/cl-lib.el: Use lexical-binding.
12573 (cl-map-extents, cl-maclisp-member): Remove.
12574 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
12575 (cl--set-substring, cl--block-wrapper, cl--block-throw)
12576 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
12577 * emacs-lisp/cl-extra.el: Use lexical-binding.
12578 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
12579 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
12580 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
12581 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
12582 * emacs-lisp/cl-seq.el: Use lexical-binding.
12583 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
12584 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
12585 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
12586 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
12587 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
12588 CL's internals.
12589
12590 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
12591
12592 Sync with Tramp 2.2.6-pre.
12593
12594 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
12595 `print-length' and `print-level' to nil, in order to avoid
12596 truncation. Reported by Christopher Schmidt
12597 <christopher@ristopher.com>.
12598
12599 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
12600
12601 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
12602 New defmacro.
12603 (tramp-compat-copy-directory): Add optional argument
12604 COPY-CONTENTS. It is not handled yet.
12605
12606 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
12607 (tramp-ftp-file-name-p): Simplify.
12608
12609 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
12610 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
12611 connection vector.
12612
12613 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
12614 (tramp-methods): Do not use `tramp-password-end-of-line'.
12615 (tramp-completion-function-alist-putty): Handle UNIX case.
12616 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
12617 (tramp-do-file-attributes-with-stat)
12618 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
12619 gid as real numbers. They could run out of integer range on cygwin.
12620 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
12621 (tramp-sh-handle-expand-file-name): Handle hops.
12622 (tramp-open-connection-setup-interactive-shell):
12623 Use `tramp-cleanup'. Move check for busyboxes ...
12624 (tramp-find-shell): ... here. Simplify implementation.
12625 Set "remote-shell" property also for alternative shells.
12626 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
12627 If failing, a regular file would be written otherwise.
12628 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
12629 (tramp-find-inline-encoding): Cache the coding commands in the
12630 process cache. Apply test command on the remote side, if defined.
12631 (tramp-find-inline-compress): Cache the compress commands in the
12632 process cache.
12633 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
12634 when requested. Handle hops.
12635 (tramp-current-connection): New defvar.
12636 (tramp-maybe-open-connection): Use `tramp-cleanup'.
12637 Throw `suppress', if there was a failed connection shortly before.
12638 Handle user interrupt. (Bug#10187)
12639 (tramp-get-inline-compress, tramp-get-inline-coding):
12640 Read connection properties from the process cache.
12641
12642 * net/tramp-smb.el (tramp-smb-server-version)
12643 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
12644 New defconsts.
12645 (tramp-smb-prompt): Extend for powershell prompt.
12646 (tramp-smb-file-name-handler-alist): Add handlers for
12647 `process-file', `shell-command' and `start-file-process'.
12648 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
12649 (tramp-smb-winexe-shell-command-switch): New defcustoms.
12650 (tramp-smb-file-name-p): Simplify.
12651 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
12652 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
12653 (tramp-smb-shell-quote-argument): New defuns.
12654 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
12655 Implement using "tar". By this, time-stamps are preserved.
12656 (tramp-smb-handle-copy-file): Handle also the case of directories.
12657 (tramp-smb-do-file-attributes-with-stat)
12658 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
12659 Use `tramp-get-connection-buffer').
12660 (tramp-smb-handle-rename-file): Use "rename", when source and
12661 target are on the same share.
12662 (tramp-smb-maybe-open-connection): Handle wrong passwords.
12663 Use `tramp-smb-server-version'.
12664 (tramp-smb-wait-for-output): Remove prompt.
12665
12666 * net/tramp.el (top): Require 'cl.
12667 (tramp-methods, tramp-rsh-end-of-line):
12668 Remove `tramp-password-end-of-line' from docstring.
12669 (tramp-save-ad-hoc-proxies): New defcustom.
12670 (tramp-completion-function-alist): Adapt docstring.
12671 (tramp-default-password-end-of-line): Remove defcustom.
12672 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
12673 (tramp-user-regexp, tramp-file-name-regexp-unified)
12674 (tramp-file-name-regexp-url): Extend regexp by hop separator.
12675 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
12676 (tramp-remote-file-name-spec-regexp): New defconst.
12677 (tramp-file-name-structure): Extend structure for hops.
12678 (tramp-get-method-parameter): Move up.
12679 (tramp-file-name-p, tramp-dissect-file-name)
12680 (with-parsed-tramp-file-name): Handle hops.
12681 (tramp-file-name-hop): New defun.
12682 (tramp-make-tramp-file-name): New optional arg HOP.
12683 (tramp-message-show-progress-reporter-message): New defvar.
12684 (tramp-with-progress-reporter): Use it. We cannot use
12685 `tramp-message-show-message' here, because this suppresses also
12686 error buffers.
12687 (tramp-error-with-buffer): Suppress buffer view, if
12688 `tramp-message-show-message' is nil.
12689 Use `tramp-get-connection-buffer'.
12690 (tramp-cleanup): New defun.
12691 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
12692 (tramp-file-name-handler): If `debug-on-error' is set, propagate
12693 an error unchanged.
12694 (tramp-completion-handle-file-name-all-completions): Handle hops.
12695 Fix an error when called from ido.
12696 (tramp-completion-dissect-file-name): Use better local variable
12697 name. Add hop to the vector.
12698 (tramp-handle-insert-file-contents): Use progress-reporter for the
12699 whole scenario.
12700 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
12701 to `t'.
12702 (tramp-check-for-regexp): Simplify search.
12703 (tramp-enter-password): Remove it. Move implementation ...
12704 (tramp-action-password): ... here.
12705 (tramp-mode-string-to-int, tramp-local-host-p)
12706 (tramp-make-tramp-temp-file, tramp-read-passwd)
12707 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
12708 Set tramp-autoload cookie.
12709
12710 * net/trampver.el: Update release number.
12711
12712 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12713 Michael Albinus <michael.albinus@gmx.de>
12714
12715 * net/tramp.el (tramp-set-completion-function): Fix docstring.
12716 (tramp-parse-group, tramp-parse-file)
12717 (tramp-parse-shostkeys-sknownhosts): New defuns.
12718 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
12719 (tramp-parse-shosts-group, tramp-parse-sconfig)
12720 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
12721 (tramp-parse-sknownhosts, tramp-parse-hosts)
12722 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
12723 Use them.
12724 (tramp-parse-passwd-group, tramp-parse-netrc-group)
12725 (tramp-parse-putty-group): Don't narrow.
12726 (tramp-parse-putty): Make a loop.
12727 (tramp-file-name-handler): Catch the `suppress' signal.
12728
12729 2012-06-11 Chong Yidong <cyd@gnu.org>
12730
12731 * image.el (imagemagick-register-types): Put the ImageMagick entry
12732 at the end of image-type-file-name-regexps.
12733
12734 2012-06-11 Johan BockgĂ¥rd <bojohan@gnu.org>
12735
12736 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
12737 (pcase, pcase-let*, pcase-dolist): Use them.
12738
12739 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12740
12741 * emacs-lisp/pcase.el (pcase--let*): New function.
12742 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
12743 (pcase--expand): Use macroexp-let².
12744
12745 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
12746
12747 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
12748 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
12749 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
12750 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
12751 * emacs-lisp/derived.el: Use pcase instead of `cl'.
12752 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
12753
12754 2012-06-10 Glenn Morris <rgm@gnu.org>
12755
12756 * mail/rmail.el (rmail-yank-current-message): Leave point at
12757 correct position. (Bug#11660)
12758
12759 2012-06-10 Chong Yidong <cyd@gnu.org>
12760
12761 * allout-widgets.el: Fix code header.
12762
12763 2012-06-10 Chong Yidong <cyd@gnu.org>
12764
12765 * cus-edit.el (customize-changed-options-previous-release):
12766 Bump to 24.1.
12767
12768 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
12769
12770 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
12771
12772 2012-06-09 Chong Yidong <cyd@gnu.org>
12773
12774 * ebuff-menu.el (electric-buffer-list): Preserve header line.
12775
12776 2012-06-09 Martin Rudalics <rudalics@gmx.at>
12777
12778 * window.el (special-display-popup-frame): Don't use
12779 window--display-buffer (Bug#11651).
12780
12781 2012-06-09 Eli Zaretskii <eliz@gnu.org>
12782
12783 Fix parallel builds: make sure loaddefs.el is not being written
12784 while Lisp files are compiled.
12785 (compile): Don't depend on 'mh-autoloads'.
12786 (compile-CMD, compile-SH): Depend on 'autoloads'.
12787 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
12788
12789 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
12790
12791 2012-06-09 Chong Yidong <cyd@gnu.org>
12792
12793 * face-remap.el (face-remap-add-relative, face-remap-set-base)
12794 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
12795 Doc fixes (Bug#11225).
12796
12797 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
12798
12799 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
12800 a function if there's a clear indication that it has a compiler-macro.
12801 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
12802 (macro-declarations-alist): Add arglist to declaration functions.
12803 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
12804 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
12805 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
12806 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
12807 Also add autoload to find the compiler macro.
12808 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
12809 (cl--compiler-macro-member, cl--compiler-macro-assoc)
12810 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
12811 (cl--compiler-macro-get): New functions, replacing calls to
12812 cl-define-compiler-macro.
12813 (cl-typep) [compiler-macro]: Use macroexp-let².
12814
12815 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
12816
12817 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
12818 string properly, fixes Bug#11473.
12819
12820 2012-06-08 Chong Yidong <cyd@gnu.org>
12821
12822 * faces.el (set-face-attribute): Doc fix.
12823 (modify-face): Don't use :bold and :italic.
12824 (error, warning, success): Tweak definitions.
12825
12826 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
12827 (custom-modified, custom-set, custom-changed, custom-themed)
12828 (custom-saved, custom-button, custom-button-mouse)
12829 (custom-button-pressed, custom-state, custom-comment-tag)
12830 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
12831 (custom-group-subtitle): Use new-style face specs.
12832 (custom-invalid-face, custom-rogue-face, custom-modified-face)
12833 (custom-set-face, custom-changed-face, custom-saved-face)
12834 (custom-button-face, custom-button-pressed-face)
12835 (custom-documentation-face, custom-state-face)
12836 (custom-comment-face, custom-comment-tag-face)
12837 (custom-variable-tag-face, custom-variable-button-face)
12838 (custom-face-tag-face, custom-group-tag-face-1)
12839 (custom-group-tag-face): Remove obsolete face alias.
12840
12841 * epa.el (epa-validity-high, epa-validity-medium)
12842 (epa-validity-low, epa-mark, epa-field-name, epa-string)
12843 (epa-field-name, epa-field-body):
12844 * font-lock.el (font-lock-comment-face, font-lock-string-face)
12845 (font-lock-keyword-face, font-lock-builtin-face)
12846 (font-lock-function-name-face, font-lock-variable-name-face)
12847 (font-lock-type-face, font-lock-constant-face):
12848 * ido.el (ido-first-match, ido-only-match, ido-subdir)
12849 (ido-virtual, ido-indicator, ido-incomplete-regexp):
12850 * speedbar.el (speedbar-button-face, speedbar-file-face)
12851 (speedbar-directory-face, speedbar-tag-face)
12852 (speedbar-selected-face, speedbar-highlight-face)
12853 (speedbar-separator-face):
12854 * whitespace.el (whitespace-newline, whitespace-space)
12855 (whitespace-hspace, whitespace-tab, whitespace-trailing)
12856 (whitespace-line, whitespace-space-before-tab)
12857 (whitespace-space-after-tab, whitespace-indentation)
12858 (whitespace-empty):
12859 * emulation/cua-base.el (cua-global-mark):
12860 * eshell/em-prompt.el (eshell-prompt):
12861 * net/newst-plainview.el (newsticker-new-item-face)
12862 (newsticker-old-item-face, newsticker-immortal-item-face)
12863 (newsticker-obsolete-item-face, newsticker-date-face)
12864 (newsticker-statistics-face, newsticker-default-face):
12865 * net/newst-reader.el (newsticker-feed-face)
12866 (newsticker-extra-face, newsticker-enclosure-face):
12867 * net/newst-treeview.el (newsticker-treeview-face)
12868 (newsticker-treeview-new-face, newsticker-treeview-old-face)
12869 (newsticker-treeview-immortal-face)
12870 (newsticker-treeview-obsolete-face)
12871 (newsticker-treeview-selection-face):
12872 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
12873 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
12874 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
12875 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
12876 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
12877 (nxml-outline-active-indicator, nxml-outline-ellipsis):
12878 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
12879 (mpuz-text):
12880 * progmodes/vera-mode.el (vera-font-lock-number)
12881 (vera-font-lock-function, vera-font-lock-interface):
12882 * textmodes/table.el (table-cell): Use new-style face specs, and
12883 don't use the old :bold and :italic attributes.
12884
12885 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
12886 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
12887 (ebrowse-member-class, ebrowse-progress): Likewise.
12888 (ebrowse-tree-mark-face, ebrowse-root-class-face)
12889 (ebrowse-file-name-face, ebrowse-default-face)
12890 (ebrowse-member-attribute-face, ebrowse-member-class-face)
12891 (ebrowse-progress-face): Remove obsolete faces.
12892
12893 * progmodes/flymake.el (flymake-errline, flymake-warnline):
12894 Inherit from error and warning faces respectively.
12895
12896 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
12897 Likewise.
12898 (flyspell-incorrect-face, flyspell-duplicate-face):
12899 Remove obsolete aliases.
12900
12901 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
12902
12903 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12904 Avoid infloop.
12905
12906 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12907
12908 * startup.el (argv, argi): Make lexically scoped.
12909 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
12910 * emacs-lisp/cl-macs.el: Use lexical-binding.
12911 Rename cl-bind-* to cl--bind-*.
12912 * files.el: Don't require `cl' since it doesn't use it.
12913 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
12914
12915 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
12916
12917 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
12918 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
12919 instead of calling external sort utility.
12920 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
12921
12922 2012-06-08 Eli Zaretskii <eliz@gnu.org>
12923
12924 * descr-text.el (describe-char): Mention how to insert the
12925 character, if the current input method doesn't support it.
12926 See the discussion in this thread for the details:
12927 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
12928
12929 2012-06-08 Sam Steingold <sds@gnu.org>
12930
12931 * bindings.el (global-map): Bind XF86Forward to next-buffer and
12932 XF86Back to previous-buffer.
12933 (minibuffer-local-map): Bind them to next-history-element and
12934 previous-history-element respectively.
12935 * help-mode.el (help-mode-map): Bind them to help-go-forward and
12936 help-go-back respectively.
12937 * info.el (Info-mode-map): Bind them to Info-history-forward and
12938 Info-history-back respectively.
12939 These are the keys next to Up on the ThinkPad keyboard.
12940
12941 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12942
12943 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
12944 * emacs-lisp/cl-macs.el: Provide itself.
12945 (cl--labels-convert-cache): New var.
12946 (cl--labels-convert): New function.
12947 (cl-flet, cl-labels): New implementation with new semantics, relying on
12948 lexical-binding.
12949 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
12950 (cl-closure-vars, cl--function-convert-cache)
12951 (cl--function-convert): Move from cl-macs.el.
12952 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
12953 rename by removing the "cl-" prefix.
12954 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
12955
12956 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12957
12958 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
12959 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
12960 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
12961 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
12962 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
12963 (cl-hash-table-count): Add old compatibility aliases.
12964
12965 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
12966 Use macroexpand-all-environment instead.
12967 (cl--old-macroexpand): New var.
12968 (cl--sm-macroexpand): New function.
12969 (cl-symbol-macrolet): Use it during macro expansion.
12970 (cl--function-convert-cache): New var.
12971 (cl--function-convert): New function, extracted from
12972 cl-macroexpand-all.
12973 (cl-lexical-let): Use it.
12974
12975 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
12976 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
12977 (cl-member): Remove old alias.
12978
12979 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
12980 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
12981 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
12982 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
12983 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
12984 (cl-macroexpand-cmacs): Remove var.
12985 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
12986 Use macroexpand-all instead.
12987
12988 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12989
12990 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
12991 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
12992 (macroexp-copyable-p): New functions and macros.
12993 * emacs-lisp/edebug.el (edebug-unwrap):
12994 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
12995 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
12996 (pcase--let*): Remove.
12997 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
12998 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
12999 macroexp-const-p instead.
13000 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
13001
13002 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
13003 instead of "cl-" for internal definitions. Use macroexp-const-p.
13004 (cl-old-bc-file-form): Remove var.
13005 (cl-const-exprs-p): Remove fun.
13006 (cl-labels, cl-macrolet): Use backquote.
13007 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
13008 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
13009 (cl-define-setf-expander): Rename from cl-define-setf-method.
13010 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
13011
13012 * international/mule-cmds.el: Don't require CL.
13013 (view-hello-file): Don't use `letf'.
13014
13015 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13016
13017 * tmm.el (tmm-prompt): Use string-prefix-p.
13018 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
13019 (tmm-add-prompt): Use minibuffer-completion-help.
13020 (tmm-delete-map): Remove.
13021
13022 * subr.el (kbd): Make it its own function.
13023
13024 2012-06-07 Stefan Merten <smerten@oekonux.de>
13025
13026 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
13027 Silence compiler warnings. Fix versions.
13028 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
13029 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
13030 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
13031 (rst-package-emacs-version-alist): Correct Emacs version to
13032 represent major merge with upstream.
13033 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
13034
13035 2012-06-06 Glenn Morris <rgm@gnu.org>
13036
13037 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
13038 Only print environment variables if set.
13039
13040 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13041
13042 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
13043 (macroexp--cons): Rename from maybe-cons.
13044 (macroexp--accumulate): Rename from macroexp-accumulate.
13045 (macroexp--all-forms): Rename from macroexpand-all-forms.
13046 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
13047 (macroexp--expand-all): Rename from macroexpand-all-1.
13048
13049 2012-06-06 Sam Steingold <sds@gnu.org>
13050
13051 * calendar/calendar.el (calendar-in-read-only-buffer):
13052 Call `special-mode' to enable the standard read-only keybindings.
13053
13054 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13055
13056 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
13057 with "loading" messages (bug#11635).
13058
13059 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
13060
13061 * files.el (enable-remote-dir-locals): New option.
13062 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
13063
13064 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13065 Ensure, that the temp directory is local.
13066
13067 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
13068 `temporary-file-directory'.
13069
13070 * progmodes/python.el (python-send-region): Ensure, that the
13071 temporary file is created also in the remote case.
13072
13073 2012-06-06 Glenn Morris <rgm@gnu.org>
13074
13075 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
13076 (vc-rcs-update-changelog): Use it.
13077
13078 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
13079
13080 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
13081 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
13082 (vc-sccs-diff): Replace use of the external vcdiff script.
13083
13084 2012-06-05 Glenn Morris <rgm@gnu.org>
13085
13086 * ledit.el: Move to obsolete/.
13087
13088 2012-06-05 Sam Steingold <sds@gnu.org>
13089
13090 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
13091 patch (Bug#11140).
13092
13093 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13094
13095 * emacs-lisp/cust-print.el: Move to obsolete.
13096
13097 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
13098 compiler-macro expansion.
13099
13100 Add native compiler-macro support.
13101 * emacs-lisp/macroexp.el (macroexpand-all-1):
13102 Support compiler-macros directly. Properly follow aliases and apply
13103 the compiler macros more thoroughly.
13104 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
13105 macroexpand now properly follows aliases.
13106 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
13107 (cl-compiler-macroexpand): Use new prop.
13108 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
13109
13110 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
13111
13112 2012-06-05 Martin Rudalics <rudalics@gmx.at>
13113
13114 * window.el (get-lru-window, get-mru-window, get-largest-window):
13115 New argument NOT-SELECTED to avoid picking the selected window.
13116 (window--display-buffer-1, window--display-buffer-2): Replace by
13117 new function window--display-buffer
13118 (display-buffer-same-window, display-buffer-reuse-window)
13119 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13120 Use window--display-buffer.
13121 (display-buffer-use-some-window): Remove temporary dedication
13122 hack by calling get-lru-window and get-largest-window with
13123 NOT-SELECTED argument non-nil. Call window--display-buffer.
13124
13125 2012-06-05 Glenn Morris <rgm@gnu.org>
13126
13127 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
13128 Replace external vcdiff script.
13129
13130 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13131
13132 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
13133
13134 2012-06-04 Chong Yidong <cyd@gnu.org>
13135
13136 * image.el (imagemagick-types-inhibit): Revert last change.
13137 Add INFO and M.
13138 (imagemagick-enabled-types): Remove CIN and EPS*.
13139
13140 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13141
13142 * emacs-lisp/cl-lib.el: Rename from cl.el.
13143 * emacs-lisp/cl.el: New compatibility file.
13144 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
13145 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
13146 to obey the "cl-" prefix.
13147 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
13148
13149 2012-06-03 Glenn Morris <rgm@gnu.org>
13150
13151 * emacs-lisp/authors.el (authors-aliases): Addition.
13152
13153 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
13154 Fix :version.
13155
13156 2012-06-03 Stefan Merten <smerten@oekonux.de>
13157
13158 * textmodes/rst.el: Add comments.
13159 (rst-transition, rst-adornment): New faces.
13160 (rst-adornment-faces-alist): Make default safe to reevaluate.
13161 Fixes
13162 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
13163 Improve customization tags.
13164 (rst-define-level-faces): Clarify meaning.
13165
13166 2012-06-03 Chong Yidong <cyd@gnu.org>
13167
13168 * progmodes/compile.el (compilation-mode-line-fail)
13169 (compilation-mode-line-run, compilation-mode-line-exit):
13170 New faces.
13171 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
13172
13173 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
13174
13175 * progmodes/which-func.el (which-func-update-ediff-windows):
13176 New function. Use it in ediff-select-hook (Bug#11478).
13177
13178 2012-06-03 Chong Yidong <cyd@gnu.org>
13179
13180 * bindings.el: Remove explicit help text from format-mode-line.
13181 It is now supplied by mode-line-default-help-echo.
13182 (mode-line-front-space, mode-line-end-spaces)
13183 (mode-line-misc-info): New variables.
13184 (mode-line-modes, mode-line-position): Move the default value to
13185 the variable definition.
13186 (mode-line-default-help-echo): New defcustom.
13187 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
13188 (mode-line-modified-help-echo): New functions.
13189 (mode-line-mule-info, mode-line-modified): Use them.
13190 (mode-line-eol-desc, propertized-buffer-identification):
13191 Consistency fixes for help text.
13192 (mode-line-coding-system-map): Allow using mouse-3 to invoke
13193 set-buffer-file-coding-system (Bug#289).
13194 (mode-line-mule-info-help-echo): Update help text.
13195
13196 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13197
13198 * simple.el (execute-extended-command): Set real-this-command
13199 (bug#11506).
13200
13201 2012-06-02 Chong Yidong <cyd@gnu.org>
13202
13203 Remove incorrect uses of "modeline" in comments, docstrings, and
13204 function/variable names (Bug#10329).
13205
13206 * cus-edit.el (mode-line):
13207 * dframe.el (dframe-mouse-hscroll):
13208 * emacs-lisp/re-builder.el:
13209 * emacs-lisp/easy-mmode.el (define-minor-mode):
13210 * frame.el (set-frame-name):
13211 * help.el (lookup-minor-mode-from-indicator):
13212 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
13213 * progmodes/cc-cmds.el (c-toggle-auto-newline)
13214 (c-toggle-hungry-state):
13215 * progmodes/antlr-mode.el (antlr-language-alist):
13216 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
13217 * progmodes/vhdl-mode.el (vhdl-mode):
13218 * progmodes/which-func.el (which-func, which-func-cleanup-function):
13219 * term/ns-win.el (ns-face-at-pos):
13220 * term/sup-mouse.el (sup-mouse-report):
13221 * textmodes/flyspell.el (flyspell-mode-line-string):
13222 * textmodes/ispell.el (ispell-highlight-face):
13223 * textmodes/reftex-global.el:
13224 * vc/vc-arch.el (vc-arch-mode-line-string):
13225 * vc/vc-cvs.el (vc-cvs-mode-line-string):
13226 * vc/vc-git.el (vc-git-mode-line-string):
13227 * vc/vc-hooks.el (vc-display-status)
13228 (vc-default-mode-line-string):
13229 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
13230
13231 * ansi-color.el (ansi-color-faces-vector): Change default faces.
13232
13233 * dired.el (dired-sort-set-mode-line): Rename from
13234 dired-sort-set-modeline. All callers changed.
13235
13236 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
13237 eshell-status-in-modeline.
13238
13239 * foldout.el (foldout-mode-line-string): Rename from
13240 foldout-modeline-string. All callers changed.
13241 (foldout-update-mode-line): Rename from foldout-update-modeline.
13242
13243 * subr.el (redraw-modeline): Make into obsolete alias.
13244
13245 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
13246 timeclock-modeline-display. Make old name an alias.
13247 (timeclock-update-mode-line): Likewise. All callers changed.
13248 (timeclock-mode-line-display): No need to check before using
13249 add-hook.
13250 (timeclock-relative, timeclock-day-over-hook)
13251 (timeclock-use-elapsed, timeclock-mode-string)
13252 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
13253
13254 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
13255 crisp-mode-modeline-string.
13256
13257 * play/solitaire.el (solitaire-build-mode-line): Rename from
13258 solitaire-build-modeline. All callers changed.
13259
13260 * play/zone.el (zone-hiding-mode-line): Rename from
13261 zone-hiding-modeline. All callers changed.
13262 (zone): Remove unusued `modeline-hidden-level' property.
13263
13264 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
13265 xscheme-modeline-initialize. All callers changed.
13266
13267 * strokes.el (strokes-lighter): Rename from
13268 strokes-modeline-string.
13269
13270 * textmodes/sgml-mode.el (html-face-tag-alist)
13271 (html-tag-face-alist): Use mode-line face instead of obsolete
13272 alias modeline.
13273
13274 2012-06-02 Stefan Merten <smerten@oekonux.de>
13275
13276 * textmodes/rst.el: Always require `cl'.
13277 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
13278
13279 2012-06-02 Chong Yidong <cyd@gnu.org>
13280
13281 * image.el (imagemagick-enabled-types): Rename from
13282 imagemagick-types-enable. Add many more types.
13283 (imagemagick-types-inhibit): Change default to nil.
13284 (imagemagick-filter-types): Caller changed.
13285
13286 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13287
13288 * emacs-lisp/cl-macs.el: Use backquotes.
13289 (cl-transform-function-property): Use eval-and-compile rather than
13290 abusing `require'.
13291 (defstruct): Use declare-function instead of with-no-warnings.
13292
13293 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
13294 (byte-compile-output-docform): Re-add the print-circle bindings.
13295 (byte-compile-fix-header): Use #$ just because it's shorter.
13296 (byte-compile-output-file-form): Remove defun/defmacro.
13297
13298 2012-06-01 Martin Rudalics <rudalics@gmx.at>
13299
13300 * simple.el (choose-completion): Remove now obsolete binding for
13301 owindow.
13302
13303 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
13304
13305 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
13306 in order to avoid "Stack overflow in regexp matcher".
13307
13308 2012-05-31 Glenn Morris <rgm@gnu.org>
13309
13310 * image.el: For clarity, call imagemagick-register-types at
13311 top-level, rather than relying on a custom :initialize.
13312 (imagemagick-types-enable): New option. (Bug#11557)
13313 (imagemagick-filter-types): New function. (Bug#7406)
13314 (imagemagick-register-types): Use imagemagick-filter-types.
13315 If disabling support, remove elements altogether rather
13316 than using an impossible regexp.
13317 (imagemagick-types-inhibit): Give it the default init function.
13318
13319 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13320
13321 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
13322 Handle arbitrary file name lengths (Bug#11585).
13323
13324 2012-05-31 Martin Rudalics <rudalics@gmx.at>
13325
13326 * desktop.el (desktop-read): Clear previous and next buffers for
13327 all windows and bury *Messages* buffer (bug#11556).
13328
13329 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13330
13331 Add `declare' for `defun'. Align `defmacro's with it.
13332 * emacs-lisp/easy-mmode.el (define-minor-mode)
13333 (define-globalized-minor-mode): Don't autoload the var definitions.
13334 * emacs-lisp/byte-run.el: Use lexical-binding.
13335 (defun-declarations-alist, macro-declarations-alist): New vars.
13336 (defmacro, defun): Use them.
13337 (make-obsolete, define-obsolete-function-alias)
13338 (make-obsolete-variable, define-obsolete-variable-alias):
13339 Use `declare'.
13340 (macro-declaration-function): Mark obsolete.
13341 * emacs-lisp/autoload.el: Use lexical-binding.
13342 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
13343
13344 2012-05-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13345
13346 * textmodes/ispell.el (ispell-with-no-warnings):
13347 Define as a macro.
13348 (ispell-kill-ispell, ispell-change-dictionary):
13349 Use `called-interactively-p' for Emacs instead of obsolete
13350 `interactive-p'.
13351
13352 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13353
13354 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
13355 (macro-declaration-function): Move var from C code.
13356 (macro-declaration-function): Define function with defalias.
13357 * emacs-lisp/macroexp.el (macroexpand-all-1):
13358 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
13359 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
13360 defun/defmacro any more.
13361 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
13362 Provide fallback for unknown arglist.
13363 (byte-compile-arglist-warn): Change calling convention.
13364 (byte-compile-output-file-form): Move print-vars binding.
13365 (byte-compile-output-docform): Simplify accordingly.
13366 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
13367 (byte-compile-defmacro-declaration): Remove.
13368 (byte-compile-file-form-defmumble): Generalize to defalias.
13369 (byte-compile-output-as-comment): Return byte-positions.
13370 Simplify callers accordingly.
13371 (byte-compile-lambda): Use `assert'.
13372 (byte-compile-defun, byte-compile-defmacro): Remove.
13373 (byte-compile-file-form-defalias):
13374 Use byte-compile-file-form-defmumble.
13375 (byte-compile-defalias-warn): Remove.
13376
13377 2012-05-29 Stefan Merten <smerten@oekonux.de>
13378
13379 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
13380 possible. Fix authors. Improve comments. Improve loading of `cl'.
13381
13382 (rst-mode-abbrev-table): Merge definition.
13383 (rst-mode): Make sure `font-lock-defaults' is buffer local.
13384 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
13385
13386 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
13387
13388 * calendar/icalendar.el
13389 (icalendar-export-region): Export UID properly.
13390
13391 2012-05-29 Leo Liu <sdl.web@gmail.com>
13392 * calendar/icalendar.el (icalendar-import-format):
13393 Add `icalendar-import-format-uid' (Bug#11525).
13394 (icalendar-import-format-uid): New.
13395 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
13396 Export UID.
13397
13398 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13399
13400 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
13401 different alternative patterns.
13402 (pcase-codegen): Be more careful to preserve identity.
13403 (pcase--u1): Don't forget to mark vars as used.
13404
13405 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
13406 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
13407 (byte-compile-from-buffer): ...rather than here.
13408
13409 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
13410 functions from byte-compile-function-environment.
13411
13412 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
13413
13414 * window.el (window-deletable-p): Avoid deleting the root window
13415 of a frame with an active minibuffer.
13416
13417 2012-05-29 Martin Rudalics <rudalics@gmx.at>
13418
13419 * simple.el (choose-completion): Use quit-window (Bug#11567).
13420
13421 2012-05-29 Chong Yidong <cyd@gnu.org>
13422
13423 * whitespace.el (whitespace-cleanup): Fix usage of
13424 whitespace-empty-at-bob-regexp (Bug#11492).
13425
13426 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13427
13428 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
13429 revert (Bug#11488).
13430
13431 2012-05-29 Juri Linkov <juri@jurta.org>
13432
13433 * isearch.el (isearch-mode-map): Bind `M-s _' to
13434 `isearch-toggle-symbol'. Bind `M-s c' to
13435 `isearch-toggle-case-fold'.
13436 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
13437 (isearch-forward): Add `M-s _' to the docstring.
13438 (isearch-forward-symbol, isearch-toggle-case-fold)
13439 (isearch-symbol-regexp): New functions. (Bug#11381)
13440
13441 2012-05-29 Juri Linkov <juri@jurta.org>
13442
13443 * isearch.el (isearch-word): Add docstring. (Bug#11381)
13444 (isearch-occur, isearch-search-and-update): If `isearch-word' is
13445 a function, call it to get the regexp.
13446 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
13447 property `isearch-message-prefix' instead of the string "word ".
13448 (isearch-search-fun-default): For the case of `isearch-word',
13449 return a lambda that calls re-search-forward/re-search-backward
13450 with a regexp returned by `word-search-regexp' or by the function
13451 in `isearch-word'.
13452
13453 2012-05-29 Juri Linkov <juri@jurta.org>
13454
13455 * isearch.el (isearch-search-fun-default): New function.
13456 (isearch-search-fun): Move default part to the new function
13457 `isearch-search-fun-default'.
13458 (isearch-search-fun-function): Set the default value to
13459 `isearch-search-fun-default'. (Bug#11381)
13460
13461 * comint.el (comint-history-isearch-end):
13462 Use `isearch-search-fun-default'.
13463 (comint-history-isearch-search): Use `isearch-search-fun-default'
13464 and remove spacial case for `isearch-word'.
13465 (comint-history-isearch-wrap): Remove spacial case for
13466 `isearch-word'.
13467
13468 * hexl.el (hexl-isearch-search-function):
13469 Use `isearch-search-fun-default'.
13470
13471 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
13472 Use `word-search-regexp' for `isearch-word'.
13473
13474 * misearch.el (multi-isearch-search-fun):
13475 Use `isearch-search-fun-default'.
13476
13477 * simple.el (minibuffer-history-isearch-search):
13478 Use `isearch-search-fun-default' and remove spacial case for
13479 `isearch-word'.
13480 (minibuffer-history-isearch-wrap): Remove spacial case for
13481 `isearch-word'.
13482
13483 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
13484 Remove spacial case for `isearch-word'.
13485 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
13486
13487 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13488
13489 Decrease XEmacs incompatibilities.
13490 * textmodes/flyspell.el (flyspell-check-pre-word-p):
13491 Use `string-match'.
13492 (flyspell-delete-region-overlays): Use alternative definition for
13493 XEmacs.
13494 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
13495 (flyspell-word): Use `process-kill-without-query' if XEmacs.
13496 (flyspell-mode-on): Use `interactive-p' if XEmacs.
13497 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
13498 `define-obsolete-face-alias' under XEmacs, but old method.
13499
13500 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
13501 `with-no-warnings' definition or Emacs alias.
13502 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
13503 (ispell-word): Do not use `region-p' if XEmacs.
13504
13505 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13506
13507 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
13508 Check for `ispell-dictionary-base-alist' instead of full
13509 `ispell-dictionary-alist'.
13510 (ispell-init-process): Show spellchecker when starting new Ispell
13511 process.
13512
13513 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13514
13515 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
13516 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
13517
13518 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
13519
13520 * version.el (motif-version-string, gtk-version-string)
13521 (ns-version-string): Declare.
13522
13523 2012-05-27 Juri Linkov <juri@jurta.org>
13524
13525 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
13526 after the `eval-defun-1' specialcaseing
13527 like in `edebug-eval-defun' (bug#10181).
13528
13529 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
13530 like in `eval-defun-1'.
13531
13532 2012-05-27 Eli Zaretskii <eliz@gnu.org>
13533
13534 * mail/sendmail.el (mail-yank-region):
13535 Recognize rmail-yank-current-message in addition to insert-buffer.
13536 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
13537 a *mail* buffer created through rmail-start-mail with sendmail as
13538 mail-user-agent.
13539
13540 2012-05-27 Chong Yidong <cyd@gnu.org>
13541
13542 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
13543 Default to 256 (Bug#11267).
13544
13545 * help.el (describe-mode): Doc fix.
13546
13547 2012-05-26 Glenn Morris <rgm@gnu.org>
13548
13549 * w32-fns.el (w32-init-info): Remove.
13550 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
13551
13552 * info.el (info-initialize): For self-contained NS builds, put the
13553 included info/ directory at the front. (Bug#2791)
13554
13555 * paths.el (Info-default-directory-list): Make it a defcustom,
13556 mainly so that we can use custom-initialize-delay.
13557
13558 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
13559
13560 * subr.el (buffer-has-markers-at): Mark obsolete.
13561
13562 * subr.el (lambda): Use declare.
13563
13564 * emacs-lisp/lisp-mode.el (lambda):
13565 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
13566
13567 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13568
13569 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
13570
13571 2012-05-26 Glenn Morris <rgm@gnu.org>
13572
13573 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
13574
13575 2012-05-25 Glenn Morris <rgm@gnu.org>
13576
13577 * paths.el: Remove no-byte-compile.
13578 * loadup.el: No need to load paths.el uncompiled.
13579
13580 * image.el (imagemagick-types-inhibit): Doc fix.
13581
13582 * version.el: Remove no-byte-compile and associated formatting.
13583 * loadup.el: No need to load version.el uncompiled. AFAICS, this
13584 is ancient code from when there was an "inc-vers.el".
13585
13586 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13587
13588 * progmodes/gdb-mi.el: Minor style changes.
13589 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
13590 Turn into minor modes.
13591 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
13592 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
13593 (gdb-shell): Remove unneeded let-binding.
13594 (gdb-get-many-fields): Eliminate O(n²) behavior.
13595
13596 2012-05-25 Eli Zaretskii <eliz@gnu.org>
13597
13598 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
13599 platforms that don't link in fontset.c.
13600
13601 2012-05-25 Juri Linkov <juri@jurta.org>
13602
13603 Use the same diff color scheme as in modern VCSes (bug#10181).
13604
13605 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
13606 to avoid confusion with `diff-added' that now uses green colors.
13607 (diff-removed): Use shades of red.
13608 (diff-added): Use shades of green.
13609 (diff-changed): Leave just the yellow color.
13610 (diff-use-changed-face): New variable.
13611 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
13612 how to highlight context diff changes.
13613 (diff-refine-change): Use shades of yellow.
13614 (diff-refine-removed): New face that uses shades of red.
13615 (diff-refine-added): New face that uses shades of green.
13616 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
13617 `diff-refine-removed' in the call to `smerge-refine-subst'
13618 depending on the value of `diff-use-changed-face'.
13619
13620 * vc/smerge-mode.el (smerge-mine): Use shades of red.
13621 (smerge-other): Use shades of green.
13622 (smerge-base): Use shades of yellow.
13623 (smerge-refined-change): Empty face.
13624 (smerge-refined-removed): New face that uses shades of red.
13625 (smerge-refined-added): New face that uses shades of green.
13626 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
13627 args `props-r' and `props-a', and use them. Doc fix.
13628 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
13629 on its value use different faces `smerge-refined-change',
13630 `smerge-refined-removed', `smerge-refined-added' in the call to
13631 `smerge-refine-subst'.
13632
13633 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
13634 Add face condition `min-colors 88' with shades of red.
13635 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
13636 `min-colors 88' with shades of green.
13637 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
13638 `min-colors 88' with shades of yellow.
13639
13640 2012-05-24 Glenn Morris <rgm@gnu.org>
13641
13642 * paths.el (prune-directory-list, remote-shell-program): Move to...
13643 * files.el (prune-directory-list, remote-shell-program): ...here.
13644 For the latter, delay initialization, prefer ssh, just search PATH.
13645
13646 * paths.el (term-file-prefix): Move to faces.el (the only user).
13647 * faces.el (term-file-prefix): Move here, make it a defcustom.
13648
13649 * paths.el (news-directory, news-path, news-inews-program):
13650 Move to gnus/nnspool.el.
13651
13652 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
13653
13654 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
13655 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
13656 Make the latter a defcustom, with a delayed initialization.
13657
13658 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
13659 These were deleted from Gnus itself late 2010.
13660
13661 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
13662
13663 * progmodes/which-func.el (which-func-ff-hook):
13664 Check against user-error, not error.
13665
13666 * emacs-lisp/edebug.el (top): Do not load or set up loading of
13667 cl-specs.el, which no longer exists.
13668
13669 2012-05-22 Glenn Morris <rgm@gnu.org>
13670
13671 * info.el (info-emacs-bug): New command.
13672 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
13673 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
13674
13675 2012-05-21 Glenn Morris <rgm@gnu.org>
13676
13677 * makefile.w32-in (update-subdirs-SH):
13678 * Makefile.in (update-subdirs): Update for moved update-subdirs.
13679
13680 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13681
13682 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
13683
13684 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13685 Simplify Maven regexp, and make sure the file can't start with a space
13686 (bug#11517).
13687
13688 2012-05-21 Glenn Morris <rgm@gnu.org>
13689
13690 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
13691 Scrap superfluous subshells.
13692
13693 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
13694
13695 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
13696 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
13697
13698 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
13699
13700 * calc/calc.el (calc-ensure-consistent-units): New variable.
13701
13702 * calc/calc-units.el (math-consistent-units-p)
13703 (math-check-unit-consistency): New functions.
13704 (calc-quick-units, calc-convert-units):
13705 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
13706 is non-nil.
13707 (calc-extract-units): Fix typo.
13708
13709 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13710
13711 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
13712
13713 * textmodes/flyspell.el: Commenting style, plus code simplifications.
13714 (flyspell-default-deplacement-commands): Don't spell check after
13715 repeated window/frame switches (e.g. triggered by mouse-movement).
13716 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
13717 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
13718 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
13719 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
13720 Remove unused vars.
13721 (flyspell-get-casechars, flyspell-get-not-casechars):
13722 Simplify; Don't bother removing a ] just to add it back.
13723 * textmodes/ispell.el (ispell-program-name): Use executable-find.
13724
13725 2012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
13726
13727 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
13728 New functions.
13729 (math-function-table): Add support for more C functions.
13730
13731 2012-05-18 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13732
13733 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13734 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13735 Protect delay handling for otherchars against empty otherchars.
13736
13737 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13738
13739 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
13740 their respective macro declarations.
13741 * skeleton.el (define-skeleton):
13742 * progmodes/compile.el (define-compilation-mode):
13743 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
13744 (define-ibuffer-filter):
13745 * emacs-lisp/generic.el (define-generic-mode):
13746 * emacs-lisp/easy-mmode.el (define-minor-mode)
13747 (define-globalized-minor-mode):
13748 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
13749 * emacs-lisp/byte-run.el (defsubst):
13750 * custom.el (deftheme): Add doc-string metadata.
13751
13752 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13753
13754 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
13755
13756 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13757
13758 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
13759
13760 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
13761 * emacs-lisp/cl-macs.el: Idem.
13762 * emacs-lisp/cl-specs.el: Remove.
13763
13764 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13765
13766 Minor renaming of internal CL functions and variables.
13767 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
13768 (cl--position): Rename from cl-position.
13769 (cl--delete-duplicates): Rename from cl-delete-duplicates.
13770 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
13771 (cl--random-state): Rename from *random-state*.
13772
13773 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13774
13775 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
13776 parens around the arg list (bug#11499).
13777
13778 2012-05-17 Juri Linkov <juri@jurta.org>
13779
13780 * isearch.el (word-search-regexp, word-search-backward)
13781 (word-search-forward, word-search-backward-lax)
13782 (word-search-forward-lax): Move functions from search.c
13783 (bug#10145, bug#11381).
13784
13785 2012-05-16 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13786
13787 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13788 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13789 Delay for otherchars as for normal word components.
13790
13791 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13792
13793 * minibuffer.el (completion--sifn-requote): Fix last change.
13794 (minibuffer-local-must-match-filename-map):
13795 Move define-obsolete-variable-alias before its var.
13796
13797 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13798
13799 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
13800
13801 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
13802 behavior.
13803 (completion--string-equal-p): New function.
13804 (completion--twq-all): Use it to get better assertion failure data.
13805
13806 Only handle ".." and '..' quoting in shell-mode (bug#11466).
13807 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
13808 (shell--requote-argument): New functions.
13809 (shell-completion-vars): Use them.
13810 (shell--parse-pcomplete-arguments): Rename from
13811 shell-parse-pcomplete-arguments.
13812 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
13813 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
13814 Obey comint-file-name-quote-list.
13815
13816 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
13817 (smie-indent-keyword): Use it.
13818
13819 2012-05-14 Stefan Merten <smerten@oekonux.de>
13820
13821 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
13822
13823 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13824
13825 * net/rlogin.el (rlogin-mode-map): Fix last change.
13826
13827 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
13828
13829 * mail/smtpmail.el (smtpmail-send-command): Send the command and
13830 the following \r\n using a single `process-send-string', since the
13831 Lotus SMTP server refuses to accept any commands if they are sent
13832 with two `process-send-string's (Bug#11444).
13833
13834 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13835
13836 * shell.el (shell-parse-pcomplete-arguments):
13837 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
13838
13839 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13840
13841 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
13842 (image-transform-scale, image-transform-right-angle-fudge): New vars.
13843 (image-transform-width, image-transform-fit-width): New functions.
13844 (image-transform-properties): Use them.
13845 (image-transform-check-size): New function.
13846 (image-toggle-display-image): Use it (for testing).
13847 (image-transform-set-rotation): Reduce angle mod 360.
13848 Delete obsolete comment.
13849
13850 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13851
13852 * image-mode.el: Fix scaling (bug#11399).
13853 (image-transform-resize): Doc fix.
13854 (image-transform-properties): Default scale is 1 and height should
13855 be an integer.
13856
13857 2012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
13858
13859 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
13860 than hard-coding `car', to fix misbehavior when moving forward.
13861
13862 2012-05-13 Chong Yidong <cyd@gnu.org>
13863
13864 * emacs-lisp/tabulated-list.el (tabulated-list-format)
13865 (tabulated-list-entries, tabulated-list-padding)
13866 (tabulated-list-sort-key): Make permanent-local.
13867
13868 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
13869 (electric-buffer-list): Put electric buffer menu
13870 command descriptions in this docstring, instead of the docstring
13871 of electric-buffer-menu-mode. Code cleanups.
13872 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
13873 Electric-buffer-menu-mode.
13874 (electric-buffer-update-highlight): Minor code cleanup.
13875
13876 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
13877
13878 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
13879 (Bug#11447)
13880
13881 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13882
13883 Move define-obsolete-variable-alias before the var's definition.
13884 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
13885 * tooltip.el (tooltip-hook):
13886 * textmodes/reftex-toc.el (reftex-toc-map):
13887 * textmodes/reftex-sel.el (reftex-select-label-map)
13888 (reftex-select-bib-map):
13889 * textmodes/reftex-index.el (reftex-index-map)
13890 (reftex-index-phrases-map):
13891 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
13892 * progmodes/meta-mode.el (meta-mode-map):
13893 * novice.el (disabled-command-hook):
13894 * loadhist.el (unload-hook-features-list):
13895 * frame.el (blink-cursor):
13896 * files.el (find-file-not-found-hooks, write-file-hooks)
13897 (write-contents-hooks):
13898 * emulation/tpu-edt.el (GOLD-map):
13899 * emacs-lock.el (emacs-lock-from-exiting):
13900 * emacs-lisp/generic.el (generic-font-lock-defaults):
13901 * emacs-lisp/chart.el (chart-map):
13902 * dos-fns.el (register-name-alist):
13903 * dired-x.el (dired-omit-files-p):
13904 * desktop.el (desktop-enable):
13905 * cus-edit.el (custom-mode-hook):
13906 * buff-menu.el (buffer-menu-mode-hook):
13907 * bookmark.el (bookmark-read-annotation-text-func)
13908 (bookmark-exit-hooks):
13909 * allout.el (allout-mode-deactivate-hook)
13910 (allout-exposure-change-hook, allout-structure-added-hook)
13911 (allout-structure-deleted-hook, allout-structure-shifted-hook):
13912 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
13913 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
13914 comes before the corresponding variable's definition.
13915
13916 2012-05-12 Chong Yidong <cyd@gnu.org>
13917
13918 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
13919 (Buffer-menu-mouse-select): Restore function (Bug#11459).
13920 (Buffer-menu-mode-map): Bind it.
13921 (Buffer-menu--pretty-name): Add a mouse-face property.
13922
13923 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
13924
13925 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
13926 (prolog-upper-case-string, prolog-lower-case-string)
13927 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
13928 (prolog-use-smie, prolog-smie-grammar): New vars.
13929 (prolog-smie-forward-token, prolog-smie-backward-token)
13930 (prolog-smie-rules): New funs.
13931 (prolog-comment-indent): Remove.
13932 (prolog-mode-variables): Use default comment indentation instead.
13933 Setup SMIE.
13934 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
13935 (prolog-mode): Don't call them any more.
13936 (prolog-electric-colon, prolog-electric-dash)
13937 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
13938
13939 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
13940
13941 * minibuffer.el (completion--twq-all): Again, allow case differences.
13942
13943 * term.el: Move keymap initialization code to be more idiomatic.
13944 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
13945 (term-terminal-menu): Move initialization into declaration.
13946 (term-escape-char): Let the user set it in her .emacs.
13947
13948 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
13949 Provide SMIE-based indentation (not enabled by default yet).
13950 (sh-mode-map): Don't bind electric keys.
13951 Use electric-pair-mode instead of skeleton-pair.
13952 (sh-assignment-regexp): Fit within 80 columns.
13953 (sh-indent-supported): Specify actual shell name instead of boolean.
13954 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
13955 (sh-maybe-here-document): Use it. Make obsolete.
13956 (sh-electric-here-document-mode) New minor mode.
13957 (sh-mode): Use it. Don't set sh-indent-supported-here here.
13958 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
13959 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
13960 (sh-smie-rc-grammar, sh-use-smie): New vars.
13961 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
13962 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
13963 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
13964 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
13965 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
13966 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
13967 (sh-set-shell): Use smie-setup if requested.
13968
13969 * term.el (term-set-escape-char): Properly set term-escape-char.
13970 See http://stackoverflow.com/questions/10524656.
13971
13972 2012-05-10 Chong Yidong <cyd@gnu.org>
13973
13974 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
13975 Use url-generic-parse-url, and handle host names and Windows
13976 filenames properly.
13977 (ffap-url-unwrap-remote): Use url-generic-parse-url.
13978 (ffap-url-unwrap-remote): Accept list values, specifying a list of
13979 URL schemes to work on.
13980 (ffap--toggle-read-only): New function.
13981 (ffap-read-only, ffap-read-only-other-window)
13982 (ffap-read-only-other-frame): Use it.
13983 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
13984 necessary for ffap-url-unwrap-remote.
13985
13986 2012-05-10 Dave Abrahams <dave@boostpro.com>
13987
13988 * cus-start.el (create-lockfiles): Add it.
13989
13990 2012-05-09 Chong Yidong <cyd@gnu.org>
13991
13992 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
13993 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
13994
13995 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13996
13997 * shell.el (shell-completion-vars): Fix last change (bug#11348).
13998
13999 2012-05-09 Chong Yidong <cyd@gnu.org>
14000
14001 * ansi-color.el (ansi-color-process-output): Check for validity of
14002 comint-last-output-start before using it. This avoids a bad
14003 interaction with gdb-mi's input/output buffer.
14004
14005 2012-05-09 Glenn Morris <rgm@gnu.org>
14006
14007 * files.el (dir-locals-read-from-file):
14008 Mention dir-locals in any error message.
14009
14010 2012-05-09 Chong Yidong <cyd@gnu.org>
14011
14012 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
14013 package (Bug#11410).
14014
14015 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
14016 variables into description.
14017
14018 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14019
14020 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
14021 shell-delimiter-argument-list (bug#11348).
14022 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
14023
14024 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
14025
14026 * textmodes/rst.el: Silence byte-compiler warnings.
14027 (rst-re-alist, rst-reset-section-caches): Move around.
14028 (rst-re): Use `characterp', not `char-valid-p'.
14029 (font-lock-beg, font-lock-end): Declare.
14030
14031 * progmodes/idlw-shell.el (specs): Remove reference to deleted
14032 variable `idlwave-shell-activate-alt-keybindings' and simplify.
14033
14034 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
14035
14036 2012-05-08 Glenn Morris <rgm@gnu.org>
14037
14038 * files.el (auto-mode-alist): Treat ".make" like ".mk".
14039
14040 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14041
14042 * vc/log-edit.el: Add GNU coding standards highlighting.
14043 (log-edit-font-lock-gnu-style)
14044 (log-edit-font-lock-gnu-keywords): New vars.
14045 (log-edit-font-lock-keywords): New fun.
14046 (log-edit-mode): Don't fold case in font-lock.
14047 (log-edit-font-lock-keywords): Do not assume case-folding.
14048
14049 * imenu.el: Misc cleanup. Make docstrings out of comments.
14050 Use lexical-binding.
14051 (imenu--index-alist, imenu--last-menubar-index-alist)
14052 (imenu-menubar-modified-tick): Use defvar-local.
14053 (imenu--split-menu): Remove unused var.
14054 (imenu--cleanup-seen): Declare as global.
14055 (imenu--cleanup): Use dolist.
14056
14057 * subr.el (defvar-local): Add debug spec and doc-string position.
14058
14059 2012-05-08 Glenn Morris <rgm@gnu.org>
14060
14061 * language/burmese.el, language/cham.el, language/czech.el:
14062 * language/english.el, language/georgian.el, language/greek.el:
14063 * language/japanese.el, language/khmer.el, language/korean.el:
14064 * language/lao.el, language/misc-lang.el, language/romanian.el:
14065 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
14066 * language/thai.el, language/utf-8-lang.el:
14067 Remove no-byte-compile setting.
14068
14069 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
14070
14071 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14072
14073 * progmodes/make-mode.el (makefile-browse):
14074 Remove unnecessary interactive. (Bug#11324)
14075
14076 2012-05-07 Glenn Morris <rgm@gnu.org>
14077
14078 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
14079
14080 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
14081
14082 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14083
14084 * loadup.el: Preload newcomment.el.
14085 * newcomment.el: Move autoload-only code to toplevel.
14086
14087 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
14088 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
14089 Handle new :right-align column property.
14090 (tabulated-list-print-col): Idem, plus use `display' text-property to
14091 try and preserve alignment for variable pitch fonts.
14092
14093 2012-05-07 Chong Yidong <cyd@gnu.org>
14094
14095 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
14096 (tabulated-list-use-header-line): New var.
14097 (tabulated-list-init-header): Use it.
14098 (tabulated-list-print-fake-header): New function.
14099 (tabulated-list-print): Use it.
14100 (tabulated-list-sort-button-map): Add non-header-line commands.
14101 (tabulated-list-init-header): Add column name property to basic
14102 labels as well.
14103 (tabulated-list-col-sort): Handle non-header-line button case.
14104 (tabulated-list--sort-by-column-name): Fix a corner case.
14105
14106 * buff-menu.el (list-buffers--refresh):
14107 Handle Buffer-menu-use-header-line.
14108
14109 2012-05-06 Chong Yidong <cyd@gnu.org>
14110
14111 * buff-menu.el: Convert to Tabulated List mode.
14112 (Buffer-menu-buffer+size-width): Make obsolete.
14113 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
14114 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
14115 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
14116 documentation into docstring of buffer-menu.
14117 (Buffer-menu-toggle-files-only): Add an informative message.
14118 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
14119 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
14120 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
14121 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
14122 (Buffer-menu-execute, Buffer-menu-select)
14123 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
14124 (Buffer-menu-bury): Use Tabulated List machinery.
14125 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
14126 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
14127 Delete.
14128 (list-buffers--refresh): New function.
14129 (list-buffers-noselect): Use it.
14130 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
14131 (Buffer-menu--pretty-file-name): New helper functions.
14132
14133 * loadup.el: Preload tabulated-list.
14134
14135 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
14136 tabulated-list-sort-column.
14137 (tabulated-list-init-header): Add the initial aligning space even
14138 if tabulated-list-padding is zero.
14139
14140 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
14141
14142 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
14143 whose cdr is not a cons cell correctly (bug#11038).
14144
14145 2012-05-06 Chong Yidong <cyd@gnu.org>
14146
14147 * emacs-lisp/tabulated-list.el (tabulated-list-format):
14148 Accept additional plist in column descriptors.
14149 (tabulated-list-init-header): Obey it.
14150 (tabulated-list-get-entry): New function.
14151 (tabulated-list-put-tag): Use it. Use string-width instead of
14152 length.
14153 (tabulated-list--column-number): New function.
14154 (tabulated-list-print): Use it.
14155 (tabulated-list-print-col): New function.
14156 Set `tabulated-list-column-name' property on each column's text.
14157 (tabulated-list-print-entry): Use it.
14158 (tabulated-list-delete-entry, tabulated-list-set-col):
14159 New functions.
14160 (tabulated-list-sort-column): New command (Bug#11337).
14161
14162 * buff-menu.el (list-buffers): Move C-x C-b binding from
14163 buff-menu.el to bindings.el.
14164
14165 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
14166 :advertised-binding feature.
14167
14168 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
14169
14170 * progmodes/compile.el (compilation-internal-error-properties):
14171 Calculate start position correctly when end-col is set but
14172 end-line is not (Bug#11382).
14173
14174 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
14175
14176 * man.el (Man-unindent): Use text-property-default-nonsticky to
14177 prevent untabify from inheriting face properties (Bug#11408).
14178
14179 2012-05-05 Stefan Merten <smerten@oekonux.de>
14180
14181 * textmodes/rst.el: Major merge with upstream development up to
14182 Docutils SVN r7399 / rst.el V1.2.1.
14183
14184 Clarify maintainership and authors.
14185
14186 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
14187 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
14188 (rst-official-version, rst-official-cvs-rev, rst-version)
14189 (rst-package-emacs-version-alist): New functions and variables
14190 for version information.
14191
14192 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
14193 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
14194 (rst-mode-syntax-table, rst-mode): New and corrected functions
14195 and variables representing reStructuredText features.
14196
14197 (rst-re): New function for reStructuredText regexes. Use in
14198 many places.
14199
14200 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
14201 (rst-mode-map): Rebind keys.
14202
14203 (rst-mode-lazy, rst-font-lock-keywords)
14204 (rst-font-lock-extend-region)
14205 (rst-font-lock-extend-region-internal)
14206 (rst-font-lock-extend-region-extend)
14207 (rst-font-lock-find-unindented-line-limit)
14208 (rst-font-lock-find-unindented-line-match)
14209 (rst-adornment-level, rst-font-lock-adornment-level)
14210 (rst-font-lock-adornment-match)
14211 (rst-font-lock-handle-adornment-pre-match-form)
14212 (rst-font-lock-handle-adornment-matcher): Major revision of
14213 font-locking. Integrate with other code. Use `jit-lock-mode'.
14214
14215 (rst-preferred-adornments, rst-adjust-hook)
14216 (rst-new-adornment-down, rst-preferred-bullets)
14217 (rst-preferred-bullets, rst-indent, rst-indent-width)
14218 (rst-indent-field, rst-indent-literal-normal)
14219 (rst-indent-literal-minimized, rst-indent-comment): Change,
14220 extend and improve customization.
14221
14222 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
14223 (rst-normalize-cursor-position, rst-get-decoration)
14224 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
14225 (rst-rstrip, rst-toc-insert-find-delete-contents)
14226 (rst-shift-fill-region, rst-compute-bullet-tabs)
14227 (rst-debug-print-tabs, rst-debug-mark-found)
14228 (rst-shift-region-guts, rst-shift-region-right)
14229 (rst-shift-region-left, rst-use-char-classes)
14230 (rst-font-lock-keywords-function)
14231 (rst-font-lock-indentation-point)
14232 (rst-font-lock-find-unindented-line-begin)
14233 (rst-font-lock-find-unindented-line-end)
14234 (rst-font-lock-find-unindented-line)
14235 (rst-font-lock-adornment-point, rst-font-lock-level)
14236 (rst-adornment-level-alist): Remove functions and variables.
14237
14238 (rst-compare-adornments, rst-get-adornment-match)
14239 (rst-suggest-new-adornment, rst-get-adornments-around)
14240 (rst-adornment-complete-p, rst-get-next-adornment)
14241 (rst-adjust-adornment, rst-display-adornments-hierarchy)
14242 (rst-straighten-adornments): Standardize function names to
14243 use "adornment" instead of "decoration". Correct callers.
14244 Similar standardizing in many places.
14245
14246 (rst-update-section, rst-adjust, rst-promote-region)
14247 (rst-enumerate-region, rst-bullet-list-region)
14248 (rst-repeat-last-character): Correct use of `interactive'.
14249
14250 (rst-classify-adornment, rst-find-all-adornments)
14251 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
14252 (rst-find-leftmost-column, rst-repeat-last-character):
14253 Refactor functions.
14254
14255 (rst-find-title-line, rst-reset-section-caches)
14256 (rst-get-adornments-around, rst-adjust-adornment-work)
14257 (rst-arabic-to-roman, rst-roman-to-arabic)
14258 (rst-insert-list-pos, rst-insert-list-new-item)
14259 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
14260 New functions.
14261
14262 (rst-all-sections, rst-section-hierarchy)
14263 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
14264 New variables.
14265
14266 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
14267 configuration instead of only buffer. Change where necessary.
14268
14269 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
14270 (rst-shift-region, rst-adaptive-fill): New functions for
14271 indentation and filling.
14272
14273 (rst-comment-line-break, rst-comment-indent)
14274 (rst-comment-insert-comment, rst-comment-region)
14275 (rst-uncomment-region): New functions for handling comments.
14276
14277 (rst-compile): Quote shell arguments.
14278
14279 (rst-compile-pdf-preview, rst-compile-slides-preview):
14280 Delete temporary files after use.
14281
14282 2012-05-05 Glenn Morris <rgm@gnu.org>
14283
14284 * calendar/cal-html.el: Optionally include holidays in the output.
14285 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
14286 (cal-html-holidays): New option.
14287 (cal-html-css-default): Add holiday entry.
14288 (holiday-in-range): Autoload it.
14289 (cal-html-htmlify-entry): Add optional class argument.
14290 (cal-html-htmlify-list): Add optional holidays argument.
14291 (cal-html-insert-agenda-days): Include holidays in the output.
14292 (cal-html-one-month): Maybe include holidays.
14293
14294 * calendar/holidays.el (holiday-in-range):
14295 Move here from cal-tex-list-holidays.
14296 * calendar/cal-tex.el (cal-tex-list-holidays):
14297 Make it an obsolete alias for holiday-in-range. Update all callers.
14298
14299 2012-05-05 Chong Yidong <cyd@gnu.org>
14300
14301 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
14302 Nextstep.
14303
14304 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
14305
14306 * files.el (file-auto-mode-skip): New var.
14307 (set-auto-mode-1): Use it.
14308
14309 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14310
14311 * repeat.el: Use lexical-binding.
14312 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
14313 (repeat-undo-count): Remove.
14314 (repeat):
14315 * progmodes/octave-mod.el (octave-abbrev-start):
14316 * progmodes/f90.el (f90-abbrev-start):
14317 * face-remap.el (text-scale-adjust):
14318 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
14319
14320 * emacs-lisp/pcase.el (pcase--let*): New function.
14321 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
14322 a bit more.
14323 (pcase--split-pred): Be more clever about ruling out overlap between
14324 a predicate and some constant pattern.
14325 (pcase--q1): Use `null' instead of (eq foo nil).
14326
14327 * subr.el (setq-local, defvar-local): New macros.
14328 (kbd): Redefine as an alias.
14329 (with-selected-window): Leave unrelated frames alone.
14330 (set-temporary-overlay-map): New function.
14331
14332 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14333
14334 * subr.el (user-error): New function.
14335 * window.el (switch-to-buffer):
14336 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
14337 (smerge-match-conflict):
14338 * simple.el (previous-matching-history-element)
14339 (next-matching-history-element, goto-history-element, undo-more)
14340 (undo-start):
14341 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
14342 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
14343 (next-file, tags-loop-scan, list-tags, complete-tag):
14344 * progmodes/compile.el (compilation-loop):
14345 * mouse.el (mouse-minibuffer-check):
14346 * man.el (Man-bgproc-sentinel, Man-goto-page):
14347 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
14348 (Info-history-forward, Info-follow-reference, Info-menu)
14349 (Info-extract-menu-item, Info-extract-menu-counting)
14350 (Info-forward-node, Info-backward-node, Info-next-menu-item)
14351 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
14352 (Info-next-reference, Info-prev-reference, Info-index)
14353 (Info-index-next, Info-follow-nearest-node)
14354 (Info-copy-current-node-name):
14355 * imenu.el (imenu--make-index-alist)
14356 (imenu-default-create-index-function, imenu-add-to-menubar):
14357 * files.el (basic-save-buffer, recover-file):
14358 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14359 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
14360 (checkdoc-message-text, checkdoc-defun):
14361 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
14362 * cus-edit.el (customize-changed-options, customize-rogue)
14363 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
14364 (custom-variable-mark-to-reset-standard)
14365 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
14366 (custom-file):
14367 * completion.el (check-completion-length):
14368 * comint.el (comint-search-arg)
14369 (comint-previous-matching-input-string-position)
14370 (comint-previous-matching-input)
14371 (comint-replace-by-expanded-history-before-point, comint-send-input)
14372 (comint-copy-old-input, comint-backward-matching-input)
14373 (comint-goto-process-mark, comint-set-process-mark):
14374 * calendar/calendar.el (calendar-cursor-to-date): Use it.
14375 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
14376
14377 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14378
14379 * dabbrev.el (dabbrev--ignore-case-p): New function.
14380 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
14381 Use it.
14382
14383 * files.el (automount-dir-prefix): Mark as obsolete.
14384
14385 2012-05-04 Glenn Morris <rgm@gnu.org>
14386
14387 * patcomp.el, play/bruce.el: Move to obsolete/.
14388
14389 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
14390
14391 Fix minor Y10k bugs.
14392 * arc-mode.el (archive-unixdate):
14393 * autoinsert.el (auto-insert-alist):
14394 * calc/calc-forms.el (math-this-year):
14395 * emacs-lisp/copyright.el (copyright-current-year)
14396 (copyright-update-year, copyright):
14397 * tar-mode.el (tar-clip-time-string):
14398 * time.el (display-time-update):
14399 Don't assume years have 4 digits.
14400
14401 2012-05-04 Chong Yidong <cyd@gnu.org>
14402
14403 * dos-w32.el (file-name-buffer-file-type-alist)
14404 (direct-print-region-use-command-dot-com):
14405 * ffap.el (ffap-menu-regexp):
14406 * find-file.el (ff-special-constructs):
14407 * follow.el (follow-debug):
14408 * forms.el (forms--debug):
14409 * iswitchb.el (iswitchb-all-frames):
14410 * ido.el (ido-all-frames):
14411 * emacs-lisp/timer.el (timer-max-repeats):
14412 * mail/feedmail.el (feedmail-mail-send-hook)
14413 (feedmail-mail-send-hook-queued):
14414 * mail/footnote.el (footnote-signature-separator):
14415 * mail/mailabbrev.el (mail-alias-separator-string)
14416 (mail-abbrev-mode-regexp):
14417 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
14418 * progmodes/idlwave.el (idlwave-libinfo-file)
14419 (idlwave-default-completion-case-is-down)
14420 (idlwave-library-routines): Convert defvars to defcustoms.
14421
14422 * mail/rmail.el (rmail-decode-mime-charset):
14423 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
14424 (idlwave-shell-fix-inserted-breaks)
14425 (idlwave-shell-activate-alt-keybindings)
14426 (idlwave-shell-use-breakpoint-glyph):
14427 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
14428
14429 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14430
14431 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
14432
14433 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
14434
14435 * progmodes/verilog-mode.el (font-lock-keywords):
14436 Fix mis-highligting auto. Reported by Craig Barner.
14437 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
14438 defines from global name space. Reported by Dan Dever.
14439 (verilog-auto-reset, verilog-auto-reset-widths)
14440 (verilog-auto-tieoff): Support using unbased numbers for
14441 AUTORESET and AUTOTIEOFF.
14442 (verilog-submit-bug-report): Update variable list.
14443 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
14444 parenthesis from not matching. Reported by Michael Rytting.
14445 (verilog-auto-template-lint): Fix hash error when linting modules
14446 with no used templates.
14447 (verilog-warn, verilog-warn-error)
14448 (verilog-warn-fatal): When non-interactive report multiple
14449 warnings before exiting. Suggested by Brad Dobbie.
14450 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
14451 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
14452 to report unused template errors. Reported by Brad Dobbie.
14453 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
14454 nets, bug438. Reported by Vns Blore.
14455 (verilog-auto-inout-module, verilog-auto-reg)
14456 (verilog-read-decls, verilog-read-sub-decls-sig)
14457 (verilog-signals-edit-wire-reg, verilog-signals-with):
14458 Fix passing of Verilog data types in ANSI input/output ports
14459 such as "output logic" into the AUTOs. Special case "wire" and
14460 "reg" for backwards compatibility presuming Verilog 2001.
14461 (verilog-auto-ascii-enum): Add "auto enum" as alias.
14462 (verilog-preprocess): Fix replication of preprocess output.
14463 Reported by Brad Dobbie.
14464 (verilog-auto-inst-interfaced-ports):
14465 Create verilog-auto-inst-interfaced-ports, bug429.
14466 Reported by Julian Gorfajn.
14467 (verilog-after-save-font-hook)
14468 (verilog-before-save-font-hook): New variable.
14469 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
14470 (verilog-save-font-mods): Wrap disabling fontification, reported
14471 by David Rogoff.
14472 (verilog-do-indent, verilog-pretty-declarations-auto)
14473 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
14474 Reported by Pierre-David Pfister.
14475 (verilog-set-auto-endcomments): Fix endtask auto comments outside
14476 of class declarations, bug292. Reported by Kevin Heilman.
14477 (verilog-read-decls): Fix 'parameter type' not appearing in
14478 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
14479 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
14480 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
14481 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
14482 Reported by David Kravitz.
14483
14484 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
14485
14486 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
14487 assignment with tests in ifs and for loops.
14488 (verilog-extended-complete-re, verilog-complete-reg): Change so
14489 that DPI inport functions don't look like fuction declarations.
14490 (verilog-pretty-expr): Don't line up assignment
14491 operations to the test and increment in if and for loops
14492 (verilog-extended-complete-re, verilog-complete-reg): Change so
14493 that DPI inport functions don't look like fuction declarations.
14494
14495 2012-05-03 Kenichi Handa <handa@m17n.org>
14496
14497 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
14498 decoding, and show a warning message without signaling an error
14499 (Bug#11282).
14500
14501 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14502
14503 * emacs-lisp/bytecomp.el
14504 (byte-compile-file-form-custom-declare-variable): Compile all elements,
14505 since cconv.el might have introduced :fun-body, internal-make-closure,
14506 and friends for bytecomp to handle (bug#11391).
14507 * custom.el (defcustom): Avoid ((λ ..) ..).
14508
14509 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
14510
14511 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
14512
14513 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
14514
14515 * notifications.el (dbus-debug):
14516 * term/linux.el (gpm-mouse-enable):
14517 * term/screen.el (xterm-register-default-colors): Declare.
14518
14519 2012-05-02 Chong Yidong <cyd@gnu.org>
14520
14521 * cus-start.el (gc-cons-percentage, exec-suffixes)
14522 (dos-display-scancodes, dos-hyper-key, dos-super-key)
14523 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
14524 (make-cursor-line-fully-visible, void-text-area-pointer)
14525 (font-list-limit): Add customization data.
14526
14527 * allout.el (allout-exposure-change-functions)
14528 (allout-structure-added-functions)
14529 (allout-structure-deleted-functions)
14530 (allout-structure-shifted-functions): Rename abnormal hooks from
14531 *-hook, and convert to defcustoms.
14532 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
14533 Convert to defcustoms.
14534 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
14535
14536 * allout-widgets.el: Hook callers changed.
14537
14538 2012-05-02 Eli Zaretskii <eliz@gnu.org>
14539
14540 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
14541 the yanked message in preference to the default value of
14542 buffer-file-coding-system.
14543
14544 2012-05-02 Martin Rudalics <rudalics@gmx.at>
14545
14546 * window.el (display-buffer--action-function-custom-type):
14547 Fix entry.
14548
14549 2012-05-02 Alan Mackenzie <acm@muc.de>
14550
14551 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
14552
14553 2012-05-01 Glenn Morris <rgm@gnu.org>
14554
14555 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
14556
14557 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
14558
14559 * cus-edit.el (custom-variable-documentation): Simplify with format.
14560
14561 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14562 Stefan Monnier <monnier@iro.umontreal.ca>
14563
14564 * simple.el (suggest-key-bindings, execute-extended-command):
14565 Move from keyboard.c.
14566
14567 2012-05-01 Chong Yidong <cyd@gnu.org>
14568
14569 * follow.el: Eliminate advice.
14570 (set-process-filter, process-filter, sit-for): Advice deleted.
14571 (follow-mode-off-hook): Obsolete hook removed.
14572 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
14573 Vars deleted.
14574 (follow-auto): Use a :set function.
14575 (follow-mode): Rewritten. Don't advise process filters.
14576 (follow-switch-to-current-buffer-all, follow-scroll-up)
14577 (follow-scroll-down): Assume follow-mode is bound.
14578 (follow-comint-scroll-to-bottom)
14579 (follow-align-compilation-windows): New functions.
14580 (follow--window-sorter): New function.
14581 (follow-all-followers): Use it to explicitly sort windows by their
14582 positions; don't make assumptions about next-window order.
14583 (follow-windows-start-end, follow-delete-other-windows-and-split)
14584 (follow-calc-win-start): Doc fix.
14585 (follow-windows-aligned-p, follow-select-if-visible): Don't call
14586 vertical-motion unnecessarily.
14587 (follow-adjust-window): New function.
14588 (follow-post-command-hook): Use it.
14589 (follow-call-set-process-filter, follow-call-process-filter)
14590 (follow-intercept-process-output, follow-tidy-process-filter-alist)
14591 (follow-stop-intercept-process-output, follow-generic-filter):
14592 Functions deleted.
14593 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
14594 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
14595 New functions, replacing advice on scroll-bar-* commands.
14596 (follow-mwheel-scroll): New function (Bug#4112).
14597
14598 * comint.el (comint-adjust-point): New function.
14599 (comint-postoutput-scroll-to-bottom): Use it.
14600 Call follow-comint-scroll-to-bottom for Follow mode buffers.
14601
14602 2012-05-01 Glenn Morris <rgm@gnu.org>
14603
14604 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
14605 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
14606 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
14607 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
14608 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
14609 Remove no-byte-compile setting.
14610
14611 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
14612
14613 * minibuffer.el (completion-table-with-quoting): Fix compatibility
14614 all-completions code to not return a number in the last cdr.
14615
14616 2012-04-30 Leo Liu <sdl.web@gmail.com>
14617
14618 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
14619 read-only error.
14620
14621 2012-04-29 Chong Yidong <cyd@gnu.org>
14622
14623 * follow.el (follow-calc-win-end): Rewrite to handle partial
14624 screen lines correctly (Bug#8390).
14625 (follow-avoid-tail-recenter): Minor cleanup.
14626
14627 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14628
14629 Avoid the obsolete `assoc' package.
14630 * speedbar.el (speedbar-refresh): Avoid adelete.
14631 (speedbar-file-lists): Simplify and avoid aput.
14632 * man.el (Man--sections, Man--refpages): New vars, replacing
14633 Man-sections-alist and Man-refpages-alist.
14634 (Man-build-section-alist, Man-build-references-alist):
14635 Use them; avoid aput.
14636 (Man--last-section, Man--last-refpage): New vars.
14637 (Man-follow-manual-reference): Use them.
14638 Use the `default' arg of completing-read.
14639 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
14640
14641 2012-04-27 Chong Yidong <cyd@gnu.org>
14642
14643 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
14644
14645 * startup.el (x-apply-session-resources): New function.
14646
14647 * term/ns-win.el (ns-initialize-window-system):
14648 * term/w32-win.el (w32-initialize-window-system):
14649 * term/x-win.el (x-initialize-window-system): Use it to properly
14650 set menu-bar-mode and other vars from X resources, even if the
14651 initial frame is not a window-system frame (Bug#2299).
14652
14653 * subr.el (read-key): Avoid running filter function when setting
14654 up temporary tool bar entries (Bug#9922).
14655
14656 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14657
14658 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
14659 (Bug#11344)
14660
14661 2012-04-27 Chong Yidong <cyd@gnu.org>
14662
14663 * select.el (xselect--encode-string): New function, split from
14664 xselect-convert-to-string.
14665 (xselect-convert-to-string): Use it.
14666 (xselect-convert-to-filename, xselect-convert-to-os)
14667 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
14668 returned strings are properly encoded (Bug#11315).
14669
14670 2012-04-27 Chong Yidong <cyd@gnu.org>
14671
14672 * simple.el (delete-active-region): Move to killing custom group.
14673
14674 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14675
14676 * progmodes/which-func.el (which-func-current): Quote %
14677 characters for mode-line processing.
14678
14679 2012-04-27 Chong Yidong <cyd@gnu.org>
14680
14681 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
14682 reaching eob (Bug#11286).
14683
14684 2012-04-27 Eli Zaretskii <eliz@gnu.org>
14685
14686 * progmodes/gdb-mi.el (gdb-control-level): New variable.
14687 (gdb): Make it buffer-local and init to zero.
14688 (gdb-control-commands-regexp): New variable.
14689 (gdb-send): Don't wrap in "-interpreter-exec console" if
14690 gdb-control-level is positive. Increment gdb-control-level
14691 whenever the command matches gdb-control-commands-regexp, and
14692 decrement it each time the command is "end". (Bug#11279)
14693
14694 2012-04-27 Martin Rudalics <rudalics@gmx.at>
14695
14696 * window.el (adjust-window-trailing-edge, enlarge-window)
14697 (shrink-window, window-resize):
14698 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
14699 windows (Bug#11276).
14700
14701 2012-04-27 Chong Yidong <cyd@gnu.org>
14702
14703 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
14704 fix "missing prefix" warning. All callers changed.
14705
14706 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14707
14708 * emacs-lisp/assoc.el: Move to obsolete/.
14709
14710 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14711
14712 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
14713
14714 * term/ns-win.el (ns-define-service):
14715 * progmodes/pascal.el (pascal-goto-defun):
14716 * progmodes/js.el (js--read-tab):
14717 * progmodes/etags.el (tags-lazy-completion-table):
14718 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
14719 * emacs-lisp/ewoc.el (ewoc--wrap):
14720 * emacs-lisp/assoc.el (aput, adelete, amake):
14721 * doc-view.el (doc-view-convert-current-doc):
14722 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
14723
14724 2012-04-26 Chong Yidong <cyd@gnu.org>
14725
14726 * image.el (image-type-from-buffer): Only return supported image
14727 type (Bug#9045).
14728
14729 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
14730 value, for symmetry with diff-end-of-hunk.
14731 (diff-split-hunk, diff-find-source-location)
14732 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
14733 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
14734 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
14735 compute the relevant hunk or file properly (Bug#6005).
14736 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
14737
14738 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14739
14740 * vc/vc-mtn.el:
14741 * vc/vc-hg.el:
14742 * vc/vc-git.el:
14743 * vc/vc-dir.el:
14744 * vc/vc-cvs.el:
14745 * vc/vc-bzr.el:
14746 * vc/vc-arch.el:
14747 * vc/vc.el: Replace lexical-let by lexical-binding.
14748 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
14749 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
14750 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
14751
14752 2012-04-26 Chong Yidong <cyd@gnu.org>
14753
14754 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
14755 (diff-mode-shared-map): Bind it to / and [remap undo].
14756
14757 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
14758 (ediff-window-setup-function): Use it as the default, to set up
14759 windows based on whether the current frame is graphical (Bug#2138).
14760 (ediff-choose-window-setup-function-automatically): Make obsolete.
14761
14762 * vc/ediff-init.el: Always define ediff-pixel-width/height.
14763
14764 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14765
14766 * ffap.el: Remove old code for obsolete package.
14767 (ffap-complete-as-file-p): Remove.
14768
14769 Use completion-table-with-quoting for comint and pcomplete.
14770 * comint.el (comint--unquote&requote-argument)
14771 (comint--unquote-argument, comint--requote-argument): New functions.
14772 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
14773 (comint-quote-filename): Use regexp-opt-charset.
14774 (comint--common-suffix, comint--common-quoted-suffix)
14775 (comint--table-subvert): Remove.
14776 (comint-unquote-function, comint-requote-function): New vars.
14777 (comint--complete-file-name-data): Use them with
14778 completion-table-with-quoting.
14779 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
14780 * pcomplete.el (pcomplete-arg-quote-list)
14781 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
14782 (pcomplete-unquote-argument-function): Default to non-nil.
14783 (pcomplete-unquote-argument): Simplify.
14784 (pcomplete--common-quoted-suffix): Remove.
14785 (pcomplete-requote-argument-function): New var.
14786 (pcomplete--common-suffix): New function.
14787 (pcomplete-completions-at-point): Use completion-table-with-quoting
14788 and completion-table-subvert.
14789
14790 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
14791 (minibuffer--double-dollars): Preserve properties.
14792 (completion--sifn-requote): New function.
14793 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
14794
14795 * minibuffer.el: Add support for completion of quoted/escaped data.
14796 (completion-table-with-quoting, completion-table-subvert): New funs.
14797 (completion--twq-try, completion--twq-all): New functions.
14798 (completion--nth-completion): New function.
14799 (completion-try-completion, completion-all-completions): Use it.
14800
14801 2012-04-25 Leo Liu <sdl.web@gmail.com>
14802
14803 * progmodes/python.el (python-pdbtrack-get-source-buffer):
14804 Use compilation-message if available to find real filename.
14805
14806 2012-04-25 Chong Yidong <cyd@gnu.org>
14807
14808 * vc/diff-mode.el (diff-setup-whitespace): New function.
14809 (diff-mode): Use it.
14810
14811 * vc/diff.el (diff-sentinel):
14812 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
14813 Whitespace mode variables based on diff style (Bug#8612).
14814
14815 2012-04-25 Leo Liu <sdl.web@gmail.com>
14816
14817 * progmodes/python.el (python-send-region): Add suffix .py to the
14818 temp file.
14819
14820 * files.el (auto-mode-alist): Use javascript-mode instead.
14821
14822 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
14823
14824 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
14825
14826 * net/soap-client.el (soap-resolve-references-for-sequence-type)
14827 (soap-resolve-references-for-array-type): Hack to prevent self
14828 references, see Bug#9.
14829 (soap-parse-envelope): Report the contents of the 'detail' node
14830 when receiving a fault reply.
14831 (soap-parse-envelope): Report the contents of the entire 'detail' node.
14832
14833 * net/soap-inspect.el (soap-sample-value-for-simple-type)
14834 (soap-inspect-simple-type): New function.
14835
14836 * net/soap-client.el (soap-simple-type): New struct.
14837 (soap-default-xsd-types, soap-default-soapenc-types)
14838 (soap-decode-basic-type, soap-encode-basic-type):
14839 support unsignedInt and double basic types.
14840 (soap-resolve-references-for-simple-type)
14841 (soap-parse-simple-type, soap-encode-simple-type): New function.
14842 (soap-parse-schema): Parse xsd:simpleType declarations.
14843
14844 * net/soap-client.el (soap-default-xsd-types)
14845 (soap-default-soapenc-types): Add integer, byte and anyURI types.
14846 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
14847 the local name of "soapenc:Array".
14848 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
14849 decoding integer, byte and anyURI xsd types.
14850
14851 2012-04-25 Chong Yidong <cyd@gnu.org>
14852
14853 * cus-edit.el (custom-buffer-create-internal): Update header text.
14854
14855 2012-04-25 Eli Zaretskii <eliz@gnu.org>
14856
14857 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
14858 settings on 'system-type', not on 'window-system'. On MS-Windows,
14859 set interactive-mode on in GDB.
14860
14861 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14862
14863 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
14864 (ruby-syntax-propertize-regexp): Remove.
14865 (ruby-syntax-propertize-function): Split regexp into chunks.
14866 Match following code directly.
14867
14868 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
14869
14870 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
14871 (ruby-syntax-propertize-regexp): New function.
14872 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
14873 by a special keyword.
14874
14875 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
14876 (ruby-syntax-general-delimiters-goto-beg)
14877 (ruby-syntax-propertize-general-delimiters): New functions.
14878 (ruby-syntax-propertize-function): Use them to handle GDL.
14879 (ruby-font-lock-keywords): Move old handling of GDL...
14880 (ruby-font-lock-syntactic-keywords): .. to here.
14881 (ruby-calculate-indent): Adjust indentation for GDL.
14882
14883 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
14884
14885 * notifications.el (top): Remove unneeded declarations.
14886 (notifications-specification-version): Change to "1.2".
14887 (notifications-interface, notifications-notify-method)
14888 (notifications-close-notification-method): Fix docstring.
14889 (notifications-get-capabilities-method): New defconst.
14890 (notifications-notify): Add :action-items, :resident and
14891 :transient hints. Change "image_data" to "image-data" and
14892 "image_path" to "image-path".
14893 (notifications-get-capabilities): New defun.
14894
14895 2012-04-24 Leo Liu <sdl.web@gmail.com>
14896
14897 * progmodes/python.el: Move hideshow setup to the end.
14898
14899 2012-04-24 Martin Rudalics <rudalics@gmx.at>
14900
14901 * window.el (handle-select-window): Clear echo area since this is
14902 no more done by read_char (Bug#11304).
14903
14904 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14905
14906 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
14907 and `/ M' to filter-derived-mode.
14908 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
14909 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
14910 (ibuffer-mark-by-mode): Use default rather than initial-input.
14911 (ibuffer-filter-by-derived-mode): Autoload and require-match.
14912
14913 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
14914
14915 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
14916 (ibuffer-filter-by-derived-mode): New filter.
14917 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
14918
14919 2012-04-23 Andreas Politz <politza@fh-trier.de>
14920
14921 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
14922
14923 2012-04-23 Chong Yidong <cyd@gnu.org>
14924
14925 * cus-edit.el (customize-apropos, customize-apropos-options):
14926 Disable matching of non-option variables (Bug#11176).
14927 (customize-option, customize-option-other-window)
14928 (customize-changed-options): Doc fix.
14929 (customize-apropos-options, customize-apropos-faces)
14930 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
14931
14932 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
14933 Fix word list splitting (Bug#11132).
14934 (apropos-symbol, apropos-keybinding, apropos-label)
14935 (apropos-property, apropos-function-button)
14936 (apropos-variable-button, apropos-misc-button): New faces.
14937 (apropos-symbol-face, apropos-keybinding-face)
14938 (apropos-label-face, apropos-property-face, apropos-match-face):
14939 Variables removed (Bug#8396).
14940 (apropos-library-button, apropos-format-plist, apropos-print)
14941 (apropos-print-doc, apropos-describe-plist): Callers changed.
14942
14943 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
14944
14945 * net/xesam.el (xesam-mode-map): Use let-bound map in
14946 initialization. (Bug#11292)
14947
14948 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14949
14950 Preserve ispell session localwords when switching back to
14951 original buffer.
14952
14953 * textmodes/ispell.el (ispell-buffer-session-localwords):
14954 New buffer-local variable to hold buffer session localwords.
14955 (ispell-kill-ispell): Add option 'clear to delete session
14956 localwords.
14957 (ispell-command-loop, ispell-change-dictionary)
14958 (ispell-buffer-local-words): Preserve session localwords when
14959 needed.
14960
14961 * textmodes/flyspell.el (flyspell-process-localwords)
14962 (flyspell-do-correct): Preserve session localwords when needed.
14963
14964 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14965
14966 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
14967 using obsolete `translation-table-for-input'.
14968 (ispell-word, ispell-process-line, ispell-complete-word):
14969 Use plain `insert' instead of removed `ispell-insert-word'.
14970
14971 2012-04-22 Chong Yidong <cyd@gnu.org>
14972
14973 * cus-edit.el (custom-variable-menu)
14974 (custom-variable-reset-saved, custom-face-menu)
14975 (custom-face-reset-saved): If there is no saved value, make the
14976 "reset-saved" operation bring back the default (Bug#9509).
14977 (custom-face-state): Properly detect themed faces.
14978
14979 * faces.el (face-spec-set): Stop supporting deprecated form of
14980 third arg.
14981
14982 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
14983
14984 Move functions from C to Lisp. Make non-blocking method calls
14985 the default. Implement further D-Bus standard interfaces.
14986
14987 * net/dbus.el (dbus-message-internal): Declare function.
14988 Remove unneeded function declarations.
14989 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
14990 (dbus-message-type-method-return, dbus-message-type-error)
14991 (dbus-message-type-signal): Declare variables. Remove local
14992 definitions.
14993 (dbus-interface-dbus, dbus-interface-peer)
14994 (dbus-interface-introspectable, dbus-interface-properties)
14995 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
14996 Adapt docstring.
14997 (dbus-interface-objectmanager): New defconst.
14998 (dbus-call-method, dbus-call-method-asynchronously)
14999 (dbus-send-signal, dbus-method-return-internal)
15000 (dbus-method-error-internal, dbus-register-service)
15001 (dbus-register-signal, dbus-register-method): New defuns, moved
15002 from dbusbind.c
15003 (dbus-call-method-handler, dbus-setenv)
15004 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
15005 New defuns.
15006 (dbus-call-method-non-blocking): Make it an obsolete function.
15007 (dbus-unregister-object, dbus-unregister-service)
15008 (dbus-handle-event, dbus-register-property)
15009 (dbus-property-handler): Obey the new structure of
15010 `bus-registered-objects'.
15011 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
15012 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15013 Use `dbus-call-method'.
15014
15015 2012-04-22 Chong Yidong <cyd@gnu.org>
15016
15017 * cus-edit.el (custom-commands, custom-reset-menu)
15018 (Custom-reset-standard): Tweak labels.
15019 (custom-reset-button-menu): Change default to t.
15020 (custom-buffer-create-internal): For the custom-reset-button-menu
15021 case, put the revert button first.
15022 (custom-group-subtitle): New face.
15023 (custom-group-value-create): Align docstring to a specific column.
15024
15025 * wid-edit.el (widget-documentation-link-add): Don't handle
15026 indentation in this function.
15027 (widget-documentation-string-indent-to): New function.
15028 (widget-documentation-string-value-create): Use it.
15029
15030 * autorevert.el (auto-revert):
15031 * epg-config.el (epg):
15032 * ibuffer.el (ibuffer):
15033 * mpc.el (mpc):
15034 * ses.el (ses):
15035 * eshell/eshell.el (eshell):
15036 * net/ange-ftp.el (ange-ftp):
15037 * progmodes/ebnf2ps.el (postscript):
15038 * progmodes/flymake.el (flymake):
15039 * progmodes/prolog.el (prolog):
15040 * progmodes/verilog-mode.el (verilog-mode):
15041 * progmodes/which-func.el (which-func):
15042 * term/xterm.el (xterm):
15043 * textmodes/picture.el (picture):
15044 * textmodes/tildify.el (tildify):
15045 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
15046 customization buffers.
15047
15048 2012-04-22 Alan Mackenzie <acm@muc.de>
15049
15050 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
15051 Adding a ) can hide the resulting (..) from searches. Fix it.
15052 Bound the backward search to the position of the existing (.
15053
15054 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
15055
15056 * progmodes/verilog-mode.el (verilog-mode): Check whether
15057 which-func-modes is t before adding verilog-mode.
15058 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
15059
15060 2012-04-21 Leo Liu <sdl.web@gmail.com>
15061
15062 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
15063
15064 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
15065
15066 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
15067 filling of the last column of a table (Bug#5635).
15068 (woman-find-next-control-line): New arg, specifying an additional
15069 regexp component for the control line.
15070 (woman2-roff-buffer): Use it.
15071 (woman-break-table): New function.
15072 (woman2-TS): Use it.
15073
15074 2012-04-21 Chong Yidong <cyd@gnu.org>
15075
15076 * woman.el (woman-set-buffer-display-table, woman-decode-region)
15077 (woman-horizontal-escapes, woman-negative-vertical-space)
15078 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
15079 (WoMan-warn-ignored): Use ?\s instead of ?\ .
15080
15081 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15082
15083 * minibuffer.el (completion-file-name-table): Complete user names.
15084
15085 2012-04-20 Leo Liu <sdl.web@gmail.com>
15086
15087 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
15088 and pcase-let*.
15089
15090 2012-04-20 Chong Yidong <cyd@gnu.org>
15091
15092 * server.el (server-execute): Respect initial-buffer-choice if it
15093 is a string and there are no files to open (Bug#2825).
15094 (server-create-window-system-frame, server-create-tty-frame):
15095 Don't switch buffers here.
15096 (server-process-filter): Only try to open a window system frame if
15097 compiled with graphical support (Bug#8314).
15098
15099 2012-04-20 Dan Nicolaescu <dann@gnu.org>
15100
15101 * battery.el (battery-echo-area-format): Display remaining time
15102 for sysfs backend too (Bug#11269).
15103 (battery-linux-sysfs): Fix conditional for the charge.
15104
15105 2012-04-20 Chong Yidong <cyd@gnu.org>
15106
15107 * progmodes/gdb-mi.el (gdb): Revert previous change.
15108 (gdb-inferior-io--init-proc): New function.
15109 (gdb-init-1): Use it.
15110 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
15111 responsible for allocating a new pty and hooking it to gdb when
15112 the old pty gets an EIO due to process exit.
15113 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
15114 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
15115 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
15116
15117 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15118
15119 * window.el (window-min-size, window-sizable, window-min-delta)
15120 (window-max-delta, window--resizable, window-resizable)
15121 (window-total-size, window-full-height-p, window-full-width-p)
15122 (window-in-direction, window--resize-mini-window, window-resize)
15123 (window--resize-child-windows-normal)
15124 (window--resize-child-windows, window--resize-siblings)
15125 (window--resize-this-window, adjust-window-trailing-edge)
15126 (enlarge-window, shrink-window): Doc fixes.
15127
15128 2012-04-20 Chong Yidong <cyd@gnu.org>
15129
15130 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
15131 New function to call delete-process on the gdb-inferior buffer's pty.
15132 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
15133 pty process (Bug#11273).
15134 (gdb-update): New arg to suppress talking to the gdb process.
15135 (gdb-done-or-error): Use it.
15136 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
15137 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
15138 sentinel not being called.
15139
15140 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
15141
15142 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
15143
15144 2012-04-20 Glenn Morris <rgm@gnu.org>
15145
15146 * net/network-stream.el (open-network-stream): Doc fix.
15147
15148 2012-04-20 Chong Yidong <cyd@gnu.org>
15149
15150 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
15151
15152 2012-04-20 Alan Mackenzie <acm@muc.de>
15153
15154 Ensure searching for keywords is case sensitive.
15155
15156 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
15157 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
15158 (c-defun-name, c-mark-function, c-cpp-define-name)
15159 (c-comment-indent, c-scan-conditionals, c-indent-defun)
15160 (c-context-line-break): Bind case-fold-search to nil.
15161
15162 * progmodes/cc-mode.el (c-font-lock-fontify-region):
15163 Bind case-fold-search to nil.
15164
15165 2012-04-20 Chong Yidong <cyd@gnu.org>
15166
15167 * mail/sendmail.el (mail-bury): Call return action with the right
15168 Rmail buffer (Bug#11242).
15169
15170 * server.el (server-process-filter): Handle corner case where both
15171 tty and nowait options are present (Bug#11102).
15172
15173 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15174
15175 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
15176 (top level): Put into the executable the ident-style '$Id:' tag on
15177 windows-nt as well.
15178
15179 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15180
15181 * electric.el (electric-indent-post-self-insert-function): Check that
15182 electric-indent-mode is enabled in current buffer.
15183
15184 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15185
15186 * imenu.el (imenu-progress-message): Restore; it is "used" in
15187 erc/erc-imenu.el and net/snmp-mode.el.
15188
15189 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15190
15191 * avoid.el (mouse-avoidance-mode): Mark unused arg.
15192 (mouse-avoidance-nudge-mouse): Remove unused binding.
15193
15194 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
15195
15196 * descr-text.el (describe-char):
15197 * progmodes/python.el (python-describe-symbol):
15198 Don't call `toggle-read-only', set `buffer-read-only'.
15199
15200 * imenu.el (imenu-default-goto-function): Mark unused args.
15201 (imenu-progress-message): Remove obsolete macro; all callers changed.
15202
15203 * subr.el (keymap-canonicalize): Remove unused binding.
15204 (read-passwd): Mark unused arg.
15205
15206 * tutorial.el (tutorial--display-changes): Remove unused binding.
15207 (tutorial--save-tutorial-to): Remove unused variable.
15208
15209 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
15210 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
15211 (package-generate-autoloads, package-menu--generate)
15212 (package-menu--find-upgrades): Remove unused bindings.
15213
15214 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
15215 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
15216 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
15217 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
15218 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
15219 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
15220 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
15221 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
15222 (cua-delete-char-rectangle): Mark unused args.
15223 (cua-align-rectangle): Remove unused binding.
15224
15225 * mail/rmail.el (compilation--message->loc)
15226 (epa--find-coding-system-for-mime-charset): Declare.
15227
15228 * net/dbus.el (dbus-register-service): Declare.
15229 (dbus-name-owner-changed-handler): Remove unused binding.
15230
15231 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
15232 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
15233 (nxml-scan-backward-within): Mark unused arg.
15234 (nxml-dynamic-markup-word): Remove unused binding.
15235
15236 * mouse.el (mouse-menu-major-mode-map):
15237 * emacs-lisp/authors.el (authors-scan-change-log)
15238 (authors-add-to-author-list):
15239 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
15240 * emacs-lisp/smie.el (smie-auto-fill):
15241 * mail/sendmail.el (mail-bury):
15242 * mail/unrmail.el (unrmail):
15243 * net/tls.el (open-tls-stream):
15244 * textmodes/picture.el (picture-mouse-set-point):
15245 Remove unused bindings.
15246
15247 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
15248
15249 * net/tramp.el (tramp-action-password): Let-bind
15250 `enable-recursive-minibuffers' to t.
15251
15252 2012-04-18 Sam Steingold <sds@gnu.org>
15253
15254 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
15255 instead of 'string to accommodate values like [f11].
15256 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
15257 * progmodes/gdb-mi.el: Likewise.
15258
15259 2012-04-18 Leo Liu <sdl.web@gmail.com>
15260
15261 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
15262 current buffer.
15263 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
15264 LOCAL is nil.
15265
15266 2012-04-18 Chong Yidong <cyd@gnu.org>
15267
15268 * simple.el (line-move): Use forward-line if in batch mode
15269 (Bug#11053).
15270
15271 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
15272
15273 * files.el (after-find-file): Do not try to add a final newline if
15274 the buffer is read-only (Bug#11156).
15275
15276 2012-04-17 Richard Stallman <rms@gnu.org>
15277
15278 * mail/rmail.el (rmail-start-mail):
15279 Pass (rmail-mail-return...) for the return-action.
15280 Pass (rmail-yank-current-message...) for the yank-action.
15281 (rmail-yank-current-message): New function.
15282 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
15283 (rmail-reply): Likewise.
15284 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
15285
15286 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
15287 buffer, not the last. Reject temp buffers. Use the rmail-mode
15288 buffer, not newbuf.
15289
15290 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
15291
15292 * server.el (server-ensure-safe-dir): Simplify.
15293
15294 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15295
15296 * emacs-lisp/smie.el: Provide smarter auto-filling.
15297 (smie-auto-fill): New function.
15298 (smie-setup): Use it.
15299
15300 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
15301
15302 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
15303
15304 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
15305 (comment-indent): Use it.
15306
15307 2012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
15308
15309 * ses.el: The overall change is to add cell renaming, that is
15310 setting fancy names for cell symbols other than name matching
15311 "\\`[A-Z]+[0-9]+\\'" regexp .
15312 (ses-localvars): Add ses--renamed-cell-symb-list.
15313 (ses-create-cell-variable): New defun.
15314 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
15315 (ses-relocate-formula): Relocate formulas only for cells the
15316 symbols of which are not renamed, i.e. symbols whose names do not
15317 match regexp "\\`[A-Z]+[0-9]+\\'".
15318 (ses-relocate-all): Relocate values only for cells the symbols of
15319 which are not renamed.
15320 (ses-load): Create cells variables as the (ses-cell ...) are read,
15321 in order to check row col consistency with cell symbol name only
15322 for cells that are not renamed.
15323 (ses-replace-name-in-formula): New defun.
15324 (ses-rename-cell): New defun.
15325
15326 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
15327
15328 * progmodes/perl-mode.el (perl-indent-parens-as-block):
15329 New option (bug#11118).
15330 (perl-calculate-indent): Respect it.
15331
15332 2012-04-17 Glenn Morris <rgm@gnu.org>
15333
15334 * dired-aux.el (dired-mark-read-string): Doc fix.
15335
15336 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
15337
15338 * dired-aux.el (dired-mark-read-string): Offer optional completion.
15339 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
15340
15341 2012-04-17 Glenn Morris <rgm@gnu.org>
15342
15343 * mouse.el (mouse-drag-track):
15344 * speedbar.el (speedbar-frame-mode):
15345 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
15346
15347 2012-04-16 Leo Liu <sdl.web@gmail.com>
15348
15349 * progmodes/python.el: Trivial cleanup.
15350
15351 2012-04-16 Glenn Morris <rgm@gnu.org>
15352
15353 * vc/vc.el (vc-string-prefix-p):
15354 * vc/pcvs-util.el (cvs-string-prefix-p):
15355 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
15356 * mpc.el (mpc-string-prefix-p):
15357 Make all of these into obsolete aliases for string-prefix-p.
15358 Update callers.
15359 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
15360
15361 * textmodes/two-column.el: Move custom options to the start.
15362 (frame-width): Remove compat definition.
15363 (2C-associate-buffer, 2C-dissociate):
15364 Use with-current-buffer rather than save-excursion.
15365 (2C-dissociate): Force a mode-line update.
15366 (2C-autoscroll): Use ignore-errors.
15367
15368 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
15369 Autoload trivia.
15370
15371 * emacs-lisp/cl-extra.el (*random-state*):
15372 Remove unnecessary declaration.
15373
15374 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
15375
15376 * play/cookie1.el (cookie-snarf):
15377 Give an explicit error if input file cannot be read.
15378
15379 * play/yow.el (yow-file): Use expand-file-name rather than concat.
15380
15381 * progmodes/perl-mode.el (c-macro-expand):
15382 Remove unnecessary autoload (it is in loaddefs.el).
15383
15384 * textmodes/picture.el (picture-desired-column)
15385 (picture-update-desired-column): Convert comments to doc-strings.
15386 (picture-substitute): Remove function.
15387 (picture-mode-map): Initialize in the defvar.
15388
15389 * woman.el: Remove eval-after-load for tar-mode.
15390 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
15391 (woman-tar-extract-file): Autoload it.
15392
15393 * frame.el (automatic-hscrolling): Make this alias obsolete.
15394
15395 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15396
15397 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
15398 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
15399 (ispell-dictionary-base-alist): Revert to original XEmacs
15400 friendly version for default. [:alpha:] will be added in
15401 `ispell-set-spellchecker-params' if needed.
15402
15403 2012-04-16 Chong Yidong <cyd@gnu.org>
15404
15405 * image.el (imagemagick--file-regexp): New variable.
15406 (imagemagick-register-types): Use it.
15407 (imagemagick-types-inhibit): Add :set function. Allow new value
15408 of t to inhibit all types.
15409
15410 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
15411 so we can preload it.
15412
15413 * loadup.el (fboundp): Preload regexp-opt, needed by
15414 imagemagick-register-types.
15415
15416 2012-04-15 Chong Yidong <cyd@gnu.org>
15417
15418 * frame.el (scrolling): Remove nearly unused customization group.
15419
15420 * scroll-all.el (scroll-all-mode): Move to windows group.
15421
15422 2012-04-15 Chong Yidong <cyd@gnu.org>
15423
15424 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
15425
15426 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15427
15428 Avoid the use of ((lambda ...) ...) in lexical-binding code.
15429 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
15430
15431 2012-04-15 Glenn Morris <rgm@gnu.org>
15432
15433 * simple.el (process-file-side-effects): Doc fix.
15434
15435 2012-04-15 Glenn Morris <rgm@gnu.org>
15436
15437 * international/mule-cmds.el (set-language-environment): Doc fix.
15438
15439 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15440
15441 * server.el (server-auth-key, server-generate-key): Doc fixes.
15442 (server-get-auth-key): Doc fix. Use `string-match-p'.
15443 (server-start): Reflow docstring.
15444
15445 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
15446
15447 * server.el (server-generate-key): `called-interactively-p'
15448 requires a parameter.
15449
15450 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
15451
15452 * server.el (server-auth-key): New variable.
15453 (server-generate-key, server-get-auth-key): New function.
15454 (server-start): Use the new variable and functions to allow
15455 setting a permanent server key (bug#9423).
15456
15457 2012-04-14 Leo Liu <sdl.web@gmail.com>
15458
15459 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
15460
15461 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
15462
15463 Spelling fixes.
15464 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
15465 Emacs uses American spelling.
15466
15467 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15468
15469 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
15470 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
15471 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
15472 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
15473
15474 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15475
15476 * progmodes/which-func.el (which-func-modes): Change default.
15477
15478 2012-04-14 Kim F. Storm <storm@cua.dk>
15479
15480 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
15481 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
15482
15483 2012-04-14 Chong Yidong <cyd@gnu.org>
15484
15485 * custom.el (custom-theme-set-variables): Doc fix.
15486
15487 2012-04-14 Glenn Morris <rgm@gnu.org>
15488
15489 * international/mule.el (set-auto-coding-for-load): Doc fix.
15490
15491 2012-04-14 Alan Mackenzie <acm@muc.de>
15492
15493 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
15494 imenu work again for Objective C Mode. Correct the *-index values,
15495 these having been disturbed by a previous change in 2011-08.
15496
15497 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
15498 Correct two search limits.
15499
15500 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15501
15502 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
15503
15504 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
15505
15506 * international/characters.el: Fix sorting.
15507
15508 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15509
15510 * international/characters.el: Add more missing Latin case pairs.
15511
15512 2012-04-14 Glenn Morris <rgm@gnu.org>
15513
15514 * files.el (dir-locals-set-class-variables): Doc fix.
15515
15516 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15517
15518 * international/characters.el: Add set-case-syntax-pair call for
15519 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
15520 counterpart. (Bug#11209)
15521
15522 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
15523
15524 2012-04-14 Glenn Morris <rgm@gnu.org>
15525
15526 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15527
15528 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15529
15530 * textmodes/ispell.el (ispell-dictionary-base-alist):
15531 Add data for Hebrew.
15532
15533 2012-04-14 Chong Yidong <cyd@gnu.org>
15534
15535 * net/rcirc.el (rcirc-cmd-quit):
15536 Revert 2012-03-18 change (Bug#11192).
15537
15538 2012-04-14 Glenn Morris <rgm@gnu.org>
15539
15540 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
15541
15542 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15543
15544 * minibuffer.el (completion-in-region-mode-map):
15545 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
15546
15547 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
15548
15549 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
15550
15551 2012-04-13 Masatake YAMATO <yamato@redhat.com>
15552
15553 * minibuffer.el (minibuffer-local-filename-syntax): New variable
15554 to allow `C-M-f' and `C-M-b' to move to the nearest path
15555 separator (bug#9511).
15556
15557 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
15558
15559 * avoid.el: Require cl when compiling. And also move the
15560 `provide' to the end.
15561
15562 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15563
15564 * avoid.el (mouse-avoidance-banish-position): New variable.
15565 (mouse-avoidance-banish-destination): Use it (bug#10165).
15566
15567 2012-04-13 Leo Liu <sdl.web@gmail.com>
15568
15569 * progmodes/which-func.el (which-func-modes): Add objc-mode.
15570
15571 2012-04-13 Ken Brown <kbrown@cornell.edu>
15572
15573 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
15574 this is no longer needed now that cygstart understands file:// URLs.
15575 (browse-url-filename-alist): For the same reason, don't modify
15576 file:// URLs on Cygwin.
15577
15578 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
15579
15580 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
15581 the region on shift if the binding is already shifted (bug#11221).
15582
15583 2012-04-12 Glenn Morris <rgm@gnu.org>
15584
15585 * mail/mailpost.el: Move to obsolete/.
15586
15587 2012-04-12 Drew Adams <drew.adams@oracle.com>
15588
15589 * imenu.el (imenu--generic-function): Ignore invisible definitions
15590 (bug#10123).
15591
15592 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
15593
15594 * hexl.el (hexl-bits): New variable.
15595 (hexl-options): Mention the variable in the doc string.
15596 (hexl-rulerise, hexl-line-displen): New functions.
15597 (hexl-mode): Mention the new variable.
15598 (hexl-mode, hexl-current-address, hexl-current-address):
15599 Use the displen.
15600 (hexl-ascii-start-column): New function.
15601 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
15602 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
15603
15604 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15605
15606 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
15607 '("-i" ENCODING), in 2 separate command-line arguments, to specify
15608 the encoding, as expected by hunspell.
15609
15610 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
15611
15612 * battery.el (battery--linux-sysfs-regexp): New const.
15613 (battery-status-function): Use it. Remove yeeloong special case.
15614 (battery-yeeloong-sysfs): Remove.
15615 (battery-echo-area-format): Remove yeeloong special case.
15616
15617 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15618
15619 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
15620 Reported by Noah Friedman.
15621
15622 * subr.el (read-passwd): Use read-string.
15623
15624 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15625
15626 * vcursor.el (vcursor-move): Increase the priority of the overlay
15627 (bug#9663).
15628
15629 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15630
15631 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
15632 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
15633
15634 2012-04-11 William Stevenson <yhvh2000@gmail.com>
15635
15636 * textmodes/artist.el (artist-mode): Convert artist-mode to use
15637 define-minor-mode (bug#10760).
15638
15639 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15640
15641 * progmodes/grep.el (rgrep): Tweak the find command line so
15642 that directories matching `grep-find-ignored-files' won't be
15643 pruned (bug#10351).
15644
15645 2012-04-11 Chong Yidong <cyd@gnu.org>
15646
15647 * startup.el (command-line): Remove support for long-obsolete
15648 variable font-lock-face-attributes.
15649
15650 2012-04-11 Glenn Morris <rgm@gnu.org>
15651
15652 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
15653
15654 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15655
15656 * window.el (window--state-get-1): Obey window-point-insertion-type.
15657
15658 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
15659
15660 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
15661 to previous function when point is on the first character of a
15662 function. Take care of that in `narrow-to-defun' (bug#6157).
15663
15664 2012-04-11 Glenn Morris <rgm@gnu.org>
15665
15666 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
15667 not just file-errors.
15668
15669 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
15670 (vc-bzr-sha1): Use internal sha1.
15671
15672 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15673
15674 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
15675
15676 2012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
15677
15678 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
15679 that start in the middle of the line (bug#10496).
15680
15681 2012-04-10 Dan Nicolaescu <dann@gnu.org>
15682
15683 * battery.el (battery-linux-proc-acpi): Only one battery is
15684 discharged at a time, but that seems to confuse battery.el when
15685 computing `rate-type' for the battery not being discharged
15686 (bug#10332).
15687
15688 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15689
15690 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
15691
15692 * international/quail.el: Use dolist and simplify.
15693 (quail-define-package, quail-update-keyboard-layout)
15694 (quail-define-rules): Use dolist.
15695 (quail-insert-kbd-layout, quail-get-translation): CSE.
15696
15697 * tmm.el: Use dolist, remove left over hook.
15698 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
15699 Use dolist.
15700 (calendar-load-hook): Don't mess with it.
15701
15702 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
15703 Use derived-mode-p. Run the diff asynchronously.
15704
15705 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15706
15707 * obsolete/mouse-sel.el: Add an Obsolete-since header.
15708
15709 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
15710
15711 * misc.el: Display absolute path of loaded DLLs (bug#10424).
15712 (list-dynamic-libraries--loaded): New function.
15713 (list-dynamic-libraries--refresh): Use it.
15714
15715 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
15716
15717 * progmodes/python.el (python-fill-paragraph):
15718 Make python-fill-region in a multiline string work when font-lock is
15719 disabled (bug#7018).
15720
15721 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
15722
15723 * language/european.el (cp775): Add oem/legacy (en)coding on
15724 DOS/MS Windows for the Baltic languages. There are still plenty
15725 of texts written in this encoding/codepage (bug#6519).
15726
15727 2012-04-10 Glenn Morris <rgm@gnu.org>
15728
15729 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
15730 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
15731
15732 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
15733
15734 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
15735 next-line "n" and previous-line "p" in order to make recentf more
15736 consistent with ibuffer, dired or org-mode (bug#9387).
15737
15738 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15739
15740 * image.el (put-image): Return the overlay created instead of the
15741 optional input string (bug#7834). Note that this may break code
15742 that is (for some reason or other) depending on `put-image'
15743 returning the string.
15744
15745 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
15746
15747 * simple.el (zap-to-char): Allow zapping using input methods
15748 (bug#1580).
15749
15750 * textmodes/fill.el (fill-region): Leave point and mark where they
15751 were before filling (bug#5399).
15752
15753 2012-04-09 Glenn Morris <rgm@gnu.org>
15754
15755 * version.el (emacs-bzr-get-version):
15756 Handle lightweight checkouts of local branches.
15757
15758 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
15759
15760 * international/characters.el: Recover lost case pairs. (Bug#11209)
15761
15762 2012-04-09 Chong Yidong <cyd@gnu.org>
15763
15764 * custom.el (custom-variable-p): Return nil for non-symbol
15765 arguments instead of signaling an error.
15766 (user-variable-p): Obsolete alias for custom-variable-p.
15767
15768 * apropos.el (apropos-variable):
15769 * files-x.el (read-file-local-variable):
15770 * simple.el (set-variable):
15771 * woman.el (woman-mini-help):
15772 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
15773
15774 2012-04-09 Glenn Morris <rgm@gnu.org>
15775
15776 * startup.el (normal-top-level): Don't look for leim-list.el
15777 in places where it will not be found. (Bug#910)
15778
15779 * international/mule-cmds.el (set-default-coding-systems):
15780 * files.el (normal-mode):
15781 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
15782 This function was removed with ucs-tables.el in 2008.
15783
15784 2012-04-08 Eli Zaretskii <eliz@gnu.org>
15785
15786 * textmodes/ispell.el (ispell-check-version): For hunspell, set
15787 ispell-encoding8-command to "-i", without a trailing space.
15788 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
15789 separate command-line arguments, to specify the encoding, since
15790 that's how hunspell expects it.
15791
15792 2012-04-08 Glenn Morris <rgm@gnu.org>
15793
15794 * loadup.el: Load bindings before cus-start.
15795 This reduces somewhat the number of "rogue" settings in emacs -Q.
15796
15797 2012-04-07 Glenn Morris <rgm@gnu.org>
15798
15799 * version.el (emacs-bzr-get-version): New function.
15800 (emacs-bzr-version): New variable.
15801 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
15802 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
15803
15804 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15805
15806 * international/uni-bidi.el, international/uni-category.el:
15807 * international/uni-combining.el, international/uni-decimal.el:
15808 * international/uni-decomposition.el, international/uni-digit.el:
15809 * international/uni-lowercase.el, international/uni-mirrored.el:
15810 * international/uni-name.el, international/uni-numeric.el:
15811 * international/uni-titlecase.el, international/uni-uppercase.el:
15812 Update for Unicode 6.1.
15813
15814 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15815
15816 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
15817
15818 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
15819
15820 * window.el (shrink-window): Mention the `window-min-height'
15821 variable in the doc string.
15822
15823 2012-04-05 Bastien Guerry <bzg@altern.org>
15824
15825 * color.el (color-lighten-name): Fix typo.
15826
15827 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15828
15829 * server.el (server--on-display-p): New function.
15830 (server--on-display-p): Use it.
15831
15832 2012-04-04 GĂ¡bor Vida <vidagabor@gmail.com> (tiny change)
15833
15834 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
15835 (bug#11145).
15836
15837 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15838
15839 * comint.el (comint--common-quoted-suffix): Check string boundary
15840 before comparing (bug#11158).
15841 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
15842
15843 2012-04-04 Chong Yidong <cyd@gnu.org>
15844
15845 * minibuffer.el (completion-extra-properties): Doc fix.
15846
15847 * subr.el (delayed-warnings-hook): Doc fix.
15848
15849 2012-04-04 Daiki Ueno <ueno@unixuser.org>
15850
15851 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
15852 selection (Bug#11159).
15853 (epa-insert-keys): Inform that the default public key will be
15854 exported if no key is selected.
15855
15856 2012-04-04 Richard Stallman <rms@gnu.org>
15857
15858 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
15859
15860 2012-04-03 Chong Yidong <cyd@gnu.org>
15861
15862 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
15863 mail-insert-file, not its obsolete alias mail-attach-file.
15864
15865 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
15866
15867 * notifications.el (notifications-notify): Fix docstring.
15868
15869 2012-04-02 Glenn Morris <rgm@gnu.org>
15870
15871 * emacs-lisp/authors.el (authors-aliases): Another addition.
15872
15873 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
15874
15875 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
15876 `tramp-compat-call-process' instead of `tramp-local-call-process'.
15877 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
15878
15879 2012-04-01 Chong Yidong <cyd@gnu.org>
15880
15881 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
15882 Handle root directory properly.
15883 (copy-directory): Caller changed.
15884
15885 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15886 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
15887
15888 2012-03-31 Glenn Morris <rgm@gnu.org>
15889
15890 * term/xterm.el (xterm-extra-capabilities): Doc fix.
15891
15892 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
15893
15894 * calendar/calendar.el (calendar-window-list)
15895 (calendar-hide-window): Restore. (Bug#11140)
15896 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
15897
15898 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
15899
15900 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15901
15902 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15903 Check if file is a symlink (Bug#10489).
15904
15905 * files.el (copy-directory): Likewise.
15906
15907 2012-03-30 Chong Yidong <cyd@gnu.org>
15908
15909 * image.el (imagemagick-types-inhibit)
15910 (imagemagick-register-types): Doc fix.
15911
15912 2012-03-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15913
15914 * textmodes/ispell.el (ispell-get-extended-character-mode):
15915 Disable extended-char-mode for hunspell. hunspell does not support it
15916 and treats ~word as ordinary words in pipe mode.
15917
15918 2012-03-30 Glenn Morris <rgm@gnu.org>
15919
15920 * tutorial.el (help-with-tutorial): Ensure local variables don't
15921 happen to make the buffer read-only. (Bug#11127)
15922
15923 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15924
15925 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
15926 (perl-calculate-indent): Return `noindent' in strings.
15927
15928 2012-03-28 Sam Steingold <sds@gnu.org>
15929
15930 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
15931 instead of the broken adhockery which does not prevent calendar
15932 buffers from being displayed at random after exit.
15933 (calendar-window-list, calendar-hide-window): Remove the broken
15934 adhockery.
15935
15936 2012-03-28 Glenn Morris <rgm@gnu.org>
15937
15938 * replace.el (query-replace-map): Doc fix.
15939
15940 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
15941
15942 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
15943 contents. (Bug#11109)
15944
15945 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15946
15947 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
15948 (bug#11077).
15949 (avl-tree--check, avl-tree--check-node): New funs.
15950
15951 2012-03-27 Martin Rudalics <rudalics@gmx.at>
15952
15953 * window.el (switch-to-visible-buffer): New option.
15954 (switch-to-prev-buffer, switch-to-next-buffer):
15955 Observe switch-to-visible-buffer. Make sure that checking for a window
15956 showing a buffer already is done on the same frame.
15957
15958 2012-03-27 Glenn Morris <rgm@gnu.org>
15959
15960 * startup.el (mail-host-address): Doc fix.
15961
15962 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15963
15964 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
15965 than 197 variables.
15966
15967 2012-03-26 Ami Fischman <ami@fischman.org>
15968
15969 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
15970
15971 2012-03-26 Glenn Morris <rgm@gnu.org>
15972
15973 * files.el (save-buffers-kill-emacs): Doc fix.
15974
15975 * startup.el (normal-top-level, command-line, command-line-1):
15976 Give them doc strings.
15977
15978 2012-03-25 Eli Zaretskii <eliz@gnu.org>
15979
15980 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
15981 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
15982
15983 2012-03-25 Chong Yidong <cyd@gnu.org>
15984
15985 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
15986 theme if it was previously enabled before (Bug#11031).
15987
15988 * cus-theme.el (custom-theme-write-faces): Retrieve current face
15989 spec with custom-face-get-current-spec if its :shown-value is not
15990 determined yet (Bug#9337).
15991 (customize-create-theme, custom-theme-revert): Doc fixes.
15992
15993 * button.el (button-at): Minor addition to docstring.
15994
15995 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
15996
15997 * vc/vc.el (vc-merge): Fix a prompt.
15998
15999 2012-03-24 Chong Yidong <cyd@gnu.org>
16000
16001 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
16002 point (Bug#9623).
16003
16004 * button.el (button-at): Minor addition to docstring.
16005
16006 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
16007
16008 * newcomment.el (comment-choose-indent): No space after BOL.
16009
16010 2012-03-22 Sam Steingold <sds@gnu.org>
16011
16012 * window.el (switch-to-prev-buffer): Revert last patch because the
16013 bug turned out to be an advertised feature (Elisp manual 28.14).
16014
16015 2012-03-22 Glenn Morris <rgm@gnu.org>
16016
16017 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
16018 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
16019
16020 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16021
16022 * net/network-stream.el (network-stream-open-starttls): Make error
16023 message under Windows be less misleading.
16024
16025 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
16026
16027 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
16028 understands (bug#9942).
16029
16030 2012-03-22 Chong Yidong <cyd@gnu.org>
16031
16032 * simple.el (end-of-visible-line): Handle return value of
16033 next-single-property-change properly (Bug#9371).
16034
16035 2012-03-22 Kenichi Handa <handa@m17n.org>
16036
16037 * international/quail.el (quail-insert-kbd-layout): Fix previous
16038 change. To avoid unwanted bidi reordering, use
16039 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
16040
16041 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
16042
16043 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
16044 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
16045 (ruby-beginning-of-indent): Be more careful with the difference
16046 between word-boundary and symbol boundary.
16047 (ruby-mode-syntax-table): Make : a symbol constituent.
16048
16049 2012-03-21 Andreas Politz <politza@fh-trier.de>
16050
16051 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
16052
16053 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16054
16055 * progmodes/etags.el (tags-completion-at-point-function):
16056 Improve last fix.
16057
16058 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
16059
16060 2012-03-21 Sam Steingold <sds@gnu.org>
16061
16062 * progmodes/etags.el (tags-completion-at-point-function):
16063 Avoid the error when point is inside the pattern.
16064
16065 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
16066
16067 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
16068 line (Bug#10855).
16069
16070 2012-03-21 Drew Adams <drew.adams@oracle.com>
16071
16072 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
16073
16074 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
16075
16076 * ido.el (ido-set-current-directory, ido-read-internal)
16077 (ido-choose-completion-string, ido-completion-help): Handle nil
16078 value of ido-completion-buffer (Bug#11008).
16079
16080 2012-03-21 Sam Steingold <sds@gnu.org>
16081
16082 * window.el (switch-to-prev-buffer): Do not switch to a visible
16083 window previous buffer, just like with the frame previous buffers.
16084
16085 2012-03-21 Chong Yidong <cyd@gnu.org>
16086
16087 * faces.el (make-face, make-empty-face, copy-face):
16088 * face-remap.el (face-remap-add-relative, face-remap-set-base):
16089 Doc fixes.
16090
16091 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16092
16093 * wid-edit.el (widget-complete-field): Remove (bug#11051).
16094 (widget-complete): Remove broken use of it.
16095
16096 2012-03-20 Chong Yidong <cyd@gnu.org>
16097
16098 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16099 Use string-width and truncate-string-width to handle arbitrary
16100 characters.
16101
16102 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
16103
16104 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
16105 to draw rectangles, not squares. (Regression introduced by revno
16106 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
16107
16108 2012-03-18 Chong Yidong <cyd@gnu.org>
16109
16110 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
16111 it is not yet defined (for temacs).
16112
16113 2012-03-18 Leo Liu <sdl.web@gmail.com>
16114
16115 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
16116 prefix.
16117
16118 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16119
16120 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
16121 (ispell-choices-win-default-height, ispell-silently-savep)
16122 (ispell-dictionary-alist, ispell-encoding8-command)
16123 (ispell-check-version, ispell-aspell-find-dictionary)
16124 (ispell-valid-dictionary-list, ispell-words-keyword)
16125 (ispell-get-word, ispell-internal-change-dictionary)
16126 (ispell-region, ispell-skip-region-list)
16127 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
16128 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
16129 (ispell-message-text-end, ispell-message)
16130 (ispell-buffer-local-parsing): Doc fix.
16131
16132 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
16133
16134 * htmlfontify.el: Add support for code block fontification for ODT
16135 export (Bug #9914).
16136 (hfy-optimisations): Define new option
16137 `body-text-only'
16138 (hfy-fontify-buffer): Honor above setting.
16139 (hfy-begin-span, hfy-end-span): New routines factored out form
16140 `hfy-fontify-buffer'.
16141 (hfy-begin-span-handler, hfy-end-span-handler): New variables
16142 that permit insertion of custom tags.
16143 (hfy-fontify-buffer): Use above handlers.
16144 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
16145 (hfy-face-to-css): Re-defined to be a variable.
16146 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
16147 over multiple runs. This is made possible by having the caller let
16148 bind a special variable `hfy-user-sheet-assoc'.
16149 (htmlfontify-string): New defun.
16150 (hfy-compile-face-map): Make sure that the last char in the
16151 buffer is correctly fontified.
16152 (hfy-face-resolve-face): Whitespace only change.
16153
16154 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16155
16156 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
16157 message more clear.
16158
16159 2012-03-16 Leo Liu <sdl.web@gmail.com>
16160
16161 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
16162
16163 2012-03-16 Alan Mackenzie <acm@muc.de>
16164
16165 Further optimize the handling of large macros.
16166
16167 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
16168 limit to a call of `c-literal-limits'.
16169 (c-determine-+ve-limit): New function.
16170 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
16171 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
16172 In CASE 5B, restrict a search limit to 500.
16173 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
16174
16175 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
16176 Restrict macro bounds to +-500 from after-change's BEG END.
16177
16178 2012-03-16 Leo Liu <sdl.web@gmail.com>
16179
16180 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
16181
16182 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
16183
16184 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
16185 `special-mode' setting of `buffer-read-only'. (Bug#11010)
16186
16187 2012-03-16 Glenn Morris <rgm@gnu.org>
16188
16189 * view.el (view-buffer, view-buffer-other-window)
16190 (view-buffer-other-frame): Doc fixes re special mode-class.
16191
16192 * subr.el (eval-after-load): If named feature is provided not from
16193 a file, run after-load forms. (Bug#10946)
16194
16195 * calendar/calendar.el (calendar-insert-at-column):
16196 Handle non-unit-width characters a bit better. (Bug#10978)
16197
16198 2012-03-15 Chong Yidong <cyd@gnu.org>
16199
16200 * emacs-lisp/ring.el (ring-extend): New function.
16201 (ring-insert+extend): Extend the ring correctly (Bug#11019).
16202
16203 * comint.el (comint-read-input-ring)
16204 (comint-add-to-input-history): Grow comint-input-ring lazily.
16205
16206 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16207
16208 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
16209 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
16210
16211 * imenu.el: Fix multiple inheritance breakage (bug#9199).
16212 (imenu-add-to-menubar): Don't add a redundant index.
16213 (imenu-update-menubar): Handle a dynamically composed keymap.
16214
16215 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
16216
16217 * mail/sendmail.el (mail-encode-header):
16218 Bind rfc2047-encode-encoded-words to nil.
16219
16220 2012-03-13 Glenn Morris <rgm@gnu.org>
16221
16222 * calendar/calendar.el (calendar-string-spread):
16223 Handle non-unit-width characters a bit better. (Bug#10978)
16224
16225 2012-03-13 Leo Liu <sdl.web@gmail.com>
16226
16227 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
16228 directory and file as argument (Bug#10822).
16229
16230 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16231
16232 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
16233 For dynamically generated code, follow $PC.
16234 (gdb-disassembly-handler-custom): Handle no function name case.
16235
16236 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
16237
16238 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
16239 * emulation/ws-mode.el (ws-query-replace):
16240 * sort.el (sort-regexp-fields):
16241 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
16242
16243 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16244
16245 * dabbrev.el: Fix cycle completion order (bug#10963).
16246 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
16247 (dabbrev-completion): Don't use an obarray; provide
16248 a cycle-sort-function.
16249
16250 2012-03-12 Leo Liu <sdl.web@gmail.com>
16251
16252 * simple.el (kill-new): Use equal-including-properties for comparison.
16253 (kill-do-not-save-duplicates): Doc fix.
16254
16255 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16256
16257 * dabbrev.el: Fix cycle completion (bug#10963).
16258 Use lexical binding and wrap to 80 columns.
16259 (dabbrev-completion): Delay computing the list of completions.
16260
16261 2012-03-12 Kenichi Handa <handa@m17n.org>
16262
16263 * international/quail.el (quail-insert-kbd-layout): Surround each
16264 row by LRO and PDF instead of inserting many LRMs. Pad the left
16265 and right of each non-spacing marks. Insert invisible space
16266 between lower and upper characters to prevent composition.
16267
16268 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16269
16270 * minibuffer.el (minibuffer-complete): Don't get confused when the
16271 function is run twice via different commands (bug#10958).
16272 (complete-with-action): Fix docstring.
16273
16274 2012-03-12 Chong Yidong <cyd@gnu.org>
16275
16276 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
16277 (nxml-completion-at-point-function): New function.
16278 (nxml-mode): Use it.
16279 (nxml-bind-meta-tab-to-complete-flag): Default to t.
16280
16281 * emacs-lisp/package.el (package-unpack, package-unpack-single):
16282 Load generated autoloads file before byte compiling (Bug#10970).
16283 (package--make-autoloads-and-compile): New helper fun.
16284
16285 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
16286
16287 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
16288
16289 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
16290
16291 * autorevert.el (auto-revert-handler): Ensure, that
16292 file-readable-p is applied only for local files or in
16293 auto-revert-tail-mode.
16294
16295 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
16296
16297 * server.el (server-eval-at): Handle non-tcp connections.
16298 Decode result string.
16299
16300 * server.el (server-msg-size): New constant.
16301 (server-reply-print): New function.
16302 (server-eval-and-print): Use it.
16303 (server-eval-at): Use server-quote-arg and server-unquote-arg.
16304 Handle -print-nonl.
16305
16306 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
16307
16308 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
16309 (Bug#10987).
16310
16311 2012-03-11 Chong Yidong <cyd@gnu.org>
16312
16313 * simple.el (goto-line): Doc fix (Bug#9938).
16314
16315 * subr.el (save-window-excursion): Doc fix (Bug#9979).
16316
16317 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
16318 when finished (Bug#10963).
16319
16320 2012-03-11 Martin Rudalics <rudalics@gmx.at>
16321
16322 * window.el (split-window-below): Fix bug in case where
16323 split-window-keep-point is nil (Bug#10971).
16324
16325 2012-03-11 Juri Linkov <juri@jurta.org>
16326
16327 * replace.el (replace-highlight): Set isearch-word to nil
16328 unconditionally. (Bug#10887)
16329
16330 2012-03-10 Eli Zaretskii <eliz@gnu.org>
16331
16332 * net/mairix.el (mairix-replace-invalid-chars): Rename from
16333 mairix-replace-illegal-chars; all callers changed. Don't remove
16334 ^, ~, and = characters: they are meaningful in mairix search specs.
16335 (mairix-widget-create-query): Add usage information about mairix
16336 search forms: negating words, searching for substrings, etc.
16337
16338 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
16339
16340 * international/fontset.el (font-encoding-alist): Add an entry for
16341 ksx1001 (Bug#5667).
16342
16343 2012-03-10 Richard Stallman <rms@gnu.org>
16344
16345 * mail/sendmail.el (mail-encode-header):
16346 Set rfc2047-encode-encoded-words.
16347
16348 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
16349
16350 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
16351 view buffer means not swapped.
16352 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
16353 (rmail-write-region-annotate): Error if real text has disappeared.
16354
16355 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
16356
16357 2012-03-10 Chong Yidong <cyd@gnu.org>
16358
16359 * emulation/cua-rect.el (cua--init-rectangles):
16360 * emulation/cua-base.el (cua--init-keymaps):
16361 Add delete-forward-char to remappings (Bug#9666).
16362
16363 2012-03-10 Martin Rudalics <rudalics@gmx.at>
16364
16365 * speedbar.el (speedbar-unhighlight-one-tag-line):
16366 Avoid unhighlighting due to frame switching (Bug#10275).
16367
16368 2012-03-10 Chong Yidong <cyd@gnu.org>
16369
16370 * minibuffer.el (completion-in-region, completion-help-at-point):
16371 Give the completion field overlay a high priority (Bug#6830).
16372
16373 * dired.el (dired-goto-file): Recognize absolute file name
16374 listings (Bug#7126).
16375 (dired-goto-file-1): New helper function.
16376 (dired-toggle-read-only): Inhibit warnings.
16377
16378 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
16379
16380 * net/dbus.el (dbus-property-handler): Return empty array if
16381 there are no properties.
16382
16383 2012-03-09 Leo Liu <sdl.web@gmail.com>
16384
16385 * savehist.el (savehist-printable): Stricter check for string
16386 value (Bug#10937).
16387
16388 2012-03-09 Eli Zaretskii <eliz@gnu.org>
16389
16390 * mail/smtpmail.el (smtpmail-send-it):
16391 Bind coding-system-for-write to *-unix, so that FCC files are kept in
16392 valid mbox format.
16393
16394 2012-03-09 Glenn Morris <rgm@gnu.org>
16395
16396 * files.el (dir-locals-find-file):
16397 Don't check result is regular, readable.
16398 (dir-locals-read-from-file): Demote errors.
16399
16400 2012-03-08 Eli Zaretskii <eliz@gnu.org>
16401
16402 * international/quail.el (quail-insert-kbd-layout):
16403 Insert invisible LRM characters before each character in a keyboard
16404 layout cell, to prevent their reordering by bidi display engine.
16405 For details, see the discussion in
16406 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
16407
16408 2012-03-08 Alan Mackenzie <acm@muc.de>
16409
16410 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
16411 the starting position; make it extend the marked region when
16412 invoked repeatedly - all under appropriate circumstances.
16413 Fixes bugs #5525, #10906.
16414
16415 2012-03-08 Glenn Morris <rgm@gnu.org>
16416
16417 * files.el (locate-dominating-file, dir-locals-find-file):
16418 Undo 2012-03-06 change.
16419
16420 2012-03-07 Eli Zaretskii <eliz@gnu.org>
16421
16422 * international/quail.el (quail-help):
16423 Force bidi-paragraph-direction be left-to-right. See discussion in
16424 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
16425 for the reason.
16426
16427 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
16428
16429 Avoid superfluous registering of signals. (Bug#10807)
16430
16431 * notifications.el (notifications-on-action-object)
16432 (notifications-on-close-object): New defvars.
16433 (notifications-on-action-signal, notifications-on-closed-signal):
16434 Unregister the signal if not needed any longer.
16435 (notifications-notify): Register `notifications-action-signal' or
16436 `notifications-closed-signal', if :on-action or :on-close has been
16437 passed as argument.
16438
16439 2012-03-07 Chong Yidong <cyd@gnu.org>
16440
16441 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
16442 non-X platforms.
16443
16444 2012-03-06 Glenn Morris <rgm@gnu.org>
16445
16446 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16447 (x-disown-selection-internal, x-get-selection-internal):
16448 Doc fix (add arglist signatures). (Bug#10783)
16449
16450 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16451
16452 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16453 Handle breakpoints with no "type".
16454
16455 2012-03-06 Glenn Morris <rgm@gnu.org>
16456
16457 * files.el (locate-dominating-file): Add optional predicate argument.
16458 (dir-locals-find-file): Make use of above change.
16459
16460 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
16461
16462 * info.el (Info-insert-dir): Also try "dir.gz".
16463
16464 2012-03-06 Glenn Morris <rgm@gnu.org>
16465
16466 * files.el (dir-locals-find-file):
16467 Ignore non-readable or non-regular files. (Bug#10928)
16468
16469 * files.el (locate-dominating-file): Doc fix.
16470
16471 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
16472
16473 * calendar/calendar.el (calendar-set-mode-line):
16474 `getenv' returns a string. (Bug#10951)
16475
16476 2012-03-05 Leo Liu <sdl.web@gmail.com>
16477
16478 * simple.el (backward-delete-char-untabify): Constrain point to
16479 field (Bug#10939).
16480
16481 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
16482
16483 2012-03-05 Chong Yidong <cyd@gnu.org>
16484
16485 * simple.el (count-words): If called from Lisp, return the word
16486 count, for symmetry with `count-lines'. Arglist changed.
16487 (count-words--message): Args changed. Consolidate counting code
16488 from count-words and count-words-region.
16489 (count-words-region): Caller changed.
16490 (count-lines-region): Make it an obsolete alias.
16491
16492 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
16493
16494 * saveplace.el (save-place-to-alist)
16495 (save-place-ignore-files-regexp): Allow value nil to disable this
16496 feature.
16497
16498 2012-03-04 Chong Yidong <cyd@gnu.org>
16499
16500 * faces.el (face-spec-reset-face): For the default face, reset the
16501 attributes to default values (Bug#10748).
16502
16503 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16504
16505 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
16506 previous patch: Check `message-send-mail-function', and not the
16507 default function (bug#10897).
16508
16509 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
16510
16511 * notifications.el (notifications-on-action-signal)
16512 (notifications-on-closed-signal): Check for unique service name of
16513 incoming event. Fix error in removing entry.
16514 (top): Register for signals with wildcard service name.
16515 (notifications-notify): Use daemon unique service name for map entries.
16516
16517 2012-03-04 Chong Yidong <cyd@gnu.org>
16518
16519 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
16520
16521 2012-03-04 Glenn Morris <rgm@gnu.org>
16522
16523 * abbrev.el (copy-abbrev-table, abbrev-table-p)
16524 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
16525 (expand-abbrev, define-abbrev-table): Doc fixes.
16526
16527 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16528
16529 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
16530 `message-default-send-mail-function' and not `send-mail-function'
16531 when doing the prompting for `sendmail-query-once' before sending
16532 in Message buffers (bug#10897).
16533
16534 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
16535 This is inconsistent with all the other stream functions, which leave
16536 the setting up to the higher levels (if so wanted) (bug#10931).
16537
16538 2012-03-02 Alan Mackenzie <acm@muc.de>
16539
16540 Depessimize the handling of very large macros.
16541
16542 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
16543 (c-macro-cache-syntactic): New variables to implement a one
16544 element macro cache.
16545 (c-invalidate-macro-cache): New function.
16546 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
16547 Adapt to use the new cache.
16548 (c-state-safe-place): Use better the cache of safe positions.
16549 (c-state-semi-nonlit-pos-cache)
16550 (c-state-semi-nonlit-pos-cache-limit):
16551 New variables for...
16552 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
16553 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
16554 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
16555 Use c-state-semi-safe-place.
16556
16557 * progmodes/cc-langs.el (c-get-state-before-change-functions):
16558 Add c-invalidate-macro-cache to the C, C++, Obj entries.
16559
16560 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
16561
16562 * jka-compr.el (jka-compr-call-process):
16563 Apply `file-accessible-directory-p' only when the default directory is
16564 not remote.
16565
16566 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
16567
16568 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
16569 access of FILE2, if FILE1 does not exist.
16570
16571 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
16572 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
16573
16574 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
16575 Add "PAGER=" to `process-environment'.
16576
16577 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
16578
16579 * progmodes/sql.el: Bug fix
16580 (sql-get-login-ext): Save login values in globals.
16581 (sql-get-login): Use new version of `sql-get-login-ext'.
16582 (sql-interactive-mode): Set global `sql-connection' to nil.
16583 (sql-connect): Set global values for connection.
16584 (sql-product-interactive): Save global values as buffer local.
16585
16586 2012-02-29 Leo Liu <sdl.web@gmail.com>
16587
16588 * abbrev.el (define-abbrevs): Reset sys to nil.
16589
16590 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16591
16592 * files.el (file-equal-p): Rename from `files-equal-p'.
16593 Return nil when one or both files don't exist.
16594 (file-subdir-of-p): Now only top directory must exists,
16595 return nil if it doesn't.
16596 (copy-directory): No need to test with `file-subdir-of-p' after
16597 creating dir.
16598 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
16599 to `file-equal-p'.
16600
16601 2012-02-28 Glenn Morris <rgm@gnu.org>
16602
16603 * shell.el (shell-mode):
16604 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
16605 * play/landmark.el (landmark-font-lock-face-O):
16606 * play/handwrite.el (handwrite):
16607 * play/gomoku.el (gomoku-O):
16608 * net/browse-url.el (browse-url-browser-display):
16609 * international/mule.el (define-charset):
16610 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
16611 * filesets.el (filesets-find-file-delay):
16612 * eshell/em-xtra.el (eshell-xtra):
16613 * eshell/em-unix.el (eshell-grep):
16614 * emulation/viper.el (viper-mode):
16615 * emacs-lisp/regexp-opt.el (regexp-opt-group):
16616 * emacs-lisp/easymenu.el (easy-menu-define):
16617 * calendar/timeclock.el (timeclock-use-display-time):
16618 * bs.el (bs-mode):
16619 * bookmark.el (bookmark-save-flag):
16620 Doc fix (standardize possessive apostrophe usage).
16621
16622 2012-02-27 Chong Yidong <cyd@gnu.org>
16623
16624 * emulation/viper-cmd.el (viper-intercept-ESC-key):
16625 Fix key-binding lookup for ESC key (Bug#9146).
16626
16627 * font-lock.el (font-lock-specified-p): Rename from
16628 font-lock-spec-present. Callers changed.
16629
16630 2012-02-27 Daniel Hackney <dan@haxney.org>
16631
16632 * emacs-lisp/package.el (package-compute-transaction):
16633 Handle holding a package version to t in package-load-list.
16634
16635 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
16636
16637 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
16638 (tramp-get-inode, tramp-get-device): Use cached values.
16639
16640 2012-02-26 Alan Mackenzie <acm@muc.de>
16641
16642 Check there is a font-lock specification before doing initial
16643 fontification.
16644
16645 * font-core.el (font-lock-mode): Move the conditional from
16646 :after-hook to font-lock-initial-fontify.
16647 (font-lock-default-function): Move the check for a specification
16648 to font-lock-spec-present.
16649
16650 * font-lock.el (font-lock-initial-fontify): Call ...
16651 (font-lock-spec-present): New function.
16652
16653 2012-02-26 Jim Blandy <jimb@red-bean.com>
16654
16655 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
16656 (gdb-send): Apply it to the operand of the '-interpreter-exec
16657 console' command, so that we can pass arguments with (say) quotes
16658 in them. Store exact string sent in gdb-debug-log (Bug#10765).
16659
16660 2012-02-26 Chong Yidong <cyd@gnu.org>
16661
16662 * help-fns.el (describe-function-1): Clarify description of
16663 remapping (Bug#10844).
16664
16665 * files.el (files-equal-p): Doc fix.
16666 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
16667 and quit the loop once a mismatch is found.
16668
16669 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
16670
16671 * bs.el (bs--show-with-configuration): Don't throw an error
16672 if the window cannot be split; otherwise, subsequent calls to
16673 bs-show fail, restoring a stale window config. (Bug#10882)
16674
16675 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
16676
16677 * term/ns-win.el (global-map): Bind ns-drag-file to
16678 ns-find-file (Bug#5855, Bug#10050).
16679
16680 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
16681
16682 * calendar/parse-time.el (parse-time-string): Allow extractor to
16683 return nil.
16684
16685 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
16686
16687 * net/tramp.el (tramp-file-name-for-operation):
16688 Add `files-equal-p' and `file-subdir-of-p'.
16689
16690 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16691 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16692 Add COPY-CONTENTS argument.
16693
16694 2012-02-25 Chong Yidong <cyd@gnu.org>
16695
16696 Add custom groups for VC backends, for consistency with vc-bzr.
16697
16698 * vc/vc-arch.el (vc-arch):
16699 * vc/vc-cvs.el (vc-cvs):
16700 * vc/vc-git.el (vc-git):
16701 * vc/vc-hg.el (vc-hg):
16702 * vc/vc-mtn.el (vc-mtn):
16703 * vc/vc-rcs.el (vc-rcs):
16704 * vc/vc-sccs.el (vc-sccs):
16705 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
16706 All relevant defcustoms reassigned.
16707
16708 2012-02-25 Chong Yidong <cyd@gnu.org>
16709
16710 * newcomment.el (comment-styles): Add autoload (Bug#10868).
16711
16712 * term/x-win.el (x-initialize-window-system): Reduce default for
16713 x-selection-timeout to 5 seconds (Bug#8869).
16714
16715 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16716
16717 * files.el (files-equal-p, file-subdir-of-p): New functions.
16718 (copy-directory): Error when trying to copy a directory on itself.
16719 Add missing copy-contents arg to tramp handler.
16720 * dired-aux.el (dired-copy-file-recursive): Same.
16721 (dired-create-files): Modify destination when source is equal to
16722 dest when copying files.
16723 Return also when dest is a subdir of source. (Bug#10489)
16724
16725 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
16726
16727 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
16728 (Bug#10874)
16729
16730 2012-02-23 Alan Mackenzie <acm@muc.de>
16731
16732 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
16733 parameter "after-hook:" to allow the expansion to run code after
16734 the execution of the mode hooks.
16735
16736 * font-lock.el (font-lock-initial-fontify): New function extracted
16737 from font-lock-mode-internal.
16738
16739 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
16740 :after-hook.
16741
16742 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16743
16744 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
16745 (completion--cache-all-sorted-completions): New function.
16746 (completion-all-sorted-completions): Use it.
16747 (completion--do-completion, minibuffer-force-complete):
16748 Use it to re-instate the flush hook.
16749
16750 * icomplete.el (icomplete-completions): Replace last fix with a better
16751 one (bug#10850).
16752
16753 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
16754
16755 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
16756 when it might call us back infinitely (bug#10797).
16757
16758 2012-02-23 Glenn Morris <rgm@gnu.org>
16759
16760 * minibuffer.el (completion-category-overrides): Doc fix.
16761
16762 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16763
16764 * minibuffer.el (completion-table-with-context): Fix inf-loop.
16765 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
16766
16767 2012-02-23 Glenn Morris <rgm@gnu.org>
16768
16769 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
16770 (authors-obsolete-files-regexps, authors-ignored-files)
16771 (authors-ambiguous-files, authors-renamed-files-alist):
16772 Add more entries.
16773
16774 2012-02-23 Juri Linkov <juri@jurta.org>
16775
16776 * isearch.el (isearch-occur): Sync interactive spec with occur's
16777 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
16778
16779 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
16780
16781 2012-02-22 Juri Linkov <juri@jurta.org>
16782
16783 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
16784 (ucs-insert): Doc fix. Check for hex digits in the string.
16785 Don't display `nil' in the error message. (Bug#10857)
16786
16787 2012-02-22 Alan Mackenzie <acm@muc.de>
16788
16789 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
16790
16791 2012-02-22 Glenn Morris <rgm@gnu.org>
16792
16793 * ffap.el (ffap-c-path):
16794 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
16795
16796 2012-02-22 Chong Yidong <cyd@gnu.org>
16797
16798 * custom.el (load-theme): Doc fix.
16799
16800 2012-02-22 Glenn Morris <rgm@gnu.org>
16801
16802 * dired-x.el (dired-guess-shell-alist-default):
16803 Remove escape sequences from nroff output. (Bug#172)
16804
16805 2012-02-21 Glenn Morris <rgm@gnu.org>
16806
16807 * vc/emerge.el (emerge-defvar-local):
16808 Set `permanent-local' property rather than unused `preserved'.
16809
16810 * textmodes/picture.el (picture-delete-char): New alias.
16811 (picture-mode-map): Use it. (Bug#10860)
16812 (picture-mode): Doc fix.
16813
16814 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
16815
16816 * newcomment.el (uncomment-region-default): Remove unused binding.
16817
16818 2012-02-21 Glenn Morris <rgm@gnu.org>
16819
16820 * textmodes/picture.el (picture-motion, picture-motion-reverse)
16821 (picture-self-insert, picture-tab-chars): Doc fix.
16822 (picture-mode-map): Fix C-a, C-e.
16823
16824 2012-02-20 Glenn Morris <rgm@gnu.org>
16825
16826 * emacs-lisp/authors.el (authors-aliases): Add another entry.
16827
16828 2012-02-20 Leo Liu <sdl.web@gmail.com>
16829
16830 * icomplete.el (icomplete-completions): Check FROM arg before
16831 passing to substring (Bug#10850).
16832
16833 2012-02-19 Chong Yidong <cyd@gnu.org>
16834
16835 * comint.el: Require ansi-color.
16836 (comint-output-filter-functions): Add ansi-color-process-output.
16837
16838 * ansi-color.el: Don't set comint-output-filter-functions; it is
16839 now in the initial value defined in comint.el.
16840 (ansi-color-apply-face-function): New variable.
16841 (ansi-color-apply-on-region): Use it.
16842 (ansi-color-apply-overlay-face): New function.
16843
16844 * shell.el (shell): No need to require ansi-color.
16845 (shell-mode): Use ansi-color-apply-face-function to highlight
16846 color escapes using font-lock-face property (Bug#10835).
16847
16848 2012-02-19 Chong Yidong <cyd@gnu.org>
16849
16850 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
16851 mode-line formats (Bug#10839).
16852
16853 2012-02-18 Glenn Morris <rgm@gnu.org>
16854
16855 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
16856
16857 * mail/undigest.el (unforward-rmail-message): Doc fix.
16858
16859 * saveplace.el (save-place-ignore-files-regexp): Add :version.
16860
16861 2012-02-18 Eli Zaretskii <eliz@gnu.org>
16862
16863 * international/characters.el (script-list): Sync with the latest
16864 Unicode Character Database.
16865
16866 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
16867
16868 * international/titdic-cnv.el: Remove duplicate coding tag.
16869 * language/cham.el: Likewise.
16870 * language/tai-viet.el: Likewise.
16871
16872 2012-02-18 Glenn Morris <rgm@gnu.org>
16873
16874 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
16875 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
16876 (calendar-bahai-all-holidays-flag, calendar-other-dates):
16877 * calendar/diary-lib.el (diary-abbreviated-year-flag):
16878 * calendar/holidays.el (holiday-bahai-holidays)
16879 (calendar-holidays, list-holidays):
16880 Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
16881
16882 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
16883
16884 * saveplace.el (save-place-ignore-files-regexp): New variable
16885 allowing for excluding files from saving their location of point.
16886 The default value matches the temporary commit message editing
16887 files from Git, SVN, Bazaar, and Mercurial.
16888 (save-place-to-alist): Use it.
16889
16890 2012-02-17 Lawrence Mitchell <wence@gmx.li>
16891 Stefan Monnier <monnier@iro.umontreal.ca>
16892
16893 * newcomment.el (uncomment-region-default): Don't leave extra space
16894 when an arg is provided (bug#8150).
16895
16896 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
16897
16898 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
16899
16900 2012-02-17 Glenn Morris <rgm@gnu.org>
16901
16902 * net/socks.el: Require network-stream. (Bug#10599)
16903
16904 2012-02-17 Kenichi Handa <handa@m17n.org>
16905
16906 * international/charprop.el:
16907 * international/uni-name.el:
16908 * international/uni-old-name.el:
16909 * international/uni-comment.el: Regenerate.
16910
16911 2012-02-16 Glenn Morris <rgm@gnu.org>
16912
16913 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
16914 Interactively in calendar buffer, give an error if not on a date.
16915
16916 2012-02-15 Glenn Morris <rgm@gnu.org>
16917
16918 * shell.el (shell-delimiter-argument-list):
16919 Revert 2011-02-17 change. (Bug#8027)
16920
16921 2012-02-15 Chong Yidong <cyd@gnu.org>
16922
16923 * minibuffer.el (completion-at-point-functions): Doc fix.
16924
16925 * custom.el (defcustom): Doc fix; note use of defvar.
16926
16927 2012-02-15 Glenn Morris <rgm@gnu.org>
16928
16929 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
16930 Doc fixes.
16931
16932 2012-02-14 Glenn Morris <rgm@gnu.org>
16933
16934 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
16935
16936 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
16937
16938 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
16939 way the ports list is computed.
16940 (smtpmail-query-smtp-server): Prompt the user for a port number if
16941 we can't connect to any of the standard ports (bug#10810).
16942
16943 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
16944
16945 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
16946
16947 2012-02-13 Glenn Morris <rgm@gnu.org>
16948
16949 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
16950
16951 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
16952
16953 * net/gnutls.el (gnutls-trustfiles): New variable.
16954 (gnutls-negotiate): Use it.
16955
16956 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
16957
16958 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
16959 does its stuff if Gnus is running.
16960
16961 2012-02-13 Alan Mackenzie <acm@muc.de>
16962
16963 Fix a loop in c-set-fl-decl-start.
16964
16965 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
16966 c-backward-syntactic-ws actually moves backwards.
16967
16968 2012-02-13 Leo Liu <sdl.web@gmail.com>
16969
16970 * net/rcirc.el (rcirc-markup-attributes): Move point to the
16971 beginning so that all \C-o chars are removed.
16972
16973 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
16974
16975 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
16976
16977 2012-02-12 Alan Mackenzie <acm@muc.de>
16978
16979 Fix infinite loop with long macros.
16980 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
16981
16982 2012-02-12 Chong Yidong <cyd@gnu.org>
16983
16984 * window.el (display-buffer): Doc fix (Bug#10785).
16985
16986 2012-02-12 Glenn Morris <rgm@gnu.org>
16987
16988 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16989 (x-disown-selection-internal, x-get-selection-internal):
16990 Sync docs with the xselect.c versions.
16991
16992 * allout-widgets.el: Add missing license notice.
16993
16994 2012-02-11 Glenn Morris <rgm@gnu.org>
16995
16996 * select.el (x-get-selection-internal, x-own-selection-internal)
16997 (x-disown-selection-internal):
16998 * x-dnd.el (x-get-selection-internal): Update declarations.
16999
17000 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
17001
17002 * window.el (window-sides-slots):
17003 * tool-bar.el (tool-bar-position):
17004 * term/xterm.el (xterm-extra-capabilities):
17005 * ses.el (ses-self-reference-early-detection):
17006 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
17007 (verilog-auto-wire-type)
17008 (verilog-auto-delete-trailing-whitespace)
17009 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
17010 (verilog-auto-tieoff-declaration):
17011 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
17012 (sql-oracle-statement-starters, sql-oracle-scan-on):
17013 * progmodes/prolog.el (prolog-align-comments-flag)
17014 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
17015 (prolog-left-indent-regexp, prolog-paren-indent-p)
17016 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
17017 (prolog-types, prolog-mode-specificators)
17018 (prolog-determinism-specificators, prolog-directives)
17019 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
17020 (prolog-electric-dot-flag)
17021 (prolog-electric-dot-full-predicate-template)
17022 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
17023 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
17024 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
17025 (prolog-program-switches, prolog-prompt-regexp)
17026 (prolog-debug-on-string, prolog-debug-off-string)
17027 (prolog-trace-on-string, prolog-trace-off-string)
17028 (prolog-zip-on-string, prolog-zip-off-string)
17029 (prolog-use-standard-consult-compile-method-flag)
17030 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
17031 (prolog-imenu-max-lines, prolog-info-predicate-index)
17032 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
17033 (prolog-char-quote-workaround):
17034 * progmodes/cc-vars.el (c-defun-tactic):
17035 * net/tramp.el (tramp-encoding-command-interactive)
17036 (tramp-local-end-of-line):
17037 * net/soap-client.el (soap-client):
17038 * net/netrc.el (netrc-file):
17039 * net/gnutls.el (gnutls):
17040 * minibuffer.el (completion-category-overrides)
17041 (completion-cycle-threshold)
17042 (completion-pcm-complete-word-inserts-delimiters):
17043 * man.el (Man-name-local-regexp):
17044 * mail/feedmail.el (feedmail-display-full-frame):
17045 * international/characters.el (glyphless-char-display-control):
17046 * eshell/em-ls.el (eshell-ls-date-format):
17047 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
17048 (lisp-lambda-list-keyword-parameter-indentation)
17049 (lisp-lambda-list-keyword-parameter-alignment):
17050 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
17051 * dired-x.el (dired-omit-verbose):
17052 * cus-theme.el (custom-theme-allow-multiple-selections):
17053 * calc/calc.el (calc-highlight-selections-with-faces)
17054 (calc-lu-field-reference, calc-lu-power-reference)
17055 (calc-note-threshold):
17056 * battery.el (battery-mode-line-limit):
17057 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
17058 (archive-7z-update):
17059 * allout.el (allout-prefixed-keybindings)
17060 (allout-unprefixed-keybindings)
17061 (allout-inhibit-auto-fill-on-headline)
17062 (allout-flattened-numbering-abbreviation):
17063 * allout-widgets.el (allout-widgets-auto-activation)
17064 (allout-widgets-icons-dark-subdir)
17065 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
17066 (allout-widgets-theme-dark-background)
17067 (allout-widgets-theme-light-background)
17068 (allout-widgets-item-image-properties-emacs)
17069 (allout-widgets-item-image-properties-xemacs)
17070 (allout-widgets-run-unit-tests-on-load)
17071 (allout-widgets-time-decoration-activity)
17072 (allout-widgets-hook-error-post-time)
17073 (allout-widgets-track-decoration):
17074 Add missing :version tags to new defcustoms and defgroups.
17075
17076 * progmodes/sql.el (sql-ansi-statement-starters)
17077 (sql-oracle-statement-starters): Add custom type.
17078
17079 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
17080 (prolog-system-version): Give it a type.
17081
17082 2012-02-11 Eli Zaretskii <eliz@gnu.org>
17083
17084 * term/pc-win.el (x-select-text, x-selection-owner-p)
17085 (x-own-selection-internal, x-disown-selection-internal)
17086 (x-get-selection-internal): Sync doc strings and argument lists
17087 with xselect.c, common-win.el and x-win.el. (Bug#10783)
17088
17089 2012-02-11 Leo Liu <sdl.web@gmail.com>
17090
17091 * progmodes/python.el (python-end-of-statement): Fix infinite
17092 loop. (Bug#10788)
17093
17094 2012-02-10 Glenn Morris <rgm@gnu.org>
17095
17096 * international/mule-cmds.el (unify-8859-on-encoding-mode)
17097 (unify-8859-on-decoding-mode): Properly mark as obsolete.
17098
17099 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
17100
17101 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
17102 about SMTP before checking the From header.
17103
17104 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
17105 into own function for reuse by emacsbug.el.
17106
17107 2012-02-10 Leo Liu <sdl.web@gmail.com>
17108
17109 * subr.el (condition-case-unless-debug): Rename from
17110 condition-case-no-debug. All callers changed.
17111 (with-demoted-errors): Fix caller.
17112
17113 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
17114 * nxml/rng-valid.el (rng-do-some-validation):
17115 * emacs-lisp/package.el (package-refresh-contents)
17116 (package-menu-execute):
17117 * desktop.el (desktop-create-buffer):
17118 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
17119
17120 2012-02-10 Glenn Morris <rgm@gnu.org>
17121
17122 * textmodes/bibtex.el:
17123 Add missing :version tags for new/changed defcustoms.
17124
17125 * files.el (remote-file-name-inhibit-cache): Doc fixes.
17126
17127 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
17128
17129 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
17130 (smtpmail-via-smtp): Use it, or fall back on the From address.
17131 (smtpmail-send-it): Ditto.
17132
17133 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
17134
17135 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
17136 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
17137 (byte-compile-tmp-var): New const.
17138 (byte-compile-defvar): Use it to minimize .elc size.
17139 Just use `defvar' rather than simulate it (bug#10761).
17140
17141 2012-02-09 Glenn Morris <rgm@gnu.org>
17142
17143 * files.el (rename-uniquely): Doc fix. (Bug#3806)
17144
17145 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
17146 Add :version tags.
17147
17148 * progmodes/compile.el (compilation-error-screen-columns)
17149 (compilation-first-column, compilation-filter-start): Doc fixes.
17150
17151 * vc/log-view.el (log-view-toggle-entry-display):
17152 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
17153
17154 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
17155 (report-emacs-bug-can-use-xdg-email):
17156 (report-emacs-bug-insert-to-mailer): Doc fixes.
17157 (report-emacs-bug): Message fix.
17158
17159 * net/browse-url.el (browse-url-can-use-xdg-open)
17160 (browse-url-xdg-open): Doc fixes.
17161
17162 * electric.el (electric-indent-mode, electric-pair-mode)
17163 (electric-layout-rules, electric-layout-mode): Doc fixes.
17164 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
17165
17166 2012-02-08 Martin Rudalics <rudalics@gmx.at>
17167
17168 * server.el (server-unselect-display): Don't inadvertently kill
17169 the current buffer. (Bug#10729)
17170
17171 2012-02-08 Glenn Morris <rgm@gnu.org>
17172
17173 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
17174 (sql-list-table): Doc fixes.
17175
17176 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
17177 Comment out (does nothing).
17178
17179 * completion.el (dynamic-completion-mode):
17180 * dirtrack.el (dirtrack-debug-mode):
17181 * electric.el (electric-layout-mode):
17182 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
17183 * face-remap.el (text-scale-mode, buffer-face-mode):
17184 * iimage.el (iimage-mode):
17185 * image-mode.el (image-transform-mode):
17186 * minibuffer.el (completion-in-region-mode):
17187 * scroll-lock.el (scroll-lock-mode):
17188 * simple.el (next-error-follow-minor-mode):
17189 * tar-mode.el (tar-subfile-mode):
17190 * tooltip.el (tooltip-mode):
17191 * vcursor.el (vcursor-use-vcursor-map):
17192 * wid-browse.el (widget-minor-mode):
17193 * emulation/tpu-edt.el (tpu-edt-mode):
17194 * emulation/tpu-extras.el (tpu-cursor-free-mode):
17195 * international/iso-ascii.el (iso-ascii-mode):
17196 * language/thai-util.el (thai-word-mode):
17197 * mail/supercite.el (sc-minor-mode):
17198 * net/goto-addr.el (goto-address-mode):
17199 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
17200 * progmodes/cwarn.el (cwarn-mode):
17201 * progmodes/flymake.el (flymake-mode):
17202 * progmodes/glasses.el (glasses-mode):
17203 * progmodes/hideshow.el (hs-minor-mode):
17204 * progmodes/pascal.el (pascal-outline-mode):
17205 * textmodes/enriched.el (enriched-mode):
17206 * vc/smerge-mode.el (smerge-mode):
17207 Doc fixes (minor mode argument).
17208
17209 2012-02-07 Eli Zaretskii <eliz@gnu.org>
17210
17211 * ls-lisp.el (ls-lisp-sanitize): New function.
17212 (ls-lisp-insert-directory): Use it to fix or remove any elements
17213 in file-alist with missing attributes. (Bug#4673)
17214
17215 2012-02-07 Alan Mackenzie <acm@muc.de>
17216
17217 Fix spurious recognition of c-in-knr-argdecl.
17218
17219 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
17220 putative K&R region.
17221
17222 2012-02-07 Alan Mackenzie <acm@muc.de>
17223
17224 * progmodes/cc-engine.el (c-forward-objc-directive):
17225 Prevent looping in "#pragma mark @implementation".
17226
17227 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
17228
17229 * notifications.el (notifications-on-closed-signal): Make `reason'
17230 optional. (Bug#10744)
17231
17232 2012-02-07 Glenn Morris <rgm@gnu.org>
17233
17234 * emacs-lisp/easy-mmode.el (define-minor-mode):
17235 Doc fixes for the macro and the mode it defines.
17236
17237 * image.el (imagemagick-types-inhibit): Doc fix.
17238
17239 * cus-start.el (imagemagick-render-type): Add it.
17240
17241 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
17242
17243 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
17244 Set the default at load time, too, so that `font-lock-fontify-buffer'
17245 can be called without setting up the entire mode first. This fixes
17246 a bug in `mm-inline-text' with C MIME parts.
17247
17248 2012-02-06 Chong Yidong <cyd@gnu.org>
17249
17250 * simple.el (list-processes--refresh): Delete exited processes
17251 (Bug#8094).
17252
17253 * comint.el (comint-next-prompt): next-single-char-property-change
17254 and prev-single-char-property-change never return nil (Bug#8657).
17255
17256 * custom.el (defcustom): Doc fix (Bug#9711).
17257
17258 2012-02-05 Chong Yidong <cyd@gnu.org>
17259
17260 * cus-edit.el (custom-variable-reset-backup): Quote the value
17261 before storing it in the customized-value property (Bug#6712).
17262 (custom-display): Add a customization type tag.
17263 (custom-buffer-create-internal): Improve tooltip message.
17264
17265 * wid-edit.el (widget-field-value-get): New optional arg to
17266 suppress trailing whitespace truncation.
17267 (character): Use it (Bug#2689).
17268
17269 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
17270
17271 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
17272 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
17273
17274 2012-02-05 Chong Yidong <cyd@gnu.org>
17275
17276 * cus-edit.el (custom-variable-value-create): For mismatched
17277 types, show the current value (Bug#7600).
17278
17279 * custom.el (defcustom): Doc fix.
17280
17281 2012-02-05 Glenn Morris <rgm@gnu.org>
17282
17283 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
17284
17285 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
17286
17287 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
17288 (pp-buffer): Use `ignore-errors', `looking-at-p'.
17289 (pp-last-sexp): Use `looking-at-p'.
17290
17291 2012-02-04 Glenn Morris <rgm@gnu.org>
17292
17293 * files.el (revert-buffer):
17294 Doc fix (mention revert-buffer-in-progress-p).
17295
17296 * emacs-lisp/ert-x.el (ert-simulate-command):
17297 Check deferred-action-list (which is obsolete) is bound.
17298
17299 * subr.el (with-wrapper-hook): Doc fixes.
17300
17301 * simple.el (filter-buffer-substring-functions)
17302 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
17303
17304 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
17305
17306 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
17307 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
17308
17309 2012-02-04 Leo Liu <sdl.web@gmail.com>
17310
17311 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
17312
17313 2012-02-04 Glenn Morris <rgm@gnu.org>
17314
17315 * image.el (image-extension-data): Add obsolete alias.
17316
17317 * isearch.el (isearch-update): Doc fix.
17318
17319 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
17320
17321 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
17322
17323 2012-02-03 Glenn Morris <rgm@gnu.org>
17324
17325 * image.el (image-animated-p): Doc fix. Use image-animated-types.
17326 (image-animate-timeout): Doc fix.
17327
17328 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
17329
17330 2012-02-02 Glenn Morris <rgm@gnu.org>
17331
17332 * server.el (server-auth-dir): Doc fix.
17333 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
17334
17335 * subr.el (run-mode-hooks): Doc fix.
17336
17337 2012-02-02 Juri Linkov <juri@jurta.org>
17338
17339 * image-mode.el (image-toggle-display-image): Remove tautological
17340 `major-mode' from the `derived-mode-p' test.
17341
17342 2012-02-02 Kenichi Handa <handa@m17n.org>
17343
17344 * composite.el (compose-region): Cancel previous change.
17345
17346 2012-02-02 Kenichi Handa <handa@m17n.org>
17347
17348 * composite.el (compose-region, compose-string): Signal error for
17349 a null string component (Bug#6988).
17350
17351 2012-02-01 Chong Yidong <cyd@gnu.org>
17352
17353 * view.el (view-buffer-other-window, view-buffer-other-frame):
17354 Handle special modes like view-buffer (Bug#10650).
17355 (view-buffer): Simplify.
17356
17357 * frame.el (set-frame-font): Tweak meaning of third argument.
17358
17359 * dynamic-setting.el (font-setting-change-default-font):
17360 Use set-frame-font (Bug#9982).
17361
17362 2012-02-01 Glenn Morris <rgm@gnu.org>
17363
17364 * progmodes/compile.el (compilation-internal-error-properties):
17365 Respect compilation-first-column in the "*compilation*" buffer.
17366
17367 * emacs-lisp/easy-mmode.el (define-minor-mode):
17368 Relax :variable's test for a named function.
17369
17370 2012-01-31 Alan Mackenzie <acm@muc.de>
17371
17372 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
17373 off by one error.
17374
17375 2012-01-31 Chong Yidong <cyd@gnu.org>
17376
17377 * frame.el (set-frame-font): New arg ALL-FRAMES.
17378
17379 * menu-bar.el (menu-set-font): Use set-frame-font.
17380
17381 * faces.el (face-spec-reset-face): Don't apply unspecified
17382 attribute values to the default face.
17383
17384 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
17385
17386 * progmodes/cwarn.el (cwarn): Remove dead link.
17387 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
17388 Remove * from defcustom docstrings.
17389 (turn-on-cwarn-mode): Make obsolete.
17390 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
17391 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
17392
17393 2012-01-31 Glenn Morris <rgm@gnu.org>
17394
17395 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
17396 Fix :variable handling of mode a symbol not equal to modefun.
17397 Allow named functions to be used as the cdr of :variable.
17398
17399 2012-01-30 Glenn Morris <rgm@gnu.org>
17400
17401 * emacs-lisp/authors.el (authors-fixed-entries):
17402 Remove reference to deleted file rnewspost.el.
17403
17404 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
17405
17406 * window.el (window-with-parameter): Remove unused variable `windows'.
17407 (window--side-check): Remove unused variable `code'.
17408 (window--resize-siblings): Remove unused variable `first'.
17409 (adjust-window-trailing-edge): Remove unused variable `failed'.
17410 (window-deletable-p, window--delete): Remove unused variable `buffer'.
17411 Use `let', not `let*'.
17412 (balance-windows-2): Remove unused variable `found'.
17413 (window--state-put-2): Remove unused variable `splits'.
17414 (window-state-put): Remove unused variable `selected'.
17415 (same-window-p): Use `string-match-p'.
17416 (display-buffer-assq-regexp): Remove unused variable `value'.
17417 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17418 Mark argument ALIST as ignored.
17419 (pop-to-buffer): Remove unused variable `old-window'.
17420
17421 2012-01-29 Eli Zaretskii <eliz@gnu.org>
17422
17423 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
17424 and .lzma compressed files.
17425
17426 2012-01-29 Chong Yidong <cyd@gnu.org>
17427
17428 * frame.el (window-system-default-frame-alist): Doc fix.
17429
17430 * dynamic-setting.el (font-setting-change-default-font): Don't
17431 change the default face if SET-FONT argument is non-nil (Bug#9982).
17432
17433 2012-01-29 Samuel Bronson <naesten@gmail.com>
17434
17435 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
17436
17437 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
17438
17439 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
17440 breakpoints in files outside current directory (Bug#6098).
17441
17442 2012-01-29 Chong Yidong <cyd@gnu.org>
17443
17444 * progmodes/python.el: Require ansi-color at top-level.
17445
17446 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
17447 Define and use in Emacs Lisp mode (Bug#9360).
17448 (lisp-mode-abbrev-table): Add doc.
17449 (lisp-mode-variables): Don't set local-abbrev-table.
17450 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
17451
17452 2012-01-28 Roland Winkler <winkler@gnu.org>
17453
17454 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
17455
17456 2012-01-28 Roland Winkler <winkler@gnu.org>
17457
17458 * textmodes/bibtex.el (bibtex-entry-alist): New function.
17459 (bibtex-set-dialect): Use it. Either set global values of
17460 dialect-dependent variables or bind these variables buffer-locally
17461 (Bug#10254).
17462 (bibtex-mode): Call bibtex-set-dialect via
17463 hack-local-variables-hook.
17464 (bibtex-dialect): Update docstring.
17465 Add safe-local-variable predicate.
17466 (bibtex-entry-alist, bibtex-field-alist): Initialize via
17467 bibtex-set-dialect.
17468 (bibtex-mode-map): Define menu for each dialect.
17469 (bibtex-entry): Fix docstring.
17470
17471 2012-01-28 Chong Yidong <cyd@gnu.org>
17472
17473 * eshell/esh-arg.el (eshell-quote-argument): New function.
17474
17475 * eshell/esh-ext.el (eshell-invoke-batch-file):
17476 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
17477 first arg to eshell-parse-command (Bug#10523).
17478
17479 2012-01-28 Drew Adams <drew.adams@oracle.com>
17480
17481 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
17482 `default-directory' is non-nil.
17483
17484 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17485
17486 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
17487 line that displays system-configuration-options. (Bug#9924)
17488
17489 2012-01-28 Drew Adams <drew.adams@oracle.com>
17490
17491 * descr-text.el (describe-char): Show information about POS, in
17492 addition to information about the character at POS. Improve and
17493 update the doc string. Change "code point" to "code point in
17494 charset", to avoid confusion with the character's Unicode code
17495 point shown above that. (Bug#10129)
17496
17497 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17498
17499 * descr-text.el (describe-char): Show the raw character, not only
17500 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
17501 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
17502 for the reasons.
17503
17504 2012-01-28 Phil Hagelberg <phil@hagelb.org>
17505
17506 * emacs-lisp/package.el (package-install):
17507 Run package-refresh-contents if there is no archive yet (Bug#9798).
17508
17509 2012-01-28 Chong Yidong <cyd@gnu.org>
17510
17511 * emacs-lisp/package.el (package-maybe-load-descriptor):
17512 New function, split from package-maybe-load-descriptor.
17513 (package-maybe-load-descriptor): Use it.
17514 (package-download-transaction): Fully load required packages
17515 inside the loop, so that `require' calls work (Bug#10593).
17516 (package-install): No need to call package-initialize now.
17517
17518 2012-01-28 Chong Yidong <cyd@gnu.org>
17519
17520 * simple.el (deactivate-mark): Doc fix (Bug#8614).
17521
17522 * tooltip.el (tooltip-mode): Doc fix.
17523 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
17524
17525 * frame.el (set-cursor-color): Doc fix (Bug#352).
17526
17527 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
17528 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
17529
17530 * cus-edit.el (custom-buffer-create-internal): Fix search button
17531 action (Bug#10542).
17532 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
17533
17534 2012-01-27 Eduard Wiebe <usenet@pusto.de>
17535
17536 * dired.el (dired-mark-files-regexp):
17537 Include any subdirectory components. (Bug#10445)
17538
17539 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
17540
17541 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
17542 Handle [host]:port syntax. (Bug#10533)
17543
17544 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
17545
17546 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
17547
17548 2012-01-26 Glenn Morris <rgm@gnu.org>
17549
17550 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
17551 * term.el (term-raw-escape-map): Use Control-X-prefix.
17552 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
17553
17554 2012-01-25 Martin Rudalics <rudalics@gmx.at>
17555
17556 * window.el (window-state-get, window--state-get-1): Don't deal
17557 with fixed-sizeness of windows. Simplify code.
17558
17559 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
17560
17561 * window.el (window--state-get-1, window--state-put-2):
17562 Don't save and restore the mark.
17563
17564 2012-01-25 Chong Yidong <cyd@gnu.org>
17565
17566 * custom.el (custom-variable-p): Doc fix.
17567
17568 2012-01-25 Glenn Morris <rgm@gnu.org>
17569
17570 * dired.el (dired-goto-file): Handle some of the more common
17571 characters that `ls -b' escapes. (Bug#10596)
17572
17573 * progmodes/compile.el (compilation-next-error-function):
17574 Respect compilation-first-column in the "*compilation*" buffer.
17575 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
17576
17577 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
17578
17579 2012-01-24 Glenn Morris <rgm@gnu.org>
17580
17581 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
17582
17583 2012-01-24 Julien Danjou <julien@danjou.info>
17584
17585 * color.el (color-rgb-to-hsl): Fix value computing.
17586 (color-hue-to-rgb): New function.
17587 (color-hsl-to-rgb): New function.
17588 (color-clamp, color-saturate-hsl, color-saturate-name)
17589 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
17590 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
17591
17592 2012-01-24 Glenn Morris <rgm@gnu.org>
17593
17594 * vc/vc-rcs.el (vc-rcs-create-tag):
17595 * vc/vc-sccs.el (vc-sccs-create-tag):
17596 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
17597
17598 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
17599
17600 * eshell/esh-util.el (eshell-read-hosts-file):
17601 Skip comment lines. (Bug#10549)
17602
17603 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
17604
17605 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
17606
17607 * subr.el (display-delayed-warnings): Doc fix.
17608 (collapse-delayed-warnings): New function to collapse identical
17609 adjacent warnings.
17610 (delayed-warnings-hook): Add it.
17611
17612 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
17613
17614 * net/tramp.el (tramp-action-login): Set connection property "login-as".
17615
17616 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
17617 (tramp-default-user-alist): Don't add "pscp".
17618 (tramp-do-copy-or-rename-file-out-of-band): Use connection
17619 property "login-as", if set. (Bug#10530)
17620
17621 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
17622
17623 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
17624 "plink1" and "psftp". (Bug#10530)
17625
17626 2012-01-21 Kenichi Handa <handa@m17n.org>
17627
17628 * international/mule-cmds.el (prefer-coding-system): Show a
17629 warning message if the default value of file-name-coding-system
17630 was not changed.
17631
17632 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17633
17634 * windmove.el (windmove-reference-loc):
17635 Fix windmove-reference-loc miscalculation.
17636
17637 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
17638
17639 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
17640 default unit.
17641
17642 2012-01-21 Glenn Morris <rgm@gnu.org>
17643
17644 * international/mule.el (auto-coding-alist): Add .tbz.
17645
17646 * files.el (local-enable-local-variables): Doc fix.
17647 (inhibit-local-variables-regexps): Rename from
17648 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
17649 Doc fix. Add some extensions from auto-coding-alist.
17650 (inhibit-local-variables-suffixes):
17651 Rename from inhibit-first-line-modes-suffixes. Doc fix.
17652 (inhibit-local-variables-p):
17653 New function, extracted from set-auto-mode-1.
17654 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
17655 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
17656 (hack-local-variables): Doc fix. Make the mode-only case
17657 respect enable-local-variables and friends.
17658 Respect inhibit-local-variables-regexps for file-locals, but
17659 not for directory-locals.
17660 (set-visited-file-name):
17661 Take account of inhibit-local-variables-regexps.
17662 Whether it applies may change as the file name is changed.
17663 * jka-cmpr-hook.el (jka-compr-install):
17664 * jka-compr.el (jka-compr-uninstall):
17665 Update for inhibit-first-line-modes-suffixes name change.
17666
17667 2012-01-20 Martin Rudalics <rudalics@gmx.at>
17668
17669 * help-macro.el (make-help-screen): Temporarily restore original
17670 binding for minor-mode-map-alist (Bug#10454).
17671
17672 2012-01-19 Julien Danjou <julien@danjou.info>
17673
17674 * color.el (color-name-to-rgb): Use the white color to find the max
17675 color component value and return correctly computed values.
17676 (color-name-to-rgb): Add missing float conversion for max value.
17677
17678 2012-01-19 Martin Rudalics <rudalics@gmx.at>
17679
17680 * window.el (window--state-get-1, window-state-get): Do not use
17681 special state value for window-persistent-parameters.
17682 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
17683 (window--state-put-2): Reset all window parameters to nil before
17684 assigning values of persistent parameters.
17685
17686 2012-01-18 Alan Mackenzie <acm@muc.de>
17687
17688 Eliminate sluggishness and hangs in fontification of "semicolon
17689 deserts".
17690
17691 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
17692 Change value 10000 -> 3000.
17693 (c-state-safe-place): Reformulate so it doesn't stack up an
17694 infinite number of wrong entries in c-state-nonlit-pos-cache.
17695 (c-determine-limit-get-base, c-determine-limit): New functions to
17696 determine backward search limits disregarding literals.
17697 (c-find-decl-spots): Amend commenting.
17698 (c-cheap-inside-bracelist-p): New function which detects "={".
17699
17700 * progmodes/cc-fonts.el
17701 (c-make-font-lock-BO-decl-search-function): Give a limit to a
17702 backward search.
17703 (c-font-lock-declarations): Fix an occurrence of point being
17704 undefined. Check additionally for point being in a bracelist or
17705 near a macro invocation without a semicolon so as to avoid a
17706 fruitless time consuming search for a declarator. Give a more
17707 precise search limit for declarators using the new
17708 c-determine-limit.
17709
17710 2012-01-18 Glenn Morris <rgm@gnu.org>
17711
17712 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
17713 (set-auto-mode): Doc fixes.
17714
17715 2012-01-17 Glenn Morris <rgm@gnu.org>
17716
17717 * isearch.el (search-nonincremental-instead): Fix doc typo.
17718
17719 * dired.el (dired-insert-directory): Handle newlines in directory name.
17720 (dired-build-subdir-alist): Unescape newlines in directory name.
17721
17722 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
17723
17724 * net/tramp.el (tramp-local-end-of-line): New defcustom.
17725 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
17726 (tramp-action-terminal): Use it. (Bug#10530)
17727
17728 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
17729
17730 * minibuffer.el (completion--replace): Strip properties (bug#10062).
17731
17732 2012-01-16 Martin Rudalics <rudalics@gmx.at>
17733
17734 * window.el (window-state-ignored-parameters): Remove variable.
17735 (window--state-get-1): Rename argument MARKERS to IGNORE.
17736 Handle persistent window parameters. Make copy of clone-of
17737 parameter only if requested. (Bug#10348)
17738 (window--state-put-2): Install a window parameter only if it has
17739 a non-nil value or an existing parameter shall be overwritten.
17740
17741 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
17742
17743 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
17744
17745 2012-01-14 Eli Zaretskii <eliz@gnu.org>
17746
17747 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
17748 don't pass the (nil) value of `upnode' to string-match.
17749
17750 2012-01-14 Chong Yidong <cyd@gnu.org>
17751
17752 * startup.el (command-line): Fix X resource class for cursorColor.
17753 Fix values recognized by the cursorBlink resource.
17754
17755 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
17756
17757 * epg.el (epg--make-temp-file): Avoid permission race condition
17758 when running on old Emacs versions (bug#10403).
17759
17760 2012-01-14 Glenn Morris <rgm@gnu.org>
17761
17762 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
17763
17764 2012-01-13 Alan Mackenzie <acm@muc.de>
17765
17766 Fix filling for when filladapt mode is enabled.
17767
17768 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
17769 c-mask-paragraph, pass in `fill-paragraph' rather than
17770 `fill-region-as-paragraph'. (This is a reversion of a previous
17771 change.)
17772 * progmodes/cc-mode.el (c-basic-common-init):
17773 Make fill-paragraph-handle-comment buffer local and set it to nil.
17774
17775 2012-01-13 Glenn Morris <rgm@gnu.org>
17776
17777 * dired.el (dired-switches-escape-p): New function.
17778 (dired-insert-directory): Use dired-switches-escape-p.
17779 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
17780
17781 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
17782
17783 2012-01-12 Glenn Morris <rgm@gnu.org>
17784
17785 * mail/sendmail.el (mail-mode): Update paragraph-separate for
17786 changes in adaptive-fill-regexp. (Bug#10276)
17787
17788 2012-01-11 Alan Mackenzie <acm@muc.de>
17789
17790 Fix Emacs bug #10463 - put `widen's around the critical spots.
17791
17792 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
17793 widen around each invocation of c-state-pp-to-literal. Remove an
17794 unused let variable.
17795
17796 2012-01-11 Glenn Morris <rgm@gnu.org>
17797
17798 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
17799 Doc fix.
17800
17801 2012-01-10 Chong Yidong <cyd@gnu.org>
17802
17803 * net/network-stream.el (network-stream-open-starttls):
17804 Avoid emitting a confusing error message when the server gives a bad
17805 response to the capability command.
17806
17807 2012-01-10 Glenn Morris <rgm@gnu.org>
17808
17809 * mail/unrmail.el (unrmail): Tweak previous change.
17810
17811 2012-01-09 Chong Yidong <cyd@gnu.org>
17812
17813 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
17814
17815 2012-01-08 Alan Mackenzie <acm@muc.de>
17816
17817 Optimize font locking in long enum definitions.
17818
17819 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
17820 arm to a cond form to handle enums.
17821 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
17822 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
17823
17824 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
17825
17826 * files.el (move-file-to-trash): Preserve default file modes on error.
17827 (Bug#10401)
17828
17829 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17830
17831 * faces.el (set-face-attribute): Clarify the meaning of the nil
17832 frame (bug#10294).
17833
17834 * subr.el (with-selected-frame): Mention that the selected frame
17835 is restored (bug#9980).
17836
17837 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
17838 (bug#9759).
17839
17840 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
17841 (password-read): Don't autoload unused function.
17842
17843 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
17844
17845 * progmodes/which-func.el (which-func-mode): Turn into a
17846 non-interactive function and mark as obsolete (bug#10428).
17847
17848 2012-01-06 Chong Yidong <cyd@gnu.org>
17849
17850 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
17851 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
17852 functions, along with 1 and -1.
17853
17854 2012-01-06 Eli Zaretskii <eliz@gnu.org>
17855
17856 * time.el (display-time-load-average)
17857 (display-time-default-load-average): Doc fixes. See the thread
17858 starting at
17859 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
17860 for the details.
17861
17862 2012-01-06 Glenn Morris <rgm@gnu.org>
17863
17864 * mail/unrmail.el (unrmail): Give an explicit error if the input file
17865 has no messages. (Bug#10377)
17866
17867 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
17868 than Info-edit. (Bug#10385)
17869
17870 * time.el (display-time-load-average, display-time-next-load-average):
17871 Doc fixes.
17872
17873 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
17874 local setting of buffer-read-only to the input buffer. (Bug#10419)
17875
17876 * calendar/calendar.el (calendar-mode):
17877 Locally set scroll-margin to 0. (Bug#10379)
17878
17879 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
17880
17881 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
17882
17883 2012-01-05 Glenn Morris <rgm@gnu.org>
17884
17885 * eshell/em-unix.el (diff-no-select): Autoload it.
17886 (eshell/diff): Use diff-no-select. (Bug#10420)
17887
17888 2012-01-05 Chong Yidong <cyd@gnu.org>
17889
17890 * shell.el (shell-dynamic-complete-functions): Revert last change.
17891 (shell-command-completion-function): New function.
17892 (shell-completion-vars): Use it to implement
17893 shell-completion-execonly (Bug#10417).
17894
17895 * custom.el (enable-theme): Don't set custom-safe-themes.
17896
17897 * cus-theme.el (custom-theme-merge-theme):
17898 Ignore custom-enabled-themes and custom-safe-themes.
17899
17900 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
17901
17902 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
17903 first prompt in `sql-interacive-mode'.
17904 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
17905 keywords.
17906 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
17907 (sql-product-interactive): Bug fix: Set `sql-buffer' in
17908 context of original buffer. Invoke `sql-login-hook'.
17909
17910 2012-01-04 Eli Zaretskii <eliz@gnu.org>
17911
17912 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
17913 letters in cite-prefix.
17914
17915 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17916
17917 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
17918
17919 2012-01-03 Chong Yidong <cyd@gnu.org>
17920
17921 * shell.el (shell-dynamic-complete-functions):
17922 Put pcomplete-completions-at-point, so as to try
17923 comint-filename-completion first (Bug#10417).
17924
17925 2012-01-02 Richard Stallman <rms@gnu.org>
17926
17927 * battery.el (battery-status-function):
17928 Detect when to use battery-yeeloong-sysfs.
17929 (battery-echo-area-format): Add string for Yeeloong.
17930 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
17931 (battery-yeeloong-sysfs): New function.
17932
17933 2012-01-02 Chong Yidong <cyd@gnu.org>
17934
17935 * dirtrack.el (dirtrack-list): Eliminate unused third element.
17936 (dirtrack): Merge code for handling relative filenames in prompt
17937 from shell-dir-cookie-watcher.
17938 (dirtrack-debug-message): New arg to avoid excess format calls.
17939
17940 * shell.el (shell-dir-cookie-re): Variable deleted.
17941 (shell-dir-cookie-watcher): Function deleted.
17942 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
17943 with dirtrack-mode.
17944
17945 2012-01-01 Eli Zaretskii <eliz@gnu.org>
17946
17947 * term/w32-win.el (dynamic-library-alist) <gnutls>:
17948 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
17949 libgnutls-26.dll.
17950
17951 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
17952
17953 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
17954
17955 2011-12-31 Eli Zaretskii <eliz@gnu.org>
17956
17957 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
17958 headers of non-MIME messages, when rmail-enable-mime is non-nil.
17959
17960 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
17961
17962 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
17963 also for alternative shells.
17964 (tramp-open-connection-setup-interactive-shell): Check, whether
17965 the shell is a busybox.
17966 (tramp-send-command): Don't suppress multiple prompts for
17967 busyboxes, it hurts.
17968
17969 2011-12-28 Chong Yidong <cyd@gnu.org>
17970
17971 * progmodes/gdb-mi.el (gdb-get-source-file-list)
17972 (gdb-get-source-file): Move mode line update to
17973 gdb-get-source-file (Bug#10087).
17974
17975 2011-12-25 Chong Yidong <cyd@gnu.org>
17976
17977 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
17978 gud-gdb-marker-filter without taking it as an argument.
17979 (gud-gdb-run-command-fetch-lines): Caller changed.
17980 (gud-gdb-completion-function): New variable.
17981 (gud-gdb-completion-at-point): Use it.
17982 (gud-gdb-completions-1): Split from gud-gdb-completions.
17983
17984 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
17985 function as separate arguments.
17986 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
17987 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
17988 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
17989 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
17990 (gdb-stopped, def-gdb-auto-update-trigger)
17991 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
17992 (gdb-get-changed-registers, gdb-get-main-selected-frame):
17993 Callers changed.
17994 (gud-gdbmi-completions): New function.
17995 (gdb): Use it for generating the completion table.
17996
17997 2011-12-24 Alan Mackenzie <acm@muc.de>
17998
17999 Introduce a mechanism to widen the region used in context font
18000 locking. Use this to protect declarations from losing their contexts.
18001
18002 * progmodes/cc-langs.el (c-before-font-lock-functions):
18003 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
18004 (c-before-context-fontification-functions): New defvar, a list of
18005 functions to be run just before context (etc.) font locking.
18006
18007 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
18008 New, functionality extracted from
18009 c-neutralize-syntax-in-and-mark-CPP.
18010 (c-in-after-change-fontification): New variable.
18011 (c-after-change): Set c-in-after-change-fontification.
18012 (c-set-fl-decl-start): Rejig its interface, so it can be called
18013 from both after-change and context fontifying.
18014 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
18015 New functions.
18016 (c-standard-font-lock-fontify-region-function): New variable.
18017 (c-font-lock-fontify-region): New function.
18018
18019 2011-12-24 Juri Linkov <juri@jurta.org>
18020
18021 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
18022 (Bug#10348)
18023
18024 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
18025
18026 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
18027 existence of source file. (Bug#10325)
18028
18029 2011-12-23 Alan Mackenzie <acm@muc.de>
18030
18031 Fix unstable fontification inside templates.
18032
18033 * progmodes/cc-langs.el (c-before-font-lock-functions):
18034 Newly created from the singular version. The (c c++ objc) entry now
18035 additionally has c-set-fl-decl-start. The other languages (apart
18036 from AWK) have that as a single entry.
18037
18038 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18039 The functionality for "local" declarations has been extracted to
18040 c-set-fl-decl-start.
18041
18042 * progmodes/cc-mode.el (c-common-init, c-after-change):
18043 Changes due to pluralisation of c-before-font-lock-functions.
18044 (c-set-fl-decl-start): New function, extracted from
18045 c-font-lock-enclosing-decls and enhanced.
18046
18047 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
18048
18049 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
18050
18051 2011-12-22 Juri Linkov <juri@jurta.org>
18052
18053 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
18054
18055 2011-12-22 Chong Yidong <cyd@gnu.org>
18056
18057 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
18058
18059 2011-12-21 Drew Adams <drew.adams@oracle.com>
18060
18061 * files.el (file-remote-p): Fix docstring. (Bug#10319)
18062
18063 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
18064
18065 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
18066
18067 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
18068
18069 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
18070 highlighting and support. Fix up comments for capitalization.
18071 (cfengine-mode-debug): New var.
18072 (cfengine3-mode): Change the modeline indicator to "CFE3".
18073 (cfengine3-font-lock-keywords): Improve defun highlighting.
18074 (cfengine2-actions): Rename from `cfengine-actions'.
18075 (cfengine2-font-lock-keywords): Rename from
18076 `cfengine-font-lock-keywords'.
18077 (cfengine2-imenu-expression): Rename from
18078 `cfengine-imenu-expression'.
18079 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
18080 (cfengine2-beginning-of-defun): Rename from
18081 `cfengine-beginning-of-defun'.
18082 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
18083 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
18084 (cfengine2-mode): Rename from `cfengine-mode'. Change the
18085 modeline indicator to "CFE2".
18086 (cfengine-mode): Defalias to `cfengine-auto-mode'.
18087 (cfengine-mode-abbrevs): Mark obsolete.
18088
18089 2011-12-21 Chong Yidong <cyd@gnu.org>
18090
18091 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
18092 filename argument.
18093
18094 2011-12-20 Martin Rudalics <rudalics@gmx.at>
18095
18096 * window.el (window-normalize-buffer-to-display): Remove.
18097 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
18098
18099 2011-12-19 Chong Yidong <cyd@gnu.org>
18100
18101 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
18102 Don't signal an error in a predicate function; return non-nil.
18103 (vc-dir-mark-file): Move the error here.
18104 (vc-dir-mark-unmark): If acting on the region, keep going if one
18105 of the entries cannot be marked/unmarked.
18106 (vc-dir-mark-all-files): If current entry is a directory, mark
18107 only child files, as documented.
18108
18109 2011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
18110
18111 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
18112 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
18113 addition.
18114
18115 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
18116
18117 * term/ns-win.el (ns-get-selection-internal)
18118 (ns-store-selection-internal): Declare.
18119 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
18120 Declare as obsolete.
18121 (ns-get-pasteboard, ns-paste-secondary):
18122 Use ns-get-selection-internal.
18123 (ns-set-pasteboard, ns-copy-including-secondary):
18124 Use ns-store-selection-internal.
18125
18126 2011-12-17 Chong Yidong <cyd@gnu.org>
18127
18128 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
18129 (vc-deduce-fileset): Doc fix.
18130
18131 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
18132
18133 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
18134
18135 2011-12-13 Sam Steingold <sds@gnu.org>
18136
18137 * man.el (Man-getpage-in-background): When running under a
18138 window-system, ignore $MANWIDTH and $COLUMNS.
18139
18140 2011-12-15 Kenichi Handa <handa@m17n.org>
18141
18142 * language/ethio-util.el: Change coding tag to utf-8-emacs.
18143 (setup-ethiopic-environment-internal): Comment out key-binding for
18144 ethio-toggle-punctuation.
18145
18146 2011-12-13 Alan Mackenzie <acm@muc.de>
18147
18148 Add the switch statement to AWK Mode.
18149
18150 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
18151 "default" to the keywords regexp.
18152
18153 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
18154 expression as the rest.
18155 (c-nonlabel-token-key): Allow string literals for AWK.
18156 Refactor for the other modes.
18157
18158 Large brace-block initialisation makes CC Mode slow: Fix.
18159 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
18160 routines. Limit backward searching in c-font-lock-enclosing.decl.
18161
18162 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
18163 pp-state and literal type in addition to the limits.
18164 (c-state-safe-place): New defun, extracted from c-state-literal-at.
18165 (c-state-literal-at): Use the above new defun.
18166 (c-slow-in-literal, c-fast-in-literal): Remove.
18167 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
18168
18169 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
18170 being in a literal. Add a limit for backward searching.
18171
18172 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
18173 c-slow-in-literal.
18174
18175 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
18176
18177 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
18178
18179 2011-12-13 Martin Rudalics <rudalics@gmx.at>
18180
18181 * window.el (delete-other-windows): Use correct frame in call to
18182 window-with-parameter.
18183
18184 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
18185
18186 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
18187 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
18188 (makefile-gmake-statements, makefile-makepp-statements):
18189 Use it and add new makepp keywords.
18190 (makefile-makepp-font-lock-keywords): Add new patterns.
18191 (makefile-match-function-end): Match new [...] and [[...]].
18192
18193 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
18194
18195 * ses.el (ses-call-printer-return, ses-cell-property-get)
18196 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
18197 (ses-create-cell-variable, ses-reset-header-string)
18198 (ses-cell-set-formula, ses-repair-cell-reference-all)
18199 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
18200 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
18201 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
18202 (ses-aset-with-undo, ses-load, ses-truncate-cell)
18203 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
18204 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
18205 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
18206 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
18207 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
18208 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
18209 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
18210 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
18211
18212 2011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
18213
18214 * ses.el: The overall change is to add cell renaming, that is
18215 setting fancy names for cell symbols other than name matching
18216 "\\`[A-Z]+[0-9]+\\'" regexp .
18217 (ses-create-cell-variable): New defun.
18218 (ses-relocate-formula): Relocate formulas only for cells the
18219 symbols of which are not renamed, i.e. symbols whose names do not
18220 match regexp "\\`[A-Z]+[0-9]+\\'".
18221 (ses-relocate-all): Relocate values only for cells the symbols of
18222 which are not renamed.
18223 (ses-load): Create cells variables as the (ses-cell ...) are read,
18224 in order to check row col consistency with cell symbol name only
18225 for cells that are not renamed.
18226 (ses-replace-name-in-formula): New defun.
18227 (ses-rename-cell): New defun.
18228
18229 2011-12-11 Chong Yidong <cyd@gnu.org>
18230
18231 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
18232 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
18233
18234 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
18235
18236 * window.el (other-window): Fix docstring.
18237
18238 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18239
18240 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
18241 `from' or `to' address before taking its substring.
18242 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
18243 encoded name is chopped in the middle of the encoded string, and
18244 thus displayed encoded.
18245
18246 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
18247
18248 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
18249
18250 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18251
18252 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
18253 to use texinfo-update-node and commands that call it if the
18254 Texinfo file uses @node lines without next/prev/up pointers.
18255 Correct outdated description about texinfo-master-menu.
18256 (texinfo-all-menus-update, texinfo-master-menu)
18257 (texinfo-update-node, texinfo-every-node-update)
18258 (texinfo-multiple-files-update): Doc fix. Warn against updating
18259 all the @node lines.
18260 (texinfo-master-menu): Only call texinfo-update-node if the prefix
18261 argument is numeric. Explain better in the doc string what the
18262 function really does.
18263 (texinfo-insert-master-menu-list): Improve the error message
18264 displayed if there's no menu in the Top node.
18265 (Bug#2975) See also this thread:
18266 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
18267
18268 2011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
18269
18270 * speedbar.el (speedbar-supported-extension-expressions):
18271 Add .adb and .ads, commonly used for Ada source code (bug#10256).
18272
18273 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
18274
18275 * printing.el (pr-mode-alist):
18276 * simple.el (filter-buffer-substring-functions)
18277 (completion-list-insert-choice-function):
18278 * window.el (window-with-parameter, window-atom-root)
18279 (window-sides-slots, window-size-fixed, window-min-delta)
18280 (window-max-delta, window--resize-mini-window)
18281 (window--resize-child-windows-normal, window-tree)
18282 (delete-other-windows, quit-window, split-window)
18283 (display-buffer-record-window, special-display-buffer-names)
18284 (special-display-regexps, special-display-popup-frame)
18285 (same-window-p, split-window-sensibly)
18286 (display-buffer-overriding-action, display-buffer-alist)
18287 (display-buffer-base-action, display-buffer, switch-to-buffer)
18288 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
18289 (fit-window-to-buffer, recenter-positions)
18290 (mouse-autoselect-window-state, mouse-autoselect-window-select):
18291 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
18292 and remove unneeded backslashes in docstrings.
18293
18294 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
18295
18296 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
18297
18298 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
18299 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
18300 end in ".mk".
18301 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
18302 when reading the makefile (bug#10116).
18303
18304 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
18305
18306 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
18307 (bug#10116).
18308
18309 2011-12-06 Glenn Morris <rgm@gnu.org>
18310
18311 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
18312
18313 2011-12-06 Chong Yidong <cyd@gnu.org>
18314
18315 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
18316
18317 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
18318
18319 * textmodes/table.el (table-shorten-cell): Fix typo.
18320
18321 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
18322
18323 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
18324
18325 2011-12-05 Eli Zaretskii <eliz@gnu.org>
18326
18327 * descr-text.el (describe-char): Fix display of strong
18328 right-to-left characters and directional embeddings and overrides.
18329
18330 * simple.el (what-cursor-position): Fix display of codepoints of
18331 strong right-to-left characters.
18332
18333 2011-12-05 Chong Yidong <cyd@gnu.org>
18334
18335 * faces.el (read-color): Doc fix.
18336
18337 2011-12-05 Glenn Morris <rgm@gnu.org>
18338
18339 * align.el (align--set-marker): Add doc-string.
18340 Don't try to move something that is not a marker. (Bug#10216)
18341
18342 2011-12-04 Glenn Morris <rgm@gnu.org>
18343
18344 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
18345 overly zealous deletion of trailing whitespace.
18346
18347 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
18348
18349 * server.el (server-delete-client): On Windows, do not try to delete
18350 the only terminal.
18351 (server-process-filter): On Windows, treat requests for a tty frame as
18352 if they were for a GUI frame if the running server is in GUI mode.
18353
18354 2011-12-03 Glenn Morris <rgm@gnu.org>
18355
18356 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
18357
18358 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
18359
18360 * electric.el: Streamline electric-indent's hook.
18361 (electric-indent-chars): Revert to simple list.
18362 (electric-indent-functions): New var.
18363 (electric-indent-post-self-insert-function): Use it.
18364
18365 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
18366 there's no inferior buffer (bug#10196).
18367 (prolog-consult-compile): Don't use toggle-read-only.
18368
18369 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
18370
18371 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
18372 interrupt. (Bug#10187)
18373
18374 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
18375
18376 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
18377 (bug#9160).
18378
18379 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
18380 (bug#10191).
18381
18382 2011-12-02 Juri Linkov <juri@jurta.org>
18383
18384 * info.el (Info-search): Display "end of manual" when Isearch
18385 reaches the end of single-file Info manual. (Bug#9918)
18386
18387 2011-12-02 Eli Zaretskii <eliz@gnu.org>
18388
18389 * isearch.el (isearch-message-prefix): Run the input method part
18390 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
18391
18392 2011-12-02 Juri Linkov <juri@jurta.org>
18393
18394 * isearch.el (isearch-occur): Use `word-search-regexp' for
18395 `isearch-word'.
18396 (isearch-search-and-update): Add condition for `isearch-word' and
18397 call `word-search-regexp'. (Bug#10145)
18398
18399 2011-12-01 Glenn Morris <rgm@gnu.org>
18400
18401 * eshell/em-hist.el (eshell-hist-initialize):
18402 Handle eshell-history-size nil and HISTSIZE set or unset.
18403 (eshell-history-file-name, eshell-history-size): Fix custom type.
18404
18405 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
18406
18407 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
18408
18409 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
18410
18411 * progmodes/verilog-mode.el (verilog-pretty-expr):
18412 Rework verilog-pretty-expr to handle new assignment operators in system
18413 verilog, such as += *= and the like.
18414 (verilog-assignment-operator-re): Regular expression to find the
18415 assigment operator in a verilog assignment.
18416 (verilog-assignment-operation-re): Regular expression to find an
18417 assignment statement for pretty-expr.
18418 (verilog-in-attribute-p): Query returns true if point is in an
18419 attribute context; used to skip these for expression line up from
18420 pretty-expr.
18421 (verilog-in-parameter-p): Query returns true if point is in an
18422 parameter definition context; used to skip these for expression
18423 line up from pretty-expr.
18424 (verilog-in-parenthesis-p): Query returns true if point is in a
18425 parenthetical expression, specifically ( ) but not [ ] or { };
18426 used by pretty-expr.
18427 (verilog-just-one-space): If there is no space, don't add one.
18428 (verilog-get-lineup-indent-2): Specifically skip just attribute
18429 contexts for expression lineup, rather than skipping all
18430 parenthetical expressions.
18431 (verilog-calculate-indent): Fix comment, and fix indent.
18432 (verilog-do-indent): Indent declarations in lists (suggested by
18433 Joachim Lechner).
18434 (verilog-mode-abbrev-table): Populate abbrev mode with the various
18435 skeleton items.
18436 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
18437 by Alain Mellan).
18438
18439 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
18440
18441 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
18442 parameters with embedded comments. Reported by Ray Stevens.
18443 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
18444 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
18445 Reported by Tim Holt.
18446 (verilog-auto): Fix AUTOing a upper module then AUTOing module
18447 instantiated by upper module causing wrong expansion until AUTOed a
18448 second time. Reported by K C Buckenmaier.
18449 (verilog-diff-auto): Fix showing .* as a difference when
18450 `verilog-auto-star-save' off. Reported by Dan Dever.
18451 (verilog-auto-reset, verilog-read-always-signals)
18452 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
18453 temporary signals in reset list if
18454 verilog-auto-reset-blocking-in-non is nil, and match assignment
18455 style to each signal's assignment type, bug381.
18456 Reported by Thomas Esposito.
18457 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
18458 (verilog-uvm-statement-re): Support UVM indentation and
18459 highlighting, with old OVM keywords only.
18460 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
18461 Support AUTOTIEOFF creating non-wire data types.
18462 Suggested by Jonathan Greenlaw.
18463 (verilog-auto-insert-lisp, verilog-delete-to-paren)
18464 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
18465 (verilog-inject-sense, verilog-read-inst-pins)
18466 (verilog-read-sub-decls, verilog-read-sub-decls-line):
18467 Fix mismatching parenthesis inside commented out code when deleting
18468 AUTOINST, bug383. Reported by Jonathan Greenlaw.
18469 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
18470 non-numeric vector width. Reported by Alex Reed.
18471 (verilog-auto-ascii-enum): Add "onehot" option to work around not
18472 detecting signals with parameter widths. Reported by Alex Reed.
18473 (verilog-auto-delete-trailing-whitespace):
18474 With `verilog-auto-delete-trailing-whitespace' remove trailing
18475 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
18476 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
18477 Fix verilog-scan-cache corruption when running user AUTO expansion
18478 hooks that call indentation routines.
18479 (verilog-simplify-range-expression): Fix typo ignoring lower case
18480 identifiers.
18481 (verilog-delete-auto): Fix delete-autos to also remove user created
18482 automatics, as long as they start with AUTO.
18483 (verilog-batch-diff-auto, verilog-diff-auto)
18484 (verilog-diff-function): Add `verilog-diff-auto' and bind to
18485 "C-c?" to report differences in AUTO expansion, ignoring spaces.
18486 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
18487 (verilog-in-paren-quick, verilog-re-search-backward-quick)
18488 (verilog-re-search-forward-quick, verilog-syntax-ppss):
18489 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
18490 is disabled and its cache will get corrupt, causing AUTOS not to
18491 expand. Instead use only -quick functions.
18492 (verilog-scan-region): Fix scanning over escaped quotes.
18493 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
18494 (verilog-re-search-backward-quick)
18495 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
18496 related functions now ignore strings, to fix misparsing of strings
18497 with magic comments embedded in them.
18498 (verilog-read-auto-template):
18499 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
18500 Reported by Brad Dobbie.
18501 (verilog-read-auto-template):
18502 Fix 'verilog-auto-inst-template-numbers' with comments.
18503 Reported by Brad Dobbie.
18504 (verilog-auto-inst, verilog-auto-inst-param)
18505 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
18506 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
18507 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
18508 debugging templates without merge conflicts, bug357.
18509 Reported by Brad Dobbie.
18510 (verilog-read-auto-template):
18511 Fix verilog-auto-inst-template-numbers with multiple templates.
18512 Reported by Brad Dobbie.
18513 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
18514 abbrevs so user won't be asked to save.
18515 (verilog-read-auto-lisp-present): Fix to start at beginning of
18516 buffer in case called outside of verilog-auto.
18517 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
18518 to "X-2". Reported by Matthew Myers.
18519 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
18520 all inputs from module templates. Reported by Leith Johnson.
18521 (verilog-module-inside-filename-p): Fix locating programs as with
18522 modules.
18523 (verilog-auto-inst-port): Fix vl-width expressions when using
18524 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
18525 (verilog-decls-get-regs, verilog-decls-get-signals,
18526 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
18527 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
18528 verilog-read-decls): Combine reg and wire structures into one var
18529 structure to represent SystemVerilog concepts.
18530 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
18531 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
18532 (verilog-auto-wire-type, verilog-insert-definition):
18533 Add verilog-auto-wire-type and AUTOLOGIC to support using
18534 SystemVerilog "logic" keyword instead of "wire"/"reg".
18535 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
18536 to declares outputs that also have assignments (presumably in an
18537 ifdef or generate if so there's not a driver conflict).
18538 Reported by Matthew Myers.
18539 (verilog-auto-declare-nettype, verilog-insert-definition):
18540 Add verilog-auto-declare-nettype to fix declarations using
18541 `default_nettype none. Reported by Julian Gorfajn.
18542 (verilog-read-always-signals-recurse, verilog-read-decls)
18543 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
18544 malformed end statement, bug325. Reported by Joshua Wise and
18545 Andrew Drake.
18546 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
18547 (verilog-inst-comment-re): Fix not deleting Interfaced comment
18548 when expanding .* in interfaces, bug320.
18549 Reported by Pierre-David Pfister.
18550 (verilog-read-module-name): Fix import statements between module
18551 name and open parenthesis, bug317.
18552 Reported by Pierre-David Pfister.
18553 (verilog-simplify-range-expression): Fix simplification of
18554 multiplications inside AUTOWIRE connections, bug303.
18555 (verilog-auto-inst-port): Support parameter expansion in
18556 multidimensional arrays.
18557 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
18558 after "assert property". Reported by Julian Gorfajn.
18559 (verilog-simplify-range-expression): Fix "couldn't merge" errors
18560 with multiplication, bug303.
18561 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
18562 Reported by Jan Frode Lonnum.
18563
18564 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
18565
18566 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
18567 (hfy-shell-file-name, hfy-shell):
18568 * international/fontset.el (x-decompose-font-name): Fix typos.
18569
18570 2011-11-29 Ken Brown <kbrown@cornell.edu>
18571
18572 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
18573 (gdb-version): Remove defvar.
18574 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
18575 (gdb-gud-context-command, gdb-non-stop-handler)
18576 (gdb-current-context-command, gdb-stopped): Use it.
18577 (gdb-init-1): Enable pretty printing here.
18578 (gdb-non-stop-handler): Don't enable pretty-printing here.
18579 Check to see if the target supports non-stop mode; if not, turn off
18580 non-stop mode. Use the following.
18581 (gdb-check-target-async): New defun.
18582 (gud-watch, gdb-stopped): Fix whitespace.
18583 (gdb-get-source-file): Don't try to display the source file if
18584 `gdb-main-file' is nil.
18585
18586 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18587
18588 * align.el: Try to generate fewer markers (bug#10047).
18589 (align--set-marker): New macro.
18590 (align-region): Use it.
18591
18592 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18593
18594 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
18595
18596 2011-11-29 Chong Yidong <cyd@gnu.org>
18597
18598 * indent.el (indent-for-tab-command, indent-according-to-mode):
18599 Doc fix.
18600 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
18601
18602 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
18603
18604 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
18605 aware of remote file names. (Bug#10124)
18606
18607 2011-11-29 Chong Yidong <cyd@gnu.org>
18608
18609 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
18610
18611 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
18612
18613 * files.el (find-file): Don't use force-same-window (bug#10144).
18614 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
18615 use pop-to-buffer if the selected window can't be used.
18616 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
18617
18618 2011-11-28 Eli Zaretskii <eliz@gnu.org>
18619
18620 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
18621 special-mode-map.
18622
18623 2011-11-28 Chong Yidong <cyd@gnu.org>
18624
18625 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
18626
18627 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
18628
18629 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
18630 gdb-get-source-file-list on gdb-create-source-file-list.
18631
18632 2011-11-26 Eli Zaretskii <eliz@gnu.org>
18633
18634 * whitespace.el (whitespace-newline): Use a different foreground
18635 color for 16-color light-background displays.
18636
18637 2011-11-24 Chong Yidong <cyd@gnu.org>
18638
18639 * window.el (display-buffer--special-action): Doc fix.
18640
18641 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
18642
18643 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
18644 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
18645 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
18646 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
18647 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
18648 (avl-tree-stack-first):
18649 * emacs-lisp/cconv.el (cconv--analyse-use):
18650 * net/gnutls.el (gnutls-negotiate): Fix typos.
18651
18652 2011-11-24 Glenn Morris <rgm@gnu.org>
18653
18654 * lpr.el (lpr-windows-system, lpr-lp-system):
18655 * mail/binhex.el (binhex-begin-line):
18656 * progmodes/grep.el (grep-history, grep-find-history):
18657 * textmodes/flyspell.el:
18658 * vc/pcvs-defs.el (cvs-global-menu):
18659 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
18660 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
18661 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
18662
18663 * net/tls.el: Fix case of "GnuTLS".
18664
18665 * paths.el (rmail-file-name): Format doc-string for make-docfile.
18666
18667 * version.el (emacs-build-system): Give it a doc-string.
18668
18669 2011-11-24 Juri Linkov <juri@jurta.org>
18670
18671 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
18672
18673 2011-11-24 Glenn Morris <rgm@gnu.org>
18674
18675 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
18676 if called on a non-mime message just toggle the headers. (Bug#8006)
18677
18678 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
18679
18680 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
18681 (allout-lead-with-comment-string, allout-structure-deleted-hook)
18682 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
18683 (allout-rebullet-heading, allout-open-sibtopic)
18684 (allout-toggle-current-subtree-encryption)
18685 (allout-toggle-subtree-encryption, allout-encrypt-string)
18686 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
18687 (allout-distinctive-bullets-string, allout-auto-activation):
18688 * window.el (window-normalize-buffer-to-display):
18689 * progmodes/verilog-mode.el (verilog-batch-indent):
18690 * textmodes/bibtex.el (bibtex-field-braces-opt)
18691 (bibtex-field-strings-opt):
18692 * vc/cvs-status.el (cvs-tree-merge):
18693 Fix typos.
18694
18695 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
18696
18697 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
18698 `non-essential' to t, in order to avoid remote connections.
18699
18700 2011-11-23 Eli Zaretskii <eliz@gnu.org>
18701
18702 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18703 On MS-DOS and MS-Windows, compare with loaddefs.el
18704 case-insensitively.
18705
18706 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18707
18708 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
18709
18710 2011-11-23 Glenn Morris <rgm@gnu.org>
18711
18712 * paths.el (rmail-file-name): Reformat the doc-string so that it
18713 is picked up.
18714
18715 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
18716 (rmail-auto-file): Ignore case in the "special" field names,
18717 as mail-fetch-field does for all others.
18718
18719 * mail/rmail.el (rmail-forward):
18720 * mail/rmailkwd.el (rmail-set-label):
18721 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
18722 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
18723
18724 * mail/rmail.el (rmail-current-message): Doc fix.
18725
18726 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
18727
18728 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
18729
18730 * server.el (server-eval-and-print): Allow C-g (bug#6585).
18731
18732 2011-11-22 Glenn Morris <rgm@gnu.org>
18733
18734 * mail/rmailmm.el (test-rmail-mime-handler)
18735 (test-rmail-mime-bulk-handler)
18736 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
18737
18738 2011-11-21 Juri Linkov <juri@jurta.org>
18739
18740 * calc/calc.el (calc-read-key-sequence):
18741 Let-bind `input-method-function' to nil. (Bug#10018)
18742
18743 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18744
18745 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
18746 Tell the caller that the next line needs recomputation, even
18747 though it doesn't start a sexp (bug#10094).
18748
18749 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
18750
18751 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
18752
18753 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18754
18755 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18756 Use force-same-window.
18757
18758 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18759
18760 * descr-text.el (describe-char-unicode-data):
18761 * json.el (json-string-escape):
18762 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
18763 (Footnote-unicode, Footnote-style-p):
18764 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
18765
18766 2011-11-20 Chong Yidong <cyd@gnu.org>
18767
18768 * window.el (replace-buffer-in-windows): Restore interactive spec.
18769
18770 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18771
18772 * electric.el (electric-indent-mode): Fix last change (too optimistic).
18773
18774 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
18775 (byte-compile-global-not-obsolete-vars): New var.
18776 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
18777 Use it.
18778 (byte-compile-warn-obsolete): Align text with the one in *Help*.
18779
18780 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18781
18782 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
18783 * progmodes/pascal.el (electric-pascal-equal):
18784 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
18785 * xml.el (xml-substitute-special): Fix typos.
18786
18787 2011-11-20 Glenn Morris <rgm@gnu.org>
18788
18789 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
18790 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
18791 Doc fixes.
18792 (rmail-decode-mime-charset): Mark as obsolete.
18793
18794 * mail/rmailsum.el (rmail-message-regexp-p-1):
18795 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
18796 Before using mime functions, check they are set. (Bug#10077)
18797
18798 2011-11-19 Juri Linkov <juri@jurta.org>
18799
18800 * info.el (Info-finder-find-node): Use `package--builtins' instead
18801 of `package-alist'. Use node names formed by the pattern "Keyword "
18802 and the keyword name.
18803
18804 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18805
18806 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
18807
18808 2011-11-19 Juri Linkov <juri@jurta.org>
18809
18810 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
18811 that calls `revert-buffer' on all Info buffers. (Bug#9915)
18812 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
18813 `old-history', `old-history-forward'. Add let-binding
18814 `window-selected'. Remove calls to `kill-buffer',
18815 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
18816 before calling `Info-find-node', so `Info-find-node-2' will reread
18817 the Info file. Restore window positions only when `window-selected'
18818 is non-nil.
18819
18820 2011-11-19 Juri Linkov <juri@jurta.org>
18821
18822 * isearch.el (isearch-lazy-highlight-new-loop):
18823 Remove condition `(not isearch-error)'. (Bug#9918)
18824
18825 * misearch.el (multi-isearch-search-fun): Add condition
18826 `(not bound)' to ignore lazy-highlighting search.
18827 Add the search-failed message "end of multi" when the end of
18828 multi-sequence is reached. Uncapitalize the search-failed
18829 message "Repeat for next buffer".
18830
18831 * info.el (Info-search): Add the search-failed message
18832 "end of the manual" when the end of the manual is reached
18833 in Isearch mode.
18834
18835 2011-11-19 Juri Linkov <juri@jurta.org>
18836
18837 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
18838 Use non-destructive `remove' instead of `delete' because
18839 `Info-history-list' stored to `Info-isearch-initial-history-list' in
18840 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
18841
18842 2011-11-19 Juri Linkov <juri@jurta.org>
18843
18844 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
18845 to nil instead of binding `search-ring' and `regexp-search-ring'.
18846 (Bug#9185)
18847
18848 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18849
18850 * simple.el (line-move): Force movement by logical lines for any
18851 hscrolled window, not only when auto-hscroll-mode is on.
18852 (line-move-visual): Update doc string to that effect. (Bug#10076)
18853
18854 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18855
18856 * language/european.el (macintosh): Define as alias for mac-roman.
18857
18858 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18859
18860 * mail/rmailmm.el (rmail-mime-display-header)
18861 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
18862 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
18863 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
18864 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
18865 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
18866 of a raw aref.
18867 (rmail-mime-entity-segment): To get past the tagline, move forward
18868 2 more lines, to account for the 2 empty lines that precede and
18869 follow the line with the buttons.
18870 (rmail-mime-update-tagline): Move one more line, to get past the
18871 empty line that follows the buttons in the tagline. (Bug#9520)
18872
18873 2011-11-19 Martin Rudalics <rudalics@gmx.at>
18874
18875 * window.el (window-max-delta-1, window-min-delta-1)
18876 (window-min-size-1, window-state-get-1, window-state-put-1)
18877 (window-state-put-2): Use "window--" prefix.
18878
18879 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
18880
18881 * emacs-lisp/smie.el: Improve warnings and conflict detection.
18882 (smie-warning-count): New var.
18883 (smie-set-prec2tab): Use it.
18884 (smie-bnf->prec2): Improve warnings. Add docstring.
18885 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
18886 (smie-bnf--set-class): New function.
18887 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
18888 corner case.
18889
18890 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
18891 (compilation-error-properties, compilation-move-to-column):
18892 Handle compilation-first-column while in the target buffer.
18893
18894 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
18895 Don't hardcode point-min==1.
18896
18897 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
18898 (eshell-rewrite-for-command): Remove workaround.
18899 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
18900 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
18901 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
18902
18903 * files-x.el (modify-file-local-variable): Obey commenting conventions.
18904
18905 2011-11-17 Glenn Morris <rgm@gnu.org>
18906
18907 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18908 Ignore buffer-local generated-autoload-file if it is the same
18909 as the global value. (Bug#10049)
18910
18911 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
18912
18913 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
18914 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
18915 (reftex-toc-previous-heading, reftex-toc-max-level)
18916 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
18917 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
18918 (reftex-toc-do-promote, reftex-toc-promote-prepare)
18919 (reftex-toc-promote-action, reftex-toc-extract-section-number)
18920 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
18921 (reftex-toc-rename-label, reftex-toc-visit-location)
18922 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
18923 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
18924 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
18925 leaving "*toc*" only for references to the buffer.
18926
18927 2011-11-17 Martin Rudalics <rudalics@gmx.at>
18928
18929 * window.el (window-resize, delete-window, split-window):
18930 Replace window-splits by window-combination-resize.
18931 * cus-start.el (window-splits): Replace by window-combination-resize.
18932
18933 2011-11-17 Glenn Morris <rgm@gnu.org>
18934
18935 * progmodes/sh-script.el (sh-font-lock-keywords-var):
18936 Make bash entry derive from sh entry, not shell entry.
18937
18938 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
18939
18940 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
18941 local file name.
18942
18943 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18944
18945 * menu-bar.el (menu-bar-file-menu):
18946 * printing.el (pr-ps-utility):
18947 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
18948 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
18949 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
18950 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
18951 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
18952 (icalendar--convert-cyclic-to-ical)
18953 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
18954 (icalendar--convert-ical-to-diary)
18955 (icalendar--convert-recurring-to-diary)
18956 (icalendar--convert-non-recurring-all-day-to-diary)
18957 (icalendar-import-format-sample):
18958 * progmodes/idlw-shell.el (idlwave-shell-mode):
18959 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
18960 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
18961 (vhdl-ps-print-init): Fix typos.
18962
18963 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
18964
18965 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
18966 FSF and collapse date sequence, obscure author/maintainer email address
18967 better, remove extra version line, track relocation of author's webpage.
18968
18969 * progmodes/python.el (python-pdbtrack-input-prompt)
18970 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
18971 regular python pdb prompts. Adjustments shamelessly taken exactly as
18972 suggested in EmacsWiki page (tiny change):
18973 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
18974
18975 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18976
18977 * expand.el (expand-pos, expand-index, expand-point):
18978 Remove redundant info from docstring.
18979 (expand-add-abbrevs): Doc fix.
18980 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
18981 (expand-sample-perl-mode-expand-list): Fix typos.
18982
18983 * net/dbus.el (dbus-event-member-name):
18984 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
18985 * term/pc-win.el (msdos-create-frame-with-faces):
18986 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
18987
18988 2011-11-16 Martin Rudalics <rudalics@gmx.at>
18989
18990 * window.el (split-window, window-state-get-1)
18991 (window-state-put-1, window-state-put-2): Rename occurrences of
18992 window-nest to window-combination-limit.
18993 * cus-start.el (window-nest): Rename to window-combination-limit.
18994
18995 2011-11-16 Chong Yidong <cyd@gnu.org>
18996
18997 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
18998 regexp (Bug#10033).
18999
19000 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
19001
19002 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
19003 `completing-read' will remove *Completions* and will preserve
19004 current-buffer for us.
19005 (tmm-add-prompt): Users of *Completions* will always (re)set its
19006 major mode.
19007 (tmm-old-comp-map): Remove.
19008
19009 2011-11-16 Glenn Morris <rgm@gnu.org>
19010
19011 * mail/rmailedit.el: Require rmailmm when compiling.
19012 (rmail-old-mime-state): New declaration.
19013 (rmail-edit-current-message): If editing a mime message,
19014 edit the "raw" message from the mbox buffer.
19015 (rmail-cease-edit): Handle mime messages. (Bug#9840)
19016
19017 2011-11-15 Glenn Morris <rgm@gnu.org>
19018
19019 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
19020 which wasn't being used. Add optional arg to force given state.
19021 (rmail-mime): Add optional arg to force given state.
19022
19023 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19024
19025 * allout.el (allout-encryption-plaintext-sanitization-regexps):
19026 * frame.el (display-mm-dimensions-alist):
19027 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
19028 (outline-move-subtree-down):
19029 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
19030 (newsticker--treeview-do-get-node):
19031 * net/quickurl.el (quickurl-list-buffer-name):
19032 * progmodes/dcl-mode.el (dcl-mode):
19033 * progmodes/gdb-mi.el (gdb-mapcar*):
19034 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
19035
19036 2011-11-15 Glenn Morris <rgm@gnu.org>
19037
19038 * mail/rmail.el (rmail-file-coding-system): It's only ever used
19039 in a boolean sense, so just make it a boolean, and fix the doc.
19040 (rmail-show-mime-function, rmail-mime-feature)
19041 (rmail-require-mime-maybe): Doc fixes.
19042 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
19043
19044 * mail/rmailmm.el (rmail-show-mime): Doc fix.
19045
19046 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19047
19048 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
19049 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
19050 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
19051 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
19052
19053 2011-11-15 Glenn Morris <rgm@gnu.org>
19054
19055 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
19056 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
19057 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
19058 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
19059 (rmail-mime, rmail-show-mime): Doc fixes.
19060
19061 * term/ns-win.el (mode-line-frame-identification):
19062 Leave it alone. (Bug#10051)
19063
19064 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
19065
19066 * mail/rmailout.el (rmail-output-to-rmail-buffer):
19067 Handle empty buffers. (Bug#9978)
19068
19069 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
19070
19071 * international/mule.el (define-charset):
19072 * mail/rmailmm.el (rmail-mime-find-header-encoding):
19073 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
19074 * progmodes/verilog-mode.el (verilog-backward-token):
19075 * textmodes/ispell.el (lookup-words):
19076 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
19077
19078 2011-11-14 Glenn Morris <rgm@gnu.org>
19079
19080 * progmodes/executable.el
19081 (executable-make-buffer-file-executable-if-script-p):
19082 Handle file-modes returning nil.
19083
19084 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
19085 message - not necessary, and causes problems. (Bug#9831)
19086
19087 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
19088
19089 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
19090
19091 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
19092 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
19093 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
19094
19095 2011-11-12 Martin Rudalics <rudalics@gmx.at>
19096
19097 * window.el (window-resize, delete-window): Use window-splits
19098 variable instead of function.
19099 (window-state-get-1, window-state-put-2, window-state-put):
19100 Don't deal with windows' splits status.
19101
19102 2011-11-12 Glenn Morris <rgm@gnu.org>
19103
19104 * apropos.el (apropos-do-all, apropos-library, apropos-value)
19105 (apropos-documentation): Doc fixes.
19106
19107 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
19108
19109 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
19110 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
19111
19112 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
19113
19114 * electric.el (electric-indent-post-self-insert-function): Make it
19115 possible for a char to only indent in some circumstances.
19116 (electric-indent-mode): Simplify.
19117
19118 2011-11-11 Martin Rudalics <rudalics@gmx.at>
19119
19120 * window.el (windows-with-parameter): Remove unused function.
19121 (windows-at-side): Rename to window-at-side-list.
19122 (window-check, window-atom-check, window-atom-check-1)
19123 (window-side-check, window-size-ignore, window-size-fixed-1)
19124 (window-in-direction-2): Prefix with "window--".
19125 (window-tree-1): Rename to window--subtree, fix doc-string.
19126
19127 2011-11-11 Glenn Morris <rgm@gnu.org>
19128
19129 * subr.el (eval-after-load): If FILE is already loaded,
19130 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
19131
19132 2011-11-10 Glenn Morris <rgm@gnu.org>
19133
19134 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
19135 Call svn via vc-svn-command rather than vc-do-command.
19136 (vc-svn-command): Add --non-interactive. (Bug#9993)
19137 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
19138
19139 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19140 Add toggle-read-only. (Bug#7292)
19141 * files.el (toggle-read-only): Mention that it should only
19142 be used interactively. (Bug#10006)
19143
19144 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
19145
19146 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19147 Adjust regexp for OCaml warnings.
19148
19149 * electric.el (electric-pair-post-self-insert-function): Let user
19150 turn it off buffer-locally (bug#9932).
19151
19152 * progmodes/python.el (python-beginning-of-statement):
19153 Rewrite (bug#2703).
19154
19155 * progmodes/compile.el: Better handle TABs (bug#9749).
19156 (compilation-internal-error-properties)
19157 (compilation-next-error-function): Obey the target buffer's
19158 compilation-error-screen-columns.
19159
19160 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
19161
19162 * progmodes/meta-mode.el: Remove obsolete comments.
19163 (meta-right-comment-regexp, meta-ignore-comment-regexp):
19164 Fix typos in docstrings.
19165
19166 2011-11-09 Martin Rudalics <rudalics@gmx.at>
19167
19168 * window.el (window-size-fixed-p): Rewrite doc-string.
19169 (window-resizable-p): Rename to window--resizable-p. Update callers.
19170 (window--resizable): New function. Make all callers of
19171 window-resizable call window--resizable instead.
19172 (window-resizable): Rewrite in terms of window--resizable.
19173
19174 2011-11-08 Glenn Morris <rgm@gnu.org>
19175
19176 * progmodes/delphi.el (delphi-mode-syntax-table):
19177 Let define-derived-mode define a proper syntax table. (Bug#9994)
19178
19179 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19180
19181 * window.el: Stay away from defsubst.
19182 (window-list-no-nils): Remove.
19183 (window-state-get-1, window-state-get): Use backquote instead.
19184
19185 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19186
19187 * emacs-lisp/find-func.el (find-function-read):
19188 Fix incorrect use of default argument in `completing-read'.
19189
19190 2011-11-08 Martin Rudalics <rudalics@gmx.at>
19191
19192 * window.el (display-buffer-function, special-display-function):
19193 Mention display-buffer-record-window but do not mention
19194 help-setup parameter in doc-strings.
19195 (window-min-delta): Fix doc-string typo.
19196
19197 2011-11-08 Chong Yidong <cyd@gnu.org>
19198
19199 * window.el (window-total-height, window-total-width): Doc fix.
19200 (window-body-size): Move from C.
19201 (window-body-height, window-body-width): Move to C.
19202
19203 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19204
19205 * window.el: Make special-display like display-buffer-alist (bug#9532).
19206 (display-buffer--special-action): New function, morphed
19207 from display-buffer--special.
19208 (display-buffer): Use it to handle special-display-buffers at higher
19209 priority (just after display-buffer-alist).
19210 (display-buffer-fallback-action, display-buffer--other-frame-action)
19211 (pop-to-buffer-same-window): Remove display-buffer--special.
19212
19213 2011-11-07 Glenn Morris <rgm@gnu.org>
19214
19215 * calendar/cal-menu.el (cal-menu-set-date-title):
19216 Do nothing if not in a calendar. (Bug#9976)
19217
19218 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
19219
19220 * files.el (find-file): Always use selected-window.
19221
19222 2011-11-07 Martin Rudalics <rudalics@gmx.at>
19223
19224 * window.el (window-combinations): Make WINDOW argument
19225 mandatory. Rewrite doc-string.
19226 (walk-window-subtree, window-atom-check, window-min-delta)
19227 (window-max-delta, window--resize-this-window)
19228 (window--resize-root-window-vertically, window-tree)
19229 (balance-windows, window-state-put): Rewrite doc-strings as to
19230 not mention the term "subwindow".
19231 (window--resize-subwindows-skip-p): Rename to
19232 window--resize-child-windows-skip-p.
19233 (window--resize-subwindows-normal): Rename to
19234 window--resize-child-windows-normal.
19235 (window--resize-subwindows): Rename to
19236 window--resize-child-windows.
19237 (window-or-subwindow-p): Rename to window--in-subtree-p.
19238
19239 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19240
19241 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
19242 Ensure that mbox format messages end in two newlines (Bug#9974).
19243
19244 2011-11-06 Chong Yidong <cyd@gnu.org>
19245
19246 * window.el (window-combination-p): Function deleted; its
19247 side-effect is not used in any existing code.
19248 (window-combinations, window-combined-p): Call window-*-child
19249 directly.
19250
19251 2011-11-05 Chong Yidong <cyd@gnu.org>
19252
19253 * window.el (window-valid-p): Rename from window-any-p.
19254 (window-size-ignore, window-state-get): Callers changed.
19255 (window-normalize-window): Rename from window-normalize-any-window.
19256 New arg LIVE-ONLY, replacing window-normalize-live-window.
19257 (window-normalize-live-window): Delete.
19258 (window-combination-p, window-combined-p, window-combinations)
19259 (walk-window-subtree, window-atom-root, window-min-size)
19260 (window-sizable, window-sizable-p, window-size-fixed-p)
19261 (window-min-delta, window-max-delta, window-resizable)
19262 (window-resizable-p, window-full-height-p, window-full-width-p)
19263 (window-current-scroll-bars, window-point-1, set-window-point-1)
19264 (window-at-side-p, window-in-direction, window-resize)
19265 (adjust-window-trailing-edge, maximize-window, minimize-window)
19266 (window-deletable-p, delete-window, delete-other-windows)
19267 (record-window-buffer, unrecord-window-buffer)
19268 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
19269 (quit-window, split-window, window-state-put)
19270 (set-window-text-height, fit-window-to-buffer)
19271 (shrink-window-if-larger-than-buffer): Callers changed.
19272
19273 2011-11-04 Eli Zaretskii <eliz@gnu.org>
19274
19275 * mail/rmail.el (rmail-simplified-subject): Decode subject with
19276 rfc2047-decode-string.
19277 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
19278 warnings.
19279
19280 * window.el (window-body-height, window-body-width): Mention in
19281 the doc string that the return values are in frame's canonical
19282 units. (Bug#9949)
19283
19284 2011-11-03 Alan Mackenzie <acm@muc.de>
19285
19286 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
19287 change in cc-engine.el.
19288
19289 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
19290
19291 * window.el (switch-to-buffer): Use `force-same-window' interactively.
19292
19293 2011-11-02 Martin Rudalics <rudalics@gmx.at>
19294
19295 * window.el (quit-window): Call unrecord-window-buffer after
19296 showing another buffer in the window. (Bug#9937)
19297 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
19298
19299 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
19300
19301 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
19302 Accept status with more than 9 shelves. (Bug#9935)
19303 Reported by Colin D Bennett <colin@gibibit.com>.
19304
19305 2011-11-01 Martin Rudalics <rudalics@gmx.at>
19306
19307 * help.el (with-help-window): Don't reference
19308 temp-buffer-show-specifiers in doc-string.
19309
19310 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
19311
19312 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
19313 menu-item.
19314
19315 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19316
19317 * whitespace.el: New version 13.2.2.
19318 (whitespace-newline-mode): Disable properly. Reported by Sarah
19319 <EmacsWiki>.
19320
19321 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
19322
19323 * net/newst-treeview.el: Remove "Time-stamp".
19324 (newsticker--group-manage-orphan-feeds): Do not call
19325 newsticker--treeview-tree-update.
19326 (newsticker-treeview-update, newsticker-treeview):
19327 Call newsticker--treeview-tree-update if necessary.
19328
19329 2011-10-30 Martin Rudalics <rudalics@gmx.at>
19330
19331 * window.el (window-iso-combination-p, window-iso-combined-p)
19332 (window-iso-combinations): Remove "iso-" infix.
19333 Suggested by Chong Yidong.
19334 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
19335 (window-max-delta-1, window-resize, window--resize-siblings)
19336 (window--resize-this-window, adjust-window-trailing-edge)
19337 (split-window, balance-windows-1)
19338 (shrink-window-if-larger-than-buffer):
19339 * calendar/calendar.el (calendar-generate-window):
19340 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
19341
19342 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
19343
19344 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
19345 in place (bug#9907).
19346 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
19347 (eshell-rewrite-if-command, eshell-rewrite-for-command)
19348 (eshell-structure-basic-command, eshell-rewrite-while-command)
19349 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
19350 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
19351 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
19352 (eshell-do-pipelines-synchronously, eshell-eval-command):
19353 Use backquotes and prefer setq to set.
19354 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
19355 (eshell-macrop): Use functionp.
19356 (eshell-do-eval): Handle multiple expressions in `while' body.
19357
19358 2011-10-30 Chong Yidong <cyd@gnu.org>
19359
19360 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
19361 instead of set-mark (Bug#9810).
19362
19363 2011-10-30 Chong Yidong <cyd@gnu.org>
19364
19365 * window.el (split-window-below, split-window-right): Rename from
19366 split-window-above-each-other and split-window-side-by-side
19367 respectively. All callers changed.
19368 (split-window-sensibly, split-window-sensibly): Use them.
19369 (split-window-keep-point): Doc fix.
19370
19371 * isearch.el: Add isearch-scroll property to split-window-below
19372 and split-window-right.
19373
19374 * follow.el (follow-mode):
19375 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19376 * progmodes/ada-xref.el (ada-gdb-application):
19377 * emulation/vip.el (vip-buffer-in-two-windows):
19378 * image-dired.el (image-dired-dired-with-window-configuration):
19379 * dired-x.el (dired-do-find-marked-files):
19380 * dired.el (dired-pop-to-buffer):
19381 * bs.el (bs--show-with-configuration):
19382 * vc/emerge.el (emerge-setup-windows):
19383 * textmodes/two-column.el (2C-two-columns):
19384 * textmodes/reftex-toc.el (reftex-toc):
19385 * progmodes/gdb-mi.el (gdb-setup-windows):
19386 * progmodes/fortran.el (fortran-window-create):
19387 * net/newst-treeview.el (newsticker--treeview-window-init):
19388 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
19389 * emulation/tpu-edt.el (tpu-gold-map):
19390 * emulation/crisp.el (crisp-mode-map):
19391 * calendar/calendar.el (calendar-basic-setup): Callers changed.
19392
19393 2011-10-29 Chong Yidong <cyd@gnu.org>
19394
19395 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
19396
19397 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
19398
19399 * textmodes/flyspell.el (flyspell-word): Fix char offset for
19400 forged Ispell output (Bug#7904).
19401
19402 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
19403
19404 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19405
19406 * doc-view.el: Avoid ugly errors about not finding nil.
19407 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
19408 (doc-view-dvipdf-program, doc-view-unoconv-program)
19409 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
19410 Avoid nil or absolute file name as default value.
19411 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
19412
19413 2011-10-28 Alan Mackenzie <acm@muc.de>
19414
19415 * progmodes/cc-defs.el (c-version): -> 5.32.2.
19416
19417 2011-10-28 Alan Mackenzie <acm@muc.de>
19418
19419 Amend the handling of c-beginning/end-of-defun in nested declaration
19420 scopes.
19421
19422 * progmodes/cc-vars.el (c-defun-tactic): Move here from
19423 cc-langs.el. Change it to a defcustom.
19424
19425 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
19426 cc-vars.el.
19427
19428 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19429 Prevent "class foo : bar" being spuriously recognized as a label.
19430
19431 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
19432 Add parameter `inclusive' (to include enclosing braces in the region).
19433 (c-widen-to-enclosing-decl-scope): New function.
19434 (c-while-widening-to-decl-block): New macro.
19435 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
19436 outward for defun boundaries, and correspondingly change symbol
19437 `respect-enclosure' to `go-outward'.
19438 (c-declaration-limits): Change algorithm to report only the "innermost"
19439 defun's boundaries.
19440
19441 2011-10-28 Deniz Dogan <deniz@dogan.se>
19442
19443 * net/rcirc.el (rcirc-mode): Use hard newlines.
19444
19445 2011-10-28 Alan Mackenzie <acm@muc.de>
19446
19447 Amend to indent and fontify macros "which include their own semicolon"
19448 correctly, using the "virtual semicolon" mechanism.
19449
19450 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
19451
19452 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
19453 Recode to scan one line at a time rather than having \n and \r
19454 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
19455 (c-forward-label): Amend for virtual semicolons.
19456 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
19457
19458 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
19459 of the new C macros.
19460
19461 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
19462 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
19463 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
19464 (c-opt-cpp-macro-define): Make into a full language variable.
19465 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
19466 AWK Mode (including \n, \r) removed, no longer needed.
19467
19468 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
19469 Invoke c-make-macro-with-semi-re.
19470
19471 * progmodes/cc-vars.el (c-macro-with-semi-re):
19472 (c-macro-names-with-semicolon): New variables.
19473 (c-make-macro-with-semi-re): New function.
19474
19475 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19476
19477 * vc/log-edit.el: Fill empty field rather than adding new one.
19478 (log-edit-add-field): New function.
19479 (log-edit-insert-changelog): Use it.
19480
19481 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19482
19483 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
19484
19485 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19486
19487 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
19488 (gdb--check-interpreter): New function.
19489 (gdb): Use it.
19490
19491 2011-10-27 Glenn Morris <rgm@gnu.org>
19492
19493 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
19494 (least-positive-float, least-negative-float)
19495 (least-positive-normalized-float, least-negative-normalized-float)
19496 (float-epsilon, float-negative-epsilon):
19497 Remove unnecessary declarations.
19498
19499 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
19500 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
19501 (least-positive-float, least-negative-float)
19502 (least-positive-normalized-float, least-negative-normalized-float)
19503 (float-epsilon, float-negative-epsilon): Add doc-strings,
19504 based on those in cl.texi.
19505
19506 * files.el (set-visited-file-name): If the major-mode changed,
19507 reload the local variables. (Bug#9796)
19508
19509 2011-10-27 Chong Yidong <cyd@gnu.org>
19510
19511 * subr.el (change-major-mode-after-body-hook): New hook.
19512 (run-mode-hooks): Run it.
19513
19514 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19515 Use change-major-mode-before-body-hook.
19516
19517 * simple.el (fundamental-mode):
19518 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
19519 change introducing fundamental-mode-hook.
19520
19521 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
19522
19523 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
19524
19525 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
19526
19527 * ido.el (ido-file-name-all-completions-1): Do not require
19528 tramp.el explicitly. (Bug#7583)
19529
19530 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
19531
19532 * progmodes/octave-mod.el:
19533 * progmodes/octave-inf.el: Update maintainer.
19534
19535 2011-10-26 Chong Yidong <cyd@gnu.org>
19536
19537 * subr.el (with-wrapper-hook): Rewrite doc.
19538
19539 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
19540
19541 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
19542 filenames "/method:foo:". (Bug#9793)
19543
19544 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
19545
19546 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
19547 (bug#9865).
19548
19549 2011-10-24 Glenn Morris <rgm@gnu.org>
19550
19551 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
19552
19553 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
19554
19555 * notifications.el: Add the requirement of a running D-Bus session
19556 bus to the Commentary.
19557
19558 2011-10-24 Juri Linkov <juri@jurta.org>
19559
19560 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19561 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
19562 (Bug#9364)
19563
19564 2011-10-24 Juri Linkov <juri@jurta.org>
19565
19566 * info.el (Info-following-node-name-re): Add newline to the list
19567 of allowed characters for leading space. (Bug#9824)
19568
19569 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
19570
19571 * progmodes/octave-inf.el (inferior-octave-mode-map):
19572 Fix C-c C-h binding.
19573 * progmodes/octave-mod.el (octave-help): Remove.
19574
19575 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
19576
19577 Sync with Tramp 2.2.3.
19578
19579 * net/tramp-cache.el (top): Pacify byte-compiler using
19580 `init-file-user' and `site-run-file'.
19581
19582 * net/trampver.el: Update release number.
19583
19584 2011-10-23 Chong Yidong <cyd@gnu.org>
19585
19586 * files.el (toggle-read-only): Remove obsolete comment about
19587 version control.
19588
19589 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
19590 for toggle-read-only. Note that this hasn't called vc-next-action
19591 since 2008-05-02, though it wasn't documented at the time.
19592
19593 * vc/ediff-init.el (ediff-toggle-read-only-function):
19594 Use toggle-read-only.
19595
19596 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
19597
19598 Fix bug #9560, sporadic wrong indentation; improve instrumentation
19599 of c-parse-state.
19600
19601 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
19602 correct faulty logical expression.
19603 (c-parse-state-state, c-record-parse-state-state):
19604 (c-replay-parse-state-state): New defvar/defuns.
19605 (c-debug-parse-state): Use new functions.
19606
19607 2011-10-22 Martin Rudalics <rudalics@gmx.at>
19608
19609 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
19610 last fix. Use window-in-direction correctly.
19611
19612 2011-10-21 Chong Yidong <cyd@gnu.org>
19613
19614 * progmodes/idlwave.el (idlwave-mode):
19615 * progmodes/vera-mode.el (vera-mode): No need to set
19616 require-final-newline; that's done in prog-mode.
19617 Suggested by Stefan Monnier.
19618
19619 2011-10-21 Martin Rudalics <rudalics@gmx.at>
19620
19621 * mouse.el (mouse-drag-window-above)
19622 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
19623 (mouse-drag-mode-line-1, mouse-drag-header-line)
19624 (mouse-drag-vertical-line-rightward-window): Remove.
19625 (mouse-drag-line): New function.
19626 (mouse-drag-mode-line, mouse-drag-header-line)
19627 (mouse-drag-vertical-line): Call mouse-drag-line.
19628 * window.el (window-at-side-p, windows-at-side): New functions.
19629
19630 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
19631
19632 * tar-mode.el (tar-grind-file-mode):
19633 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
19634
19635 2011-10-21 Chong Yidong <cyd@gnu.org>
19636
19637 * progmodes/idlwave.el (idlwave-mode):
19638 * progmodes/vera-mode.el (vera-mode):
19639 Use mode-require-final-newline.
19640
19641 2011-10-20 Glenn Morris <rgm@gnu.org>
19642
19643 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
19644
19645 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
19646
19647 * emulation/cua-base.el (cua-set-mark): Fix case of string.
19648
19649 2011-10-20 Chong Yidong <cyd@gnu.org>
19650
19651 * emulation/cua-base.el (cua-mode):
19652 * mail/footnote.el (footnote-mode):
19653 * mail/mailabbrev.el (mail-abbrevs-mode):
19654 * net/xesam.el (xesam-minor-mode):
19655 * progmodes/bug-reference.el (bug-reference-mode):
19656 * progmodes/cap-words.el (capitalized-words-mode):
19657 * progmodes/compile.el (compilation-minor-mode)
19658 (compilation-shell-minor-mode):
19659 * progmodes/gud.el (gud-tooltip-mode):
19660 * progmodes/hideif.el (hide-ifdef-mode):
19661 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
19662 * progmodes/subword.el (subword-mode):
19663 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
19664 * progmodes/which-func.el (which-function-mode):
19665 * term/tvi970.el (tvi970-set-keypad-mode):
19666 * term/vt100.el (vt100-wide-mode):
19667 * textmodes/flyspell.el (flyspell-mode):
19668 * textmodes/ispell.el (ispell-minor-mode):
19669 * textmodes/nroff-mode.el (nroff-electric-mode):
19670 * textmodes/paragraphs.el (use-hard-newlines):
19671 * textmodes/refill.el (refill-mode):
19672 * textmodes/reftex.el (reftex-mode):
19673 * textmodes/rst.el (rst-minor-mode):
19674 * textmodes/sgml-mode.el (html-autoview-mode)
19675 (sgml-electric-tag-pair-mode):
19676 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
19677 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
19678 * emulation/crisp.el (crisp-mode):
19679 * emacs-lisp/eldoc.el (eldoc-mode):
19680 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
19681 minor mode behavior.
19682
19683 2011-10-19 Juri Linkov <juri@jurta.org>
19684
19685 * descr-text.el (describe-char): Add #x2010 and #x2011 to
19686 the list of hard-coded chars with escape-glyph face.
19687
19688 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
19689
19690 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
19691
19692 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
19693
19694 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
19695 running process.
19696
19697 2011-10-19 Glenn Morris <rgm@gnu.org>
19698
19699 * vc/vc-bzr.el (vc-bzr-after-dir-status):
19700 Ignore ignored files. (Bug#9726)
19701
19702 2011-10-19 Chong Yidong <cyd@gnu.org>
19703
19704 Doc fix for minor modes, stating that an omitted argument enables
19705 the mode unconditionally when called from Lisp.
19706
19707 * abbrev.el (abbrev-mode):
19708 * allout.el (allout-mode):
19709 * autoinsert.el (auto-insert-mode):
19710 * autoarg.el (autoarg-mode, autoarg-kp-mode):
19711 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
19712 (global-auto-revert-mode):
19713 * battery.el (display-battery-mode):
19714 * composite.el (global-auto-composition-mode)
19715 (auto-composition-mode):
19716 * delsel.el (delete-selection-mode):
19717 * desktop.el (desktop-save-mode):
19718 * dired-x.el (dired-omit-mode):
19719 * dirtrack.el (dirtrack-mode):
19720 * doc-view.el (doc-view-minor-mode):
19721 * double.el (double-mode):
19722 * electric.el (electric-indent-mode, electric-pair-mode):
19723 * emacs-lock.el (emacs-lock-mode):
19724 * epa-hook.el (auto-encryption-mode):
19725 * follow.el (follow-mode):
19726 * font-core.el (font-lock-mode):
19727 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
19728 * help.el (temp-buffer-resize-mode):
19729 * hilit-chg.el (highlight-changes-mode)
19730 (highlight-changes-visible-mode):
19731 * hi-lock.el (hi-lock-mode):
19732 * hl-line.el (hl-line-mode, global-hl-line-mode):
19733 * icomplete.el (icomplete-mode):
19734 * ido.el (ido-everywhere):
19735 * image-file.el (auto-image-file-mode):
19736 * image-mode.el (image-minor-mode):
19737 * iswitchb.el (iswitchb-mode):
19738 * jka-cmpr-hook.el (auto-compression-mode):
19739 * linum.el (linum-mode):
19740 * longlines.el (longlines-mode):
19741 * master.el (master-mode):
19742 * mb-depth.el (minibuffer-depth-indicate-mode):
19743 * menu-bar.el (menu-bar-mode):
19744 * minibuf-eldef.el (minibuffer-electric-default-mode):
19745 * mouse-sel.el (mouse-sel-mode):
19746 * msb.el (msb-mode):
19747 * mwheel.el (mouse-wheel-mode):
19748 * outline.el (outline-minor-mode):
19749 * paren.el (show-paren-mode):
19750 * recentf.el (recentf-mode):
19751 * reveal.el (reveal-mode, global-reveal-mode):
19752 * rfn-eshadow.el (file-name-shadow-mode):
19753 * ruler-mode.el (ruler-mode):
19754 * savehist.el (savehist-mode):
19755 * scroll-all.el (scroll-all-mode):
19756 * scroll-bar.el (scroll-bar-mode):
19757 * server.el (server-mode):
19758 * shell.el (shell-dirtrack-mode):
19759 * simple.el (auto-fill-mode, transient-mark-mode)
19760 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
19761 (line-number-mode, column-number-mode, size-indication-mode)
19762 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
19763 * strokes.el (strokes-mode):
19764 * time.el (display-time-mode):
19765 * t-mouse.el (gpm-mouse-mode):
19766 * tool-bar.el (tool-bar-mode):
19767 * tooltip.el (tooltip-mode):
19768 * type-break.el (type-break-mode-line-message-mode)
19769 (type-break-query-mode):
19770 * view.el (view-mode):
19771 * whitespace.el (whitespace-mode, whitespace-newline-mode)
19772 (global-whitespace-mode, global-whitespace-newline-mode):
19773 * xt-mouse.el (xterm-mouse-mode): Doc fix.
19774
19775 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19776 Fix autogenerated docstring.
19777
19778 2011-10-19 Juri Linkov <juri@jurta.org>
19779
19780 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
19781 by checking environment variables "DESKTOP_SESSION" and
19782 "XDG_CURRENT_DESKTOP". (Bug#9779)
19783
19784 2011-10-19 Juri Linkov <juri@jurta.org>
19785
19786 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
19787 (browse-url-chromium-program, browse-url-chromium-arguments):
19788 New defcustoms.
19789 (browse-url-default-browser): Check for `browse-url-chromium' and
19790 call `browse-url-chromium-program'.
19791 (browse-url-chromium): New command. (Bug#9779)
19792
19793 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
19794
19795 * facemenu.el (list-colors-duplicates): On Windows, detect more
19796 duplicates by assuming that only colors matching "^System" are
19797 special "system colors". (Bug#9722)
19798
19799 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
19800
19801 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
19802 to distinguish the author from the committer.
19803
19804 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
19805
19806 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
19807
19808 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
19809
19810 * international/mule.el (sgml-html-meta-auto-coding-function):
19811 Add support for detecting encoding in HTML5 specified only as
19812 <meta charset="UTF-8">. Implementation just makes http-equiv and
19813 content-type parts from HTML4 encoding string optional. (Bug#9716)
19814
19815 2011-10-18 Glenn Morris <rgm@gnu.org>
19816
19817 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
19818
19819 2011-10-18 Chong Yidong <cyd@gnu.org>
19820
19821 * faces.el (cursor): Doc fix.
19822
19823 2011-10-17 Chong Yidong <cyd@gnu.org>
19824
19825 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
19826
19827 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
19828
19829 * dirtrack.el (dirtrack): Support shell buffers with path
19830 prefixes, e.g. tramp-based remote shells. (Bug#9647)
19831
19832 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
19833
19834 * json.el: Bump version to 1.3 and note change in History.
19835 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
19836
19837 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
19838
19839 * comint.el (comint-insert-input, comint-send-input)
19840 (comint-get-old-input-default, comint-backward-matching-input)
19841 (comint-next-prompt): Use nil instead of `input' for field property of
19842 past user input (bug#114).
19843
19844 * minibuffer.el (completion--replace): Inherit surrounding properties
19845 (bug#114).
19846 (minibuffer-complete-and-exit): Use it.
19847
19848 * comint.el (comint--table-subvert): Quote the all-completions output
19849 (bug#9160).
19850
19851 2011-10-17 Martin Rudalics <rudalics@gmx.at>
19852
19853 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
19854
19855 * menu-bar.el (menu-bar-file-menu): Add entry for making new
19856 window on right of selected. (Bug#9350) Reword other window
19857 entries and separate them from frame entries.
19858
19859 2011-10-15 Glenn Morris <rgm@gnu.org>
19860
19861 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
19862 Doc fixes.
19863
19864 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
19865
19866 * net/network-stream.el (network-stream-open-starttls):
19867 Improve detection of failure due to lack of TLS support.
19868
19869 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
19870 putting the input text in front and in bold.
19871
19872 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
19873
19874 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
19875
19876 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
19877 empty buffer.
19878
19879 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
19880 unread-command-events rather than pushing yet-another event.
19881
19882 2011-10-14 Eli Zaretskii <eliz@gnu.org>
19883
19884 * mail/sendmail.el (sendmail-query-once): Improve the wording of
19885 the explanation of the possible choices. Make the options passed
19886 to completing-read shorter.
19887
19888 2011-10-13 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
19889
19890 * textmodes/flyspell.el (flyspell-large-region): Make sure
19891 extended character mode is used if defined (Bug#1339).
19892
19893 2011-10-13 Eli Zaretskii <eliz@gnu.org>
19894
19895 * simple.el (what-cursor-position): Fix the display of the
19896 character info for LRE, LRO, RLE, and RLO characters by appending
19897 an invisible PDF.
19898
19899 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
19900
19901 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
19902 even in case of error; add debug spec; simplify data flow.
19903 (with-timeout-handler): Remove.
19904
19905 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
19906
19907 Fix Bug#6019, Bug#9315.
19908
19909 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
19910 complete `buffer-file-name', the local file name part could look
19911 remotely (for example on VMS).
19912
19913 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
19914 `tramp-run-real-handler'.
19915 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
19916 already quoted by '"'.
19917
19918 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
19919 Let `file-name-handler-alist' be nil, the local file name part
19920 could look remotely (for example on VMS).
19921
19922 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
19923
19924 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
19925 from here...
19926 (flyspell-post-command-hook): ...to here.
19927
19928 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19929
19930 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
19931 if not needed.
19932 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
19933 using completion. Protect against "slow" callers.
19934 Remove the "message hack".
19935
19936 2011-10-11 Juri Linkov <juri@jurta.org>
19937
19938 * isearch.el (isearch-lazy-highlight-word): New variable.
19939 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
19940 Use it. (Bug#9727)
19941
19942 2011-10-11 Glenn Morris <rgm@gnu.org>
19943
19944 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
19945 like f90-previous-statement does.
19946
19947 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19948
19949 * eshell/eshell.el (eshell-command): History should be saved
19950 only in interactive use, to avoid error.
19951
19952 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19953
19954 * minibuffer.el (completion-file-name-table): Fix last change,
19955 i.e. ignore normal errors but not the other ones.
19956
19957 2011-10-10 Martin Rudalics <rudalics@gmx.at>
19958
19959 * window.el (special-display-buffer-names)
19960 (special-display-regexps): Remove some remnants of earlier
19961 changes from doc-strings.
19962 (quit-windows-on): New function.
19963
19964 * vc/vc.el (vc-revert, vc-rollback):
19965 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
19966 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
19967 (Bug#6183) (Bug#7074) (Bug#7447)
19968
19969 2011-10-09 Martin Rudalics <rudalics@gmx.at>
19970
19971 * window.el (frame-auto-hide-function): Add version tag.
19972 (Bug#9699)
19973
19974 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
19975
19976 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
19977 condition.
19978
19979 2011-10-09 Leo Liu <sdl.web@gmail.com>
19980
19981 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
19982 (Bug#9701)
19983
19984 2011-10-08 Glenn Morris <rgm@gnu.org>
19985
19986 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
19987 before the first code statement zero indent. (Bug#9690)
19988
19989 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
19990
19991 * simple.el (count-words-region): Always count in the region.
19992 Report the number of lines and characters too.
19993 (count-words): New command, which counts in the buffer if the
19994 region is inactive, as count-words-region used to.
19995 (count-words--message): New function. Handle plurals.
19996 (count-lines-region): Make it an alias for count-words-region.
19997
19998 * bindings.el (esc-map): Replace count-lines-region with
19999 count-words-region.
20000
20001 2011-10-08 Martin Rudalics <rudalics@gmx.at>
20002
20003 * window.el (window--delete): Delete dedicated frame
20004 unconditionally when argument KILL is non-nil. (Bug#9699)
20005 (switch-to-buffer): Fix doc-string typo.
20006
20007 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20008
20009 * eshell/eshell.el (eshell-command): Avoid using hooks.
20010
20011 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
20012
20013 * bindings.el ([M-left],[M-right]): Bind to left-word and
20014 right-word respectively.
20015
20016 2011-10-07 Glenn Morris <rgm@gnu.org>
20017
20018 * cus-start.el (debug-on-quit): Fix custom type.
20019
20020 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20021
20022 * subr.el (define-key-after): Clarify that the function is not
20023 useful for non-menu keymaps.
20024
20025 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
20026
20027 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20028
20029 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
20030 in current minibuffer (Fix bug with recursive minibuffers).
20031
20032 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
20033
20034 * progmodes/gdb-mi.el (gdb): Doc fix.
20035
20036 2011-10-05 Martin Rudalics <rudalics@gmx.at>
20037
20038 * window.el (frame-auto-hide-function): New option replacing
20039 frame-auto-delete. Suggested by Stefan Monnier.
20040 (window--delete): Call frame-auto-hide-function instead of
20041 investigating frame-auto-delete.
20042 (window-point-1, set-window-point-1): New functions.
20043 (window-in-direction, record-window-buffer, window-state-get-1)
20044 (display-buffer-record-window): Use window-point-1 instead of
20045 window-point.
20046 (set-window-buffer-start-and-point): Use set-window-point-1.
20047
20048 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20049
20050 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
20051
20052 2011-10-05 Glenn Morris <rgm@gnu.org>
20053
20054 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
20055 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
20056
20057 2011-10-05 Leo Liu <sdl.web@gmail.com>
20058
20059 * subr.el (read-char-choice): Fix argument to buffer-live-p which
20060 works with buffer object.
20061
20062 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20063
20064 * mpc.el (mpc-tool-bar-map): Add labels.
20065
20066 2011-10-04 Glenn Morris <rgm@gnu.org>
20067
20068 * calendar/holidays.el (calendar-check-holidays): Doc fix.
20069
20070 2011-10-04 Martin Rudalics <rudalics@gmx.at>
20071
20072 * window.el (window--delete): New function.
20073 (frame-auto-delete): Resuscitate option.
20074 (bury-buffer, replace-buffer-in-windows)
20075 (quit-window): Rewrite using window--delete.
20076 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20077 Pass display-buffer-mark-dedicated to window--display-buffer-2
20078 (Bug#9639).
20079
20080 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20081
20082 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
20083 returns a list (bug#9554). Add remote file name completion.
20084 * comint.el (comint--table-subvert): Curry and get quote&unquote
20085 functions as arguments.
20086 (comint--complete-file-name-data): Adjust call accordingly.
20087 * pcomplete.el (pcomplete--table-subvert): Remove.
20088 (pcomplete-completions-at-point): Use comint--table-subvert instead.
20089
20090 * minibuffer.el (completion-table-case-fold): Use currying.
20091 (completion--styles-type, completion--cycling-threshold-type):
20092 New constants.
20093 (completion-styles, completion-category-overrides)
20094 (completion-cycle-threshold): Use them.
20095 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
20096 completion-table-case-fold.
20097
20098 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
20099
20100 * minibuffer.el (completion-category-overrides): Fix type of styles
20101 and add more user friendly tags (bug#9660).
20102
20103 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20104
20105 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
20106 (mule-input-method-string): New widget.
20107 (default-input-method, language-info-custom-alist): Use it.
20108
20109 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
20110
20111 * pcomplete.el: Require comint.
20112 (pcomplete--common-suffix): Remove.
20113 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
20114 (pcomplete--table-subvert): Sync with comint--table-subvert.
20115 (pcomplete--entries): Use comint-completion-file-name-table.
20116 * comint.el (comint-unquote-filename): Simplify.
20117 (comint-completion-file-name-table): New function (bug#9616).
20118 (comint--complete-file-name-data): Use it.
20119
20120 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
20121 (pcmpl-gnu-tar-buffer): Remove.
20122 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
20123 around. Make sure pcomplete-suffix-list is only changed temporarily.
20124 Don't look inside the tar's file if it's too large.
20125
20126 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
20127
20128 * cus-edit.el (custom-mode-map):
20129 * epa.el (epa-key-list-mode-map):
20130 * man.el (Man-mode-map):
20131 * startup.el (splash-screen-keymap):
20132 * simple.el (special-mode-map): Use scroll-up-command and
20133 scroll-down-command.
20134
20135 * progmodes/idlw-help.el (idlwave-help-mode-map):
20136 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
20137 * net/newst-plainview.el (newsticker-mode-map):
20138 * emulation/ws-mode.el (wordstar-mode-map):
20139 * emulation/vi.el (vi-com-map):
20140 * calc/calc-graph.el (calc-graph-show-dumb):
20141 * term/sun.el (terminal-init-sun):
20142 * term/ns-win.el (global-map):
20143 * progmodes/grep.el (grep-mode-map):
20144 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
20145 * mail/rmail.el (rmail-mode-map):
20146 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
20147
20148 * custom.el (custom-safe-themes, load-theme): Treat value of t for
20149 custom-safe-themes as special.
20150
20151 2011-10-01 Julien Danjou <julien@danjou.info>
20152
20153 * notifications.el (notifications-notify): Fix docstring.
20154
20155 2011-10-01 Per Starbäck <per@starback.se>
20156
20157 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
20158
20159 2011-09-30 Martin Rudalics <rudalics@gmx.at>
20160
20161 * startup.el (command-line-1): Fix last fix by inserting
20162 initial-scratch-message into *scratch* before displaying it.
20163 (Bug#9605) and (Bug#9636)
20164
20165 2011-09-29 Eli Zaretskii <eliz@gnu.org>
20166
20167 * simple.el (line-move): If auto-hscroll-mode is disabled and the
20168 window is hscrolled, move by logical lines. (Bug#9607)
20169 (line-move-visual): Update the doc string to the above effect.
20170
20171 2011-09-29 Martin Rudalics <rudalics@gmx.at>
20172
20173 * window.el (display-buffer-record-window): When WINDOW is the
20174 selected window use `point' instead of `window-point'. (Bug#9626)
20175
20176 * startup.el (command-line-1): Use insert-before-markers when
20177 inserting initial-scratch-message. (Bug#9605)
20178
20179 * help.el (help-window): Remove variable.
20180
20181 2011-09-29 Glenn Morris <rgm@gnu.org>
20182
20183 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
20184
20185 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
20186
20187 * descr-text.el (describe-char-categories): Accept category
20188 descriptions more than one line long.
20189
20190 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
20191
20192 * simple.el (delete-trailing-whitespace): Fix last change.
20193
20194 * progmodes/perl-mode.el (perl-syntax-propertize-function):
20195 Don't confuse "y => 3" as the beginning of a `y' operation.
20196
20197 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
20198 object has more than 4 slots (bug#9613).
20199
20200 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
20201
20202 * subr.el (with-output-to-temp-buffer):
20203 * net/quickurl.el (quickurl, quickurl-browse-url):
20204 Fix typos in docstrings.
20205
20206 2011-09-27 Eli Zaretskii <eliz@gnu.org>
20207
20208 * minibuffer.el (completion-styles)
20209 (completion-category-overrides): Cross reference each other in doc
20210 strings.
20211
20212 2011-09-27 Glenn Morris <rgm@gnu.org>
20213
20214 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
20215 to split-string. (Bug#9606)
20216
20217 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20218
20219 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
20220 (bug#9615).
20221
20222 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
20223
20224 * emacs-lisp/package.el (list-packages): Fix echo area message.
20225
20226 2011-09-27 Leo Liu <sdl.web@gmail.com>
20227
20228 * ido.el (ido-read-internal): Accept cons cell HIST arg.
20229
20230 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
20231
20232 * net/dbus.el (dbus-unregister-object): Don't release services for
20233 registered signals. (Bug#9581)
20234
20235 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
20236
20237 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
20238 function that picks between cfengine 2 and 3 support
20239 automatically. Update docs accordingly.
20240
20241 2011-09-22 Kenichi Handa <handa@m17n.org>
20242
20243 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
20244 ZERO.
20245 (indian-itrans-v5-table-for-tamil): New variable.
20246 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
20247
20248 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
20249
20250 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
20251 that's true if the current command involved collapsing of text.
20252 It's reset to false at the beginning of the next command.
20253 (allout-post-command-business): Move the cursor to the beginning
20254 of entry if the cursor is hidden and collapsing activity just
20255 happened.
20256
20257 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
20258
20259 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
20260 tracking (Bug#9541).
20261
20262 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
20263
20264 * net/newst-reader.el (newsticker-html-renderer)
20265 (newsticker-show-news): Automatically load html rendering package
20266 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
20267 because w3m-fill-column is let-bound" and the error "Symbol's value
20268 as variable is void: w3m-fill-column".
20269
20270 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
20271
20272 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
20273 Release services only if they are defined. (Bug#9581)
20274
20275 2011-09-23 Richard Stallman <rms@gnu.org>
20276
20277 * textmodes/paragraphs.el (forward-sentence): For backwards case,
20278 distinguish start of paragraph from start of its text.
20279
20280 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
20281
20282 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
20283 (rmail-generate-viewer-buffer): Put that hook on view buffer.
20284 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
20285
20286 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
20287
20288 * international/mule-diag.el (mule-diag): Insert a newline after
20289 each fontset description.
20290
20291 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20292
20293 * simple.el (delete-trailing-whitespace):
20294 Document last change; simplify.
20295
20296 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
20297
20298 * simple.el (delete-trailing-whitespace): Also delete
20299 extra newlines at the end of the buffer.
20300
20301 * textmodes/picture.el: Make motion commands obey shift-select-mode.
20302 (picture-newline): Use forward-line so as to ignore fields.
20303
20304 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20305
20306 * subr.el (with-wrapper-hook): Fix edebug spec.
20307
20308 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
20309
20310 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
20311 (bug#4538).
20312
20313 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
20314
20315 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
20316 Fix nasty bug using wrong cached values.
20317
20318 2011-09-23 Alan Mackenzie <acm@muc.de>
20319
20320 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
20321
20322 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
20323
20324 * window.el (pop-to-buffer): Ensure right window is selected if we
20325 chose another frame.
20326
20327 2011-09-22 Eli Zaretskii <eliz@gnu.org>
20328
20329 * simple.el (what-cursor-position): Use get-char-property-change
20330 and next-single-char-property-change, to be able to show display
20331 properties that come from overlays as well as text properties.
20332
20333 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
20334
20335 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
20336
20337 * cmuscheme.el (run-scheme, switch-to-scheme):
20338 * cus-edit.el (customize-group, custom-buffer-create)
20339 (customize-browse):
20340 * info.el (info):
20341 * shell.el (shell):
20342 * mail/sendmail.el (mail):
20343 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
20344
20345 2011-09-22 Richard Stallman <rms@gnu.org>
20346
20347 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
20348 move back only to line beg, don't move back over blank lines.
20349
20350 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
20351
20352 * files.el (copy-directory): Set directory attributes only in case
20353 they could be retrieved from the source directory. (Bug#9565)
20354
20355 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
20356
20357 * progmodes/hideshow.el (hs-looking-at-block-start-p)
20358 (hs-find-block-beginning, hs-hide-level-recursive):
20359 Ignore strings as well as comments. (Bug#9502)
20360
20361 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
20362
20363 * progmodes/sql.el (sql-comint-postgres):
20364 Convert port number to a string. (Bug#9566)
20365
20366 2011-09-22 Martin Rudalics <rudalics@gmx.at>
20367
20368 * window.el (quit-window): Undedicate window when switching to
20369 previous buffer. Reported by Thierry Volpiatto
20370 <thierry.volpiatto@gmail.com>.
20371 (special-display-popup-frame): When popping up a new frame reset
20372 its previous buffers to nil. Simplify code.
20373
20374 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
20375
20376 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
20377 and process filter, as done also in `shell-command'.
20378
20379 2011-09-21 Martin Rudalics <rudalics@gmx.at>
20380
20381 * window.el (set-window-buffer-start-and-point):
20382 Call set-window-start with NOFORCE argument t.
20383 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20384 (quit-window): Reword doc-string. Handle new format of
20385 quit-restore parameter. Don't delete window if it has a
20386 previous buffer we can show instead of the present one.
20387 (display-buffer-record-window): Rewrite using a new format for
20388 the quit-restore window parameter
20389 (special-display-popup-frame, display-buffer-same-window)
20390 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20391 (display-buffer-pop-up-window, display-buffer-use-some-window):
20392 Adapt symbol passed to display-buffer-record-window.
20393 * help.el (help-window-setup): Handle new format of quit-restore
20394 parameter.
20395
20396 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
20397
20398 * faces.el (face-list): Fix docstring (bug#9564).
20399
20400 * window.el (display-buffer--action-function-custom-type):
20401 Don't include internal functions in the Custom interface.
20402
20403 2011-09-20 Juri Linkov <juri@jurta.org>
20404
20405 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
20406 (Info-forward-node, Info-backward-node, Info-next-preorder)
20407 (Info-last-preorder): Use it. (Bug#9528)
20408
20409 2011-09-20 Juri Linkov <juri@jurta.org>
20410
20411 * info.el (Info-last-preorder): Visit last menu item only when
20412 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
20413
20414 2011-09-20 Julien Danjou <julien@danjou.info>
20415
20416 * password-cache.el (password-cache-remove): Remove entries even if the
20417 value is nil, so that password with a nil value (negative caching) is
20418 possible to invalidate.
20419
20420 2011-09-20 Lawrence Mitchell <wence@gmx.li>
20421
20422 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
20423 all whitespace around breakpoint. (Bug#9553)
20424 (f90-find-breakpoint): Only break at whitespace inside a comment.
20425
20426 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
20427
20428 * minibuffer.el (completion-file-name-table): Keep track of errors.
20429 (completion-table-with-predicate): Handle the case where pred1 is nil.
20430 * pcomplete.el (pcomplete-completions-at-point): Simplify.
20431
20432 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20433
20434 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
20435 (debugger-return-value): Signal an error if the debugging context does
20436 not await any return value.
20437
20438 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
20439 * image-mode.el (image-toggle-display-text)
20440 (image-toggle-display-image): Stay away from evil `intangible'.
20441
20442 2011-09-19 Leo Liu <sdl.web@gmail.com>
20443
20444 * replace.el (occur-revert-arguments): Make it permanent-local.
20445 (occur-mode): Don't call font-lock-defontify.
20446
20447 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
20448
20449 * net/ldap.el (ldap-search-internal): Don't push empty search
20450 result (Bug#9508).
20451
20452 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20453
20454 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
20455
20456 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
20457
20458 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
20459 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
20460
20461 2011-09-18 Juri Linkov <juri@jurta.org>
20462
20463 * buff-menu.el (Buffer-menu-mode-map):
20464 * dired.el (dired-mode-map):
20465 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
20466 (lisp-interaction-mode-map):
20467 * emacs-lisp/package.el (package-menu-mode-map):
20468 * epa.el (epa-key-list-mode-map):
20469 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
20470 (menu-bar-options-menu):
20471 * outline.el (outline-mode-menu-bar-map):
20472 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
20473 * vc/vc-dir.el (vc-dir-menu-map):
20474 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
20475 Capitalize non-function content words in menu item strings.
20476
20477 * dired.el (dired-mode-map): Add menu item for
20478 `image-dired-dired-toggle-marked-thumbs'.
20479
20480 2011-09-18 Juri Linkov <juri@jurta.org>
20481
20482 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
20483 to `isearch-case-fold-search' and restore its original value
20484 after the `isearch-mode' call.
20485
20486 2011-09-18 Juri Linkov <juri@jurta.org>
20487
20488 * progmodes/grep.el (grep-process-setup): Don't check code for 1
20489 because `zgrep' returns 1 for successful matches (bug#9226).
20490
20491 2011-09-18 Juri Linkov <juri@jurta.org>
20492
20493 * info.el (Info-extract-menu-node-name): Check the second match
20494 for empty string (second test-case of bug#9528).
20495 (Info-last-preorder): Let-bind `Info-history' to nil to not add
20496 intermediate nodes to the history (first test-case of bug#9528).
20497
20498 2011-09-18 Juri Linkov <juri@jurta.org>
20499
20500 * info.el (Info-mode-syntax-table): New variable.
20501 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
20502
20503 2011-09-18 Juri Linkov <juri@jurta.org>
20504
20505 * info.el (Info-file-supports-index-cookies):
20506 Increment line-beginning-position's arg from 3 to 4 because makeinfo
20507 outputs one more line for long file names (bug#4142).
20508
20509 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20510
20511 * newcomment.el (comment-normalize-vars): If prompting for
20512 comment-start, set comment-start-skip too (Bug#8424).
20513
20514 2011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
20515
20516 * icomplete.el: Fix previous fix of Bug#5849.
20517 (icomplete-mode): Don't set completion-show-inline-help.
20518 (icomplete-minibuffer-setup): Set completion-show-inline-help
20519 locally during icompletion.
20520
20521 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20522
20523 * woman.el (woman2-process-escapes): Don't delete unrecognized
20524 escapes (Bug#7843).
20525
20526 * files.el (inhibit-first-line-modes-regexps): Add image files.
20527 (hack-local-variables-prop-line): Return nil for malformed
20528 prop-lines (Bug#9044).
20529
20530 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
20531
20532 * net/tramp.el (top): Don't require 'shell.
20533 (tramp-methods): Fix docstring.
20534 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
20535 Return complete remote file name. Handle "smb" case.
20536 Use `tramp-tmpdir', if defined for the respective method.
20537 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
20538
20539 * net/tramp-compat.el (top): Require 'shell.
20540
20541 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20542 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
20543 `tramp-current-host'.
20544 (tramp-get-remote-tmpdir): Remove.
20545
20546 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
20547 `tramp-tmpdir' entries.
20548 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
20549 (tramp-smb-handle-file-attributes): Ignore errors.
20550 (tramp-smb-wait-for-output): Check also for process end.
20551
20552 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
20553
20554 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
20555 when sending QUIT (bug#9312).
20556
20557 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
20558
20559 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
20560 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
20561 occur-mode-display-occurrence.
20562 (occur-edit-mode): Add usage message.
20563 (occur-cease-edit): New command.
20564 (occur-after-change-function): Use text properties to find the
20565 position of the prefix text.
20566 (occur-engine): Set stickiness of prefix text properties.
20567
20568 2011-09-17 Glenn Morris <rgm@gnu.org>
20569
20570 * progmodes/etags.el (complete-tag):
20571 Fix call to completion-in-region. (Bug#9526)
20572
20573 2011-09-17 Juri Linkov <juri@jurta.org>
20574
20575 * textmodes/ispell.el (ispell-word): Add to the error message
20576 the word, ispell program name and current dictionary (bug#9121).
20577 (ispell-tex-arg-end): Capitalize "error" in the error message.
20578
20579 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
20580
20581 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
20582 check. (Bug#4251)
20583
20584 2011-09-17 Juri Linkov <juri@jurta.org>
20585
20586 * window.el (window-safe-min-height, window-safe-min-width):
20587 Fix typos (followup to bug#9522).
20588
20589 2011-09-17 Sven Joachim <svenjoac@gmx.de>
20590
20591 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
20592
20593 2011-09-16 Eli Zaretskii <eliz@gnu.org>
20594
20595 * simple.el (line-move): If goal-column is set, move by logical
20596 lines, not by display lines. (Bug#971)
20597 (next-line, previous-line, goal-column, line-move-visual): Doc fix
20598 to reflect the above change.
20599
20600 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
20601
20602 * image.el (imagemagick-register-types): Use regexp-opt.
20603
20604 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20605
20606 * window.el (display-buffer-base-action): Rename from
20607 display-buffer-default-action. Make default value empty.
20608 (display-buffer-overriding-action): Convert to defvar.
20609 (display-buffer-fallback-action): New var.
20610
20611 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20612
20613 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
20614 declaration.
20615 (package--add-to-archive-contents): If there is a duplicate entry
20616 with an older version, remove it.
20617 (package-menu-mark-delete, package-menu-mark-install)
20618 (package-menu-mark-unmark): Make unused args optional.
20619 (package-menu-mark-obsolete-for-deletion):
20620 Use package-menu-get-status instead of a regexp search.
20621 (package-menu-get-status): Use tabulated-list-entry.
20622 (package-menu-mark-upgrades): New command.
20623 (package-menu-mode-map): Bind it to U. Add it to menu bar.
20624 (package-menu-execute): Do installation before deletion.
20625 (package-menu-refresh, package-menu-execute): Use derived-mode-p
20626 instead of checking major-mode.
20627 (package-menu--find-upgrades): New function.
20628
20629 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20630
20631 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
20632 passwords in the log buffer.
20633 (smtpmail-process-filter): Update the process marker so that the
20634 "broken by peer" status message is inserted in the right place.
20635
20636 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
20637
20638 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
20639 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
20640 bibtex-completion-at-point-function.
20641 (bibtex-completion-at-point-function): Use them.
20642
20643 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
20644
20645 * mpc.el (mpc-constraints-tag-lookup): New function.
20646 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
20647 also to browser "album|playlist".
20648
20649 2011-09-14 Juri Linkov <juri@jurta.org>
20650
20651 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
20652 (isearch-edit-string): Use length of `isearch-string' when
20653 `isearch-fail-pos' returns nil.
20654 (isearch-message): Remove duplicate code and call
20655 `isearch-fail-pos' with arg `t'.
20656
20657 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
20658
20659 * replace.el (occur-mode-goto-occurrence): Don't force using other
20660 window (Bug#9499).
20661
20662 * dired-aux.el (dired-do-chmod): Don't provide initial input.
20663
20664 2011-09-14 Martin Rudalics <rudalics@gmx.at>
20665
20666 * window.el (display-buffer-window): Remove.
20667 (display-buffer-record-window): Use help-setup window parameter
20668 instead of variable display-buffer-window.
20669 (display-buffer-function, special-display-buffer-names)
20670 (special-display-function): Mention help-setup parameter instead
20671 of display-buffer-window in doc-string.
20672 * help.el (help-window-setup): New argument help-window.
20673 Use help-window-setup parameter instead of display-buffer-window.
20674 Reword some messages.
20675 (with-help-window): Pass window used for displaying the buffer
20676 to help-window-setup. Don't set display-buffer-window.
20677
20678 2011-09-13 Glenn Morris <rgm@gnu.org>
20679
20680 * emacs-lisp/debug.el (debugger-make-xrefs):
20681 Preserve point. (Bug#9462)
20682
20683 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20684
20685 * window.el (window-deletable-p): Use next-frame.
20686
20687 2011-09-13 Martin Rudalics <rudalics@gmx.at>
20688
20689 * window.el (window-auto-delete): Remove.
20690 (window-deletable-p): Remove argument FORCE. Don't deal with
20691 dedication and previous buffers.
20692 (switch-to-prev-buffer): Don't delete window.
20693 (delete-windows-on): Delete a window's frame if and only if the
20694 window is dedicated.
20695 (replace-buffer-in-windows): Delete buffer's window or frame if
20696 and only if window is dedicated.
20697 (quit-window): Handle quit-restore as before last change.
20698 (bury-buffer): Delete window only if window-deletable-p returns t.
20699
20700 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20701
20702 * window.el (window-deletable-p): Never delete the last frame on a
20703 given terminal.
20704
20705 2011-09-13 Glenn Morris <rgm@gnu.org>
20706
20707 * help.el (describe-key-briefly): Copy previous standard-output change.
20708
20709 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
20710
20711 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
20712
20713 2011-09-13 Glenn Morris <rgm@gnu.org>
20714
20715 * emacs-lisp/lisp-mode.el (lisp-indent-function):
20716 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
20717
20718 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
20719
20720 * dired-aux.el (dired-mark-read-string): Don't return default
20721 value on empty input (Bug#9361).
20722 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
20723 Omit initial minibuffer contents.
20724 (dired-do-chmod): Signal an error on empty input.
20725 (dired-mark-read-string): Don't return default on empty input.
20726
20727 * files.el (file-modes-symbolic-to-number): Doc fix.
20728
20729 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20730
20731 * international/mule-cmds.el (ucs-completions): Remove.
20732 (read-char-by-name): Use complete-with-action instead; add metadata.
20733
20734 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20735
20736 * window.el (display-buffer--action-function-custom-type)
20737 (display-buffer--action-custom-type): New vars.
20738 (display-buffer-alist, display-buffer-default-action)
20739 (display-buffer-overriding-action): Add defcustom types.
20740
20741 * frame.el (delete-other-frames): Doc fix (Bug#276).
20742
20743 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20744
20745 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
20746
20747 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20748
20749 Change modes that used same-window-* vars to use switch-to-buffer.
20750
20751 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
20752 Use switch-to-buffer.
20753
20754 * cus-edit.el (customize-group, custom-buffer-create)
20755 (customize-browse, custom-buffer-create-other-window):
20756 Use switch-to-buffer or switch-to-buffer-other-window.
20757
20758 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
20759 (Info-prev, Info-up, Info-speedbar-goto-node)
20760 (info-display-manual): Use switch-to-buffer.
20761 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
20762
20763 * mail/sendmail.el (mail): Use switch-to-buffer.
20764 (mail-recover): Use switch-to-buffer-other-window.
20765
20766 * cmuscheme.el (run-scheme, switch-to-scheme):
20767 * ielm.el (ielm):
20768 * shell.el (shell):
20769 * net/rlogin.el (rlogin):
20770 * net/telnet.el (telnet, rsh):
20771 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
20772
20773 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20774
20775 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
20776
20777 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20778
20779 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
20780 so don't mention it (bug#9301).
20781 (dired-sort-toggle-or-edit): Clarify string further.
20782
20783 * faces.el (face-spec-set-match-display): Make `(type graphic)'
20784 match `x', `w32' and `ns', like the manual says (bug#9029).
20785
20786 * subr.el (eval-after-load): Doc string clarification (bug#9125).
20787 (process-kill-buffer-query-function): Mention the buffer name in
20788 the query.
20789
20790 * image-mode.el (image-next-line): The line parameter is mandatory
20791 (bug#9258).
20792
20793 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
20794 which can be useful (bug#9301).
20795
20796 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
20797
20798 * subr.el (match-string): Mention that the current buffer should
20799 be the same as the search was done in (bug#9282).
20800
20801 * facemenu.el: Disable the remove-* commands if the mark isn't
20802 active (bug#9162).
20803
20804 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20805
20806 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
20807 of display-buffer.
20808 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
20809
20810 * replace.el (occur-mode-goto-occurrence)
20811 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
20812 and display-buffer.
20813
20814 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
20815 display-buffer.
20816
20817 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
20818 special-display and same-window variables.
20819 (mail-other-window): Use switch-to-buffer-other-window.
20820 (mail-other-frame): USe switch-to-buffer-other-frame.
20821
20822 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
20823 Use display-buffer-other-frame.
20824 (gdb-display-gdb-buffer): Use pop-to-buffer.
20825
20826 * progmodes/gud.el (gud-goto-info): Use info-other-window.
20827
20828 * progmodes/python.el: Don't set same-window-buffer-names.
20829
20830 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
20831
20832 * window.el (display-buffer-alist): Add *Python*.
20833
20834 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20835
20836 * window.el (display-buffer-alist): Add entry for buffers
20837 previously handled same-window-*.
20838 (display-buffer-alist, display-buffer-default-action)
20839 (display-buffer-overriding-action): Mark as risky.
20840 (display-buffer-alist): Document action function changes.
20841 (display-buffer--same-window-action)
20842 (display-buffer--other-frame-action): New variables.
20843 (switch-to-buffer, display-buffer-other-frame): Use them.
20844 (display-buffer): Rename reuse-frame entry to reusable-frames.
20845 (display-buffer-reuse-selected-window): Function deleted.
20846 (display-buffer-reuse-window): Handle reusable-frames alist entry.
20847 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
20848 (display-buffer-special): New function.
20849 (display-buffer--maybe-pop-up-frame-or-window): Rename from
20850 display-buffer-reuse-or-pop-window. Split off special-display
20851 part into display-buffer-special.
20852 (display-buffer-use-some-window): Don't perform any special
20853 pop-up-frames handling.
20854 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
20855 (display-buffer--maybe-same-window): Rename from
20856 display-buffer-maybe-same-window.
20857
20858 * info.el: Don't set same-window-regexps.
20859 (info-setup): New function.
20860 (info-other-window, info): Call it.
20861
20862 * cus-edit.el: Don't set same-window-regexps.
20863 (customize-group): New argument.
20864 (customize-group-other-window): Use it.
20865 (customize-face, customize-face-other-window): Likewise.
20866 (custom-buffer-create-other-window): Use pop-to-buffer directly.
20867
20868 * net/rlogin.el:
20869 * net/telnet.el:
20870 * progmodes/gud.el: Don't set same-window-regexps.
20871
20872 * cmuscheme.el:
20873 * ielm.el:
20874 * shell.el:
20875 * mail/sendmail.el:
20876 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
20877
20878 2011-09-10 Juri Linkov <juri@jurta.org>
20879
20880 * isearch.el (isearch-edit-string): Remove obsolete mention of
20881 `C-w' (`isearch-yank-word-or-char') from docstring.
20882 (isearch-query-replace): Fix typo in docstring (bug#9466).
20883
20884 2011-09-10 Juri Linkov <juri@jurta.org>
20885
20886 * paren.el (show-paren-function): Don't show escaped parens.
20887 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
20888
20889 2011-09-10 Eli Zaretskii <eliz@gnu.org>
20890
20891 * mail/sendmail.el (mml-to-mime, mml-attach-file)
20892 (mm-default-file-encoding): Remove autoload forms, they are
20893 replaced with autoload cookies in mml.el and mm-encode.el.
20894 (mail-add-attachment): New command.
20895 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
20896 (mail-mode): Mention mail-insert-file and mail-add-attachment in
20897 the doc string.
20898 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
20899
20900 2011-09-10 Reuben Thomas <rrt@sc3d.org>
20901
20902 * simple.el (count-words-region): Use buffer if there's no region
20903 (bug#9429).
20904
20905 2011-09-09 Juri Linkov <juri@jurta.org>
20906
20907 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
20908 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
20909 (wdired-isearch-filter-read-only): New function. (Bug#6362)
20910
20911 2011-09-09 Alan Mackenzie <acm@muc.de>
20912
20913 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
20914 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
20915
20916 2011-09-09 Eli Zaretskii <eliz@gnu.org>
20917
20918 Fix for Savannah bug#9392.
20919 * simple.el (mail-encode-mml): New defvar.
20920
20921 * mail/rmail.el (mail-encode-mml): Add a defvar.
20922 (rmail-enable-mime-composing): Default to t.
20923 (rmail-forward): Use MIME method of forwarding only if both
20924 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
20925 Set mail-encode-mml non-nil if the MIME method was used.
20926
20927 * mail/sendmail.el (mml-to-mime): Add autoload form.
20928 (mail-encode-mml): Add a defvar.
20929 (mail-mode): Make mail-encode-mml buffer-local and initialize it
20930 to nil.
20931 (mail-send): If mail-encode-mml is non-nil, run the outgoing
20932 message through mml-to-mime, and reset mail-encode-mml to nil.
20933
20934 2011-09-09 Glenn Morris <rgm@gnu.org>
20935
20936 * woman.el (woman-if-body): When processing an .el block,
20937 do not delete the next .el block as well. (Bug#9447)
20938 (woman-special-characters): Add oq, cq, and hy characters.
20939
20940 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20941
20942 * window.el (window-deletable-p): Make sure window is live before
20943 invoking window-prev-buffers.
20944
20945 2011-09-08 Leo Liu <sdl.web@gmail.com>
20946
20947 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
20948
20949 2011-09-08 Juri Linkov <juri@jurta.org>
20950
20951 * progmodes/compile.el (compilation-environment): Make it
20952 a defcustom (bug#8340).
20953
20954 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20955
20956 * window.el (frame-auto-delete): Rename to window-auto-delete.
20957 Make it control auto-deletion of windows and/or frames.
20958 (window-deletable-p): New argument FORCE. Rewrite conditions
20959 for deleting window/frame. (Bug#9419)
20960 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
20961 Rewrite handling of case when window/frame can be deleted.
20962 (delete-windows-on): Call window-deletable-p with new FORCE
20963 argument t. (Bug#9456)
20964
20965 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
20966
20967 * help-mode.el (help-mode): Restore autoload.
20968
20969 2011-09-07 Juri Linkov <juri@jurta.org>
20970
20971 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
20972 `compilation-environment'. Set buffer-local
20973 `compilation-environment' to `thisenv' later after (funcall mode).
20974 (Bug#8340)
20975
20976 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
20977 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
20978 instead of replacing its value. (Bug#8340)
20979
20980 2011-09-07 Juri Linkov <juri@jurta.org>
20981
20982 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
20983 based on text properties put by `grep-filter' instead of matching
20984 escape sequences.
20985 (grep-mode): Set buffer-local `compilation-error-screen-columns'
20986 to the value of `grep-error-screen-columns' (bug#9438).
20987
20988 2011-09-07 Juri Linkov <juri@jurta.org>
20989
20990 * simple.el (next-error-highlight, next-error-highlight-no-select):
20991 Doc fix (bug#9432).
20992
20993 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
20994
20995 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20996 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
20997
20998 2011-09-07 Leo Liu <sdl.web@gmail.com>
20999
21000 * net/rcirc.el (rcirc-mode): Conditionally initialize
21001 rcirc-input-ring.
21002
21003 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
21004
21005 * emacs-lisp/find-func.el (find-function-C-source): Only set
21006 find-function-C-source-directory after checking that we found a source
21007 file there (bug#9440).
21008
21009 2011-09-06 Alan Mackenzie <acm@muc.de>
21010
21011 * isearch.el (isearch-other-meta-char): Wherever a key list is
21012 unread, "unread" the prefix arg, too. This fixes bug #8901.
21013
21014 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
21015
21016 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
21017
21018 2011-09-05 Juri Linkov <juri@jurta.org>
21019
21020 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
21021
21022 2011-09-05 Juri Linkov <juri@jurta.org>
21023
21024 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
21025 keeping point where processing of grep matches begins, and
21026 continue to delete remaining escape sequences from the same point.
21027 (grep-filter): Make leading zero optional in "0?1;31m" because
21028 git-grep emits "\033[1;31m" escape sequences unlike expected
21029 "\033[01;31m" as GNU Grep does (bug#9408).
21030 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
21031
21032 2011-09-05 Juri Linkov <juri@jurta.org>
21033
21034 * subr.el (y-or-n-p): Capitalize "yes".
21035
21036 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
21037
21038 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
21039 `tramp-cache-unload-hook' where appropriate.
21040 (tramp-methods): Rename `tramp-remote-sh' to
21041 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
21042 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
21043
21044 * net/tramp-sh.el (top): Don't require 'shell.
21045 (tramp-methods): Add `tramp-remote-shell' and
21046 `tramp-remote-shell-args' entries.
21047 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
21048 (tramp-sh-handle-shell-command): Remove.
21049 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21050 Use `tramp-remote-shell'.
21051
21052 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
21053
21054 * mail/sendmail.el (sendmail-query-once-function): Delete.
21055 (sendmail-query-once): Save directly to send-mail-function.
21056 Update message-send-mail-function too.
21057
21058 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
21059
21060 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21061
21062 * progmodes/python.el (python-mode-map): Use correct function to
21063 start python interpreter from menu-bar (as reported by Geert
21064 Kloosterman).
21065 (inferior-python-mode-map): Fix typo.
21066 (python-shell-map): Remove.
21067
21068 2011-09-03 Deniz Dogan <deniz@dogan.se>
21069
21070 * net/rcirc.el (rcirc-print): Simplify code for
21071 rcirc-scroll-show-maximum-output. There is no need to walk
21072 through all windows to find the right one.
21073
21074 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21075
21076 * help.el (help-return-method): Doc fix.
21077
21078 2011-09-03 Martin Rudalics <rudalics@gmx.at>
21079
21080 * window.el (window-deletable-p): Don't return a non-nil value
21081 when there's a buffer that was shown in the window before.
21082 (Bug#9419)
21083 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
21084 Set window's previous buffers to nil.
21085
21086 2011-09-03 Eli Zaretskii <eliz@gnu.org>
21087
21088 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
21089 newline before and after the tag line, so it doesn't interfere
21090 with determining the paragraph direction of bidirectional text.
21091
21092 2011-09-03 Leo Liu <sdl.web@gmail.com>
21093
21094 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
21095
21096 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21097
21098 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
21099 (pop-to-buffer): Change interactive spec. Pass second argument
21100 directly to display-buffer.
21101 (display-buffer): Fix interactive spec. Use functionp to
21102 distinguish between a function and a list of functions.
21103
21104 * abbrev.el (edit-abbrevs):
21105 * arc-mode.el (archive-extract):
21106 * autoinsert.el (auto-insert):
21107 * bookmark.el (bookmark-bmenu-list):
21108 * files.el (find-file):
21109 * view.el (view-buffer):
21110 * progmodes/compile.el (compilation-goto-locus):
21111 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
21112
21113 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21114
21115 * window.el (display-buffer-alist): Doc fix.
21116 (display-buffer): Add docstring. Don't treat
21117 display-buffer-default specially.
21118 (display-buffer-reuse-selected-window)
21119 (display-buffer-same-window, display-buffer-maybe-same-window)
21120 (display-buffer-reuse-window, display-buffer-pop-up-frame)
21121 (display-buffer-pop-up-window)
21122 (display-buffer-reuse-or-pop-window)
21123 (display-buffer-use-some-window): New functions.
21124 (display-buffer-default-action): Use them.
21125 (display-buffer-default): Delete.
21126 (pop-to-buffer-1): Fix choice of actions.
21127
21128 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
21129
21130 * minibuffer.el (completion--insert-strings): Don't get confused by
21131 completion entries that end with an LF char.
21132
21133 2011-09-01 Eli Zaretskii <eliz@gnu.org>
21134
21135 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
21136
21137 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
21138
21139 * window.el (display-buffer): Restore interactive spec.
21140 (display-buffer-same-window, display-buffer-other-window):
21141 New functions.
21142 (pop-to-buffer-1): New function. Use the above.
21143 (pop-to-buffer, pop-to-buffer-same-window): Use it.
21144 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
21145
21146 * view.el (view-buffer-other-window, view-buffer-other-frame):
21147 Just use pop-to-buffer.
21148
21149 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
21150
21151 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
21152
21153 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
21154
21155 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
21156
21157 2011-08-31 Richard Stallman <rms@gnu.org>
21158
21159 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
21160 of the separation of rmail-view-buffer from rmail-buffer.
21161 If you say no to "replace original", the decrypt is in the
21162 view buffer. If you say yes, the decrypt goes into the
21163 rmail buffer also.
21164
21165 2011-08-31 Martin Rudalics <rudalics@gmx.at>
21166
21167 * window.el (display-buffer-window): Rewrite doc-string.
21168 (display-buffer-record-window): New function.
21169 (display-buffer-macro-specifiers)
21170 (display-buffer-even-window-sizes, display-buffer-set-height)
21171 (display-buffer-set-width, display-buffer-in-window)
21172 (display-buffer-reuse-window, display-buffer-split-specifiers)
21173 (display-buffer-side-specifiers, display-buffer-split-window-1)
21174 (display-buffer-split-window, display-buffer-split-atom-window)
21175 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21176 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
21177 (display-buffer-other-window-means-other-frame)
21178 (display-buffer-normalize-special)
21179 (display-buffer-normalize-default)
21180 (display-buffer-normalize-argument)
21181 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
21182 (display-buffer-normalize-specifiers, display-buffer-frame)
21183 (display-buffer-same-window, display-buffer-same-frame)
21184 (display-buffer-other-window)
21185 (display-buffer-same-frame-other-window)
21186 (display-buffer-other-frame, pop-to-buffer-same-window)
21187 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
21188 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
21189 (switch-to-buffer-same-frame)
21190 (switch-to-buffer-other-window-same-frame)
21191 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
21192 (display-buffer-alist-set-1, display-buffer-alist-set-2)
21193 (display-buffer-alist-set): Remove.
21194 (display-buffer-function, special-display-buffer-names)
21195 (special-display-regexps, special-display-function):
21196 In doc-string refer to display-buffer-window and quit-restore
21197 parameter.
21198 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
21199 (special-display-frame-alist, special-display-popup-frame)
21200 (same-window-buffer-names, same-window-regexps, same-window-p)
21201 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21202 (split-window-preferred-function, split-height-threshold)
21203 (split-width-threshold, window-splittable-p)
21204 (split-window-sensibly, window--try-to-split-window)
21205 (window--frame-usable-p, even-window-heights)
21206 (window--even-window-heights, window--display-buffer-1)
21207 (window--display-buffer-2, display-buffer-other-frame):
21208 Restore old Emacs 23 code, order and doc-strings where applicable.
21209 (display-buffer-default, display-buffer-assq-regexp): New functions.
21210 (display-buffer-alist): Rewrite doc-string.
21211 (display-buffer-default-action)
21212 (display-buffer-overriding-action): New variables.
21213 (display-buffer, switch-to-buffer): Rewrite.
21214 (pop-to-buffer): Restore Emacs 23 behavior but use
21215 window-normalize-buffer-to-display.
21216 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
21217 Restore Emacs 23 behavior but use
21218 window-normalize-buffer-to-switch-to.
21219 (pop-to-buffer-same-window): Rewrite.
21220 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
21221 Rewrite using Emacs 23 options.
21222
21223 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
21224
21225 * net/tramp.el (tramp-root-regexp): Remove.
21226 (tramp-completion-file-name-regexp-unified)
21227 (tramp-completion-file-name-regexp-separate)
21228 (tramp-completion-file-name-regexp-url): Don't use leading volume
21229 letter on w32 systems. (Bug#5303, Bug#9311)
21230 (tramp-drop-volume-letter): Simplify definition.
21231 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
21232
21233 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
21234
21235 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
21236 (bug#9356).
21237
21238 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
21239
21240 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
21241
21242 2011-08-29 Juri Linkov <juri@jurta.org>
21243
21244 * isearch.el (isearch-done): Don't display message "Mark saved"
21245 when arg `edit' is non-nil to prevent its flicker in the echo area.
21246
21247 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21248
21249 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
21250 obsolete packages for deletion.
21251
21252 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
21253
21254 * help-mode.el (help-mode-map): Add special-mode-map to parent.
21255 (help-mode): Derive help-mode from special-mode. Don't invoke
21256 view-mode from help-mode.
21257 (help-xref-override-view-map): Remove.
21258 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
21259 view-mode is not used anymore.
21260
21261 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21262
21263 * server.el (server-port): Doc fix.
21264
21265 * cus-theme.el (custom-theme-choose-mode): Inherit from
21266 special-mode (Bug#9124).
21267 (custom-theme-choose-mode-map): Add special-mode to parent.
21268
21269 2011-08-28 Alan Mackenzie <acm@muc.de>
21270
21271 * progmodes/cc-fonts.el
21272 (c-make-font-lock-BO-decl-search-function): New function.
21273 (c-basic-matchers-after - "Fontify the clauses after various
21274 keywords"): Extract the three keyword lists for the 3 erroneous
21275 constructs from the list of four, and use the new function above
21276 in place of an old one.
21277
21278 2011-08-28 Deniz Dogan <deniz@dogan.se>
21279
21280 * net/rcirc.el (rcirc-insert-prev-input)
21281 (rcirc-insert-next-input): Remove unused argument.
21282
21283 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21284
21285 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
21286
21287 2011-08-27 Alan Mackenzie <acm@muc.de>
21288
21289 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
21290 handle function pointer parameters properly.
21291
21292 2011-08-27 Martin Rudalics <rudalics@gmx.at>
21293
21294 * window.el (display-buffer-reuse-window): Fix case where
21295 selected window was reused with non-nil OTHER-WINDOW argument.
21296 (Bug#9381)
21297
21298 2011-08-27 Deniz Dogan <deniz@dogan.se>
21299
21300 * net/rcirc.el (rcirc-check-auth-status): Adding support for
21301 oftc's NickServ messages.
21302
21303 2011-08-27 Glenn Morris <rgm@gnu.org>
21304
21305 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
21306
21307 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
21308
21309 * emacs-lisp/package.el (package-install): Call package-initialize
21310 if called interactively.
21311
21312 2011-08-26 Leo Liu <sdl.web@gmail.com>
21313
21314 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
21315
21316 2011-08-25 Juri Linkov <juri@jurta.org>
21317
21318 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
21319 `search-whitespace-regexp' (bug#9364).
21320
21321 2011-08-25 Juri Linkov <juri@jurta.org>
21322
21323 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
21324 `regexp-search-ring' to their global values to protect from
21325 updating by `read-from-minibuffer' (bug#9185).
21326
21327 2011-08-25 Juri Linkov <juri@jurta.org>
21328
21329 * textmodes/ispell.el (ispell-command-loop): Add newline
21330 at the end of the "Use option `i'..." line.
21331
21332 2011-08-25 Juri Linkov <juri@jurta.org>
21333
21334 * battery.el (display-battery-mode): If `battery-status-function'
21335 or `battery-mode-line-format' is nil, display the message and set
21336 `display-battery-mode' to nil (bug#9363).
21337
21338 2011-08-25 Eli Zaretskii <eliz@gnu.org>
21339
21340 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
21341 bidi-string-mark-left-to-right; they are unnecessary now.
21342
21343 2011-08-25 Deniz Dogan <deniz@dogan.se>
21344
21345 * net/quickurl.el: Documentation typo fixes.
21346
21347 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
21348
21349 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
21350
21351 2011-08-25 Glenn Morris <rgm@gnu.org>
21352
21353 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
21354
21355 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
21356 (smtpmail-via-smtp): Handle nil response from smtp.
21357
21358 2011-08-24 Juri Linkov <juri@jurta.org>
21359
21360 * proced.el (proced-marked): Inherit from `error' instead of
21361 `font-lock-warning-face'.
21362
21363 * ibuffer.el (ibuffer-marked-face): Change default face from
21364 `font-lock-warning-face' to `warning'.
21365 (ibuffer-deletion-face): Change default face from
21366 `font-lock-type-face' to `error'.
21367
21368 * battery.el (battery-update): Use the face `error' instead of
21369 `font-lock-warning-face' (bug#6117).
21370
21371 2011-08-24 Juri Linkov <juri@jurta.org>
21372
21373 * faces.el (success): Change face color from "Green3" to
21374 "ForestGreen" on light background (bug#9353).
21375
21376 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
21377
21378 * window.el (quit-window): Rename from quit-restore-window.
21379 Use same arglist as old quit-window.
21380 (frame-auto-delete): Doc fix.
21381
21382 * view.el (view-mode-exit): Use quit-window.
21383
21384 2011-08-24 Juri Linkov <juri@jurta.org>
21385
21386 * isearch.el (isearch-ring-adjust1): Start visiting previous
21387 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
21388 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
21389 for empty search string (when the last search string is reused
21390 automatically) to adjust the isearch ring to the last element and
21391 prepare the correct index for further M-p commands (bug#9185).
21392
21393 2011-08-24 Kenichi Handa <handa@m17n.org>
21394
21395 * international/ucs-normalize.el: If decomposition property of
21396 CHAR is the default one (i.e. a list of CHAR itself), treat it as
21397 nil.
21398 (nfd, nfkd): Likewise.
21399
21400 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21401
21402 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
21403 from process filters aren't reliably transmitted to the surrounding
21404 accept-process-output.
21405 (mpc-proc-check): New function.
21406 (mpc-proc-sync): Use it (bug#8293)
21407
21408 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21409
21410 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
21411 Add compatibility functions (bug#9313).
21412
21413 2011-08-23 Eli Zaretskii <eliz@gnu.org>
21414
21415 * cus-start.el (all): Add entry for bidi-paragraph-direction.
21416
21417 * international/uni-bidi.el: Regenerate.
21418
21419 2011-08-23 Kenichi Handa <handa@m17n.org>
21420
21421 * international/charprop.el:
21422 * international/uni-bidi.el:
21423 * international/uni-category.el:
21424 * international/uni-combining.el:
21425 * international/uni-comment.el:
21426 * international/uni-decimal.el:
21427 * international/uni-decomposition.el:
21428 * international/uni-digit.el:
21429 * international/uni-lowercase.el:
21430 * international/uni-mirrored.el:
21431 * international/uni-name.el:
21432 * international/uni-numeric.el:
21433 * international/uni-old-name.el:
21434 * international/uni-titlecase.el:
21435 * international/uni-uppercase.el: Regenerate.
21436
21437 2011-08-23 Martin Rudalics <rudalics@gmx.at>
21438
21439 * help.el (help-window-setup): Fix message displayed when other
21440 window is reused. (Bug#9341)
21441
21442 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21443
21444 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
21445 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
21446
21447 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
21448 Mark obsolete.
21449 * shell.el (shell-parse-pcomplete-arguments): New function.
21450 (shell-completion-vars): Use it instead (bug#9160).
21451
21452 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
21453
21454 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
21455 strings and comments (bug#9333).
21456
21457 * emacs-lisp/debug.el (debug-arglist): New function.
21458 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
21459 (debug-on-entry-1): Handle interpreted closures (bug#9120).
21460
21461 2011-08-22 Juri Linkov <juri@jurta.org>
21462
21463 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21464 Revert regexp that highlights output switches to its old
21465 pre-2010-10-28 value and remove one `?' from it (bug#9319).
21466
21467 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
21468 to check for empty output (bug#9226).
21469
21470 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
21471
21472 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
21473 symbol-constituent as the default, as that stops font-lock from
21474 working properly (Bug#8843).
21475
21476 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21477
21478 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
21479 `coding-system-for-*' around the process open call to avoid
21480 auth-source side effects.
21481 (smtpmail-try-auth-methods): Expand the secret password.
21482 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
21483 probe hangs.
21484
21485 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21486
21487 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
21488
21489 * emacs-lisp/find-func.el (find-function-noselect): New arg
21490 lisp-only.
21491
21492 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
21493 signal an error for built-in functions (Bug#6664).
21494
21495 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21496
21497 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
21498 (smtpmail-try-auth-methods): Use it.
21499
21500 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21501
21502 * font-lock.el (font-lock-fontify-region)
21503 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
21504 (font-lock-default-unfontify-buffer)
21505 (font-lock-default-fontify-region)
21506 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
21507
21508 * progmodes/compile.el (compilation-error-properties):
21509 Fix confusion between file struct and message struct (Bug#9319).
21510 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
21511 `ant' regexp.
21512
21513 * net/browse-url.el (browse-url-firefox): Don't call
21514 browse-url-firefox-sentinel unless using -remote (Bug#9328).
21515
21516 2011-08-20 Glenn Morris <rgm@gnu.org>
21517
21518 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
21519
21520 * tutorial.el (tutorial--default-keys): Update some default bindings.
21521
21522 * files.el (hack-local-variables): Fully ignore case for "mode:".
21523
21524 2011-08-20 Alan Mackenzie <acm@muc.de>
21525
21526 Resolve invalid use of a regexp in regexp-opt.
21527
21528 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
21529 detection for a java annotation.
21530
21531 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
21532 detection for a java annotation.
21533
21534 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
21535 handling for java.
21536 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
21537
21538 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
21539
21540 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
21541 (Bug#9274).
21542
21543 2011-08-20 Alan Mackenzie <acm@muc.de>
21544
21545 Fontify CPP expressions correctly when starting in the middle of
21546 such a construct. Mainly for when jit-lock etc. starts a chunk
21547 here.
21548
21549 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
21550 variable.
21551 (c-make-font-lock-search-form): New function, extracted from
21552 c-make-font-lock-search-function.
21553 (c-make-font-lock-search-function): Use the above function.
21554 (c-make-font-lock-context-search-function): New function.
21555 (c-cpp-matchers): Enhance the preprocessor expression case with
21556 the above function
21557 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
21558 which takes an expression.
21559
21560 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
21561
21562 2011-08-20 Martin Rudalics <rudalics@gmx.at>
21563
21564 * window.el (display-buffer-reuse-window)
21565 (display-buffer-pop-up-window): Don't reuse or split a side
21566 window.
21567
21568 2011-08-19 Glenn Morris <rgm@gnu.org>
21569
21570 * files.el (hack-local-variables-prop-line, hack-local-variables):
21571 Downcase "Mode:". (Bug#9331)
21572
21573 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
21574
21575 * international/characters.el: Add L and R categories.
21576
21577 * subr.el (bidi-string-mark-left-to-right): Rename from
21578 string-mark-left-to-right. Use category search.
21579
21580 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
21581
21582 2011-08-18 Juri Linkov <juri@jurta.org>
21583
21584 * faces.el (error, warning, success): New faces with definitions
21585 copied from old default values of `font-lock-warning-face',
21586 `compilation-warning', `compilation-info' (bug#6117).
21587
21588 * font-lock.el (font-lock-warning-face): Inherit from `error'.
21589
21590 * progmodes/compile.el (compilation-error): Inherit from `error'.
21591 (compilation-warning): Inherit from `warning'.
21592 (compilation-info): Inherit from `success'.
21593
21594 * dired.el (dired-marked): Inherit from `warning'.
21595 (dired-flagged): Inherit from `error'.
21596
21597 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21598
21599 * mail/smtpmail.el (auth-source): Require to avoid problems with
21600 binding variables (bug#9298). Also clean up some unused
21601 autoloads.
21602
21603 * net/network-stream.el (network-stream-open-starttls):
21604 Support using starttls.el without using gnutls-cli.
21605
21606 2011-08-17 Juri Linkov <juri@jurta.org>
21607
21608 * progmodes/grep.el (rgrep): Handle the case when
21609 `grep-find-command' is a cons cell (bug#9278).
21610
21611 2011-08-17 Martin Rudalics <rudalics@gmx.at>
21612
21613 * window.el (display-buffer-pop-up-frame): Run frame creation
21614 function with BUFFER current (as special-display-popup-frame
21615 does). Reported by Drew Adams.
21616
21617 2011-08-17 Daiki Ueno <ueno@unixuser.org>
21618
21619 * epa-mail.el: Simplify GnuPG group expansion using
21620 epg-expand-group.
21621 (epa-mail-group-alist, epa-mail-group-modtime)
21622 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
21623 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
21624 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
21625 Remove.
21626
21627 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
21628
21629 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
21630
21631 2011-08-16 Alan Mackenzie <acm@muc.de>
21632
21633 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
21634 Correct, to avoid the inside of macros.
21635
21636 2011-08-16 Richard Stallman <rms@gnu.org>
21637
21638 * epa-mail.el: Handle GnuPG group definitions.
21639 (epa-mail-group-alist, epa-mail-group-modtime)
21640 (epa-mail-gnupg-conf-file): New variables.
21641 (epa-mail-parse-groups, epa-mail-sync-groups)
21642 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
21643 (epa-mail-expand-recipients): New functions.
21644 (epa-mail-encrypt): Call epa-mail-expand-recipients.
21645
21646 * mail/rmail.el (rmail-epa-decrypt): New command.
21647
21648 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
21649 Don't bind buffer-read-only, just inhibit-read-only.
21650 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
21651 (epa-decrypt-armor-in-region): Make error message clearer.
21652
21653 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
21654
21655 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
21656 and "a2b" to "ab" for `prefix'.
21657
21658 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
21659
21660 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
21661 filter groups.
21662 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
21663 Fourquet (Bug#8804).
21664
21665 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
21666
21667 * startup.el (argi): Declare as global variable (bug#9275).
21668
21669 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
21670
21671 * subr.el (string-mark-left-to-right): Search the entire string
21672 for RTL script, not just the terminating character. Doc fix.
21673
21674 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
21675
21676 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
21677 New function.
21678 (js--regexp-literal, js-syntax-propertize-function): Remove.
21679 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
21680 (js-mode-map): Don't rebind electric keys.
21681 (js-insert-and-indent): Remove.
21682 (js-mode): Setup electric-layout and electric-indent instead.
21683
21684 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
21685
21686 2011-08-12 Daiki Ueno <ueno@unixuser.org>
21687
21688 * epa.el (epa-progress-callback-function): Fix the logic of
21689 displaying progress.
21690 * epa-file.el (epa-file-insert-file-contents): Make progress
21691 display more user-friendly.
21692 (epa-file-write-region): Ditto.
21693
21694 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
21695
21696 * subr.el (string-mark-left-to-right): New function.
21697
21698 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
21699 Use string-mark-left-to-right.
21700 (list-buffers-noselect): Caller changed.
21701
21702 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21703 Use string-mark-left-to-right.
21704 (tabulated-list-print): Recenter after moving point.
21705
21706 2011-08-10 Juri Linkov <juri@jurta.org>
21707
21708 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
21709 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
21710 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
21711
21712 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
21713
21714 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
21715 (Bug#7554).
21716
21717 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
21718
21719 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
21720 character. (Bug#6594)
21721
21722 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
21723
21724 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
21725 (image-dired--with-db-file): New macro.
21726 (image-dired-write-tags, image-dired-remove-tag)
21727 (image-dired-create-gallery-lists, image-dired-write-comments)
21728 (image-dired-get-comment, image-dired-mark-tagged-files)
21729 (image-dired-list-tags, image-dired-gallery-generate): Use it.
21730 (image-dired-gallery-generate): Use insert-file-contents.
21731
21732 * time.el (display-time-world-list, display-time-world-display):
21733 * time-stamp.el (time-stamp-string):
21734 * vc/add-log.el (add-change-log-entry): Use setenv instead of
21735 set-time-zone-rule (Bug#7337).
21736
21737 2011-08-08 Daiki Ueno <ueno@unixuser.org>
21738
21739 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
21740 (epg-error-to-string, epg-errors-to-string): New function.
21741 (epg-wait-for-completion): Reverse errors list.
21742 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
21743 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
21744 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
21745 (epg-sign-keys, epg-generate-key-from-file)
21746 (epg-generate-key-from-string): Format errors by using
21747 epg-errors-to-string (bug#9255).
21748 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
21749
21750 2011-08-07 Juri Linkov <juri@jurta.org>
21751
21752 * faces.el (list-faces-display): Remove extra angle bracket
21753 from `help-mode-map'.
21754
21755 * info.el (Info-history-toc-nodes): Doc fix.
21756
21757 * longlines.el (longlines-mode): Doc fix.
21758
21759 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
21760
21761 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
21762 of statements and in a few more cases (bug#9183).
21763
21764 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
21765 New functions.
21766 (cl-transform-lambda): Use them (bug#9239).
21767
21768 2011-08-05 Martin Rudalics <rudalics@gmx.at>
21769
21770 * window.el (display-buffer-same-window)
21771 (display-buffer-same-frame, display-buffer-other-window)
21772 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21773 (pop-to-buffer-other-window)
21774 (pop-to-buffer-same-frame-other-window)
21775 (pop-to-buffer-other-frame): Make them defuns.
21776 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
21777
21778 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21779
21780 * subr.el (make-composed-keymap): Move from C. Change calling
21781 convention, and improve docstring to bring attention to a subtle point.
21782 * minibuffer.el (completing-read-default): Adjust accordingly.
21783
21784 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
21785
21786 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
21787 (tramp-open-shell): Use `tramp-shell-quote-argument'.
21788
21789 * net/trampver.el: Update release number.
21790
21791 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21792
21793 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
21794 "in" (bug#9190).
21795
21796 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21797
21798 * mail/sendmail.el (sendmail-query-once): Restore the current
21799 buffer after querying (bug#9074).
21800
21801 * dired.el (dired-flagged): Use different faces for marked and
21802 flagged files (bug#6117).
21803
21804 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
21805 (bug#4433).
21806
21807 * ido.el (ido-mode): Switch off the message if called
21808 non-interactively.
21809
21810 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
21811 before 587, since it appears that that's more likely to work for
21812 more people.
21813
21814 * cus-edit.el (custom-file): When running under emacs -q, always
21815 refuse to save the customizations, even if the .emacs file doesn't
21816 exist.
21817
21818 * info.el: Remove the `Info-beginning-of-buffer' function
21819 (bug#8325).
21820
21821 * net/network-stream.el (network-stream-open-starttls):
21822 Use `starttls-available-p' to see whether starttls.el can be used.
21823
21824 2011-08-01 Martin Rudalics <rudalics@gmx.at>
21825
21826 * window.el (display-buffer-in-window): Don't set dedicated status
21827 of window here (Bug#9215).
21828 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21829 (display-buffer-pop-up-side-window)
21830 (display-buffer-in-side-window): Set dedicated status of window here.
21831
21832 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
21833
21834 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
21835 before binding generated-autoload-file.
21836
21837 2011-08-01 Deniz Dogan <deniz@dogan.se>
21838
21839 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
21840
21841 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
21842
21843 Sync with Tramp 2.2.2.
21844
21845 * net/trampver.el: Update release number.
21846
21847 2011-07-30 Juri Linkov <juri@jurta.org>
21848
21849 * dired-aux.el (dired-touch-initial): Remove function.
21850 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
21851 current time, and `default' to the last modification time of the
21852 current marked file (bug#6887).
21853
21854 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
21855
21856 * simple.el (goto-line): Use string-to-number to provide a
21857 numeric argument to read-number (bug#9163).
21858
21859 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
21860
21861 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
21862 connection process, it could be nil.
21863
21864 2011-07-27 Leo Liu <sdl.web@gmail.com>
21865
21866 Simplify url handling in rcirc-mode.
21867
21868 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
21869 (rcirc-browse-url-at-mouse): Remove.
21870 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
21871
21872 2011-07-26 Alan Mackenzie <acm@muc.de>
21873
21874 Fontify bitfield declarations properly.
21875
21876 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
21877 (c-symbol-chars): Now exported as a lang variable.
21878 (c-not-primitive-type-keywords): New lang variable.
21879
21880 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
21881 QT keyword "more" to prevent "more slots: ...." being spuriously
21882 parsed as a bitfield declaration.
21883
21884 * progmodes/cc-engine.el (c-beginning-of-statement-1):
21885 Refactor and enhance to handle bitfield declarations.
21886 (c-punctuation-in): New function.
21887 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
21888 declarations properly.
21889
21890 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
21891
21892 * calendar/icalendar.el (icalendar--all-events): Take care of
21893 multiple vcalendars in a single file.
21894 (icalendar--convert-float-to-ical): Checkdoc fixes.
21895
21896 2011-07-25 Deniz Dogan <deniz@dogan.se>
21897
21898 * image.el (insert-image): Clarifying docstring.
21899
21900 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
21901
21902 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
21903 `tramp-send-command-and-check' if there is no error.
21904 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
21905
21906 2011-07-22 Alan Mackenzie <acm@muc.de>
21907
21908 Prevent cc-langs.elc being loaded at run time.
21909
21910 * progmodes/cc-mode.el: Remove two autoload forms which loaded
21911 cc-langs.
21912
21913 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
21914 "(require 'cc-langs)". Quote a form so it will evaluate at
21915 (cc-mode's) compilation time.
21916
21917 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
21918
21919 * net/tramp.el (tramp-file-name-handler): Avoid recursive
21920 loading. (Bug#9114)
21921
21922 2011-07-21 Martin Rudalics <rudalics@gmx.at>
21923
21924 * window.el (display-buffer-pop-up-window)
21925 (display-buffer-pop-up-side-window)
21926 (display-buffer-in-side-window): Call display-buffer-set-height
21927 and display-buffer-set-width after setting the new window's
21928 buffer so `fit-window-to-buffer' and friends work on the right buffer.
21929
21930 2011-07-20 Sam Steingold <sds@gnu.org>
21931
21932 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
21933 (etags-tags-included-tables): Call `convert-standard-filename' on
21934 the file names contained in TAGS so that windows Emacs can handle
21935 TAGS files created by cygwin ctags.
21936
21937 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
21938
21939 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
21940 which apparently didn't work.
21941
21942 2011-07-19 Roland Winkler <winkler@gnu.org>
21943
21944 * proced.el (proced-send-signal): For *Marked Processes* buffer
21945 put point at beginning of buffer.
21946
21947 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
21948
21949 * proced.el (proced-format): Make header lines align with the text
21950 (bug#1779).
21951
21952 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21953
21954 * view.el (view-buffer): Allow running in `special' modes if we're
21955 visiting a file (bug#8615).
21956
21957 2011-07-19 Martin Rudalics <rudalics@gmx.at>
21958
21959 * window.el (display-buffer-alist-of-strings-p)
21960 (display-buffer-alist-set-1, display-buffer-alist-set-2):
21961 New functions.
21962 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
21963 more accurately.
21964
21965 2011-07-18 Alan Mackenzie <acm@muc.de>
21966
21967 Fontify declarators properly when, e.g., a jit-lock chunk begins
21968 inside a declaration.
21969
21970 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
21971
21972 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21973 New function.
21974 (c-complex-decl-matchers): Insert reference to
21975 c-font-lock-enclosing-decls.
21976
21977 * progmodes/cc-engine.el (c-backward-single-comment):
21978 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
21979 to nil around calls to (forward-comment -1).
21980
21981 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21982
21983 * image.el (put-image): Doc typo fix.
21984
21985 * progmodes/etags.el (tags-search): Doc typo fix.
21986
21987 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
21988 password if we get errors 550 to 554.
21989
21990 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
21991
21992 * net/gnutls.el (gnutls-log-level): Remove.
21993
21994 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
21995 indentation character (bug#6380).
21996
21997 * files.el (buffer-offer-save): Made permanently local (bug#6241).
21998
21999 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
22000 to clarify what the problem is (bug#4291).
22001
22002 * simple.el (current-kill): Clarify what
22003 `interprogram-paste-function' does (bug#7500).
22004 (auto-fill-mode): Document `auto-fill-function' in relation to
22005 `auto-fill-mode' (bug#2470).
22006
22007 2011-07-16 Lawrence Mitchell <wence@gmx.li>
22008
22009 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
22010 method if slot is read-only (bug#9035).
22011
22012 2011-07-16 Martin Rudalics <rudalics@gmx.at>
22013
22014 * frame.el (select-frame-set-input-focus): New argument NORECORD.
22015 * window.el (pop-to-buffer): Select window used even if it was
22016 selected before, see discussion of (Bug#8615), (Bug#6954).
22017 Pass argument NORECORD on to select-frame-set-input-focus.
22018
22019 2011-07-15 Glenn Morris <rgm@gnu.org>
22020
22021 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
22022 Respect help-form.
22023
22024 2011-07-09 Lawrence Mitchell <wence@gmx.li>
22025
22026 * net/gnutls.el (gnutls-min-prime-bits): New variable.
22027 (gnutls-negotiate): Use it.
22028
22029 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22030
22031 * net/gnutls.el (gnutls-negotiate):
22032 Upcase `gnutls-algorithm-priority'.
22033
22034 2011-07-15 Glenn Morris <rgm@gnu.org>
22035
22036 * jka-compr.el (jka-compr-verbose): Move from here...
22037 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
22038 Add missing :version tag.
22039 * info.el: No need to require jka-compr when compiling.
22040
22041 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22042
22043 * net/gnutls.el (gnutls-algorithm-priority): New variable.
22044 (gnutls-negotiate): Use it.
22045
22046 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
22047
22048 * info.el (Info-beginning-of-buffer): New command.
22049 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
22050 announcing `b' as the key (bug#8325).
22051 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
22052
22053 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
22054
22055 * international/mule-cmds.el
22056 (describe-specified-language-support): Make the error message
22057 clearer (bug#8905).
22058
22059 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
22060
22061 * isearch.el (isearch-barrier): Add a doc string, since it's
22062 mentioned in a function doc string (bug#8678).
22063
22064 2011-07-15 Martin Rudalics <rudalics@gmx.at>
22065
22066 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
22067 buffer argument (Bug#9083) and self-identifying label argument.
22068
22069 2011-07-15 Glenn Morris <rgm@gnu.org>
22070
22071 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
22072
22073 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22074
22075 * man.el (Man-fontify-manpage): Fix message when formatting the
22076 man page (bug#7929).
22077
22078 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22079
22080 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
22081 argument LRM; if non-nil, append an invisible LRM character to the
22082 buffer name.
22083 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
22084 last argument non-nil, when formatting buffer names.
22085 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
22086 paragraph direction.
22087
22088 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22089
22090 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
22091 the man page name (bug#7929).
22092
22093 * image.el (put-image): Mention the `put-image' overlay property
22094 (bug#7834).
22095
22096 * scroll-bar.el (set-scroll-bar-mode): Mention that
22097 `scroll-bar-mode' lists the values (bug#7772).
22098
22099 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
22100 command (bug#7729).
22101
22102 * rect.el (apply-on-rectangle): Return the point after the last
22103 operation.
22104 (string-rectangle): Go to the point after the last operation
22105 (bug#7522).
22106
22107 * printing.el (pr-toggle-region): Clarify the documentation
22108 slightly (bug#7493).
22109
22110 * time.el (display-time-update):
22111 Allow `display-time-mail-function' to return nil (bug#7158).
22112 Fix suggested by Detlev Zundel.
22113
22114 * vc/diff.el (diff): Clarify the order the file names are read
22115 (bug#7111).
22116
22117 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
22118 the doc string (bug#7015).
22119
22120 * font-lock.el (font-lock-maximum-decoration): Mention what
22121 numeric levels mean (bug#6935).
22122
22123 * startup.el (initial-buffer-choice): Don't mention the `none'
22124 selection, which is against policy.
22125
22126 2011-07-14 Martin Rudalics <rudalics@gmx.at>
22127
22128 * window.el (display-buffer-normalize-special):
22129 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
22130
22131 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22132
22133 * subr.el (version<, version<=, version=): Mention "-CVS" and
22134 "-12345" alpha version numbers.
22135
22136 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22137
22138 * bindings.el: Add advertised binding for set-mark-command
22139 (Bug#5772).
22140
22141 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22142
22143 * bindings.el (mode-line-other-buffer):
22144 * bookmark.el (bookmark-bmenu-2-window):
22145 * bs.el (bs-cycle-next, bs-cycle-previous):
22146 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
22147 switch-to-buffer.
22148
22149 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22150 Delete.
22151
22152 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
22153
22154 * follow.el (follow-debug-message, follow-redisplay):
22155 * jka-cmpr-hook.el (with-auto-compression-mode):
22156 Fix typos in docstrings.
22157
22158 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22159
22160 * subr.el (with-silent-modifications): Clarify somewhat what the
22161 macro inhibits (bug#6525).
22162
22163 * simple.el (eval-expression): Note what it does if called
22164 interactively (bug#6495).
22165
22166 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22167
22168 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
22169 Use pop-to-buffer buffer-or-name if it is nil.
22170
22171 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22172 Remove switch-to-buffer.
22173
22174 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22175
22176 * files.el (make-directory): Clarify that an error will be raised
22177 if there's an error (bug#6397).
22178
22179 * startup.el (initial-buffer-choice): Add `none' as a choice
22180 (bug#6234).
22181
22182 * subr.el (add-hook): Clarify section about buffer-local hooks
22183 (bug#6218).
22184
22185 * dired.el (dired-flagged): Clarify doc string (bug#6117).
22186
22187 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22188
22189 * tabify.el (untabify): Preserve the current column so that point
22190 doesn't move (bug#6032).
22191
22192 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22193
22194 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
22195 Rewrite to avoid awkward possessive "s" (bug#5986).
22196
22197 2011-07-13 Glenn Morris <rgm@gnu.org>
22198
22199 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
22200 (dired-insert-directory): Give a message the first time
22201 if ls is found not to support --dired.
22202
22203 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22204
22205 * simple.el (toggle-truncate-lines): Clarify what is toggled
22206 (bug#5580). Text by Drew Adams.
22207
22208 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22209
22210 * simple.el (blink-matching-open): Make the error message from the
22211 last change less verbose.
22212
22213 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
22214
22215 * font-lock.el (font-lock-comment-face): Use the high contrast
22216 "yellow" color for font-lock-comment-face on low color terminals
22217 using a dark background color (bug#4221).
22218
22219 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22220
22221 * dired.el (dired-insert-set-properties): Make the doc string
22222 reflect what it does now (bug#5325).
22223
22224 * simple.el (blink-matching-open): Say that we were unable to find
22225 the match within the limit, if we're limited (bug#5122).
22226
22227 * international/mule-cmds.el (prefer-coding-system): Add an
22228 example (bug#4869).
22229
22230 * progmodes/etags.el (tags-search): Document `file-list-form'
22231 (bug#4731).
22232
22233 2011-07-13 Lawrence Mitchell <wence@gmx.li>
22234
22235 * net/browse-url.el (browse-url-default-browser)
22236 (browse-url-browser-function): Make the default browser choice a
22237 bit more logical (bug#4300). Also clean up the doc string.
22238
22239 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22240
22241 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
22242 binary endings (bug#4440).
22243
22244 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22245
22246 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
22247 which can be pretty annoying (bug#8971).
22248
22249 * jka-compr.el (jka-compr-verbose): New variable, and use
22250 throughout (bug#8971).
22251
22252 * info.el (Info-find-file): Fall back on the installation
22253 directory if we can't find the info node anywhere else.
22254
22255 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
22256
22257 * vc/vc.el (vc-revert-file):
22258 Don't set file time-stamp in the past. (Bug#5181)
22259
22260 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22261
22262 * files.el (after-find-file): Give a better error message when
22263 trying to find a symlink that points to a file that doesn't exist
22264 (bug#4398).
22265
22266 * progmodes/cc-vars.el: Remove (probably) misleading comment
22267 (bug#4396).
22268
22269 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
22270
22271 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
22272
22273 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22274
22275 * mouse-sel.el: Hack restoring functionality, while keeping
22276 compatibility with 2010-07-03 changes to mouse selection.
22277 (mouse-sel-primary-overlay): New var.
22278 (mouse-sel-selection-alist): Use it.
22279 (mouse-sel-mode): Doc fix; remove points that are default features
22280 of mouse.el.
22281
22282 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
22283
22284 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22285 Fix previous fix (bug#2490).
22286
22287 2011-07-12 Roland Winkler <winkler@gnu.org>
22288
22289 * textmodes/bibtex.el (bibtex-initialize):
22290 Use pop-to-buffer-same-window.
22291 (bibtex-search-entries): Fix interactive call.
22292
22293 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22294
22295 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22296 Fontise bytecomp Error lines more correctly (bug#2490).
22297 Fix suggested by Johan BockgĂ¥rd.
22298
22299 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
22300
22301 * dired-x.el (dired-guess-default): Use `delete-dups'.
22302
22303 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22304
22305 * dired.el (dired-mark-prompt):
22306 * dired-aux.el (dired-read-shell-command): Doc fix.
22307
22308 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22309
22310 * mail/sendmail.el (sendmail-query-once):
22311 Use `customize-save-variable' unconditionally, now that it works under
22312 emacs -Q.
22313
22314 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22315
22316 * cus-edit.el (custom-file): Take an optional no-error variable.
22317 (customize-save-variable): Set the variable, and give a warning if
22318 running under "emacs -q".
22319
22320 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
22321
22322 * loadhist.el (unload-feature-special-hooks):
22323 Add `auto-coding-functions', `fill-nobreak-predicate' and
22324 `find-directory-functions' (bug#5327).
22325
22326 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22327
22328 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
22329
22330 * cus-edit.el (custom-guess-name-alist): -alist variables should
22331 use the `alist' type (bug#3120). Suggested by Drew Adams.
22332
22333 * printing.el: Add documentation to all the `pr-toggle-' commands.
22334
22335 2011-07-11 Leo Liu <sdl.web@gmail.com>
22336
22337 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
22338 backends where it makes sense (bug#2623).
22339
22340 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22341
22342 * dired-x.el (dired-guess-default): Remove duplicate shell command
22343 entries (bug#2028).
22344 (dired-guess-default): Fix grammar in doc string (bug#2028).
22345 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
22346
22347 * subr.el (remove-duplicates): New conveniency function.
22348
22349 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
22350
22351 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
22352 (bug#1526).
22353
22354 2011-07-10 Martin Rudalics <rudalics@gmx.at>
22355
22356 * window.el (display-buffer-normalize-default): Don't invert
22357 meaning of even-window-heights. Reported by Eli Zaretskii
22358 <eliz@gnu.org>.
22359
22360 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
22361
22362 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
22363
22364 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
22365
22366 * window.el (display-buffer): Fix arguments to
22367 display-buffer-reuse-window in last change.
22368
22369 * faces.el (link): Use a less saturated blue on light backgrounds.
22370
22371 * startup.el (fancy-startup-text, fancy-about-text)
22372 (fancy-startup-tail): Use font-lock faces, for background safety.
22373
22374 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
22375
22376 * emulation/viper-cmd.el (viper-change-state-to-vi):
22377 Limit triggering of abbrev expansion (Bug#9038).
22378
22379 2011-07-09 Martin Rudalics <rudalics@gmx.at>
22380
22381 * window.el (display-buffer-default-specifiers): Remove.
22382 (display-buffer-macro-specifiers): Remove default specifiers.
22383 (display-buffer-alist): Default to nil.
22384 (display-buffer-reuse-window): New optional argument other-window.
22385 (display-buffer-pop-up-window): Allow splitting internal
22386 windows. Check whether a live window was created.
22387 (display-buffer-other-window-means-other-frame)
22388 (display-buffer-normalize-arguments): Rename to
22389 display-buffer-normalize-argument and rewrite. Set the
22390 other-window specifier.
22391 (display-buffer-normalize-special): New function.
22392 (display-buffer-normalize-options): Rename to
22393 display-buffer-normalize-default and rewrite.
22394 (display-buffer-normalize-options-inhibit): Remove.
22395 (display-buffer-normalize-specifiers): Rewrite.
22396 (display-buffer): Process other-window specifier and call
22397 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
22398 more faithfully.
22399 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
22400 (display-buffer-alist-set): Don't handle 'unset default values.
22401 (display-buffer-in-window, display-buffer-alist-set):
22402 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
22403 <tassilo@member.fsf.org>.
22404
22405 2011-07-09 Leo Liu <sdl.web@gmail.com>
22406
22407 * register.el (insert-register): Restore accidental change on
22408 2011-06-26. (Bug#9028)
22409
22410 2011-07-09 Glenn Morris <rgm@gnu.org>
22411
22412 * subr.el (remq): Handle the empty list. (Bug#9024)
22413
22414 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
22415
22416 * mail/sendmail.el (send-mail-function): No longer delay custom
22417 initialization.
22418 * custom.el (custom-initialize-delay): Doc fix.
22419
22420 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22421
22422 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
22423
22424 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
22425
22426 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
22427 human-friendly prompt.
22428
22429 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22430
22431 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
22432 provided by a particular plugin.
22433
22434 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
22435
22436 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
22437 save customizations (with "emacs -Q"), just set the variable
22438 instead of erroring out.
22439
22440 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22441
22442 2011-07-08 Juri Linkov <juri@jurta.org>
22443
22444 * arc-mode.el (archive-zip-expunge, archive-zip-update)
22445 (archive-zip-update-case): Use 7z if found by `executable-find'.
22446 The order of searching the available programs is the same as in
22447 `archive-zip-extract' (bug#8968).
22448
22449 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22450
22451 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
22452 (menu-bar-options-menu): Tweak descriptions.
22453
22454 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22455
22456 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
22457 menu items into verb phrases (bug#1421). Also refill to fit under
22458 80 columns.
22459
22460 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22461
22462 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
22463 (Info-read-node-name): Doc fix (Bug#1084).
22464
22465 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
22466 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
22467 (end-of-sexp, beginning-of-sexp)
22468 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
22469 (forward-symbol, forward-same-syntax, word-at-point)
22470 (sentence-at-point): Doc fix (Bug#1144).
22471
22472 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22473
22474 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
22475 should cover it (bug#1281).
22476
22477 * cus-edit.el (custom-show): Mark as obsolete.
22478
22479 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
22480 negotiation fails, then possibly try again with a non-encrypted
22481 connection (bug#9017).
22482
22483 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
22484 be used.
22485
22486 2011-07-07 Richard Stallman <rms@gnu.org>
22487
22488 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
22489 property, and handle its changed format.
22490 Look for the correct line number.
22491 Use file's line contents (but not past first =) to find
22492 correct line in message.
22493
22494 2011-07-07 Kenichi Handa <handa@m17n.org>
22495
22496 * international/characters.el (build-unicode-category-table):
22497 Delete it.
22498 (unicode-category-table): Set it by unicode-property-table-internal.
22499
22500 * international/mule-cmds.el (char-code-property-alist): Move to
22501 to src/chartab.c.
22502 (get-char-code-property): Call unicode-property-table-internal to
22503 load a file. Call get-unicode-property-internal where necessary.
22504 (put-char-code-property): Call unicode-property-table-internal to
22505 load a file. Call put-unicode-property-internal where necessary.
22506 put-unicode-property-internal where necessary.
22507 (char-code-property-description):
22508 Call unicode-property-table-internal to load a file.
22509
22510 * international/charprop.el:
22511 * international/uni-bidi.el:
22512 * international/uni-category.el:
22513 * international/uni-combining.el:
22514 * international/uni-comment.el:
22515 * international/uni-decimal.el:
22516 * international/uni-decomposition.el:
22517 * international/uni-digit.el:
22518 * international/uni-lowercase.el:
22519 * international/uni-mirrored.el:
22520 * international/uni-name.el:
22521 * international/uni-numeric.el:
22522 * international/uni-old-name.el:
22523 * international/uni-titlecase.el:
22524 * international/uni-uppercase.el: Regenerate.
22525
22526 * loadup.el: Load international/charprop.el before
22527 international/characters.
22528
22529 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22530
22531 * window.el (next-buffer, previous-buffer): Signal an error if
22532 called from a minibuffer window.
22533
22534 * bindings.el: Revert 2011-07-04 change.
22535
22536 2011-07-06 Richard Stallman <rms@gnu.org>
22537
22538 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
22539 (rmail-mime-insert-bulk, rmail-mime-insert-text):
22540 Treat markers like ints.
22541 (rmail-mime-entity): Doc fix.
22542
22543 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22544
22545 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
22546 defcustom again for backwards compatibility.
22547
22548 * simple.el (shell-command-on-region): Fill.
22549
22550 * dired-aux.el (dired-kill-line): Add a doc string.
22551
22552 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
22553 to "\\sw\\|\\s_" (bug#358).
22554
22555 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
22556 (dired-unmark-backward): Ditto.
22557 (dired-flag-backup-files): Ditto.
22558
22559 * dired-x.el (dired-mark-sexp): Ditto.
22560
22561 2011-07-06 Richard Stallman <rms@gnu.org>
22562
22563 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
22564 (rmail-mime-entity): New arg TRUNCATED.
22565 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
22566 New functions.
22567 (rmail-mime-save): Warn if entity is truncated.
22568 (rmail-mime-toggle-hidden): Likewise, for showing.
22569 (rmail-mime-process-multipart): Record when an entity is truncated.
22570
22571 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
22572 if ENTITY is a string.
22573
22574 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22575
22576 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
22577 of faces when `M-C-x'-ing their definitions (bug#8378).
22578 Also clean up the code slightly.
22579
22580 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
22581 because that makes the colors go away.
22582
22583 * mail/sendmail.el (send-mail-function): Change the default to
22584 `sendmail-query-once'.
22585 (sendmail-query-once): Add an autoload cookie.
22586
22587 * net/network-stream.el (network-stream-open-starttls): Try using
22588 a plain connection even if the server offered STARTTLS, and we
22589 kinda wanted to use it, if Emacs doesn't have any STARTTLS
22590 capability. This should make smtpmail.el work in slightly more
22591 configurations.
22592
22593 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
22594
22595 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22596 New defun.
22597 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
22598
22599 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
22600
22601 * progmodes/sql.el: Version 3.0
22602 (sql-product-alist): Add product :completion-object,
22603 :completion-column, and :statement attributes.
22604 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
22605 (sql-mode-syntax-table): Mark all punctuation.
22606 (sql-font-lock-keywords-builder): Temporarily remove fallback on
22607 ansi keywords.
22608 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
22609 (sql-mode-oracle-font-lock-keywords): Improve.
22610 (sql-oracle-show-reserved-words): New function for development.
22611 (sql-product-font-lock): Simplify for source code buffers.
22612 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
22613 New functions.
22614 (sql-highlight-product): Set product specific syntax table.
22615 (sql-mode-map): Add statement movement functions.
22616 (sql-ansi-statement-starters, sql-oracle-statement-starters):
22617 New variable.
22618 (sql-statement-regexp, sql-beginning-of-statement)
22619 (sql-end-of-statement, sql-signum): New functions.
22620 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
22621 (sql-show-sqli-buffer): Bug fix.
22622 (sql-interactive-mode): Store connection data as buffer local.
22623 (sql-connect): Add NEW-NAME parameter. Redesign interaction
22624 with sql-interactive-mode.
22625 (sql-save-connection): Save buffer local settings.
22626 (sql-connection-menu-filter): Change menu entry name.
22627 (sql-product-interactive): Bug fix.
22628 (sql-preoutput-hold): New variable.
22629 (sql-interactive-remove-continuation-prompt): Bug fixes.
22630 (sql-debug-redirect): New variable.
22631 (sql-str-literal): New function.
22632 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
22633 Redesign.
22634 (sql-oracle-save-settings, sql-oracle-restore-settings)
22635 (sql-oracle-list-all, sql-oracle-list-table): New functions.
22636 (sql-completion-object, sql-completion-column)
22637 (sql-completion-sqlbuf): New variables.
22638 (sql-build-completions-1, sql-build-completions)
22639 (sql-try-completion): New functions.
22640 (sql-read-table-name): Use them.
22641 (sql-contains-names): New buffer local variable.
22642 (sql-list-all, sql-list-table): Use it.
22643 (sql-oracle-completion-types): New variable.
22644 (sql-oracle-completion-object, sql-sqlite-completion-object)
22645 (sql-postgres-completion-object): New functions.
22646
22647 2011-07-06 Glenn Morris <rgm@gnu.org>
22648
22649 * window.el (pop-to-buffer): Doc fix.
22650
22651 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
22652
22653 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
22654
22655 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
22656
22657 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
22658
22659 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
22660
22661 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
22662
22663 * button.el (button): Inherit from link face. Suggested by Dan
22664 Nicolaescu.
22665
22666 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22667
22668 * progmodes/gdb-mi.el: Fit in 80 columns.
22669 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
22670 switch-to-buffer.
22671
22672 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
22673 if imenu is simply not configured (bug#8941).
22674
22675 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
22676
22677 * allout.el (allout-post-undo-hook): New allout outline-change
22678 event hook to signal undo activity.
22679 (allout-post-command-business): Run allout-post-undo-hook if an
22680 undo just occurred.
22681 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
22682 * allout-widgets.el (allout-widgets-after-undo-function):
22683 Ensure the integrity of the current item's decoration after it has been
22684 in the vicinity of an undo.
22685 (allout-widgets-mode): Include allout-widgets-after-undo-function
22686 on the new allout-post-undo-hook.
22687
22688 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22689
22690 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
22691 Let define-derived-mode define it.
22692 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
22693 cycles of abbrev-table inheritance (bug#8998).
22694
22695 2011-07-05 Roland Winkler <winkler@gnu.org>
22696
22697 * textmodes/bibtex.el: Add support for biblatex.
22698 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
22699 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
22700 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
22701 (bibtex-entry-alist, bibtex-field-alist): New variables.
22702 (bibtex-entry-field-alist): Obsolete alias for
22703 bibtex-BibTeX-entry-alist.
22704 (bibtex-entry-alist, bibtex-field-alist): New widgets.
22705 (bibtex-set-dialect): New command.
22706 (bibtex-entry-type, bibtex-entry-head)
22707 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
22708 Bind via bibtex-set-dialect.
22709 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
22710 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
22711 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
22712 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
22713 Define via bibtex-set-dialect.
22714 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
22715 Obey bibtex-no-opt-remove-re.
22716 (bibtex-vec-push, bibtex-vec-incr): New functions.
22717 (bibtex-format-entry, bibtex-field-list)
22718 (bibtex-print-help-message, bibtex-validate)
22719 (bibtex-search-entries): Use new format of bibtex-entry-alist.
22720
22721 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22722
22723 * progmodes/compile.el (compilation-goto-locus):
22724 * net/tramp-cmds.el (tramp-append-tramp-buffers):
22725 * bs.el (bs-cycle-next, bs-cycle-previous):
22726 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
22727 * bindings.el (mode-line-other-buffer):
22728 * autoinsert.el (auto-insert):
22729 * arc-mode.el (archive-extract):
22730 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
22731
22732 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22733
22734 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
22735 Fix check of `emacs-lock-unlockable-modes'.
22736 Coerce true values of `emacs-lock--try-unlocking' to t.
22737
22738 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22739
22740 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
22741 * emacs-lock.el: New file.
22742
22743 2011-07-05 Julien Danjou <julien@danjou.info>
22744
22745 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
22746 than `boundp' to check if face is set.
22747
22748 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22749
22750 * register.el (registerv-make):
22751 * window.el (window-min-height): Fix typos in docstrings.
22752
22753 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
22754
22755 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
22756 Update doc string.
22757
22758 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22759
22760 * server.el (server-execute): Catch quit and call
22761 `server-return-error' to pass the error back to emacsclient and
22762 close the connection (bug#8942).
22763
22764 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
22765
22766 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
22767 insecure exception for current topic. Also note that auto-saves
22768 are handled differently.
22769
22770 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
22771 State variables for tracking auto-save inhibition situation.
22772
22773 (allout-write-contents-hook-handler): Rename from
22774 'allout-write-file-hook-handler', and describe how it depends on
22775 write-contents-functions sensitivity to non-nil value to prevent
22776 file write.
22777
22778 (allout-auto-save-hook-handler): Remove. auto-save does not check
22779 this in individual buffers, only in the starting buffer, so this
22780 is not the right way for us to inhibit auto-save in a buffer
22781 according to its condition.
22782
22783 (allout-mode): Use new allout-write-contents-hook-handler, and
22784 only with write-contents-functions. Remove auto-save provisions -
22785 they're implemented elsewhere.
22786
22787 (allout-before-change-handler): If undo is in progress, note that
22788 for attention of allout-post-command-business.
22789
22790 (allout-post-command-business): If the command we're following was
22791 an undo, check for change in the status of encrypted items and
22792 adjust auto-save inhibitions accordingly.
22793
22794 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
22795 according to whether there are or aren't any plain-text topics
22796 pending encryption.
22797
22798 (allout-inhibit-auto-save-info-for-decryption):
22799 Adjust buffer-saved-size and some allout state to inhibit auto-saves
22800 if there are plain-text topics pending encryption.
22801
22802 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
22803 buffer-saved-size and some allout state to not inhibit auto-saves
22804 if there are no longer any plain-text topics pending encryption.
22805
22806 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
22807 No longer provide for exemption of the current topic.
22808
22809 2011-07-04 Juri Linkov <juri@jurta.org>
22810
22811 Add 7z operations to delete and save changed members (bug#8968).
22812 * arc-mode.el (archive-7z-expunge, archive-7z-update):
22813 New defcustoms.
22814 (archive-7z-write-file-member): New function.
22815 (archive-7z-summarize): Fix the number of dashes in the
22816 listing output.
22817
22818 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22819
22820 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
22821 (bug#8958).
22822
22823 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
22824
22825 * bindings.el: Ignore next-buffer and previous-buffer in
22826 minibuffer-local-map.
22827
22828 * font-lock.el (font-lock-builtin-face): Change light background
22829 color to dark slate blue (Bug#6693).
22830
22831 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
22832
22833 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
22834
22835 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22836
22837 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
22838 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22839 Add switch-to-buffer.
22840
22841 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22842
22843 * isearch.el (isearch-search-fun-function): Clarify further the
22844 meaning of the function returned.
22845
22846 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
22847
22848 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
22849
22850 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
22851 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
22852 Use it.
22853 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
22854 `tramp-default-remote-path' does not exist.
22855 (tramp-send-command-and-read): New optional argument NOERROR.
22856 (tramp-open-connection-setup-interactive-shell)
22857 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
22858 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
22859 (tramp-process-sentinel): Flush also process' connection property.
22860 (tramp-sh-handle-start-file-process): Do not set process
22861 sentinel. It is done now ...
22862 (tramp-maybe-open-connection): ... here. (Bug#8929)
22863
22864 2011-07-04 MON KEY <monkey@sandpframing.com>
22865
22866 * play/animate.el (animate-string): Doc fixes and allow changing
22867 the buffer name (bug#5417).
22868
22869 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22870
22871 * play/animate.el (animation-buffer-name): Rename from *animate*.
22872
22873 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
22874
22875 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
22876 This is simpler and helps future-proof the code.
22877 (timer-until): Use time-subtract and float-time.
22878 (timer--time-less-p): Use time-less-p.
22879
22880 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22881
22882 * type-break.el (timep): Use the value of `float-time' to avoid a
22883 byte-compiler warning.
22884
22885 * server.el (server-eval-and-print): Return any result, even nil.
22886
22887 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
22888
22889 * type-break.el: Accept time formats that the builtins accept.
22890 (timep, type-break-time-difference): Accept any format that
22891 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
22892 This is simpler and helps future-proof the code.
22893 (type-break-time-difference): Round rather than ignoring
22894 subseconds components.
22895
22896 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22897
22898 * info.el (Info-apropos-matches): Make non-interactive, since it
22899 doesn't seem to do anything useful as a command (bug#8829).
22900
22901 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
22902
22903 * frame.el (frame-background-mode, frame-set-background-mode):
22904 Move from faces.el.
22905 (frame-default-terminal-background): New function.
22906
22907 * custom.el (custom-push-theme): Don't record faces in `changed'
22908 theme; this doesn't work correctly for per-frame face settings.
22909 (disable-theme): Use face-set-after-frame-default to reset faces.
22910 (custom--frame-color-default): New function.
22911
22912 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22913
22914 * dired.el (dired-flagging-regexp): Remove unused variable
22915 (bug#8769).
22916
22917 2011-03-29 Kevin Ryde <user42@zip.com.au>
22918
22919 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22920 `perl-Test2' extend to match possible "fail #N" rep count
22921 (bug#8377).
22922
22923 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22924
22925 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
22926 `smtpmail-via-smtp' now returns the error instead of nil.
22927
22928 * isearch.el (isearch-search-fun-function): Clarify the doc string
22929 (bug#8101).
22930
22931 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
22932
22933 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
22934 unnecessary spaces (bug#8987).
22935
22936 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22937
22938 * net/network-stream.el (open-network-stream): Use the
22939 :end-of-capability command thoughout.
22940
22941 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
22942
22943 * net/network-stream.el (open-network-stream): Add the
22944 :end-of-capability command parameter, used by pop3.el.
22945
22946 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22947
22948 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
22949
22950 * fringe.el (fringe-query-style): Remove redundant text " (type ?
22951 for list)" (bug#6475).
22952
22953 * files.el (file-expand-wildcards): Ignore non-readable
22954 sub-directories while trying to find matches instead of signaling
22955 an error (bug#6297).
22956
22957 * man.el (Man-reference-regexp): Allow matching possible
22958 word-wrapped references (bug#6289).
22959
22960 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
22961 for consistency with the other vc buffers (bug#6197).
22962 (vc-checkin): Ditto.
22963
22964 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
22965
22966 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
22967
22968 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22969
22970 * custom.el (defcustom): Clarify that :set is only used in the
22971 Customize user interface (bug#6089).
22972
22973 * progmodes/flymake.el (flymake-mode): If the buffer isn't
22974 associated with a file, refuse to run instead of erroring out
22975 (bug#6084).
22976
22977 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
22978 the doc string, since it appears that using `fill-column' always
22979 controls the width (bug#7845).
22980
22981 * simple.el (shell-command-on-region): Say where the error output
22982 went if `shell-command-default-error-buffer' is set (bug#6857).
22983
22984 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
22985
22986 * allout.el (allout-yank-processing): Adjust cursor position for
22987 backwards-deleted space.
22988
22989 (allout-rebullet-heading): Register changes with
22990 allout-exposure-changed-hook, so the modified topic is properly
22991 decorated.
22992
22993 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22994
22995 * minibuffer.el (completion-in-region): Document PREDICATE
22996 (bug#7136).
22997
22998 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
22999 of keyword/argument pairs (bug#6904).
23000
23001 * replace.el (multi-occur):
23002 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
23003
23004 2011-07-02 Drew Adams <drew.adams@oracle.com>
23005
23006 * dired.el (dired-mark-if): Make the message about whether it's
23007 marking or unmarking clearer (bug#8523).
23008
23009 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23010
23011 * disp-table.el (display-table-print-array): New function.
23012 (describe-display-table): Use it to print the vectors more pretty
23013 (Bug#8859).
23014
23015 2011-07-02 Martin Rudalics <rudalics@gmx.at>
23016
23017 * window.el (window-state-get-1): Don't assign clone numbers.
23018 Add clone-of item to list of window parameters.
23019 (window-state-put-2): Don't process clone numbers.
23020 (display-buffer-alist): Fix doc-string.
23021
23022 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
23023
23024 * subr.el (remq): Don't allocate if it's not needed.
23025 (keymap--menu-item-binding, keymap--menu-item-with-binding)
23026 (keymap--merge-bindings): New functions.
23027 (keymap-canonicalize): Use them to refine the canonicalization.
23028 * minibuffer.el (minibuffer-local-completion-map)
23029 (minibuffer-local-must-match-map): Move initialization from C.
23030 (minibuffer-local-filename-completion-map): Move initialization from C;
23031 don't inherit from anything here.
23032 (minibuffer-local-filename-must-match-map): Make obsolete.
23033 (completing-read-default): Use make-composed-keymap to combine
23034 minibuffer-local-filename-completion-map with either
23035 minibuffer-local-must-match-map or
23036 minibuffer-local-filename-completion-map.
23037
23038 2011-07-01 Glenn Morris <rgm@gnu.org>
23039
23040 * type-break.el (type-break-time-sum): Use dolist.
23041
23042 * textmodes/flyspell.el (flyspell-word-search-backward):
23043 Replace CL function.
23044
23045 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23046
23047 * mouse.el (mouse--strip-first-event): New function.
23048 (function-key-map): Use it to map fringe clicks to normal clicks
23049 by default.
23050
23051 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
23052 (vc-bzr-revision-completion-table): Add support for annotate and date.
23053
23054 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
23055 inherit from parent.
23056
23057 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23058
23059 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
23060 (dired-show-file-type): Doc fixup (bug#8818).
23061
23062 * dired.el (dired-mode): Fix up the doc string as suggested by
23063 Drew Adams (bug#8817).
23064
23065 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
23066 cookie, since the manual says that it should be possible to add
23067 this function to `find-file-hook' (bug#8709).
23068
23069 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23070
23071 * progmodes/cfengine.el: Moved all cfengine3.el functionality
23072 here. Noted Ted Zlatanov as the maintainer.
23073 (cfengine-common-settings, cfengine-common-syntax): New functions
23074 to set up common things between `cfengine-mode' and
23075 `cfengine3-mode'.
23076 (cfengine3-mode): New mode.
23077 (cfengine3-defuns cfengine3-defuns-regex
23078 (cfengine3-class-selector-regex cfengine3-category-regex)
23079 (cfengine3-vartypes cfengine3-font-lock-keywords)
23080 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
23081 (cfengine3-indent-line): Add from cfengine3.el.
23082
23083 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
23084
23085 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
23086
23087 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
23088
23089 2011-07-01 Martin Rudalics <rudalics@gmx.at>
23090
23091 * window.el (same-window-buffer-names, same-window-regexps)
23092 (same-window-p, special-display-frame-alist)
23093 (special-display-popup-frame, special-display-function)
23094 (special-display-buffer-names, special-display-regexps)
23095 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
23096 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23097 (split-window-preferred-function, split-height-threshold)
23098 (split-width-threshold, even-window-heights)
23099 (display-buffer-mark-dedicated, window-splittable-p)
23100 (split-window-sensibly, window-safely-shrinkable-p):
23101 Un-obsolete.
23102 (display-buffer): Don't spread args with function specifier
23103 because special-display-popup-frame won't like it.
23104
23105 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
23106
23107 Time-stamp simplifications and fixes.
23108 These improve accuracy slightly, and future-proof the code
23109 against some potential changes to current-time format.
23110
23111 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
23112 by using time-since and float-time.
23113
23114 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
23115 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
23116 + NNN microseconds".
23117
23118 * type-break.el (type-break-time-sum): Rewrite using time-add.
23119
23120 * play/hanoi.el (hanoi-current-time-float): Remove.
23121 All uses replaced by float-time.
23122
23123 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
23124 This yields a more-accurate answer.
23125 (rng-time-to-float): Remove; no longer needed.
23126
23127 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
23128
23129 * calendar/timeclock.el (timeclock-seconds-to-time):
23130 Defalias to seconds-to-time, since they're the same thing.
23131
23132 * emacs-lisp/elp.el (elp-elapsed-time):
23133 * emacs-lisp/benchmark.el (benchmark-elapse):
23134 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
23135
23136 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23137
23138 * window.el (bury-buffer): Don't iconify the only frame.
23139 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
23140 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
23141
23142 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
23143
23144 * eshell/em-smart.el (eshell-smart-display-navigate-list):
23145 Add mouse-yank-primary.
23146
23147 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23148
23149 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
23150
23151 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23152
23153 * emacs-lisp/find-func.el (find-library--load-name): New fun.
23154 (find-library-name): Use it to find relative load names when provided
23155 absolute file name (bug#8803).
23156
23157 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23158
23159 * textmodes/flyspell.el (flyspell-word): Consider words that
23160 differ only in case as potential doublons (bug#5687).
23161
23162 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
23163 Remove two rather uninteresting debugging-like messages to make
23164 debbugs.el more silent.
23165
23166 * comint.el (comint-password-prompt-regexp): Accept "Response" as
23167 a password-like phrase.
23168
23169 2011-06-30 Masatake YAMATO <yamato@redhat.com>
23170
23171 * progmodes/cc-guess.el: New file.
23172
23173 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
23174
23175 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
23176 derived from `c-basic-common-init'.
23177
23178 * progmodes/cc-mode.el (top-level): Require cc-guess.
23179 (c-basic-common-init): Use `cc-choose-style-for-mode'.
23180
23181 2011-06-30 Lawrence Mitchell <wence@gmx.li>
23182
23183 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
23184
23185 2011-06-30 Alan Mackenzie <acm@muc.de>
23186
23187 * progmodes/cc-engine.el (c-guess-continued-construct):
23188 Correct the handling of template-args-cont, particularly for when font
23189 lock is disabled. Name this case as "CASE G".
23190
23191 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
23192
23193 * allout.el (allout-yank-processing): Fix injection of extra space
23194 between bullet and non-whitespace character in first topic when
23195 pasting, ensuring that the actual spacing in the pasted topic
23196 following the bullet char is preserved. This extra space was
23197 causing pasted encrypted topics to get a decrypted status even
23198 when the content was actually still encrypted. Now the decryption
23199 status from before the paste is preserved.
23200
23201 (allout-flag-region): Set all allout overlays so they evaporate
23202 when reduced to zero length (evanescent), to prevent overlay
23203 leakage.
23204
23205 2011-06-30 Glenn Morris <rgm@gnu.org>
23206
23207 * w32-fns.el (w32-charset-info-alist): Declare.
23208
23209 * find-dired.el (find-grep-options): Simplify.
23210
23211 * term/ns-win.el (ns-set-resource): Declare.
23212
23213 * ses.el (row, col): Declare dynamic variables honestly.
23214
23215 * textmodes/reftex-parse.el (index-tags): Declare.
23216
23217 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
23218
23219 * cus-edit.el (customize-push-and-save): New function.
23220
23221 * files.el (hack-local-variables-confirm): Use it.
23222
23223 * custom.el (load-theme): New arg NO-CONFIRM.
23224 Use customize-push-and-save (Bug#8720).
23225 (custom-enabled-themes): Doc fix.
23226
23227 * cus-theme.el (customize-create-theme)
23228 (custom-theme-merge-theme): Callers to load-theme changed.
23229
23230 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23231
23232 * thingatpt.el (thing-at-point-short-url-regexp): Require that
23233 short URLs have at least one dot in them (bug #7614).
23234
23235 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
23236 nil, because using a pty is apparently too slow (bug #895).
23237
23238 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
23239
23240 * mail/sendmail.el (sendmail-query-once): New function.
23241 (sendmail-query-once-function): New variable.
23242
23243 2011-06-29 Glenn Morris <rgm@gnu.org>
23244
23245 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
23246
23247 * ses.el (top-level): Require cl when compiling.
23248 (ses-set-localvars): Fix error statement.
23249 Call it at compile time to silence a storm of warnings.
23250
23251 2011-06-29 Martin Rudalics <rudalics@gmx.at>
23252
23253 * window.el (normalize-live-buffer): Rename to
23254 window-normalize-buffer.
23255 (normalize-live-frame): Rename to window-normalize-frame.
23256 (normalize-any-window): Rename to window-normalize-any-window.
23257 (normalize-live-window): Rename to window-normalize-live-window.
23258 (make-window-atom): Rename to window-make-atom.
23259 (window-resize-reset): Rename to window--resize-reset.
23260 (window-resize-reset-1): Rename to window--resize-reset-1.
23261 (resize-mini-window): Rename to window--resize-mini-window.
23262 (resize-subwindows-skip-p): Rename to
23263 window--resize-subwindows-skip-p.
23264 (resize-subwindows-normal): Rename to
23265 window--resize-subwindows-normal.
23266 (resize-subwindows): Rename to window--resize-subwindows.
23267 (resize-other-windows): Rename to window--resize-siblings.
23268 (resize-this-window): Rename to window--resize-this-window.
23269 (resize-root-window): Rename to window--resize-root-window.
23270 (resize-root-window-vertically): Rename to
23271 window--resize-root-window-vertically.
23272 (normalize-buffer-to-display): Rename to
23273 window-normalize-buffer-to-display.
23274 (normalize-buffer-to-switch-to): Rename to
23275 window-normalize-buffer-to-switch-to.
23276 Correspondingly update all callers of the functions listed
23277 above.
23278 (display-buffer-alist, display-buffer-normalize-arguments)
23279 (display-buffer-normalize-options, display-buffer)
23280 (display-buffer-alist-set): Use "function" instead of
23281 "fun-with-args".
23282
23283 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
23284
23285 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
23286 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
23287 debbugs.gnu.org. Mention acknowledgment email.
23288
23289 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
23290
23291 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
23292 buffer multibyteness, since it shouldn't matter.
23293
23294 2011-06-28 Martin Rudalics <rudalics@gmx.at>
23295
23296 * window.el (display-buffer-in-side-window): Handle dedicated
23297 windows as in display-buffer-reuse-window.
23298 (display-buffer-normalize-alist): Use value of override
23299 specifier.
23300 (display-buffer-normalize-specifiers): Use value of
23301 other-window-means-other-frame specifier.
23302 (display-buffer-alist): Rewrite some texts in widgets.
23303 (display-buffer): Spread arguments when calling function
23304 specified by fun-with-args.
23305
23306 2011-06-28 Deniz Dogan <deniz@dogan.se>
23307
23308 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
23309 Unnest `let'.
23310
23311 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
23312 selectors (Bug#5732).
23313 (css-proprietary-nmstart-re): Use `regexp-opt'.
23314
23315 2011-06-27 Jari Aalto <jari.aalto@cante.net>
23316
23317 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
23318 (eshell-ls-date-format): New defcustom.
23319 (eshell-ls-file): Use it.
23320
23321 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23322
23323 * help-fns.el (describe-variable): Fix message for terminal-local vars.
23324
23325 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
23326
23327 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
23328 (ange-ftp-make-tmp-name): New arg.
23329 (ange-ftp-file-local-copy): Use it.
23330
23331 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
23332
23333 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
23334 no-conversion (Bug#8870).
23335
23336 2011-06-27 Martin Rudalics <rudalics@gmx.at>
23337
23338 * window.el (window-right, window-left, window-child)
23339 (window-child-count, window-last-child)
23340 (window-iso-combination-p, walk-window-tree-1)
23341 (window-atom-check-1, window-tree-1, delete-window)
23342 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
23343 new naming conventions - window-vchild, window-hchild,
23344 window-next and window-prev are now called window-top-child,
23345 window-left-child, window-next-sibling and window-prev-sibling
23346 respectively.
23347 (resize-window-reset): Rename to window-resize-reset.
23348 (resize-window-reset-1): Rename to window-resize-reset-1.
23349 (resize-window): Rename to window-resize.
23350 (window-min-height, window-min-width)
23351 (resize-mini-window, resize-this-window, resize-root-window)
23352 (resize-root-window-vertically, adjust-window-trailing-edge)
23353 (enlarge-window, shrink-window, maximize-window)
23354 (minimize-window, delete-window, quit-restore-window)
23355 (split-window, balance-windows, balance-windows-area-adjust)
23356 (balance-windows-area, window-state-put-2)
23357 (display-buffer-even-window-sizes, display-buffer-set-height)
23358 (display-buffer-set-width, set-window-text-height)
23359 (fit-window-to-buffer): Rename all "resize-window" prefixed
23360 calls to use the "window-resize" prefix convention.
23361 (display-buffer-alist): Fix symbol for label specifier.
23362 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
23363 corresponding specifier.
23364 Reported by Juanma Barranquero <lekktu@gmail.com>.
23365
23366 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23367
23368 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
23369 convention.
23370 (ses-call-printer): Does not pass an empty string to formatter when the
23371 cell is empty to keep from barking printer Calc math-format-value.
23372
23373 2011-06-27 Richard Stallman <rms@gnu.org>
23374
23375 * battery.el (battery-mode-line-limit): New variable.
23376 (battery-update): Handle it.
23377
23378 * mail/rmailmm.el (rmail-mime-process-multipart):
23379 Handle truncated messages.
23380
23381 2011-06-27 Glenn Morris <rgm@gnu.org>
23382
23383 * progmodes/flymake.el (flymake-err-line-patterns):
23384 Allow for column numbers in the ant/javac pattern. (Bug#8866)
23385
23386 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23387
23388 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
23389 (ses--clean-!, ses--clean-_): New functions.
23390 (ses-range): Add configurability of readout order, and conversion
23391 to Calc vector.
23392
23393 * ses.el (ses-repair-cell-reference-all): New function.
23394 (ses-cell-symbol): Set macro as safe, so that it can be used in
23395 formulas.
23396
23397 * ses.el: Update cycle detection algorithm.
23398 (ses-localvars): Add ses--Dijkstra-attempt-nb and
23399 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
23400 (ses-set-localvars): New function.
23401 (ses-make-cell): Add property-list as a cell element.
23402 (ses-cell-property-get-fun, ses-cell-property-get)
23403 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
23404 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
23405 New functions.
23406 (ses-cell-property-set, ses-cell-property-pop)
23407 (ses-cell-property-get-handle): New macro.
23408 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
23409 New aliases, used for code readability.
23410 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
23411 cycle detection.
23412 (ses-self-reference-early-detection): New defcustom.
23413 (ses-formula-references): Robustify against self-referring cells.
23414 (ses-mode): Use ses-set-localvars.
23415 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
23416 before lauching the update processing.
23417 (ses-initialize-Dijkstra-attempt): New function.
23418 (ses-recalculate-cell): Update for cycle detection based on
23419 Dijkstra algorithm.
23420
23421 * ses.el: Fix commenting and indenting convention.
23422
23423 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23424
23425 * bs.el (bs-cycle-next): Complete last change.
23426
23427 2011-06-27 Drew Adams <drew.adams@oracle.com>
23428
23429 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
23430
23431 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
23432
23433 * net/network-stream.el (network-stream-open-starttls):
23434 Don't re-get capabilities unless we've reestablished connection.
23435 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
23436
23437 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
23438 to binary to possibly avoid line encoding issues on Windows (among
23439 other things).
23440
23441 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23442
23443 * net/network-stream.el (open-network-stream): Return an :error
23444 saying what the problem was, if possible.
23445
23446 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
23447 server.
23448
23449 * net/network-stream.el (network-stream-open-starttls): If we
23450 wanted to use STARTTLS, and the server offered it, but we weren't
23451 able to because we had no STARTTLS support, then close the connection.
23452 (open-network-stream): Return an :error element, if present.
23453
23454 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23455
23456 * hl-line.el (hl-line-sticky-flag): Doc fix.
23457 (global-hl-line-sticky-flag): New option (Bug#8323).
23458 (global-hl-line-highlight): Obey it.
23459
23460 * vc/vc.el (vc-revert-show-diff): Default to t.
23461
23462 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
23463
23464 * allout-widgets.el (allout-widgets-post-command-business):
23465 Stop decorating intermediate isearch matches. They're not being
23466 undecorated when an isearch is continued past, and isearch
23467 automatically collapses them. This leads to "widget leaks", where
23468 decorated items accumulate in collapsed areas. Lines with lots of
23469 hidden widgets can slow down cursor travel, substantially.
23470 Too much complicated machinery would be needed to ensure undecoration,
23471 so we're doing without this nicety.
23472
23473 (allout-widgets-tally-string): Don't try to do a hash-table-count
23474 of allout-widgets-tally when it's nil. This eliminates spurious "Error
23475 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
23476 *Messages* when allout-widgets-maintain-tally is t.
23477
23478 2011-06-26 Martin Rudalics <rudalics@gmx.at>
23479
23480 * window.el (display-buffer-normalize-argument): Rename to
23481 display-buffer-normalize-arguments. Handle special meaning of
23482 LABEL argument. Respect special-display-function when popping up
23483 a new frame. Fix code searching for a window showing the buffer
23484 on another frame.
23485 (display-buffer-normalize-specifiers):
23486 Call display-buffer-normalize-arguments.
23487 (display-buffer-in-window): Don't undedicate the window if its
23488 buffer remains the same.
23489 Reported by Drew Adams <drew.adams@oracle.com>.
23490 (display-buffer-alist): Add choice for same-window macro
23491 specfier.
23492 (display-buffer): Mention special meaning of LABEL argument in
23493 doc-string. Fix quoting. Don't pop up a new frame even as
23494 fallback.
23495
23496 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
23497
23498 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
23499 avoid deleting the current window in some cases (bug#8911).
23500
23501 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
23502
23503 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
23504 (Bug#8934)
23505
23506 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23507
23508 * net/network-stream.el (network-stream-open-starttls):
23509 Use built-in TLS support if `gnutls-available-p' is true.
23510 (network-stream-open-tls): Ditto.
23511
23512 2011-06-26 Leo Liu <sdl.web@gmail.com>
23513
23514 * register.el (registerv): New struct.
23515 (registerv-make): New function.
23516 (jump-to-register, describe-register-1, insert-register):
23517 Support the jump-func, print-func and insert-func slot of a registerv
23518 struct. (Bug#8415)
23519
23520 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23521
23522 * vc/vc.el (vc-revert-show-diff): New defcustom.
23523 (vc-diff-internal): New arg specifying diff buffer.
23524 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
23525 reuse an existing *vc-diff* buffer (Bug#8927).
23526
23527 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
23528
23529 2011-06-26 Glenn Morris <rgm@gnu.org>
23530
23531 * progmodes/f90.el (f90-critical-indent): New option.
23532 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
23533 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
23534 (f90-mode): Doc fix.
23535 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
23536 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
23537 (f90-beginning-of-block, f90-next-block, f90-indent-region)
23538 (f90-match-end): Handle block, critical.
23539
23540 2011-06-25 Glenn Morris <rgm@gnu.org>
23541
23542 * calendar/diary-lib.el (diary-included-files): Doc fix.
23543 (diary-include-files): New function, extracted from
23544 diary-include-other-diary-files and diary-mark-included-diary-files.
23545 (diary-include-other-diary-files, diary-mark-included-diary-files):
23546 Just call diary-include-files.
23547 (diary-mark-entries): Reset diary-included-files on first call.
23548
23549 * calendar/diary-lib.el (diary-mark-entries)
23550 (diary-mark-included-diary-files):
23551 Visit included diary-files in temp buffers.
23552
23553 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
23554 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
23555 (f90-start-block-re, f90-imenu-generic-expression)
23556 (f90-looking-at-program-block-start, f90-no-block-limit):
23557 Add support for submodules.
23558
23559 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23560 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
23561
23562 2011-06-25 Eli Zaretskii <eliz@gnu.org>
23563
23564 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
23565 buffer-file-type before setting its value, to avoid disastrous
23566 global effects on decoding files for DOS/Windows systems. (Bug#8780)
23567
23568 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23569
23570 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
23571
23572 * ses.el (ses-unload-function):
23573 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
23574
23575 * proced.el (proced-unload-function):
23576 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
23577
23578 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
23579
23580 * server.el (server-create-window-system-frame): Add parameters arg.
23581 (server-process-filter): Doc fix. Handle frame-parameters.
23582
23583 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23584
23585 Fix bug#8730, bug#8781.
23586
23587 * loadhist.el (unload--set-major-mode): New function.
23588 (unload-feature): Use it.
23589
23590 * progmodes/python.el (python-after-info-look): Add autoload cookie.
23591 (python-unload-function): New function.
23592
23593 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
23594
23595 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
23596
23597 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
23598
23599 * net/browse-url.el (browse-url-firefox-program): Add icecat to
23600 the candidates list.
23601
23602 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
23603
23604 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
23605
23606 2011-06-23 Richard Stallman <rms@gnu.org>
23607
23608 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
23609 (rmail-variables): Set next-error-move-function.
23610 (rmail-what-message): Take argument POS.
23611 (rmail-next-error-move): New function.
23612
23613 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
23614
23615 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
23616 messages for adjacent non-terminals.
23617
23618 2011-06-23 Richard Stallman <rms@gnu.org>
23619
23620 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
23621 (rmail-show-message-1): Preserve buffer modified flag.
23622 (rmail-start-mail): Don't specify use of rmail-mail-return;
23623 that's done by mail-bury now.
23624 (rmail-mail-return): Handle arg NEWBUF.
23625
23626 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
23627
23628 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
23629 SIZE is a number.
23630
23631 2011-06-23 Martin Rudalics <rudalics@gmx.at>
23632
23633 * window.el (get-lru-window, get-mru-window)
23634 (get-largest-window): Never return a minibuffer window.
23635 (display-buffer-pop-up-window): Fix a bug that could lead to
23636 reusing the minibuffer window.
23637 (display-buffer): Pass original specifier argument to
23638 display-buffer-function instead of the normalized one.
23639 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
23640
23641 2011-06-22 Leo Liu <sdl.web@gmail.com>
23642
23643 * minibuffer.el (completing-read-function)
23644 (completing-read-default): Move from minibuf.c.
23645
23646 2011-06-22 Richard Stallman <rms@gnu.org>
23647
23648 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
23649 to Rmail even if not started by a special Rmail command.
23650
23651 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
23652 Copy the buffer currently showing just one message.
23653
23654 2011-06-22 Roland Winkler <winkler@gnu.org>
23655
23656 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
23657 (bibtex-clean-entry): First delete the old key so that a
23658 customized algorithm for generating the new key does not get
23659 confused by the old key.
23660 (bibtex-url): Obey regexp of first step.
23661 (bibtex-search-entries): Do not use add-to-list with local
23662 list-var.
23663
23664 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23665
23666 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
23667 stored a user name, then query for the password first, instead of
23668 waiting for SMTP to give an error message and the trying again.
23669
23670 2011-06-22 Lawrence Mitchell <wence@gmx.li>
23671
23672 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
23673 BUFFER in call-process.
23674
23675 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23676
23677 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
23678 QUIT twice.
23679 (smtpmail-try-auth-methods): Require user name and password from
23680 auth-source.
23681
23682 2011-06-22 Martin Rudalics <rudalics@gmx.at>
23683
23684 * window.el (display-buffer-default-specifiers)
23685 (display-buffer-alist): Remove entries for pop-up-frame-alist.
23686 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
23687 (split-window): Normalize SIDE argument (Bug#8916).
23688
23689 * frame.el (pop-up-frame-alist, pop-up-frame-function)
23690 (special-display-frame-alist, special-display-popup-frame):
23691 Remove duplicate declarations. These are now in window.el.
23692
23693 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
23694
23695 * mail/smtpmail.el (smtpmail-via-smtp):
23696 Set :use-starttls-if-possible so that we always use STARTTLS if the
23697 server supports it. SMTP servers that support STARTTLS commonly
23698 require it.
23699
23700 * net/network-stream.el (network-stream-open-starttls): Support
23701 upgrading to STARTTLS always, even if we don't have built-in support.
23702 (open-network-stream): Add the :always-query-capabilities keyword.
23703
23704 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
23705 upgrades with `open-network-stream', and rely solely on
23706 auth-source for all credentials. Big changes throughout the file,
23707 but in particular:
23708 (smtpmail-auth-credentials): Remove.
23709 (smtpmail-starttls-credentials): Remove.
23710 (smtpmail-via-smtp): Check for servers saying they want AUTH after
23711 MAIL FROM, too.
23712
23713 * net/network-stream.el (network-stream-open-starttls):
23714 Provide support for client certificates both for external and built-in
23715 STARTTLS.
23716 (auth-source): Require.
23717 (open-network-stream): Document the :client-certificate keyword.
23718 (network-stream-certificate): Change cert-cert to cert and
23719 cert-key to key.
23720
23721 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
23722
23723 * net/tramp-cache.el (top): Don't load the persistency file when
23724 "emacs -Q" has been called.
23725
23726 2011-06-21 Tim Harper <timcharper@gmail.com>
23727
23728 * term/ns-win.el (ns-initialize-window-system):
23729 Set application-specific `ApplePressAndHoldEnabled' system
23730 resource to NO as it is not yet supported by the NS port.
23731
23732 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
23733
23734 * misc.el (list-dynamic-libraries--refresh): Compute header here...
23735 (list-dynamic-libraries): ...not here.
23736
23737 2011-06-21 Leo Liu <sdl.web@gmail.com>
23738
23739 * subr.el (sha1): Implement sha1 using secure-hash.
23740
23741 2011-06-21 Martin Rudalics <rudalics@gmx.at>
23742
23743 * window.el (display-buffer-alist): In default value do not
23744 enforce searching a window on any but the selected frame.
23745 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
23746 (display-buffer-select-window): Remove function.
23747 (display-buffer-in-window): When a window on another frame gets
23748 reused, do not select it any more but just raise its frame if
23749 necessary (Bug#8851) and (Bug#8856).
23750 (display-buffer-normalize-options): Handle pop-up-frames related
23751 options more faithfully.
23752 (pop-to-buffer): Don't rely on `display-buffer' selecting the
23753 window if it is on another frame.
23754 (display-buffer-alist, display-buffer-default-specifiers):
23755 Don't make new frame unsplittable by default.
23756 (display-buffer-normalize-argument): Fix doc-string typo and use
23757 'same-frame-other-window instead of 'other-window when associating
23758 with display-buffer-macro-specifiers.
23759
23760 2011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
23761
23762 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
23763 New functions.
23764 (5x5-mode-map, 5x5-mode-menu): Bind them.
23765 (5x5-draw-grid): Tweak the solver's rendering.
23766
23767 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23768
23769 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
23770 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
23771
23772 2011-06-21 Drew Adams <drew.adams@oracle.com>
23773
23774 * menu-bar.el: Use function variable instead of switch-to-buffer.
23775 (menu-bar-select-buffer-function): New variable.
23776 (menu-bar-update-buffers): Use it (bug#8876).
23777
23778 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23779
23780 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
23781 variable's status.
23782
23783 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
23784
23785 * x-dnd.el (x-dnd-version-from-flags)
23786 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
23787 and long as number (Bug#8899).
23788 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
23789
23790 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
23791
23792 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
23793 (completion-try-completion, completion-all-completions): Compute the
23794 metadata argument if it's missing; make it optional (bug#8795).
23795
23796 * wid-edit.el: Use lex-bind and move towards completion-at-point.
23797 (widget-complete): Use new :completion-function property.
23798 (widget-completions-at-point): New function.
23799 (default): Use :completion-function instead of :complete.
23800 (widget-default-completions): Rename from widget-default-complete;
23801 Rewrite.
23802 (widget-string-complete, widget-file-complete, widget-color-complete):
23803 Remove functions.
23804 (file, symbol, function, variable, coding-system, color):
23805 * international/mule-cmds.el (default-input-method, charset)
23806 (language-info-custom-alist):
23807 * cus-edit.el (face): Use new property :completions.
23808
23809 * progmodes/pascal.el (pascal-completions-at-point): New function.
23810 (pascal-mode): Use it.
23811 (pascal-mode-map): Use completion-at-point.
23812 (pascal-toggle-completions): Make obsolete.
23813 (pascal-complete-word, pascal-show-completions):
23814 * progmodes/octave-mod.el (octave-complete-symbol):
23815 Redefine as obsolete alias.
23816 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
23817 Signal absence of completion info for old Octave,
23818 (inferior-octave-complete): Redefine as obsolete alias.
23819 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
23820 (meta-completions-at-point): Rename from meta-complete-symbol and
23821 adapt it for use on completion-at-point-functions.
23822 (meta-common-mode): Use it.
23823 (meta-looking-at-backward, meta-match-buffer): Remove.
23824 (meta-complete-symbol): Redefine as obsolete alias.
23825 (meta-common-mode-map): Use completion-at-point.
23826 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
23827 (makefile-mode-map): Use completion-at-point.
23828 (makefile-completions-at-point): Rename from makefile-complete and
23829 adapt it for use on completion-at-point-functions.
23830 (makefile-mode): Use it.
23831 (makefile-complete): Redefine as obsolete alias.
23832
23833 2011-06-20 Deniz Dogan <deniz@dogan.se>
23834
23835 * net/rcirc.el: Delete trailing whitespaces once and for all.
23836
23837 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
23838
23839 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
23840
23841 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
23842
23843 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
23844
23845 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
23846
23847 2011-06-19 Martin Rudalics <rudalics@gmx.at>
23848
23849 * window.el (display-buffer-other-window-means-other-frame):
23850 Call display-buffer-normalize-alist.
23851 (display-buffer-normalize-specifiers-1): Rename to
23852 display-buffer-normalize-argument. New argument other-frame.
23853 Rewrite.
23854 (display-buffer-normalize-specifiers-2): Rename to
23855 display-buffer-normalize-options.
23856 (display-buffer-normalize-alist-1): New function.
23857 (display-buffer-normalize-specifiers-3): Rename to
23858 display-buffer-normalize-alist.
23859 Call display-buffer-normalize-alist-1.
23860 (display-buffer-normalize-options-inhibit): New variable.
23861 (display-buffer-normalize-specifiers): Rewrite calling
23862 display-buffer-normalize-alist,
23863 display-buffer-normalize-argument, and
23864 display-buffer-normalize-options. Don't call the latter if
23865 display-buffer-normalize-options-inhibit is non-nil.
23866 (frame-auto-delete): New option.
23867 (window-deletable-p): Use frame-auto-delete.
23868 (window-list-no-nils, window-state-ignored-parameters)
23869 (window-state-get-1, window-state-get, window-state-put-list)
23870 (window-state-put-1, window-state-put-2, window-state-put):
23871 New functions.
23872 (display-buffer-normalize-options): Move special-display-p group
23873 after pop-up-frame group (Bug#8851) and (Bug#8856).
23874
23875 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
23876
23877 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
23878 groups (Bug#8776).
23879 (rx-submatch-n): New function.
23880 (rx): Document it.
23881
23882 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
23883 (Bug#8768).
23884
23885 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
23886
23887 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
23888
23889 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
23890 anytime existing face settings are present (Bug#8889).
23891
23892 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
23893 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
23894 Remove unused argument.
23895
23896 2011-06-18 Martin Rudalics <rudalics@gmx.at>
23897
23898 * window.el (display-buffer-default-specifiers):
23899 Remove pop-up-frame. Add pop-up-window-min-height,
23900 pop-up-window-min-width, and another reuse-window specifier
23901 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
23902 (display-buffer-normalize-specifiers-2):
23903 Handle split-height-threshold and split-width-threshold also when
23904 pop-up-windows is unset. Add a reuse-window specifier for the
23905 case popping up a new window fails.
23906 (special-display-popup-frame): Remove double quoting.
23907 (display-buffer-normalize-specifiers-1): Fix thinko.
23908
23909 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
23910
23911 * shell.el (shell-completion-vars): Set pcomplete-termination-string
23912 according to comint-completion-addsuffix.
23913
23914 * pcomplete.el: Convert to lexical binding and fix bug#8819.
23915 (pcomplete-suffix-list): Mark as obsolete.
23916 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
23917 pcomplete-seen in the closure.
23918 (pcomplete-comint-setup): Setup completion-at-point as well.
23919 (pcomplete--entries): New function.
23920 (pcomplete--env-regexp): New var.
23921 (pcomplete-entries): Rewrite to work with partial-completion and
23922 without relying on pcomplete-suffix-list.
23923 (pcomplete-pare-list): Remove, unused.
23924
23925 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23926
23927 * window.el (display-buffer-alist): Set pop-up-window-min-height
23928 and pop-up-window-min-width in default value. Reported by
23929 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
23930 other-window-means-other-frame.
23931 (display-buffer-macro-specifiers): Comment out entry for
23932 other-window specifier.
23933 (display-buffer-other-window-means-other-frame): New function.
23934 (display-buffer-normalize-specifiers-1): New arguments
23935 buffer-name and label. Treat other-window case specially.
23936 (display-buffer-normalize-specifiers-2): Treat other-window case
23937 specially.
23938 (display-buffer-normalize-specifiers-3): New function.
23939 (display-buffer-normalize-specifiers):
23940 Call display-buffer-normalize-specifiers-3.
23941
23942 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23943
23944 * window.el (same-window-p): Fix two typos introduced when
23945 adding with-no-warnings.
23946 (display-buffer-normalize-specifiers-1): Don't check
23947 pop-up-frames for 'unset initialization.
23948 (display-buffer-normalize-specifiers-2): Major rewrite using
23949 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
23950 (pop-up-frames, display-buffer-reuse-frames)
23951 (display-buffer-mark-dedicated): Don't initialize to 'unset.
23952 Suggested by David Engster <deng@randomsample.de>.
23953 (even-window-heights): Initialize to 'unset.
23954 (display-buffer-alist-set): Handle new 'unset initializations.
23955 (display-buffer-macro-specifiers): Don't pop up a new frame in the
23956 other window case.
23957
23958 2011-06-16 Martin Rudalics <rudalics@gmx.at>
23959
23960 * window.el (display-buffer-normalize-specifiers-1):
23961 Respect current value of pop-up-frames for most reasonable values of
23962 second argument of display-buffer (Bug#8865).
23963 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
23964 (switch-to-buffer-other-window-same-frame)
23965 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
23966 Adams (Bug#8875).
23967 (display-buffer): Don't check noninteractive when calling
23968 display-buffer-pop-up-frame.
23969 (display-buffer-pop-up-frame): Never pop up a frame in
23970 noninteractive mode (Bug#8857).
23971 (enlarge-window, shrink-window): Don't report an error when the
23972 window can't be resized as requested (Bug#8862).
23973
23974 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23975
23976 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
23977
23978 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
23979
23980 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
23981
23982 2011-06-15 Alan Mackenzie <acm@muc.de>
23983
23984 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
23985 for declarators, disable knr checking to speed up for normal files.
23986 2: Refactor, replacing a sequence of nested if forms by a cond form.
23987
23988 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
23989
23990 * net/network-stream.el (open-network-stream): Add the keyword
23991 :always-query-capabilities for the case where you want to force a
23992 `plain' network connection, but the protocol still requires the
23993 capabilitiy command (i.e., SMTP and EHLO).
23994
23995 * subr.el (process-live-p): Rename from `process-alive-p' for
23996 consistency with other `-live-p' functions.
23997
23998 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23999
24000 * window.el (same-window-buffer-names, same-window-regexps)
24001 (special-display-frame-alist, special-display-popup-frame)
24002 (special-display-function, special-display-buffer-names)
24003 (special-display-regexps, pop-up-frame-alist)
24004 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
24005 (pop-up-windows, split-window-preferred-function)
24006 (split-height-threshold, split-width-threshold, even-window-heights)
24007 (display-buffer-mark-dedicated): Don't encourage the use of
24008 display-buffer-alist from Elisp code.
24009
24010 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
24011
24012 * progmodes/python.el (python-mode): Derive from prog-mode.
24013 * progmodes/ps-mode.el (ps-mode):
24014 * progmodes/mixal-mode.el (mixal-mode):
24015 * progmodes/cfengine.el (cfengine-mode):
24016 * progmodes/ld-script.el (ld-script-mode): Likewise.
24017
24018 2011-06-15 Martin Rudalics <rudalics@gmx.at>
24019
24020 * window.el (display-buffer-alist): Trim default value to avoid
24021 popping up a new frame (Bug#8857) or reusing an arbitrary window
24022 on another frame.
24023 (display-buffer): Do not fall back on popping up a new frame in
24024 batch mode (Bug#8857).
24025
24026 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
24027
24028 * cus-theme.el (describe-theme-1): Use custom-theme-p.
24029 (custom-theme-summary): New function.
24030 (customize-themes): Use it.
24031
24032 2011-06-13 Glenn Morris <rgm@gnu.org>
24033
24034 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
24035
24036 2011-06-13 Martin Rudalics <rudalics@gmx.at>
24037
24038 * help.el (help-window): Remove variable.
24039 (help-window-point-marker, temp-buffer-max-height)
24040 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
24041 (help-print-return-message): Don't set help-window.
24042 (resize-temp-buffer-window): Rewrite cod eand doc-string.
24043 (help-window-setup-finish): Remove.
24044 (help-window-display-message, help-window-setup)
24045 (with-help-window): Major rewrite based on new
24046 display-buffer-window variable.
24047
24048 * help-mode.el (help-mode-finish): Remove help-window related
24049 code.
24050
24051 * view.el (view-exits-all-viewing-windows): Remove reference to
24052 view-return-to-alist in doc-string.
24053 (view-return-to-alist): Make obsolete.
24054 (view-buffer): Call pop-to-buffer-same-window and remove
24055 undo-window code.
24056 (view-buffer-other-window): Call pop-to-buffer-other-window and
24057 simplify code. Ignore second argument.
24058 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
24059 simplify code. Ignore second argument.
24060 (view-return-to-alist-update): Make obsolete.
24061 (view-mode-enter): Rename second argument to QUIT-RESTORE.
24062 Rewrite using quit-restore window parameters.
24063 (view-mode-exit): Rename second argument to EXIT-ONLY.
24064 Rewrite using quit-restore-window.
24065 (View-exit, View-exit-and-edit, View-leave, View-quit)
24066 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
24067 appropriate arguments.
24068 (view-end-message): Use quit-restore window parameter.
24069
24070 * window.el (display-buffer-function): Rewrite doc-string.
24071 (display-buffer-window, display-buffer-alist): New variables.
24072 (display-buffer-split-specifiers)
24073 (display-buffer-side-specifiers)
24074 (display-buffer-macro-specifiers): New constants.
24075 (display-buffer-even-window-sizes, display-buffer-set-height)
24076 (display-buffer-set-width, display-buffer-select-window)
24077 (display-buffer-in-window, display-buffer-reuse-window)
24078 (display-buffer-split-window-1, display-buffer-split-window)
24079 (display-buffer-split-atom-window, display-buffer-pop-up-window)
24080 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
24081 (display-buffer-in-side-window, normalize-buffer-to-display)
24082 (display-buffer-normalize-specifiers-1)
24083 (display-buffer-normalize-specifiers-2)
24084 (display-buffer-normalize-specifiers, display-buffer-frame):
24085 New functions.
24086 (display-buffer): Major rewrite.
24087 (display-buffer-other-window, display-buffer-other-frame)
24088 (pop-to-buffer, switch-to-buffer-other-window)
24089 (switch-to-buffer-other-frame): Rewrite.
24090 (display-buffer-same-window, display-buffer-same-frame)
24091 (display-buffer-same-frame-other-window)
24092 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
24093 (pop-to-buffer-other-window)
24094 (pop-to-buffer-same-frame-other-window)
24095 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
24096 (switch-to-buffer-other-window-same-frame): New functions.
24097 (same-window-p, special-display-p): Rewrite disabling warnings.
24098 Make obsolete.
24099 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
24100 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
24101 Make obsolete
24102 (same-window-buffer-names, same-window-regexps)
24103 (special-display-frame-alist, special-display-popup-frame)
24104 (special-display-function, special-display-buffer-names)
24105 (special-display-regexps, pop-up-frame-alist)
24106 (pop-up-frame-function, split-window-preferred-function)
24107 (split-height-threshold, split-width-threshold)
24108 (even-window-heights): Make obsolete.
24109
24110 2011-06-12 Glenn Morris <rgm@gnu.org>
24111
24112 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
24113 Misc simplifications.
24114
24115 2011-06-12 Martin Rudalics <rudalics@gmx.at>
24116
24117 * window.el (window-safely-shrinkable-p): Restore function which
24118 was inadvertently removed in change from 2011-06-11. Declare as
24119 obsolete.
24120
24121 * calendar/calendar.el (calendar-generate-window):
24122 Use window-iso-combined-p instead of combination of one-window-p and
24123 window-safely-shrinkable-p.
24124
24125 2011-06-12 Glenn Morris <rgm@gnu.org>
24126
24127 * progmodes/fortran.el (fortran-mode-syntax-table):
24128 * progmodes/f90.el (f90-mode-syntax-table):
24129 Set % to punctuation. (Bug#8820)
24130 (f90-find-tag-default): Remove, no longer needed.
24131
24132 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
24133
24134 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
24135
24136 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
24137
24138 * image.el (image-animated-p): Return animation delay in seconds.
24139 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
24140 (image-animate-timeout): Remove DELAY argument. Don't assume
24141 every subimage has the same delay; get it from image-animated-p.
24142 (image-animate): Caller changed.
24143
24144 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
24145
24146 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
24147 to ignored backtrace functions.
24148
24149 2011-06-11 Glenn Morris <rgm@gnu.org>
24150
24151 * calendar/appt.el (appt-disp-window-function): Doc fix.
24152 (appt-check): Handle overlapping appointments. (Bug#8337)
24153
24154 2011-06-11 Martin Rudalics <rudalics@gmx.at>
24155
24156 * window.el (window-tree-1, window-tree): New functions, moving
24157 the latter to window.el.
24158 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
24159 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
24160 (bw-refresh-edges): Remove.
24161 (balance-windows-1, balance-windows-2): New functions.
24162 (balance-windows): Rewrite in terms of window tree functions,
24163 balance-windows-1 and balance-windows-2.
24164 (bw-adjust-window): Remove.
24165 (balance-windows-area-adjust): New function with functionality of
24166 bw-adjust-window but using resize-window.
24167 (set-window-text-height): Rewrite doc-string.
24168 Use normalize-live-window and resize-window.
24169 (enlarge-window-horizontally, shrink-window-horizontally):
24170 Rename argument to DELTA.
24171 (window-buffer-height): New function.
24172 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
24173 Rewrite using new window resize routines.
24174 (kill-buffer-and-window, mouse-autoselect-window-select):
24175 Use ignore-errors instead of condition-case.
24176 (quit-window): Call delete-frame instead of delete-windows-on
24177 for the only buffer on frame.
24178
24179 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24180
24181 * loadup.el (top-level): Load window before files for the sake
24182 of replace-buffer-in-windows.
24183
24184 * files.el (read-buffer-to-switch)
24185 (switch-to-buffer-other-window)
24186 (switch-to-buffer-other-frame, display-buffer-other-frame):
24187 Move to window.el.
24188
24189 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
24190 (previous-buffer): Move to window.el.
24191
24192 * bindings.el (unbury-buffer): Move to window.el.
24193
24194 * window.el (delete-other-windows-vertically): Move after
24195 definition of delete-other-windows.
24196 (other-window, delete-windows-on, replace-buffer-in-windows):
24197 Move here from window.c.
24198 (record-window-buffer, unrecord-window-buffer)
24199 (set-window-buffer-start-and-point, switch-to-prev-buffer)
24200 (switch-to-next-buffer): New functions.
24201 (get-next-valid-buffer, last-buffer, next-buffer): Move here
24202 from simple.el. Call switch-to-next-buffer.
24203 (previous-buffer): Move here from simple.el.
24204 Call switch-to-prev-buffer.
24205 (bury-buffer): Move here from buffer.c. Switch to previous
24206 buffer when window cannot be deleted.
24207 (unbury-buffer): Move here from bindings.el.
24208 (ctl-x-map): Move binding for other-window from window.c to
24209 here.
24210 (read-buffer-to-switch, switch-to-buffer-other-window)
24211 (switch-to-buffer-other-frame): Move here from files.el.
24212 (normalize-buffer-to-switch-to): New functions.
24213 (switch-to-buffer): Move here from buffer.c.
24214 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
24215
24216 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24217
24218 * window.el (window-min-height, window-min-width): Move here
24219 from window.c. Add defcustoms and rewrite doc-strings.
24220 (resize-mini-window, resize-window): New functions.
24221 (adjust-window-trailing-edge, enlarge-window, shrink-window):
24222 Move here from window.c.
24223 (maximize-window, minimize-window): New functions.
24224 (delete-window, delete-other-windows, split-window): Move here
24225 from window.c.
24226 (window-split-min-size): New function.
24227 (split-window-keep-point): Mention split-window-above-each-other
24228 instead of split-window-vertically.
24229 (split-window-above-each-other, split-window-vertically):
24230 Rename split-window-vertically to split-window-above-each-other
24231 and provide defalias for old definition.
24232 (split-window-side-by-side, split-window-horizontally):
24233 Rename split-window-horizontally to split-window-side-by-side
24234 and provide defalias for the old definition.
24235 (ctl-x-map): Move bindings for delete-window,
24236 delete-other-windows and enlarge-window here from window.c.
24237 Replace bindings for split-window-vertically and
24238 split-window-horizontally by bindings for
24239 split-window-above-each-other and split-window-side-by-side.
24240
24241 * cus-start.el (all): Remove entries for window-min-height and
24242 window-min-width. Add entries for window-splits and
24243 window-nest.
24244
24245 2011-06-09 Glenn Morris <rgm@gnu.org>
24246
24247 * calendar/appt.el (appt-mode-line): New function.
24248 (appt-check, appt-disp-window): Use it.
24249
24250 * files.el (hack-one-local-variable-eval-safep):
24251 Allow minor-modes with explicit +/-1 arguments.
24252
24253 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
24254
24255 * term/xterm.el (xterm): Add defgroup.
24256 (xterm-extra-capabilities): Add defcustom to supply known xterm
24257 capabilities, skip querying them, or query them (default).
24258 (terminal-init-xterm): Use it.
24259 (terminal-init-xterm-modify-other-keys): New function to set up
24260 modifyOtherKeys support to simplify `terminal-init-xterm'.
24261
24262 2011-06-09 Martin Rudalics <rudalics@gmx.at>
24263
24264 * window.el (resize-window-reset, resize-window-reset-1)
24265 (resize-subwindows-skip-p, resize-subwindows-normal)
24266 (resize-subwindows, resize-other-windows, resize-this-window)
24267 (resize-root-window, resize-root-window-vertically)
24268 (window-deletable-p, window-or-subwindow-p)
24269 (frame-root-window-p): New functions.
24270
24271 2011-06-09 Glenn Morris <rgm@gnu.org>
24272
24273 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
24274 (ange-ftp-get-files): Use it.
24275
24276 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
24277
24278 * mail/sendmail.el (mail-recover-1, mail-recover):
24279 * files.el (recover-file, recover-session):
24280 Handle dired-listing-switches not being just a single short option.
24281
24282 2011-06-09 Glenn Morris <rgm@gnu.org>
24283
24284 * calendar/appt.el (appt-display-message, appt-disp-window):
24285 Handle lists of appointments.
24286
24287 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24288
24289 * window.el (one-window-p): Move down in code.
24290 Rewrite doc-string.
24291 (window-current-scroll-bars): Rewrite doc-string.
24292 Normalize live window argument.
24293 (walk-windows, get-window-with-predicate, count-windows):
24294 Rewrite doc-string. Use window-list-1.
24295 (window-in-direction-2, window-in-direction, get-mru-window):
24296 New functions.
24297
24298 2011-06-08 Reuben Thomas <rrt@sc3d.org>
24299
24300 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
24301 Doc fix (Bug#8713).
24302
24303 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
24304
24305 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
24306
24307 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
24308
24309 * loadhist.el (unload-feature-special-hooks):
24310 Add `comint-output-filter-functions'.
24311
24312 2011-06-08 Ivan Kanis <gnu@kanis.fr>
24313
24314 * calendar/appt.el (appt-check): Move some initializations into the let.
24315
24316 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24317
24318 * window.el (window-height): Defalias to window-total-height.
24319 (window-width): Defalias to window-body-width.
24320
24321 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
24322
24323 * image-mode.el (image-toggle-animation): New command.
24324 (image-mode-map): Bind it to RET.
24325 (image-mode): Update message.
24326 (image-toggle-display-image): Avoid a spurious cache flush.
24327 (image-transform-rotation): Doc fix.
24328 (image-transform-properties): Return quickly in the normal case.
24329 (image-animate-loop): Rename from image-animate-max-time.
24330
24331 * image.el (image-animate-max-time): Move to image-mode.el.
24332 (create-animated-image): Remove unnecessary function.
24333 (image-animate): Rename from image-animate-start. New arg.
24334 (image-animate-stop): Remove; just use image-animate-timer.
24335 (image-animate-timer): Use car-safe.
24336 (image-animate-timeout): Rename argument.
24337
24338 2011-06-07 Martin Rudalics <rudalics@gmx.at>
24339
24340 * window.el (get-lru-window, get-largest-window): Move here from
24341 window.c. Rename first argument to ALL-FRAMES.
24342 Rephrase doc-strings.
24343 (get-buffer-window-list): Rewrite using window-list-1.
24344 Rephrase doc-string.
24345 (window-safe-min-height, window-safe-min-width): New constants.
24346 (window-size-ignore, window-min-size, window-min-size-1)
24347 (window-sizable, window-sizable-p, window-size-fixed-1)
24348 (window-size-fixed-p, window-min-delta-1, window-min-delta)
24349 (window-max-delta-1, window-max-delta, window-resizable)
24350 (window-resizable-p, window-total-height, window-total-width)
24351 (window-body-width): New functions.
24352 (window-full-height-p, window-full-width-p): Rewrite using
24353 window-total-size.
24354 (window-body-height): Rewrite using window-body-size.
24355
24356 2011-06-06 Martin Rudalics <rudalics@gmx.at>
24357
24358 * window.el (window-right, window-left, window-child)
24359 (window-child-count, window-last-child, window-any-p)
24360 (normalize-live-buffer, normalize-live-frame)
24361 (normalize-any-window, normalize-live-window)
24362 (window-iso-combination-p, window-iso-combined-p)
24363 (window-iso-combinations)
24364 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
24365 (windows-with-parameter, window-with-parameter)
24366 (window-atom-root, make-window-atom, window-atom-check-1)
24367 (window-atom-check, window-side-check, window-check):
24368 New functions.
24369 (ignore-window-parameters, window-sides, window-sides-vertical)
24370 (window-sides-slots): New variables.
24371 (window-size-fixed): Move down in code. Minor doc-string fix.
24372
24373 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
24374
24375 * comint.el (comint-dynamic-complete-as-filename)
24376 (comint-dynamic-complete-filename): Correctly call
24377 completion-in-region.
24378
24379 2011-06-05 Deniz Dogan <deniz@dogan.se>
24380
24381 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
24382 in last change.
24383
24384 2011-06-05 Deniz Dogan <deniz@dogan.se>
24385
24386 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
24387 (rcirc): Use it to prompt for encryption.
24388
24389 2011-06-05 Roland Winkler <winkler@gnu.org>
24390
24391 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
24392 (bibtex-search-entries): New command bound to C-c C-a.
24393 (bibtex-display-entries): New function.
24394
24395 2011-06-05 Roland Winkler <winkler@gnu.org>
24396
24397 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
24398 (bibtex-insert-kill): After yanking insert newline if necessary.
24399 (bibtex-initialize): Call bibtex-string-files-init only once.
24400 (bibtex-mode): Do not call easy-menu-add.
24401 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
24402 (bibtex-yank): Set arg properly if nil.
24403
24404 2011-06-05 Roland Winkler <winkler@gnu.org>
24405
24406 * textmodes/bibtex.el (bibtex-search-entry-globally):
24407 New variable.
24408 (bibtex-search-entry): Use it.
24409
24410 2011-06-05 Roland Winkler <winkler@gnu.org>
24411
24412 * textmodes/bibtex.el (bibtex-entry-format): New option
24413 sort-fields.
24414 (bibtex-format-entry, bibtex-reformat): Honor this option.
24415 (bibtex-parse-entry): Return fields in proper order.
24416
24417 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
24418
24419 * doc-view.el (doc-view-remove-if): Move computation of result out
24420 of `dolist' to silence misleading lexical-binding warning.
24421
24422 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
24423
24424 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
24425 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
24426
24427 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24428
24429 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
24430 "SunOS 5.10".
24431
24432 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24433
24434 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
24435 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
24436 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
24437 (tramp-parse-putty):
24438 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
24439 (tramp-completion-function-alist-ssh)
24440 (tramp-completion-function-alist-telnet)
24441 (tramp-completion-function-alist-su)
24442 (tramp-completion-function-alist-putty): Set `tramp-autoload'
24443 cookie.
24444
24445 * net/tramp-ftp.el:
24446 * net/tramp-sh.el:
24447 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
24448 load "tramp.el" `tramp-set-completion-function'.
24449
24450 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
24451
24452 * shell.el: Require and use pcomplete.
24453 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
24454 (shell-completion-vars): Set pcomplete-default-completion-function.
24455
24456 2011-06-04 Deniz Dogan <deniz@dogan.se>
24457
24458 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
24459 `memq' (Bug#8799).
24460
24461 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24462
24463 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
24464
24465 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
24466
24467 * bs.el (bs--mark-unmark, bs--nth-wrapper):
24468 * mpc.el (mpc-select-extend, mpc-songpointer-context):
24469 * vc/log-view.el (log-view-beginning-of-defun):
24470 * vc/smerge-mode.el (smerge-apply-resolution-patch)
24471 (smerge-refine-forward, smerge-refine-chopup-region):
24472 Silence warning for unused `dotimes' counter variables.
24473
24474 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24475
24476 * net/tramp.el (tramp-with-progress-reporter): Rename from
24477 with-progress-reporter. Use `declare'.
24478 * net/tramp-smb.el:
24479 * net/tramp-sh.el:
24480 * net/tramp-gvfs.el: Update all uses.
24481
24482 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
24483
24484 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
24485 buffer isn't killed before making it current.
24486
24487 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24488
24489 Silence various byte-compiler warnings.
24490 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
24491 `access-type' and new obsolescence format.
24492 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
24493 new format.
24494 (byte-compile-check-variable): New `access-type' argument.
24495 Only warn if the access-type is obsolete.
24496 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24497 (byte-compile-variable-set): Adjust callers.
24498 * help-fns.el (describe-variable): Adjust to new obsolescence format.
24499 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
24500 setting it as obsolete.
24501 * simple.el (minibuffer-completing-symbol):
24502 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
24503 access as obsolete.
24504 * minibuffer.el (minibuffer-completing-file-name): Don't make it
24505 obsolete yet.
24506 * international/quail.el (quail-mouse-choose-completion): Remove unused
24507 code referring to obsolete var.
24508 (quail-choose-completion-string): Remove.
24509 * server.el (server-clients-with, server-kill-buffer-query-function)
24510 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
24511 * proced.el (proced-send-signal):
24512 * emacs-lisp/lisp.el (lisp-complete-symbol):
24513 Replace completion-annotate-function with completion-extra-properties.
24514
24515 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24516
24517 * simple.el (goto-line): Use read-number.
24518 (overriding-map-is-bound): Remove.
24519 (saved-overriding-map): Change default.
24520 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
24521 Take the map as argument.
24522 (universal-argument, negative-argument, digit-argument): Use it.
24523 (restore-overriding-map): Adjust.
24524 (do-auto-fill): Use fill-forward-paragraph.
24525 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
24526
24527 * minibuffer.el (minibuffer-inactive-mode-map): New var.
24528 (minibuffer-inactive-mode): New major mode.
24529 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
24530 the *Messages* buffer" hack.
24531 (mouse-popup-menubar): Don't burp if the event is a normal key.
24532
24533 Miscellaneous tweaks.
24534 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
24535 lexical scoping as in subr.el's dolist and dotimes.
24536 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
24537 Silence compiler warning.
24538 * thingatpt.el (forward-whitespace): Trivial coding style fix.
24539 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
24540 * international/ccl.el (ccl-compile): Trivial simplification.
24541 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
24542 * emacs-lisp/testcover.el (testcover-end): Remove spurious
24543 `printflag' argument.
24544 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
24545 Purecopy the whole obsolescence data.
24546
24547 2011-06-01 Leo Liu <sdl.web@gmail.com>
24548
24549 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
24550 improve doc-string as suggested by Marco Pessotto
24551 <melmothx@gmail.com>.
24552 (rcirc-print): Fix last change.
24553
24554 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24555
24556 * minibuffer.el (complete-with-action): Return nil for the metadata and
24557 boundaries of non-functional tables.
24558 (completion-table-dynamic): Return nil for the metadata.
24559 (completion-table-with-terminator): Add default case, using
24560 complete-with-action.
24561 (completion--metadata): New function.
24562 (completion-all-sorted-completions, minibuffer-completion-help): Use it
24563 to try and avoid pathological performance problems.
24564 (completion--embedded-envvar-table): Return `category' metadata.
24565
24566 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
24567
24568 * subr.el (process-alive-p): New tiny convenience function.
24569
24570 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24571
24572 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
24573 content but also its previous major mode.
24574
24575 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
24576
24577 * emacs-lisp/debug.el (debug): Restore the previous content of the
24578 *Backtrace* buffer when we exit with C-M-c.
24579
24580 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24581
24582 * minibuffer.el: Add metadata method to completion tables.
24583 (completion-category-overrides): New defcustom.
24584 (completion-metadata, completion--field-metadata)
24585 (completion-metadata-get, completion--styles)
24586 (completion--cycle-threshold): New functions.
24587 (completion-try-completion, completion-all-completions):
24588 Add `metadata' argument to choose completion-styles.
24589 (completion--do-completion): Use metadata to choose cycling.
24590 (completion-all-sorted-completions): Use metadata for sorting.
24591 Remove :completion-cycle-penalty which is not needed any more.
24592 (completion--try-word-completion): Add `metadata' argument.
24593 (minibuffer-completion-help): Check metadata for annotation function
24594 and sorting.
24595 (completion-file-name-table): Return `category' metadata.
24596 (minibuffer-completing-file-name): Make obsolete.
24597 * simple.el (minibuffer-completing-symbol): Make obsolete.
24598 * icomplete.el (icomplete-completions): Pass new `metadata' param to
24599 completion-try-completion.
24600
24601 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
24602
24603 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
24604
24605 2011-05-30 Leo Liu <sdl.web@gmail.com>
24606
24607 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
24608 (rcirc-print): Decode all incoming messages (bug#8744).
24609 (rcirc-decode-coding-system): Allow value nil for automatic coding
24610 system detection.
24611
24612 2011-06-01 Glenn Morris <rgm@gnu.org>
24613
24614 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
24615
24616 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24617
24618 * image.el (image-animate-max-time): Allow nil and t values.
24619 Default to nil.
24620 (create-animated-image): Doc fix.
24621 (image-animate-start): Remove second arg; just use
24622 image-animate-max-time.
24623 (image-animate-timeout): Doc fix. Args changed.
24624
24625 * image-mode.el (image-toggle-display-image): Ensure that the
24626 image spec passed to the animate timer is the same object as in
24627 the buffer's display property (Bug#6981).
24628 (image-transform-properties): Doc fix.
24629
24630 * image.el (image-animate-max-time): Default to nil.
24631
24632 2011-05-29 Martin Rudalics <rudalics@gmx.at>
24633
24634 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
24635 entire buffer list (Bug#8184).
24636
24637 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24638
24639 * image.el (imagemagick-types-inhibit)
24640 (imagemagick-register-types): Doc fix.
24641
24642 2011-05-29 Deniz Dogan <deniz@dogan.se>
24643
24644 * net/rcirc.el (rcirc): Use the user's stored encryption method by
24645 default.
24646
24647 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24648
24649 * select.el: Don't perform clipboard-manager saving in hooks;
24650 leave the hooks empty.
24651
24652 2011-05-28 Leo Liu <sdl.web@gmail.com>
24653
24654 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
24655 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
24656 (occur-edit-mode): New major mode (Bug#8463).
24657 (occur-after-change-function): New function.
24658 (occur-engine): Give Occur tags a read-only property.
24659
24660 2011-05-28 Kevin Ryde <user42@zip.com.au>
24661
24662 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
24663
24664 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24665
24666 * bindings.el (help-echo): Make the initial non-indicator dash
24667 empty on graphical terminals (Bug#7295).
24668
24669 * files.el (auto-mode-alist): Move config rule after the
24670 in-stripping one (Bug#8547).
24671
24672 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
24673
24674 * startup.el (normal-splash-screen): Remove gratuitous mode-line
24675 setting (Bug#8740).
24676
24677 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
24678
24679 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
24680 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
24681 (Bug#8539).
24682
24683 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24684
24685 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
24686
24687 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
24688
24689 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
24690 (hs-hide-block-at-point, hs-find-block-beginning)
24691 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
24692 (Bug#8279).
24693
24694 2011-05-28 Glenn Morris <rgm@gnu.org>
24695
24696 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
24697
24698 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24699
24700 * help-fns.el (describe-function-1): If the function is a derived
24701 major mode, print the parent mode.
24702
24703 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
24704 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
24705
24706 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
24707
24708 * minibuffer.el (completion--capf-wrapper): Check applicability before
24709 returning non-nil for non-exclusive completion data.
24710 * progmodes/etags.el (tags-completion-at-point-function):
24711 * info-look.el (info-lookup-completions-at-point): Mark as
24712 non-exclusive.
24713 (info-complete): Adjust accordingly.
24714
24715 * info-look.el: Convert to lexical-binding and completion-at-point.
24716 (info-lookup-completions-at-point): New function.
24717 (info-complete): Use it and completion-in-region.
24718
24719 2011-05-28 Drew Adams <drew.adams@oracle.com>
24720
24721 * isearch.el: Let M-e start with point at the first mismatched char.
24722 (isearch-fail-pos): New function.
24723 (isearch-edit-string): Use it.
24724
24725 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24726
24727 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24728
24729 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
24730
24731 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
24732 traversal functions for avl-trees.
24733 (avl-tree--stack): New struct.
24734 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
24735 (avl-tree-enter): Add optional `updatefun' arg.
24736 (avl-tree--do-enter): Add optional `updatefun' arg.
24737 Change return value.
24738 (avl-tree-delete): Add optional `test' and `nilflag' args.
24739 (avl-tree--do-delete): Add `test' and `nilflag' args.
24740 Change return value.
24741 (avl-tree-member): Add optional `nilflag'
24742 (avl-tree-member-p): New function.
24743 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
24744 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
24745 (avl-tree-stack-empty-p): New functions.
24746
24747 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
24748 avl-tree--del-balance1 and make it work both ways.
24749 (avl-tree--del-balance2): Remove.
24750 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
24751 make it work both ways.
24752 (avl-tree--enter-balance2): Remove.
24753 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
24754 New macros.
24755 (avl-tree--mapc, avl-tree-map): Add direction argument.
24756
24757 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
24758
24759 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
24760
24761 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
24762
24763 * select.el: Support clipboard managers with built-in function
24764 x-clipboard-manager-save, via delete-frame-functions and
24765 kill-emacs-hook.
24766 (xselect-convert-to-targets): Add MULTIPLE target to list.
24767 (xselect-convert-to-save-targets): New function.
24768
24769 2011-05-27 Kenichi Handa <handa@m17n.org>
24770
24771 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
24772 let-binding rfc2047-encode-encoded-words to nil.
24773
24774 2011-05-27 Glenn Morris <rgm@gnu.org>
24775
24776 * mail/emacsbug.el: Don't require url-util.
24777
24778 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
24779
24780 * files.el (set-auto-mode):
24781 Also respect mode: entries at the end of the file. (Bug#8586)
24782
24783 2011-05-26 Glenn Morris <rgm@gnu.org>
24784
24785 * files.el (hack-local-variables-prop-line, hack-local-variables):
24786 Downcase mode names, as seems to be traditional.
24787 (hack-local-variables, hack-local-variables-apply): Doc fixes.
24788
24789 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
24790 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
24791
24792 2011-05-25 Julien Danjou <julien@danjou.info>
24793
24794 * textmodes/rst.el (rst-define-level-faces): Do not define face
24795 symbol if it is already defined.
24796
24797 2011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
24798
24799 * play/5x5.el (5x5-new-game, 5x5-randomize):
24800 Reset 5x5-solver-output to nil when a new grid is cast.
24801 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
24802 these debugging traces, as defmacro breaks the compiled code.
24803
24804 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24805
24806 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24807
24808 2011-05-24 Leo Liu <sdl.web@gmail.com>
24809
24810 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
24811 (vc-bzr-sha1): Adapt.
24812
24813 * sha1.el: Remove. Function `sha1' is now builtin.
24814
24815 * bindings.el: Provide sha1 feature.
24816
24817 2011-05-24 Kenichi Handa <handa@m17n.org>
24818
24819 * mail/sendmail.el: Require `rfc2047'.
24820 (mail-insert-from-field): Do not perform RFC2047 encoding.
24821 (mail-encode-header): New function.
24822 (sendmail-send-it): Set buffer-file-coding-system of the work
24823 buffer to the return value of select-message-coding-system.
24824 Call mail-encode-header.
24825
24826 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
24827
24828 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
24829
24830 * mail/supercite.el (sc-default-cite-frame):
24831 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
24832
24833 2011-05-24 Glenn Morris <rgm@gnu.org>
24834
24835 * progmodes/python.el (brm-menu): Declare.
24836
24837 * emulation/viper.el (viper-set-hooks): Declare.
24838
24839 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
24840 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
24841 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
24842 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
24843 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
24844 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
24845
24846 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
24847
24848 Add an :exit-function for completion-at-point.
24849
24850 * minibuffer.el (completion--done): New fun.
24851 (completion--do-completion): Use it. New arg `expect-exact'.
24852 (minibuffer-complete, minibuffer-complete-word): Don't output message,
24853 since completion--do-completion does it for us now.
24854 (minibuffer-force-complete): Use completion--done and
24855 completion--replace. Handle sole-completion case with more care.
24856 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
24857 (completion-extra-properties): New var.
24858 (completion-annotate-function): Make obsolete.
24859 (minibuffer-completion-help): Adjust accordingly.
24860 Use completion-list-insert-choice-function.
24861 (completion-at-point, completion-help-at-point):
24862 Bind completion-extra-properties.
24863 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
24864 * simple.el (completion-list-insert-choice-function): New var.
24865 (completion-setup-function): Preserve it.
24866 (choose-completion): Pay attention to it, shuffle the code a bit.
24867 (choose-completion-string): New arg `insert-function'.
24868
24869 * textmodes/bibtex.el: Convert to lexical binding.
24870 (bibtex-mode-map): Use completion-at-point.
24871 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
24872 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
24873 (bibtex-complete): Define as obsolete alias.
24874 (bibtex-complete-internal): Remove.
24875 (bibtex-format-entry): Remove unused sub-group in regexp.
24876 * shell.el (shell--command-completion-data)
24877 (shell-environment-variable-completion):
24878 * pcomplete.el (pcomplete-completions-at-point):
24879 * comint.el (comint--complete-file-name-data): Use :exit-function
24880 instead of completion-table-with-terminator so it also works for
24881 choose-completion.
24882
24883 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24884
24885 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
24886
24887 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
24888 (bug#8710).
24889
24890 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
24891
24892 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
24893
24894 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
24895 customization variable and implement: If non-nil, auto-fill will
24896 be inhibited while on topic's header line.
24897
24898 2011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
24899
24900 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
24901 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
24902 always have a solution in grid size = 5 cases.
24903 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
24904 (5x5-solver-output, 5x5-log-buffer): New vars.
24905 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
24906 Make these variables buffer local to achieve 5x5 multi-session-ness.
24907 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
24908 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
24909 (5x5-solve-suggest): New funs.
24910 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
24911 randomize a grid so that we ensure that there is always a solution.
24912 (5x5-make-random-grid): Allow other movement than flipping.
24913
24914 2011-05-23 Kevin Ryde <user42@zip.com.au>
24915
24916 * emacs-lisp/advice.el (ad-read-advised-function):
24917 Use `function-called-at-point' as the default, if it has
24918 advice and passes PREDICATE.
24919
24920 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24921
24922 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
24923 byte-compile-lambda if it's actually a lambda.
24924
24925 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
24926 Fix function quoting. Use backquote better.
24927
24928 2011-05-22 Yuanle Song <sylecn@gmail.com>
24929
24930 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
24931 matching (Bug#8516).
24932
24933 2011-05-22 Jari Aalto <jari.aalto@cante.net>
24934
24935 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
24936 different face (Bug#8178).
24937
24938 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
24939
24940 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
24941 defface (Bug#8144).
24942
24943 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
24944
24945 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
24946 funcall as well (bug#8712). Warn when performing those conversions.
24947 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
24948
24949 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
24950
24951 2011-05-22 Glenn Morris <rgm@gnu.org>
24952
24953 * files.el (hack-local-variables-prop-line): Small simplifications.
24954 (hack-local-variables, hack-local-variables-prop-line):
24955 If MODE-ONLY, return the mode, rather than just `t'.
24956
24957 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
24958
24959 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
24960
24961 2011-05-21 Glenn Morris <rgm@gnu.org>
24962
24963 * files.el (hack-local-variables-prop-line, hack-local-variables):
24964 If only interested in the mode, don't bother doing the other stuff.
24965
24966 * image-mode.el (image-after-revert-hook):
24967 Redraw all frames on which the image is visible. (Bug#8567)
24968
24969 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
24970
24971 * wid-edit.el (widget-checklist-match-inline):
24972 Fix 2011-04-19 change. (Bug#8649)
24973
24974 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
24975
24976 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
24977 Also allow singlespace after single-letter capitals followed by a dot.
24978
24979 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
24980 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
24981
24982 2011-05-20 Nix <nix@esperi.org.uk>
24983
24984 * files.el (basic-save-buffer-2):
24985 Fix handling of break-hardlink-on-save with non-existent files.
24986
24987 2011-05-19 Deniz Dogan <deniz@dogan.se>
24988
24989 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
24990 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
24991
24992 2011-05-19 Glenn Morris <rgm@gnu.org>
24993
24994 * progmodes/f90.el (f90-type-def-re):
24995 Handle "type, bind(c)". (Bug#8691)
24996
24997 * emacs-lisp/autoload.el (batch-update-autoloads):
24998 Set autoload-excludes by parsing loadup.el rather than Makefiles.
24999
25000 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
25001
25002 * net/tramp.el (tramp-process-actions): Set "first-password-request"
25003 property for the correct connection in case of multihops.
25004
25005 2011-05-18 Glenn Morris <rgm@gnu.org>
25006
25007 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
25008 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
25009
25010 Rationalize calendar handling of day and month abbrev-arrays.
25011 * calendar/calendar.el (calendar-customized-p): New function.
25012 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
25013 (calendar-day-name-array, calendar-month-name-array): Doc fix.
25014 Add :set function.
25015 (calendar-abbrev-length, calendar-day-abbrev-array)
25016 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
25017 (calendar-day-abbrev-array, calendar-month-abbrev-array):
25018 Elements may no longer be nil.
25019 (calendar-day-name, calendar-month-name):
25020 Update for changed nature of abbrev arrays.
25021 * calendar/diary-lib.el (diary-name-pattern):
25022 Update for changed nature of abbrev arrays.
25023 (diary-mark-entries-1): Update calendar-make-alist calls.
25024 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
25025 * calendar/cal-html.el (cal-html-day-abbrev-array):
25026 Simply inherit from calendar-day-abbrev-array.
25027
25028 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
25029
25030 * progmodes/grep.el (grep-mode): Disable default
25031 compilation-directory-matcher setting (bug#8684).
25032
25033 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
25034
25035 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
25036 instead of "head" and "tail". There were problems with SunOS 5.9,
25037 and it performs better.
25038
25039 2011-05-17 Glenn Morris <rgm@gnu.org>
25040
25041 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
25042
25043 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
25044 Replace obsolete function.
25045
25046 * shell.el (pcomplete-parse-arguments-function): Declare.
25047
25048 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
25049 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
25050 (appt-check): Doc fixes.
25051 (appt-disp-window-function, appt-delete-window-function):
25052 Remove needless special case in custom :type.
25053 (appt-display-count): Default to 0, not nil.
25054 (appt-check): Reset appt-display-count to 0, not nil.
25055
25056 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
25057
25058 * progmodes/python.el (python-font-lock-keywords):
25059 Add the Python 3.X keyword "nonlocal" (bug#8639).
25060
25061 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
25062
25063 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
25064
25065 2011-05-16 Kevin Ryde <user42@zip.com.au>
25066
25067 * info-look.el (makefile-automake-mode): New setups, looking in
25068 automake manual, then makefile-mode.
25069 (makefile-mode): Remove automake manual, have it just in
25070 makefile-automake-mode since there's various things different or
25071 not relevant to plain make.
25072 (makefile-mode): Remove "other-modes" non-existent automake-mode,
25073 believe a hypothetical automake-mode would go to makefile-mode,
25074 not the other way around.
25075
25076 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
25077
25078 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
25079 hunk-end tags (Bug#8672).
25080
25081 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
25082 vc-annotate-show-diff-revision-at-line (Bug#8671).
25083
25084 2011-05-14 Glenn Morris <rgm@gnu.org>
25085
25086 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
25087 in the middle of an existing one with multiple authors. (Bug#8645)
25088 (change-log-font-lock-keywords): Also handle multiple author lines
25089 with leading tabs. (Bug#8644)
25090
25091 * calendar/appt.el (appt-check): Rename some local variables.
25092 Some simplification/reordering.
25093
25094 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
25095 (feedmail-sendmail-f-doesnt-sell-me-out)
25096 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25097 (feedmail-debug-sit-for, feedmail-queue-express-hook)
25098 (feedmail-queue-runner-message-sender): Set :version.
25099 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
25100 (bbdb-dwim-net-address, vm-mail): Declare.
25101 (feedmail-binmail-gnulinuxish-template):
25102 Rename from feedmail-binmail-linuxish-template.
25103 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
25104 Use insert-buffer-substring.
25105
25106 2011-05-14 Bill Carpenter <bill@carpenter.org>
25107
25108 * mail/feedmail.el (feedmail-patch-level): Increase.
25109 (feedmail-debug): New custom group.
25110 (feedmail-confirm-outgoing-timeout)
25111 (feedmail-sendmail-f-doesnt-sell-me-out)
25112 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25113 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
25114 (feedmail-sender-line, feedmail-from-line)
25115 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
25116 (feedmail-spray-this-address)
25117 (feedmail-spray-address-fiddle-plex-list)
25118 (feedmail-queue-use-send-time-for-date)
25119 (feedmail-queue-use-send-time-for-message-id)
25120 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
25121 (feedmail-buffer-eating-function):
25122 Doc fixes.
25123 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
25124 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
25125 (feedmail-message-action-scroll-down): New functions.
25126 (feedmail-queue-directory, feedmail-queue-draft-directory):
25127 Use expand-file-name.
25128 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
25129 Remove C-v help entry.
25130 (feedmail-queue-buffer-file-name): New variable.
25131 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
25132 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
25133 (feedmail-message-action-send-strong, feedmail-message-action-edit)
25134 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
25135 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
25136 (feedmail-message-action-toggle-spray)
25137 (feedmail-run-the-queue-no-prompts)
25138 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
25139 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
25140 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
25141 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
25142 (feedmail-envelope-deducer, feedmail-fiddle-from)
25143 (feedmail-fiddle-sender, feedmail-default-date-generator)
25144 (feedmail-fiddle-date, feedmail-fiddle-message-id)
25145 (feedmail-fiddle-spray-address)
25146 (feedmail-fiddle-list-of-spray-fiddle-plexes)
25147 (feedmail-fiddle-list-of-fiddle-plexes)
25148 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
25149 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
25150 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
25151 Change default. Doc fix.
25152 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
25153 (feedmail-binmail-linuxish-template): New constant.
25154 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
25155 Respect feedmail-sendmail-f-doesnt-sell-me-out.
25156 (feedmail-send-it): Add debug call.
25157 Use feedmail-queue-buffer-file-name, and
25158 feedmail-send-it-immediately-wrapper.
25159 (feedmail-message-action-send): Add debug call.
25160 Use feedmail-send-it-immediately-wrapper.
25161 (feedmail-queue-express-to-queue): Add debug call.
25162 Run feedmail-queue-express-hook.
25163 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
25164 (feedmail-message-action-help-blat):
25165 Rename from feedmail-queue-send-edit-prompt-help-first.
25166 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
25167 Check line-endings. Handle errors better.
25168 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
25169 Doc fix. Add debug call.
25170 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
25171 Use feedmail-queue-send-edit-prompt-inner.
25172 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
25173 (feedmail-queue-send-edit-prompt-inner): New function, extracted
25174 from feedmail-queue-send-edit-prompt.
25175 (feedmail-queue-send-edit-prompt-help)
25176 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
25177 (feedmail-tidy-up-slug): Add debug call.
25178 Respect feedmail-queue-slug-suspect-regexp.
25179 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
25180 (feedmail-dump-message-to-queue): Add debug call.
25181 Expand queue-directory.
25182 (feedmail-dump-message-to-queue): Change message slightly.
25183 Use feedmail-say-chatter.
25184 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
25185 (feedmail-send-it-immediately-wrapper): New function.
25186 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
25187 Insert empty string rather than newline. Handle full-frame case.
25188 Use catch/throw. Use feedmail-say-chatter.
25189 (feedmail-fiddle-from): Try mail-host-address.
25190 (feedmail-default-message-id-generator): Doc fix.
25191 Bind system-time-locale. Handle missing end.
25192 (feedmail-fiddle-x-mailer): Add debug call.
25193 Handle feedmail-x-mailer-line being nil.
25194 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
25195 Add debug call. Use buffer-substring-no-properties.
25196 (feedmail-say-debug, feedmail-say-chatter): New functions.
25197 (feedmail-find-eoh): Give an explicit error.
25198
25199 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
25200
25201 * net/newst-treeview.el (newsticker-treeview-face): Change default
25202 family from helvetica to sans.
25203 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
25204 etc/images/newsticker.
25205
25206 * net/newst-reader.el (newsticker-feed-face): Change default
25207 family from helvetica to sans.
25208
25209 * net/newst-plainview.el (newsticker-new-item-face)
25210 (newsticker-old-item-face, newsticker-immortal-item-face)
25211 (newsticker-obsolete-item-face, newsticker-date-face)
25212 (newsticker-statistics-face): Change default family from
25213 helvetica to sans.
25214 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
25215 etc/images/newsticker.
25216
25217 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
25218 (newsticker--process-auto-mark-filter-match): Tell user about
25219 auto-marking.
25220
25221 2011-05-13 Didier Verna <didier@xemacs.org>
25222
25223 Common Lisp indentation improvements on defmethod and lambda-lists.
25224 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
25225 TODO entries.
25226 (lisp-lambda-list-keyword-parameter-indentation)
25227 (lisp-lambda-list-keyword-parameter-alignment)
25228 (lisp-lambda-list-keyword-alignment): New customizable user options.
25229 (lisp-indent-defun-method): Improve docstring.
25230 (extended-loop-p): Fix comment.
25231 (lisp-indent-lambda-list-keywords-regexp): New variable.
25232 (lisp-indent-lambda-list): New function.
25233 (lisp-indent-259): Use it.
25234 (lisp-indent-defmethod): Support for more than one
25235 method qualifier and properly indent methods lambda-lists.
25236 (defgeneric): Provide a missing common-lisp-indent-function property.
25237
25238 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
25239
25240 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
25241 bounds for the empty string (bug#8667).
25242
25243 2011-05-13 Glenn Morris <rgm@gnu.org>
25244
25245 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
25246
25247 * mail/sendmail.el (sendmail-program): Try executable-find first.
25248 (sendmail-send-it): `sendmail-program' cannot be unbound.
25249
25250 * calendar/appt.el (appt-make-list): Simplify.
25251 (appt-time-msg-list): Doc fix.
25252 (appt-check): Change mode-line message at the time of the appointment.
25253
25254 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
25255
25256 * progmodes/ld-script.el (ld-script-keywords)
25257 (ld-script-builtins): Update keywords list.
25258
25259 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25260
25261 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
25262
25263 * shell.el (shell-completion-vars): New function.
25264 (shell-mode):
25265 * simple.el (read-shell-command): Use it.
25266 (blink-matching-open): No need for " [...]" in minibuffer-message.
25267
25268 2011-05-12 Glenn Morris <rgm@gnu.org>
25269
25270 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
25271 (appt-check): Simplify.
25272
25273 2011-05-12 Eli Zaretskii <eliz@gnu.org>
25274
25275 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
25276 literal "/dev/null".
25277
25278 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25279
25280 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
25281 Fix typo.
25282
25283 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
25284
25285 * progmodes/which-func.el (which-function):
25286 Use add-log-current-defun instead of add-log-current-defun-function,
25287 which might not be defined (Bug#8260).
25288
25289 2011-05-12 Glenn Morris <rgm@gnu.org>
25290
25291 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
25292 Let byte-compile-initial-macro-environment always take precedence.
25293
25294 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25295
25296 * net/rcirc.el: Add support for SSL/TLS connections.
25297 (rcirc-server-alist): New field `encryption'.
25298 (rcirc): Check `encryption' settings.
25299 (rcirc-connect): New arg `encryption'. Use open-network-stream.
25300 Merge make-local-variable into `set'.
25301 (rcirc--connection-open-p): New function.
25302 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
25303 the process is not a network process (e.g. running gnutls-cli).
25304 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
25305 Make rcirc-(en|de)code-coding-system local here.
25306 (rcirc-mode): Merge make-local-variable into `set'.
25307 (rcirc-parent-buffer): Make permanent buffer-local.
25308 (rcirc-multiline-minor-mode): Don't do it here.
25309 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
25310 there's no server buffer.
25311
25312 2011-05-11 Glenn Morris <rgm@gnu.org>
25313
25314 * newcomment.el (comment-kill): Prefix "unused" local.
25315
25316 * term/w32console.el (get-screen-color): Declare.
25317
25318 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
25319 Handle symbol elements of byte-compile-initial-macro-environment.
25320
25321 2011-05-10 Leo Liu <sdl.web@gmail.com>
25322
25323 * bookmark.el (bookmark-bmenu-mode-map):
25324 Bind bookmark-bmenu-search to `/'.
25325
25326 * mail/footnote.el: Convert to utf-8 encoding.
25327 (footnote-unicode-string, footnote-unicode-regexp): New variable.
25328 (Footnote-unicode): New function.
25329 (footnote-style-alist): Add unicode style to the list.
25330 (footnote-style): Doc fix.
25331
25332 2011-05-10 Jim Meyering <meyering@redhat.com>
25333
25334 Fix doubled-word typos.
25335 * international/quail.el (quail-insert-kbd-layout): and and -> and
25336 * kermit.el: and and -> and
25337 * net/ldap.el (ldap-search-internal): to to -> to
25338 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
25339 * progmodes/js.el (js-mode): and and -> and
25340 * textmodes/artist.el (artist-move-to-xy): at at -> at
25341 (artist-draw-region-trim-line-endings): if if -> if
25342 And Safetyc -> Safety.
25343 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
25344
25345 2011-05-10 Glenn Morris <rgm@gnu.org>
25346 Stefan Monnier <monnier@iro.umontreal.ca>
25347
25348 * files.el (hack-one-local-variable-eval-safep):
25349 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
25350
25351 2011-05-10 Glenn Morris <rgm@gnu.org>
25352
25353 * calendar/diary-lib.el (diary-list-entries-hook)
25354 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
25355 (diary-nongregorian-marking-hook, diary-list-entries)
25356 (diary-include-other-diary-files, diary-mark-entries)
25357 (diary-mark-included-diary-files): Doc fixes.
25358
25359 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25360
25361 * misc.el: Require tabulated-list.el during compilation.
25362
25363 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25364
25365 * progmodes/compile.el (compilation-start):
25366 Run compilation-filter-hook for the async case too.
25367 (compilation-filter-hook): Doc fix.
25368
25369 2011-05-09 Deniz Dogan <deniz@dogan.se>
25370
25371 * wdired.el: Remove outdated installation comment. Fix usage
25372 comment.
25373
25374 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25375
25376 * misc.el: Implement new command `list-dynamic-libraries'.
25377 (list-dynamic-libraries--loaded-only-p): New variable.
25378 (list-dynamic-libraries--refresh): New function.
25379 (list-dynamic-libraries): New command.
25380
25381 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25382
25383 * progmodes/compile.el (compilation-error-regexp-alist-alist):
25384 Fix the ant regexp to handle end-line and end-column info from jikes.
25385 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
25386 higher priority to avoid clobbering by gnu.
25387
25388 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25389
25390 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
25391 if the face has existing theme settings (Bug#8454).
25392
25393 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
25394
25395 * progmodes/perl-mode.el (perl-imenu-generic-expression):
25396 Only match variables declared via `my' or `our' (Bug#8261).
25397
25398 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
25399 special file names `.' and `..' (Bug#8259).
25400
25401 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25402
25403 * progmodes/grep.el (grep-mode-font-lock-keywords):
25404 Remove buffer-changing entries.
25405 (grep-filter): New function.
25406 (grep-mode): Add it to compilation-filter-hook.
25407
25408 * progmodes/compile.el (compilation-filter-hook)
25409 (compilation-filter-start): New defvars.
25410 (compilation-filter): Call compilation-filter-hook prior to
25411 updating the process mark.
25412
25413 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
25414
25415 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
25416
25417 2011-05-07 Eli Zaretskii <eliz@gnu.org>
25418
25419 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
25420 mailclient-send-it even if window-system is nil. (Bug#8595)
25421
25422 * term/w32console.el (terminal-init-w32console):
25423 Call get-screen-color and use its output to set the frame
25424 background-mode. (Bug#8597)
25425
25426 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
25427
25428 Make bytecomp.el understand that defmethod defines funs (bug#8631).
25429 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
25430 New functions.
25431 (defgeneric, eieio--defmethod): Use them.
25432 (eieio-defgeneric): Remove.
25433 (defmethod): Call defgeneric in a way visible to the byte-compiler.
25434
25435 2011-05-07 Glenn Morris <rgm@gnu.org>
25436
25437 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
25438 Use let rather than let*.
25439 (timeclock-find-discrep): Remove unused local.
25440
25441 * calendar/diary-lib.el (diary-comment-start): Doc fix.
25442
25443 * calendar/appt.el (appt-time-msg-list): Doc fix.
25444
25445 2011-05-06 Noah Friedman <friedman@splode.com>
25446
25447 * apropos.el (apropos-print-doc): Only use
25448 emacs-lisp-docstring-fill-column when it is bound to an integer,
25449 per that variable's documentation.
25450
25451 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
25452
25453 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
25454 and warnings are not silently discarded (e.g. use -d instead of -P).
25455
25456 2011-05-06 Glenn Morris <rgm@gnu.org>
25457
25458 * calendar/appt.el (appt-message-warning-time): Doc fix.
25459 (appt-warning-time-regexp): New option.
25460 (appt-make-list): Respect appt-message-warning-time.
25461
25462 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
25463 New options.
25464 (diary-add-to-list): Strip comments from the displayed string.
25465 (diary-mode): Set comment-start and comment-end.
25466
25467 * vc/diff-mode.el (smerge-refine-subst): Declare.
25468 (diff-refine-hunk): Don't require smerge-mode when compiling.
25469
25470 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
25471
25472 * simple.el (list-processes): Return nil as the docstring says.
25473
25474 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25475
25476 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
25477 to "".
25478 (ange-ftp-write-region, ange-ftp-insert-file-contents)
25479 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
25480 determining of binary transfer. (Bug#7383)
25481
25482 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25483
25484 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25485 Fix port computation bug. (Bug#8618)
25486
25487 2011-05-05 Glenn Morris <rgm@gnu.org>
25488
25489 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
25490
25491 * simple.el (shell-dynamic-complete-functions)
25492 (comint-dynamic-complete-functions): Declare.
25493
25494 * net/network-stream.el (gnutls-negotiate):
25495 * simple.el (tabulated-list-print): Fix declarations.
25496
25497 * progmodes/gud.el (syntax-symbol, syntax-point):
25498 Remove unnecessary and incorrect declarations.
25499
25500 * emacs-lisp/check-declare.el (check-declare-scan):
25501 Handle byte-compile-initial-macro-environment in bytecomp.el.
25502
25503 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
25504
25505 Fix earlier half-done eieio-defmethod change (bug#8338).
25506 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
25507 Streamline and change calling convention.
25508 (defmethod): Adjust accordingly and simplify.
25509 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
25510 new eieio--defmethod.
25511 (slot-boundp): Minor CSE simplification.
25512
25513 2011-05-05 Milan Zamazal <pdm@zamazal.org>
25514
25515 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
25516 (glasses-make-readable): Use glasses-separate-capital-groups.
25517
25518 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
25519
25520 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
25521 (warning-series): Doc fix.
25522 (display-warning): Don't try to create the buffer if we just found it.
25523
25524 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
25525
25526 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
25527 (autoload-find-generated-file): New function.
25528 (generate-file-autoloads): Bind generated-autoload-file to
25529 buffer-file-name.
25530 (update-file-autoloads, update-directory-autoloads):
25531 Use autoload-find-generated-file. If called interactively, prompt for
25532 output file (Bug#7989).
25533 (batch-update-autoloads): Doc fix.
25534
25535 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
25536
25537 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
25538
25539 2011-05-04 Glenn Morris <rgm@gnu.org>
25540
25541 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
25542 function, so it follows changes in calendar-date-style.
25543 (diary-fancy-date-matcher): New function.
25544 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
25545 (diary-fancy-font-lock-fontify-region-function):
25546 Use diary-fancy-date-pattern as a function.
25547
25548 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
25549 non-numbers for `year' etc pseudo-variables. (Bug#8583)
25550
25551 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
25552
25553 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
25554 instead of positional arguments. Allow :keylist and :crlfiles
25555 arguments.
25556 (open-gnutls-stream): Call it.
25557
25558 * net/network-stream.el (network-stream-open-starttls): Adjust to
25559 call `gnutls-negotiate' with :process and :hostname arguments.
25560
25561 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
25562
25563 * minibuffer.el (completion--message): New function.
25564 (completion--do-completion, minibuffer-complete)
25565 (minibuffer-force-complete, minibuffer-complete-word): Use it.
25566 (completion--do-completion): Don't ignore completion-auto-help when in
25567 icomplete-mode.
25568
25569 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
25570 internal encoding (e.g. tibetan zero is not whitespace).
25571 (global-whitespace-mode): Prefer save-current-buffer.
25572 (whitespace-trailing-regexp): Remove useless save-match-data.
25573 (whitespace-empty-at-bob-regexp): Minor simplification.
25574
25575 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
25576
25577 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
25578
25579 2011-05-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
25580
25581 * textmodes/ispell.el (ispell-add-per-file-word-list):
25582 Use `concat' to create string for insertion.
25583
25584 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25585
25586 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
25587 Avoid open-line which runs post-self-insert-hook.
25588 (bibtex-fill-entry): Remove unused `end' var.
25589
25590 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
25591
25592 * textmodes/ispell.el (ispell-add-per-file-word-list):
25593 Protect against `nil' value of `comment-start' (Bug#8579).
25594
25595 2011-05-03 Leo Liu <sdl.web@gmail.com>
25596
25597 * isearch.el (isearch-yank-pop): New command.
25598 (isearch-mode-map): Bind it to `M-y'.
25599 (isearch-forward): Mention it.
25600
25601 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25602
25603 * simple.el (minibuffer-complete-shell-command): Remove.
25604 (minibuffer-local-shell-command-map): Use completion-at-point.
25605 (read-shell-command): Setup completion vars here instead.
25606 (read-expression-map): Bind TAB to symbol completion.
25607
25608 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
25609 error directly rather via storing it into `results'.
25610
25611 2011-05-02 Leo Liu <sdl.web@gmail.com>
25612
25613 * vc/diff.el: Fix description.
25614
25615 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
25616
25617 * server.el (server-eval-at): New function.
25618
25619 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
25620
25621 * net/network-stream.el (open-network-stream): Take a :nowait
25622 parameter and pass it on to `make-network-process'.
25623 (network-stream-open-plain): Ditto.
25624
25625 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
25626
25627 * faces.el (face-spec-set-match-display): Don't match toolkit
25628 options on terminal frames.
25629
25630 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
25631
25632 * progmodes/pascal.el: Use lexical binding.
25633 (pascal-mode-map): Remove author preferences.
25634
25635 * pcomplete.el (pcomplete-std-complete): Don't abuse
25636 completion-at-point.
25637
25638 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25639
25640 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
25641 removing code that has been dead since 1991 or so.
25642
25643 * startup.el (command-line): When warning about "_emacs", use a
25644 delayed warning to allow the user to filter it out.
25645
25646 2011-04-28 Deniz Dogan <deniz@dogan.se>
25647
25648 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
25649 user has not joined.
25650
25651 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25652
25653 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
25654 aren't any completions at point.
25655
25656 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25657
25658 * subr.el (display-delayed-warnings): New function.
25659 (delayed-warnings-hook): New variable.
25660
25661 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25662
25663 * minibuffer.el (completion-at-point, completion-help-at-point):
25664 Don't presume that a given completion-at-point-function will always
25665 use the same calling convention.
25666
25667 * pcomplete.el (pcomplete-completions-at-point):
25668 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
25669 pcomplete-seen is non-nil.
25670 (pcomplete-comint-setup): Also recognize the new comint/shell
25671 completion functions.
25672 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
25673 pcomplete-seen is non-nil.
25674
25675 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
25676
25677 * calendar/icalendar.el (diary-lib): Add require statement.
25678 (icalendar--create-uid): Read out a uid from a text-property on
25679 the first character in the entry. This allows for code to add its
25680 own uid to the entry.
25681 (icalendar--convert-float-to-ical): Add export of
25682 `diary-float'-entries save for those with the optional DAY
25683 argument.
25684
25685 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
25686
25687 * subr.el (shell-quote-argument): Use alternate escaping strategy
25688 when we spot a variable reference in a string.
25689
25690 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25691
25692 * cus-start.el (all): Define customization for debug-on-event.
25693
25694 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25695
25696 * subr.el (shell-quote-argument): Escape correctly under Windows.
25697
25698 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25699
25700 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
25701
25702 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
25703
25704 * net/tramp.el (tramp-process-actions): Add POS argument.
25705 Delete region between POS and (pos).
25706
25707 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25708 Use `nil' position in `tramp-process-actions' call.
25709 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
25710
25711 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
25712 position in `tramp-process-actions' call.
25713
25714 * net/trampver.el: Update release number.
25715
25716 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25717
25718 * custom.el (defcustom): Obey lexical-binding.
25719
25720 Fix octave-inf completion problems reported by Alexander Klimov.
25721 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
25722 Inherit from octave-mode-syntax-table.
25723 (inferior-octave-mode): Set info-lookup-mode.
25724 (inferior-octave-completion-at-point): New function.
25725 (inferior-octave-complete): Use it and completion-in-region.
25726 (inferior-octave-dynamic-complete-functions): Use it as well, and use
25727 comint-filename-completion.
25728 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
25729 symbol elements which shouldn't be word elements.
25730 (octave-font-lock-keywords, octave-beginning-of-defun)
25731 (octave-function-header-regexp): Adjust regexps accordingly.
25732 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
25733
25734 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
25735
25736 * net/gnutls.el (gnutls-errorp): Declare before first use.
25737
25738 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
25739
25740 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
25741 verify-error, and verify-hostname-error parameters. Check whether
25742 default trustfile exists before going to use it. Add missing
25743 argument to gnutls-message-maybe call. Return value.
25744 Reported by Claudio Bley <claudio.bley@gmail.com>.
25745 (open-gnutls-stream): Add usage example.
25746
25747 * net/network-stream.el (network-stream-open-starttls): Give host
25748 parameter to `gnutls-negotiate'.
25749 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
25750 * subr.el (shell-quote-argument): Escape correctly under Windows.
25751
25752 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
25753
25754 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
25755 Use correct match group (bug#8438).
25756
25757 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25758
25759 * emacs-lisp/package.el (package-built-in-p): Fix typo.
25760 (package-menu--generate): New arg specifying packages to show.
25761 (package-menu-refresh, package-menu-execute, list-packages):
25762 Callers changed.
25763 (package-show-package-list): New function, replacing deleted
25764 package--list-packages (renamed because it is non-internal).
25765
25766 * finder.el (finder-list-matches): Use package-show-package-list
25767 instead of deleted package--list-packages.
25768
25769 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
25770 Based on a previous implementation by Juanma Barranquero (Bug#8366).
25771 (vc-annotate-mode-map): Bind it to RET.
25772
25773 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
25774
25775 * progmodes/etags.el (next-file): Don't use set-buffer to change
25776 buffers (Bug#8478).
25777
25778 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25779
25780 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
25781
25782 * apropos.el (apropos-label-face): Avoid variable-pitch face.
25783 (apropos-accumulator): Doc fix.
25784 (apropos-function, apropos-macro, apropos-command)
25785 (apropos-variable, apropos-face, apropos-group, apropos-widget)
25786 (apropos-plist): Add face property.
25787 (apropos-symbols-internal): Fix indentation.
25788 (apropos-print): Simplify help, and recognize apropos-multi-type.
25789 (apropos-print-doc): Use button-type-get to extract the button's
25790 face property. Fill docstring (Bug#8352).
25791
25792 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
25793
25794 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
25795
25796 * play/mpuz.el (mpuz-silent): Doc fix.
25797 (mpuz-mode-map): Use mapc.
25798 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
25799 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
25800 Fix typos in docstrings.
25801
25802 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
25803 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
25804
25805 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
25806
25807 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
25808
25809 * minibuffer.el (completion--do-completion): Avoid the "Next char
25810 not unique" prompt if icomplete-mode is enabled (Bug#5849).
25811
25812 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
25813 mouse-2 into unread-command-events, it is interpreted correctly.
25814
25815 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
25816 (image-toggle-display): Doc fix.
25817
25818 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
25819
25820 * textmodes/page.el (what-page): Use line-number-at-pos to
25821 calculate line number (Bug#6825).
25822
25823 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25824
25825 * eshell/esh-mode.el (find-tag-interactive): Declare function.
25826 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
25827 Pass argument NO-DEFAULT to `find-tag-interactive'.
25828
25829 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25830
25831 Lexical-binding cleanup.
25832
25833 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
25834 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
25835 * progmodes/ada-prj.el (ada-prj-initialize-values)
25836 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
25837 (ada-prj-show-value):
25838 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
25839 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
25840 (antlr-invalidate-context-cache, antlr-options-menu-filter)
25841 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
25842 * progmodes/bug-reference.el (bug-reference-push-button):
25843 * progmodes/fortran.el (fortran-line-length):
25844 * progmodes/glasses.el (glasses-change):
25845 * progmodes/octave-mod.el (octave-fill-paragraph):
25846 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
25847 (python-pdbtrack-grub-for-buffer, python-sentinel):
25848 * progmodes/sql.el (sql-save-connection):
25849 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
25850 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
25851 Mark unused parameters.
25852
25853 * progmodes/compile.el (compilation--flush-directory-cache)
25854 (compilation--flush-parse, compile-internal): Mark unused parameters.
25855 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
25856 (compilation-next-error-function): Remove unused variable `timestamp'.
25857
25858 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
25859 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
25860
25861 * progmodes/dcl-mode.el (dcl-end-of-command):
25862 Remove unused variable `start'.
25863 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
25864 (dcl-option-value-basic, dcl-option-value-offset)
25865 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
25866 Mark unused parameters.
25867 (dcl-save-local-variable): Remove unused variable `val'.
25868 (mode): Declare.
25869
25870 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
25871 Mark unused parameters.
25872 (delphi-ignore-changes): Move before first use.
25873 (delphi-charset-token-at): Remove unused variable `start'.
25874 (delphi-else-start): Remove unused variable `if-count'.
25875 (delphi-comment-block-start, delphi-comment-block-end):
25876 Remove unused variable `kind'.
25877 (delphi-indent-line): Remove unused variable `new-point'.
25878
25879 * progmodes/ebrowse.el (ebrowse-files-list)
25880 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
25881 Mark unused parameters. Don't quote `lambda'.
25882 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
25883 Don't quote `lambda'.
25884 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
25885 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
25886 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
25887 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
25888 Use `ignore-errors'.
25889 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
25890 (ebrowse-view/find-file-and-search-pattern)
25891 (ebrowse-view/find-member-declaration/definition):
25892 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
25893 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
25894 Rename parameter PREFIX-ARG to PREFIX.
25895 (ebrowse-tags-read-name): Remove unused variables `start' and
25896 `member-info'.
25897 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
25898 to `tags-file'.
25899
25900 * progmodes/etags.el (local-find-tag-hook): Declare.
25901 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
25902 Mark unused parameters.
25903
25904 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
25905 (executable-interpret): Mark unused parameter.
25906
25907 * progmodes/flymake.el (flymake-process-sentinel)
25908 (flymake-after-change-function)
25909 (flymake-create-temp-with-folder-structure)
25910 (flymake-get-include-dirs-dot): Mark unused parameters.
25911 (flymake-safe-delete-directory): Remove unused variable `err'.
25912
25913 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
25914 (speedbar-timer-fn, speedbar-line-text)
25915 (speedbar-change-expand-button-char, speedbar-delete-subblock)
25916 (speedbar-center-buffer-smartly): Declare functions.
25917 (gdb-find-watch-expression): Remove unused variable `array'.
25918 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
25919 (gdb-starting): Mark unused parameters.
25920 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
25921 (gdb-table-string): Remove unused variable `res'.
25922 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
25923 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
25924 (gdb-display-buffer): Remove unused variable `cur-size'.
25925
25926 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
25927 allow lexical-binding compilation.
25928 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
25929 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
25930 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
25931 Mark unused parameters.
25932 (gud-gdb-marker-filter): Remove unused variable `match'.
25933 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
25934 lambda expressions and funcall them, instead of using `fset'.
25935
25936 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
25937 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
25938
25939 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
25940 variable `header-beg'; use `let'.
25941
25942 * progmodes/icon.el (indent-icon-exp): Remove unused variables
25943 `restart', `last-sexp' and `at-do'.
25944
25945 * progmodes/js.el (js--debug): Mark unused parameter.
25946 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
25947 (js--splice-into-items): Remove unused variable `item'.
25948 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
25949
25950 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
25951 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
25952 (makefile-complete): Remove unused variable `try'.
25953 (makefile-fill-paragraph, makefile-match-function-end):
25954 Mark unused parameters.
25955
25956 * progmodes/octave-inf.el (inferior-octave-complete):
25957 Remove unused variable `proc'.
25958 (inferior-octave-output-digest): Mark unused parameter.
25959
25960 * progmodes/perl-mode.el (perl-calculate-indent):
25961 Remove unused variable `err'.
25962
25963 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
25964 (prolog-indent-line): Mark unused parameters.
25965 (prolog-indent-line): Remove unused variable `beg'.
25966
25967 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
25968 (reporter-dont-compact-list): Declare.
25969
25970 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
25971 Remove unused variable `char'.
25972 (sh-debug): Mark unused parameter.
25973 (sh-get-indent-info): Remove unused variable `start'.
25974 (sh-calculate-indent): Remove unused variable `var'.
25975
25976 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
25977 (simula-electric-keyword): Remove unused variable `null'.
25978 (simula-search-backward, simula-search-forward): Remove unused
25979 variables `begin' and `end'.
25980
25981 * progmodes/vera-mode.el (vera-guess-basic-syntax):
25982 Remove unused variable `pos'.
25983 (vera-electric-tab, vera-comment-uncomment-region):
25984 Mark unused parameters.
25985 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
25986
25987 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
25988
25989 * emacs-lisp/package.el (package--builtins, package-alist)
25990 (package-load-descriptor, package-built-in-p, package-activate)
25991 (define-package, package-installed-p)
25992 (package-compute-transaction, package-buffer-info)
25993 (package--push): Doc fix. Distinguish more clearly between
25994 version strings and version lists.
25995
25996 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
25997
25998 Lexical-binding cleanup.
25999
26000 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
26001 (5x5-make-mutate-best):
26002 * play/fortune.el (fortune-in-buffer):
26003 * play/gomoku.el (gomoku-init-display):
26004 * play/solitaire.el (solitaire, solitaire-do-check):
26005 * play/tetris.el (tetris-default-update-speed-function):
26006 Mark unused parameters.
26007
26008 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
26009 (bubbles--shift): Remove unused variable `char-org'.
26010 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
26011 (bubbles--show-images): Remove unused variable `char'.
26012
26013 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
26014 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
26015 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
26016 (decipher-analyze-buffer): Use ?\s.
26017 (decipher-make-checkpoint): Remove unused variable `mapping'.
26018
26019 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
26020
26021 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
26022 Remove unused variable `result'; use `let'.
26023
26024 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
26025 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
26026 (gametree-children-shown-p, gametree-compute-reduced-score):
26027 Use `ignore-errors'.
26028
26029 * play/handwrite.el (ps-lpr-switches): Declare.
26030 (handwrite): Remove unused variables `pmin' and `lastp'.
26031
26032 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
26033
26034 * play/landmark.el (landmark-init-display)
26035 (landmark-update-naught-weights): Mark unused parameters.
26036 (landmark-y): Remove unused variable `noise'. Simplify.
26037 (landmark-human-plays): Remove unused variable `score'.
26038
26039 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
26040 (mpuz-try-proposal): Remove unused variable `game'.
26041
26042 * play/zone.el (life-patterns): Declare.
26043
26044 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
26045
26046 * vc/vc.el (ediff-vc-internal): Declare function.
26047
26048 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26049
26050 * shell.el: Use lexical-binding and std completion UI.
26051 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
26052 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
26053 comint-preoutput-filter-functions rather than on
26054 comint-output-filter-functions.
26055 (shell-command-completion, shell--command-completion-data)
26056 (shell-filename-completion, shell-environment-variable-completion)
26057 (shell-c-a-p-replace-by-expanded-directory): New functions.
26058 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
26059 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
26060 (shell-dynamic-complete-environment-variable): Use them.
26061 (shell-dynamic-complete-as-environment-variable)
26062 (shell-dynamic-complete-as-command): Remove.
26063 (shell-match-partial-variable): Match past point.
26064 * comint.el: Clean up use of completion-at-point-functions.
26065 (comint-completion-at-point): New function.
26066 (comint-mode): Use it completion-at-point-functions.
26067 (comint-dynamic-complete): Make it obsolete.
26068 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
26069 (comint-c-a-p-replace-by-expanded-history): New function.
26070 (comint-dynamic-complete-functions)
26071 (comint-replace-by-expanded-history): Use it.
26072 * minibuffer.el (completion-table-with-terminator): Allow dynamic
26073 termination strings. Try harder to avoid second try-completion.
26074 (completion-in-region-mode-map): Disable bindings that don't work yet.
26075
26076 * comint.el: Use lexical-binding. Require CL.
26077 (comint-dynamic-complete-functions): Use comint-filename-completion.
26078 (comint-completion-addsuffix): Tweak custom type.
26079 (comint-filename-completion, comint--common-suffix)
26080 (comint--common-quoted-suffix, comint--table-subvert)
26081 (comint--complete-file-name-data): New functions.
26082 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
26083 (comint-dynamic-list-filename-completions): Use them.
26084 (comint-dynamic-simple-complete): Make obsolete.
26085
26086 * minibuffer.el (completion-in-region-mode):
26087 Keep completion-in-region-mode--predicate global.
26088 (completion-in-region--postch):
26089 Assume completion-in-region-mode--predicate is not null.
26090
26091 * progmodes/flymake.el (flymake-start-syntax-check-process):
26092 Obey `dir'. Simplify.
26093
26094 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
26095 we're in VC after all.
26096
26097 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
26098
26099 * vc/vc.el (vc-diff-build-argument-list-internal)
26100 (vc-version-ediff, vc-ediff): New commands.
26101 (vc-version-diff): Use vc-diff-build-argument-list-internal.
26102
26103 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26104
26105 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
26106 add sanity check.
26107
26108 * obsolete/erc-hecomplete.el: Make obsolete.
26109 * obsolete/: Standardize obsolescence info in the header.
26110
26111 2011-04-20 Glenn Morris <rgm@gnu.org>
26112
26113 * calendar/solar.el (solar-horizontal-coordinates):
26114 Use the longitude argument rather than `calendar-longitude'.
26115 (solar-date-next-longitude): Remove unused locals.
26116
26117 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
26118
26119 * whitespace.el: New version 13.2.1.
26120
26121 2011-04-20 felix <EmacsWiki> (tiny change)
26122
26123 * whitespace.el (global-whitespace-mode): Keep highlight when
26124 switching between major modes on a file.
26125
26126 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
26127
26128 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
26129 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
26130 multi-line comments as well.
26131
26132 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
26133
26134 Lexical-binding cleanup.
26135
26136 * arc-mode.el (archive-mode-revert):
26137 * cmuscheme.el (scheme-interactively-start-process):
26138 * custom.el (custom-initialize-delay):
26139 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
26140 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
26141 * emacs-lock.el (emacs-lock-clear-sentinel):
26142 * ezimage.el (defezimage):
26143 * follow.el (follow-avoid-tail-recenter):
26144 * fringe.el (set-fringe-mode-1):
26145 * generic-x.el (bat-generic-mode-compile):
26146 * help-mode.el (help-info-variable, help-do-xref)
26147 (help-mode-revert-buffer):
26148 * help.el (view-emacs-todo):
26149 * iswitchb.el (iswitchb-completion-help):
26150 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
26151 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
26152 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
26153 * locate.el (locate-update):
26154 * longlines.el (longlines-encode-region)
26155 (longlines-after-change-function):
26156 * outline.el (outline-isearch-open-invisible):
26157 * ps-def.el (declare-function, charset-dimension, char-width)
26158 (encode-char):
26159 * ps-mule.el (ps-mule-plot-string):
26160 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
26161 (recentf-edit-list-select, recentf-edit-list-validate)
26162 (recentf-open-files-action):
26163 * rect.el (delete-whitespace-rectangle-line)
26164 (rectangle-number-line-callback):
26165 * register.el (window-configuration-to-register)
26166 (frame-configuration-to-register):
26167 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
26168 * select.el (xselect-convert-to-string, xselect-convert-to-length)
26169 (xselect-convert-to-targets, xselect-convert-to-delete)
26170 (xselect-convert-to-filename, xselect-convert-to-charpos)
26171 (xselect-convert-to-lineno, xselect-convert-to-colno)
26172 (xselect-convert-to-os, xselect-convert-to-host)
26173 (xselect-convert-to-user, xselect-convert-to-class)
26174 (xselect-convert-to-name, xselect-convert-to-integer)
26175 (xselect-convert-to-atom, xselect-convert-to-identity):
26176 * subr.el (declare, ignore, process-kill-without-query)
26177 (text-clone-maintain):
26178 * terminal.el (te-get-char, te-tic-sentinel):
26179 * tool-bar.el (tool-bar-make-keymap):
26180 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
26181 * type-break.el (type-break-mode, type-break-noninteractive-query):
26182 * view.el (View-back-to-mark):
26183 * wid-browse.el (widget-browse-action, widget-browse-widget)
26184 (widget-browse-widgets, widget-browse-sexp):
26185 * widget.el (define-widget-keywords):
26186 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
26187 Mark unused parameters.
26188
26189 * align.el (align-adjust-col-for-rule): Mark unused parameter.
26190 (align-areas): Remove unused variable `look'.
26191 (align-region): Remove unused variables `real-end' and `pos-list'.
26192
26193 * apropos.el (apropos-score-doc): Remove unused variable `i'.
26194
26195 * bindings.el (mode-line-modified, mode-line-remote):
26196 Mark unused parameters.
26197 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
26198
26199 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
26200 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
26201
26202 * comint.el (comint-history-isearch-pop-state)
26203 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
26204 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
26205 (comint-substitute-in-file-name): Doc fix.
26206
26207 * completion.el (cmpl-statistics-block): Mark unused parameter.
26208 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
26209 (save-completions-to-file, load-completions-from-file):
26210 Remove unused local variable `e'.
26211
26212 * composite.el (compose-chars): Remove unused variable `len'.
26213 (lgstring-insert-glyph): Remove unused variable `g'.
26214 (compose-glyph-string): Remove unused variables `ascent',
26215 `descent', `lbearing' and `rbearing'.
26216 (compose-glyph-string-relative): Remove unused variables
26217 `lbearing', `rbearing' and `wadjust'.
26218 (compose-gstring-for-graphic): Remove unused variables `header',
26219 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
26220 (compose-gstring-for-terminal): Remove unused variables `header'
26221 and `nchars'. Use `let', not `let*'.
26222
26223 * cus-edit.el (Custom-set, Custom-save, custom-reset)
26224 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
26225 (Custom-buffer-done, custom-buffer-create-internal)
26226 (custom-browse-visibility-action, custom-browse-group-tag-action)
26227 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
26228 (widget-magic-mouse-down-action, custom-toggle-parent)
26229 (custom-add-parent-links, custom-toggle-hide-variable)
26230 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
26231 (custom-toggle-hide-face, face, hook, custom-group-link-action)
26232 (custom-face-menu-create, custom-variable-menu-create, get)
26233 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
26234 (custom-reset-standard-save-and-update): Remove unused variable `value'.
26235 (customize-apropos): Remove unused variable `tests'.
26236 (custom-group-value-create): Remove unused variable `hidden-p'.
26237 (sort-fold-case): Declare.
26238
26239 * cus-theme.el (custom-reset-standard-faces-list)
26240 (custom-reset-standard-variables-list): Declare.
26241 (customize-create-theme, custom-theme-revert, custom-theme-write)
26242 (custom-theme-choose-mode, customize-themes, custom-theme-save):
26243 Mark unused parameters.
26244
26245 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
26246
26247 * delim-col.el (delimit-columns-max): Move defvar before first use.
26248
26249 * descr-text.el (describe-char-categories): Don't quote `lambda'.
26250 (describe-char): Don't quote `lambda'. Mark unused parameter.
26251
26252 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
26253 (auto-insert): Declare.
26254 (desktop-restore-file-buffer): Rename desktop-* parameters;
26255 mark unused ones.
26256 (desktop-create-buffer): Rename desktop-* parameters and bind them.
26257 (desktop-buffer): Rename desktop-* parameters.
26258
26259 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
26260 (dframe-reposition-frame-xemacs, dframe-help-echo)
26261 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
26262 Mark unused parameters.
26263
26264 * dired-aux.el (backup-extract-version-start, overwrite-query)
26265 (overwrite-backup-query, rename-regexp-query)
26266 (rename-non-directory-query): Declare.
26267 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
26268 (dired-add-entry): Remove unused variable `orig-file-name'.
26269 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
26270 Use parameter PRESERVE-TIME instead of accessing dynamic variable
26271 `dired-copy-preserve-time' directly.
26272 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
26273 (dired-insert-subdir-newpos): Rename unused variable `pos'.
26274
26275 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
26276 (dired-virtual-revert, dired-make-relative-symlink):
26277 Mark unused parameters.
26278 (manual-program): Declare.
26279 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
26280 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
26281 wrapped in `with-no-warnings' to avoid replacing one warning by another.
26282
26283 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
26284
26285 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
26286
26287 * echistory.el (electric-history-in-progress, Helper-return-blurb):
26288 Declare.
26289
26290 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
26291
26292 * electric.el (Electric-command-loop): Rename parameter
26293 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
26294
26295 * expand.el (expand-in-literal): Remove unused variable `here'.
26296
26297 * facemenu.el (facemenu-add-new-color):
26298 Remove unused variable `docstring'.
26299
26300 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
26301 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
26302 (face-attr-construct): Mark unused parameter. Doc fix.
26303 (read-color): Remove unused variable `hex-string'.
26304
26305 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
26306 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
26307 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
26308 (display-buffer-other-frame): Remove unused variable `old-window'.
26309 (kill-buffer-hook): Declare.
26310 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
26311 Mark unused parameters.
26312 (after-find-file): Pass 1 to `auto-save-mode', not t.
26313
26314 * files-x.el (auto-insert): Declare.
26315 (modify-file-local-variable-prop-line): Remove unused variable `val'.
26316
26317 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
26318 variable `buf'. Mark unused parameter.
26319 (find-lisp-insert-directory): Mark unused parameter.
26320
26321 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
26322 (format-encode-region): Remove unused variables `cur-buf' and `result'.
26323 (format-common-tail): Remove, unused.
26324 (format-deannotate-region): Remove unused variable `loc'.
26325 (format-annotate-region): Remove unused variable `p'.
26326 (format-annotate-single-property-change): Remove unused variables
26327 `default' and `tail'.
26328
26329 * forms.el (read-file-filter): Declare.
26330 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
26331
26332 * frame.el (frame-creation-function-alist): Mark unused parameter.
26333 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
26334
26335 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
26336 Remove unused parameters.
26337 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
26338 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
26339
26340 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
26341 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
26342 (hfy-prepare-tag-map): Mark unused parameters.
26343 (htmlfontify-buffer): Use `called-interactively-p'.
26344
26345 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
26346 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
26347 (ibuffer-do-occur): Mark unused parameters.
26348 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
26349 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
26350
26351 * ibuffer.el: Don't quote `lambda'.
26352 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
26353 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
26354 Mark unused parameters.
26355
26356 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
26357 (ido-completing-read): Mark unused parameters.
26358 (ido-copy-current-word): Mark unused parameters;
26359 remove unused variable `name'.
26360 (ido-sort-merged-list): Remove unused parameter `dirs'.
26361
26362 * ielm.el (ielm-input-sender): Mark unused parameter.
26363 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
26364 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
26365 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
26366 `ielm-string' as a dynamic variable accessible from the IELM prompt.
26367 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
26368
26369 * image-dired.el (image-dired-display-thumbs): Remove unused
26370 variables `curr-file' and `count'.
26371 (image-dired-remove-tag): Remove unused variable `start'.
26372 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
26373 variable `curr-file'
26374 (image-dired-rotate-original): Remove unused variable `temp-file'.
26375 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
26376 Remove unused variable `file'.
26377 (image-dired-gallery-generate): Remove unused variable `curr'.
26378 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
26379
26380 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
26381
26382 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
26383
26384 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
26385
26386 * isearch.el (minibuffer-history-symbol): Declare.
26387 (isearch-edit-string): Remove unused variable `err'.
26388 (isearch-message-prefix, isearch-message-suffix):
26389 Mark unused parameters.
26390
26391 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
26392
26393 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
26394
26395 * makesum.el (double-column): Remove unused variable `cnt'.
26396
26397 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
26398 (ido-ignore-item-temp-list): Declare.
26399
26400 * mouse-drag.el (mouse-drag-throw): Remove unused variables
26401 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
26402 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
26403 (mouse-drag-drag): Remove unused variables `mouse-delta' and
26404 `mouse-col-delta'.
26405
26406 * mouse-sel.el (mouse-extend-internal):
26407 Remove unused variable `orig-window-frame'.
26408
26409 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
26410 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
26411 Move declarations before first use.
26412 (pcomplete-opt): Mark unused parameters; doc fix.
26413
26414 * proced.el (proced-revert): Mark unused parameter.
26415 (proced-send-signal): Remove unused variable `err'.
26416
26417 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
26418 Rename parameter PREFIX-ARG to ARG.
26419 (ps-basic-plot-string, ps-basic-plot-whitespace):
26420 Mark unused parameters.
26421
26422 * replace.el (replace-count): Define.
26423 (occur-revert-function): Mark unused parameters.
26424 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
26425 (isearch-case-fold-search, isearch-string): Declare.
26426 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
26427 bind `case-fold-search'. Remove unused variables `beg' and `end',
26428 and simplify.
26429 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
26430 COUNT and bind `replace-count'.
26431 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
26432 to COUNT.
26433
26434 * savehist.el (print-readably, print-string-length): Declare.
26435
26436 * shadowfile.el (shadow-expand-cluster-in-file-name):
26437 Remove unused variable `cluster'.
26438 (shadow-copy-file): Remove unused variable `i'.
26439 (shadow-noquery, shadow-clusters, shadow-site-cluster)
26440 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
26441 (shadow-define-literal-group, shadow-define-regexp-group)
26442 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
26443
26444 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
26445 (shell): Use `called-interactively-p'.
26446 (shell-directory-tracker): Remove unused variable `chdir-failure'.
26447
26448 * simple.el (compilation-context-lines, comint-file-name-quote-list)
26449 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
26450 (delete-backward-char): Remove unused variable `ocol'.
26451 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
26452 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
26453 (event-apply-hyper-modifier, event-apply-shift-modifier)
26454 (event-apply-control-modifier, event-apply-meta-modifier):
26455 Mark unused parameters.
26456 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
26457 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
26458
26459 * speedbar.el (speedbar-ignored-directory-expressions)
26460 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
26461 (speedbar-find-file, speedbar-dir-follow)
26462 (speedbar-directory-buttons-follow, speedbar-tag-find)
26463 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
26464 (speedbar-buffers-line-directory, speedbar-buffer-click):
26465 Mark unused parameters.
26466 (speedbar-tag-file): Remove unused variable `mode'.
26467 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
26468
26469 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
26470
26471 * talk.el (talk): Remove unused variable `display'.
26472
26473 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
26474 (tar-write-region-annotate): Mark unused parameter.
26475
26476 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
26477 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
26478 Declare them, wrapped in `with-no-warnings' to avoid replacing one
26479 warning by another.
26480
26481 * time-stamp.el (time-stamp-string-preprocess):
26482 Remove unused variable `require-padding'.
26483
26484 * tree-widget.el (widget-glyph-enable): Declare.
26485 (tree-widget-action): Mark unused parameter.
26486
26487 * w32-fns.el (x-get-selection): Mark unused parameter.
26488 (autoload-make-program, generated-autoload-file): Declare.
26489
26490 * wdired.el (wdired-revert): Mark unused parameters.
26491 (wdired-xcase-word): Remove unused variable `err'.
26492
26493 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
26494 (whitespace-help-scroll): Remove unused variable `data-help'.
26495
26496 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
26497 (widget-image-insert, widget-after-change, default)
26498 (widget-default-format-handler, widget-default-notify)
26499 (widget-default-prompt-value, widget-info-link-action)
26500 (widget-url-link-action, widget-function-link-action)
26501 (widget-variable-link-action, widget-file-link-action)
26502 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
26503 (widget-field-prompt-internal, widget-field-action, widget-field-match)
26504 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
26505 (widget-insert-button-action, widget-delete-button-action, visibility)
26506 (widget-documentation-link-action, widget-documentation-string-action)
26507 (widget-const-prompt-value, widget-regexp-match, symbol)
26508 (widget-coding-system-prompt-value)
26509 (widget-key-sequence-value-to-external, sexp)
26510 (widget-sexp-value-to-internal, character, vector, cons)
26511 (widget-choice-prompt-value, widget-boolean-prompt-value)
26512 (widget-color--choose-action): Mark unused parameters.
26513 (widget-item-match-inline, widget-choice-match-inline)
26514 (widget-checklist-match, widget-checklist-match-inline)
26515 (widget-group-match): Rename parameter VALUES to VALS.
26516 (widget-field-value-set): Remove unused variable `size'.
26517 (widget-color-action): Remove unused variables `value' and `start'.
26518
26519 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
26520 variable `dir'. Doc fix.
26521 (windmove-find-other-window): Don't pass it.
26522
26523 * window.el (count-windows): Mark unused parameter.
26524 (bw-adjust-window): Remove unused variable `err'.
26525
26526 * woman.el (woman-file-name): Remove unused variable `default'.
26527 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
26528 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
26529 (global-font-lock-mode): Declare.
26530 (woman-decode-region): Mark unused parameter.
26531 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
26532
26533 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
26534 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
26535 (x-dnd-handle-moz-url): Remove unused variable `title'.
26536 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
26537
26538 * xml.el (xml-parse-tag, xml-parse-attlist):
26539 Remove unused variable `pos'.
26540
26541 2011-04-19 Glenn Morris <rgm@gnu.org>
26542
26543 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
26544 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
26545 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
26546 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
26547 * calendar/cal-html.el (cal-html-insert-minical):
26548 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
26549 (calendar-mark-date-pattern):
26550 Prefix "unused" locals.
26551
26552 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
26553 optional argument `style'.
26554
26555 * calendar/appt.el (appt-make-list):
26556 * calendar/cal-china.el (calendar-chinese-date-string):
26557 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
26558 (diary-hebrew-yahrzeit):
26559 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
26560 * calendar/calendar.el (calendar-generate-window):
26561 * calendar/time-date.el (time-to-days):
26562 Remove unused local variables.
26563
26564 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
26565
26566 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
26567 glyphless-char-display table.
26568 (tabulated-list-glyphless-char-display): New var.
26569
26570 2011-04-18 Sam Steingold <sds@gnu.org>
26571
26572 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
26573 to acknowledgments.
26574
26575 2011-04-17 Glenn Morris <rgm@gnu.org>
26576
26577 * calendar/diary-lib.el (diary-sexp-entry):
26578 * calendar/holidays.el (holiday-sexp):
26579 Set debug-on-error rather than the removed stack-trace-on-error.
26580
26581 2011-04-16 Glenn Morris <rgm@gnu.org>
26582
26583 * progmodes/f90.el: Use lexical-binding.
26584 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
26585
26586 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26587
26588 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
26589 (mail-mode): Setup mailalias completion here instead.
26590 * mail/mailalias.el: Use lexical-binding.
26591 (pattern, mailalias-done): Declare dynamic.
26592 (mail-completion-at-point-function): New function, from mail-complete.
26593 (mail-complete): Use it.
26594 (mail-completion-expand): New function.
26595 (mail-get-names): Use it.
26596 (mail-directory, mail-directory-process, mail-directory-stream):
26597 Don't use `pattern' for lexically bound arg.
26598
26599 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
26600
26601 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
26602 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
26603 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
26604
26605 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
26606 (byte-save-window-excursion, byte-temp-output-buffer-setup)
26607 (byte-interactive-p): Define them again, for use when inlining
26608 old code.
26609
26610 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
26611
26612 * loadup.el: Use `string-to-number', not `string-to-int'.
26613
26614 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26615
26616 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
26617 gud-gdb-complete-command.
26618 (gud-gdb-completions): New function, from gud-gdb-complete-command.
26619 (gud-gdb-completion-at-point): New function.
26620 (gud-gdb-completions): Remove.
26621
26622 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
26623
26624 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
26625 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
26626 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
26627 whether `executable-find' is bound.
26628
26629 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
26630
26631 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
26632
26633 * minibuffer.el (completion-in-region-mode-predicate)
26634 (completion-in-region-mode--predicate): New vars.
26635 (completion-in-region, completion-in-region--postch)
26636 (completion-in-region-mode): Use them.
26637 (completion--capf-wrapper): Also return the hook function.
26638 (completion-at-point, completion-help-at-point):
26639 Adjust and provide a predicate.
26640
26641 Preserve arg names for advice of subr and lexical functions (bug#8457).
26642 * help-fns.el (help-function-arglist): Consolidate the subr and
26643 new-byte-code cases. Add argument `preserve-names' to extract names
26644 from the docstring when needed.
26645 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
26646 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
26647 (ad-arglist): Use help-function-arglist's new arg.
26648 (ad-definition-type): Use cond.
26649
26650 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
26651
26652 * autorevert.el (auto-revert-handler):
26653 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
26654 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
26655 Don't quote lambda.
26656
26657 * image-mode.el (image-transform-set-scale):
26658 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
26659
26660 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
26661
26662 * net/network-stream.el (network-stream-open-starttls): Only do
26663 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
26664 Upgrades via gnutls-cli are too slow to be done opportunistically.
26665
26666 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
26667
26668 * dframe.el (dframe-current-frame): Remove spurious quote.
26669
26670 2011-04-12 Glenn Morris <rgm@gnu.org>
26671
26672 * calendar/cal-tex.el (cal-tex-end-document):
26673 Try to automatically use latin1 input if needed.
26674
26675 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
26676 Don't try to cons a mark onto an empty element.
26677
26678 2011-04-11 Leo Liu <sdl.web@gmail.com>
26679
26680 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
26681 buffers.
26682 (ido-kill-buffer-at-head): Support killing virtual buffers.
26683
26684 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
26685
26686 * minibuffer.el (completion-show-inline-help): New var.
26687 (completion--do-completion, minibuffer-complete)
26688 (minibuffer-force-complete, minibuffer-complete-word):
26689 Inhibit minibuffer messages if completion-show-inline-help is nil.
26690
26691 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
26692 to avoid interference from inline help (Bug#5849).
26693
26694 2011-04-10 Leo Liu <sdl.web@gmail.com>
26695
26696 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
26697 Fix typo.
26698
26699 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
26700
26701 * image-mode.el (image-toggle-display-image): Signal an error if
26702 not in Image mode.
26703 (image-transform-mode, image-transform-resize)
26704 (image-transform-set-rotation): Doc fix.
26705 (image-transform-set-resize): Delete.
26706 (image-transform-set-scale, image-transform-fit-to-height)
26707 (image-transform-fit-to-width): Handle image-toggle-display-image
26708 and image-transform-resize directly.
26709
26710 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
26711
26712 * doc-view.el (doc-view-fit-width-to-window)
26713 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
26714 New functions for fitting the shown image to the Emacs window size.
26715 (doc-view-mode-map): Add bindings for the new functions.
26716
26717 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
26718
26719 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
26720 Fix typo in docstring.
26721
26722 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26723
26724 * files.el (file-size-human-readable): Produce one digit after
26725 decimal, like "ls -lh" does.
26726
26727 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
26728 the file size representation.
26729
26730 * simple.el (list-processes): If async subprocesses are not
26731 available, error out with a clear error message.
26732
26733 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
26734
26735 * help.el (help-form-show): New function, to be called from C.
26736 Put help-form output in a buffer named differently than *Help*.
26737
26738 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26739
26740 * files.el (file-size-human-readable): New function.
26741
26742 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
26743 computing the representation inline. Don't require `cl'.
26744
26745 2011-04-08 Glenn Morris <rgm@gnu.org>
26746
26747 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
26748
26749 * net/browse-url.el (browse-url-firefox):
26750 Test system-type, not system-configuration.
26751
26752 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
26753 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
26754 Use log-edit-empty-buffer-p. (Bug#7598)
26755
26756 * net/rlogin.el (rlogin-process-connection-type): Simplify.
26757 (rlogin-mode-map): Initialize in the defvar.
26758 (rlogin): Use ignore-errors.
26759
26760 * replace.el (occur-mode-map): Some fixes for menu items.
26761
26762 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
26763
26764 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
26765
26766 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26767
26768 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
26769 issuing unused warnings.
26770
26771 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
26772 macro directly.
26773
26774 * simple.el: Lisp reimplement of list-processes. Based on an
26775 earlier reimplementation by Leo Liu, but using tabulated-list.el.
26776 (process-menu-mode): New major mode.
26777 (list-processes--refresh, list-processes):
26778 (process-menu-visit-buffer): New functions.
26779
26780 * files.el (save-buffers-kill-emacs): Don't assume any return
26781 value of list-processes, which is undocumented anyway.
26782
26783 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26784
26785 * emacs-lisp/tabulated-list.el: New file.
26786
26787 * emacs-lisp/package.el: Use Tabulated List mode.
26788 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
26789 (package-menu-mode): Derive from tabulated-list-mode. Set up the
26790 table format using Tabulated List mode variables.
26791 (package--push): New macro, replacing package-list-maybe-add.
26792 (package-menu--generate): Use package--push. Renamed from
26793 package--generate-package-list.
26794 (package-menu-refresh, list-packages): Use it.
26795 (package-menu--print-info): Rename from package-print-package.
26796 Return insertion data instead of inserting it directly.
26797 (package-menu-describe-package, package-menu-execute):
26798 Use tabulated-list-get-id.
26799 (package-menu-mark-delete, package-menu-mark-install)
26800 (package-menu-mark-unmark, package-menu-backup-unmark)
26801 (package-menu-mark-obsolete-for-deletion):
26802 Use tabulated-list-put-tag.
26803 (package--list-packages, package-menu-revert)
26804 (package-menu-get-package, package-menu-get-version)
26805 (package-menu-sort-by-column): Functions deleted.
26806 (package-menu-package-list, package-menu-sort-key): Vars deleted.
26807 (package-menu--status-predicate, package-menu--version-predicate)
26808 (package-menu--name-predicate)
26809 (package-menu--description-predicate): Handle arguments in the
26810 Tabulated List format.
26811 (package-list-packages-no-fetch): Call list-packages.
26812
26813 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
26814
26815 * files.el (after-find-file-from-revert-buffer): Remove variable.
26816 (after-find-file): Don't bind it.
26817 (revert-buffer-in-progress-p): New variable.
26818 (revert-buffer): Bind it.
26819 Pass nil for `after-find-file-from-revert-buffer'.
26820
26821 * saveplace.el (save-place-find-file-hook): Use new variable
26822 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
26823
26824 2011-04-06 Glenn Morris <rgm@gnu.org>
26825
26826 * Makefile.in (AUTOGEN_VCS): New variable.
26827 (autoloads): Use $AUTOGEN_VCS.
26828
26829 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
26830 * calendar/calendar.el (calendar-mode-map):
26831 Check for toolkit scroll bars. (Bug#8305)
26832
26833 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26834
26835 * minibuffer.el (completion-in-region--postch)
26836 (completion-in-region-mode): Remove unnecessary messages.
26837
26838 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
26839
26840 * font-lock.el (font-lock-refresh-defaults):
26841 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
26842 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
26843
26844 * info.el (Info-directory-list, Info-read-node-name-2)
26845 (Info-split-parameter-string): Doc fixes.
26846 (Info-virtual-nodes): Reflow docstring.
26847 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
26848 (Info-apropos-toc-nodes, info-finder, Info-get-token)
26849 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
26850 Fix typos in docstrings.
26851 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
26852 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
26853 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
26854 (Info-restore-desktop-buffer): Mark unused parameters.
26855 (Info-directory-find-file, Info-directory-find-node)
26856 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
26857 (Info-virtual-index-find-node, Info-apropos-find-file)
26858 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
26859 Mark unused parameters; fix typos in docstrings.
26860 (Info-virtual-index): Remove unused local variable `nodename'.
26861
26862 2011-04-05 Deniz Dogan <deniz@dogan.se>
26863
26864 * net/rcirc.el: Update my e-mail address.
26865 (rcirc-mode-map): Remove M-o binding.
26866
26867 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26868
26869 * startup.el (command-line): Save the cursor's theme-face
26870 directly, instead of using face-override-spec.
26871
26872 * custom.el (load-theme): Minor optimization in assigning faces.
26873
26874 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26875
26876 * help-fns.el (describe-variable): Complete all variables having
26877 documentation, including keywords.
26878 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
26879
26880 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26881
26882 Convert to lexical-binding.
26883
26884 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
26885 (bs--get-marked-string, bs--get-modified-string)
26886 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
26887 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
26888 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
26889
26890 * ehelp.el (electric-help-execute-extended)
26891 (electric-help-ctrl-x-prefix):
26892 * hexl.el (hexl-revert-buffer-function):
26893 * linum.el (linum-after-change, linum-after-scroll):
26894 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
26895
26896 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
26897
26898 2011-04-04 Daiki Ueno <ueno@unixuser.org>
26899
26900 * epa-dired.el:
26901 * epa-mail.el:
26902 * epa-hook.el:
26903 * epa-file.el:
26904 * epa.el:
26905 * epg.el: Use lexical binding.
26906
26907 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
26908
26909 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
26910
26911 * textmodes/flyspell.el (flyspell-word): Recognize default
26912 dictionary case for flyspell-mark-duplications-exceptions.
26913 Use regexp matching for languages.
26914 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
26915 default dictionary (Bug#7926).
26916
26917 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
26918
26919 * emacs-lisp/package.el (package--with-work-buffer):
26920 Recognize https URLs.
26921
26922 * net/network-stream.el: Move from gnus/proto-stream.el.
26923 Change prefix to network-stream throughout.
26924 (open-protocol-stream): Merge into open-network-stream, leaving
26925 open-protocol-stream as an alias. Handle nil BUFFER args.
26926
26927 * subr.el (open-network-stream): Move to net/network-stream.el.
26928
26929 2011-04-02 Glenn Morris <rgm@gnu.org>
26930
26931 * find-dired.el (find-exec-terminator): New option.
26932 (find-ls-option): Test for -ls support.
26933 (find-ls-subdir-switches): Test for -b in find-ls-option.
26934 (find-dired, find-grep-dired): Doc fixes.
26935 (find-dired): Use find-exec-terminator.
26936
26937 * find-dired.el (find-ls-option, find-ls-subdir-switches)
26938 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
26939 (find-name-arg): Remove purecopy.
26940
26941 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
26942 (grep-compute-defaults): Check for `-exec COMMAND +' support.
26943 Set grep-find-use-xargs, grep-find-command, and grep-find-template
26944 accordingly. Don't add the null-device if not needed.
26945
26946 * files.el (save-some-buffers): Doc fix.
26947
26948 2011-04-02 Eli Zaretskii <eliz@gnu.org>
26949
26950 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
26951
26952 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
26953
26954 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
26955 Use `dolist' rather than `mapcar'.
26956
26957 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
26958
26959 Add lexical binding.
26960
26961 * subr.el (apply-partially): Use new closures rather than CL.
26962 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
26963 (dolist, dotimes): Use slightly different expansion for lexical code.
26964 (functionp): Move to C.
26965 (letrec): New macro.
26966 (with-wrapper-hook): Use it and apply-partially instead of CL.
26967 (eval-after-load): Preserve lexical-binding.
26968 (save-window-excursion, with-output-to-temp-buffer): Turn them
26969 into macros.
26970
26971 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
26972
26973 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
26974 than the arglist.
26975 (help-add-fundoc-usage): Don't add `Not documented'.
26976 (help-function-arglist): Handle closures, subroutines, and new
26977 byte-code-functions.
26978 (help-make-usage): Remove leading underscores.
26979 (describe-function-1): Handle closures.
26980 (describe-variable): Use special-variable-p for completion.
26981
26982 * files.el (lexical-binding): Declare safe.
26983
26984 * emacs-lisp/pcase.el: Don't use destructuring-bind.
26985 (pcase--memoize): Rename from pcase-memoize. Change weakness.
26986 (pcase): Add `let' pattern.
26987 Change memoization so it actually works.
26988 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
26989 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
26990 <let>: New case.
26991
26992 * emacs-lisp/macroexp.el: Use lexical binding.
26993 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
26994 Don't convert ' to #' without checking that it's indeed quoting
26995 a lambda.
26996
26997 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
26998 Use eval-sexp-add-defvars.
26999 (eval-sexp-add-defvars): New fun.
27000
27001 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
27002
27003 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
27004 Don't autoload.
27005 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
27006 than the internal `byte-compile-lambda'.
27007 (defmethod): Don't hide code under quotes.
27008 (eieio-defmethod): New `code' argument.
27009
27010 * emacs-lisp/eieio-comp.el: Remove.
27011
27012 * emacs-lisp/edebug.el (edebug-eval-defun)
27013 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
27014 (edebug-toggle): Avoid `eval'.
27015
27016 * emacs-lisp/disass.el (disassemble-internal): Handle new
27017 `closure' objects.
27018 (disassemble-1): Handle new byte codes.
27019
27020 * emacs-lisp/cl.el (pushnew): Silence warning.
27021
27022 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
27023 (cl-byte-compile-throw): Remove.
27024 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
27025
27026 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
27027 closures.
27028
27029 * emacs-lisp/cconv.el: New file.
27030
27031 * emacs-lisp/bytecomp.el: Use lexical binding instead of
27032 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
27033 (byte-compile-initial-macro-environment):
27034 Handle declare-function here.
27035 (byte-compile--lexical-environment): New var.
27036 (byte-stack-ref, byte-stack-set, byte-discardN)
27037 (byte-discardN-preserve-tos): New lap codes.
27038 (byte-interactive-p): Don't use any more.
27039 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
27040 New macros.
27041 (byte-compile-lapcode): Use them and handle new lap codes.
27042 (byte-compile-obsolete): Remove.
27043 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
27044 (byte-compile-arglist-warn): Check late def of inlinable funs.
27045 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
27046 since they should have been expanded by now.
27047 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
27048 (byte-compile-from-buffer): Remove unused second arg.
27049 (byte-compile-preprocess): New function.
27050 (byte-compile-toplevel-file-form): New function to distinguish
27051 file-form calls from outside from file-form calls from hunk-handlers.
27052 (byte-compile-file-form): Simplify.
27053 (byte-compile-file-form-defsubst): Remove.
27054 (byte-compile-file-form-defmumble): Simplify now that
27055 byte-compile-lambda always returns a byte-code-function.
27056 (byte-compile): Preprocess.
27057 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
27058 Remove, not used any more.
27059 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
27060 (byte-compile-make-args-desc): New funs.
27061 (byte-compile-lambda): Handle lexical functions. Always return
27062 a byte-code-function.
27063 (byte-compile-reserved-constants): New var, to make up room for
27064 closed-over variables.
27065 (byte-compile-constants-vector): Obey it.
27066 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
27067 (byte-compile-macroexpand-declare-function): New function.
27068 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
27069 byte-code-functions.
27070 (byte-compile-form): Check obsolescence here.
27071 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
27072 (byte-compile-variable-ref): Remove.
27073 (byte-compile-dynamic-variable-op): New fun.
27074 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
27075 (byte-compile-variable-set): New funs.
27076 (byte-compile-discard): Add 2 args.
27077 (byte-compile-stack-ref, byte-compile-stack-set)
27078 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
27079 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
27080 macroexpand-all instead.
27081 (byte-compile-quote-form): Remove.
27082 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
27083 (byte-compile-bind, byte-compile-unbind): New funs.
27084 (byte-compile-let): Handle let* and lexical binding.
27085 (byte-compile-let*): Remove.
27086 (byte-compile-catch, byte-compile-unwind-protect)
27087 (byte-compile-track-mouse, byte-compile-condition-case):
27088 Handle a new :fun-body form, used for lexical scoping.
27089 (byte-compile-save-window-excursion)
27090 (byte-compile-with-output-to-temp-buffer): Remove.
27091 (byte-compile-defun): Simplify.
27092 (byte-compile-stack-adjustment): New fun.
27093 (byte-compile-out): Use it.
27094 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
27095
27096 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
27097 handler any more.
27098
27099 * emacs-lisp/byte-opt.el: Use lexical binding.
27100 (byte-inline-lapcode): Remove (to bytecomp).
27101 (byte-compile-inline-expand): Pay attention to inlining to/from
27102 lexically bound code.
27103 (byte-compile-unfold-lambda): Don't handle byte-code-functions
27104 any more.
27105 (byte-optimize-form-code-walker): Don't handle save-window-excursion
27106 any more and don't call compiler-macros.
27107 (byte-compile-splice-in-already-compiled-code): Remove.
27108 (byte-code): Don't inline any more.
27109 (disassemble-offset): Receive `bytes' as argument rather than via
27110 dynamic scoping.
27111 (byte-compile-tag-number): Declare before first use.
27112 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
27113 `return' even if make-spliceable.
27114 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
27115 obsolete interactive-p.
27116 (byte-optimize-lapcode): Optimize new lap-codes.
27117 Don't trip up on new form of `byte-constant' lap code.
27118
27119 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
27120
27121 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
27122
27123 * custom.el (custom-initialize-default, custom-declare-variable):
27124 Use `defvar'.
27125
27126 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
27127 New variables.
27128 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
27129 (COMPILE_FIRST): Add macroexp and cconv.
27130 * makefile.w32-in: Mirror changes in Makefile.in.
27131
27132 * vc/cvs-status.el:
27133 * vc/diff-mode.el:
27134 * vc/log-edit.el:
27135 * vc/log-view.el:
27136 * vc/smerge-mode.el:
27137 * textmodes/bibtex-style.el:
27138 * textmodes/css-mode.el:
27139 * startup.el:
27140 * uniquify.el:
27141 * minibuffer.el:
27142 * newcomment.el:
27143 * reveal.el:
27144 * server.el:
27145 * mpc.el:
27146 * emacs-lisp/smie.el:
27147 * doc-view.el:
27148 * dired.el:
27149 * abbrev.el: Use lexical binding.
27150
27151 2011-04-01 Eli Zaretskii <eliz@gnu.org>
27152
27153 * info.el (info-display-manual): New function.
27154
27155 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
27156
27157 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
27158
27159 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
27160
27161 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
27162 an entry for that server in rcirc-authinfo. (Bug#8385)
27163
27164 2011-03-31 Glenn Morris <rgm@gnu.org>
27165
27166 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
27167
27168 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
27169
27170 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
27171
27172 * progmodes/python.el (python-default-interpreter)
27173 (python-python-command-args, python-jython-command-args)
27174 (python-which-shell, python-which-args, python-which-bufname)
27175 (python-file-queue, python-comint-output-filter-function)
27176 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
27177 variables and functions.
27178
27179 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
27180
27181 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
27182 (completion-in-region-mode): New minor mode.
27183 (completion-in-region): Use it.
27184 (completion-in-region--data, completion-in-region-mode-map): New vars.
27185 (completion-in-region--postch): New function.
27186 (completion--capf-misbehave-funs, completion--capf-safe-funs):
27187 New vars.
27188 (completion--capf-wrapper): New function.
27189 (completion-at-point): Use it to track well-behavedness of
27190 hook functions.
27191 (completion-help-at-point): New command.
27192
27193 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
27194
27195 * vc/add-log.el (add-change-log-entry): Don't use whitespace
27196 syntax class to search for whitespace on a single line
27197 (Message-ID: <4D938140.4030905@redhat.com>).
27198
27199 2011-03-30 Leo Liu <sdl.web@gmail.com>
27200
27201 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
27202 New commands.
27203 (edit-abbrevs-map): Bind them here.
27204 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
27205
27206 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
27207
27208 * allout.el (allout-hide-by-annotation, allout-flag-region):
27209 Reduce possibility of overlay leakage by making them volatile.
27210
27211 * allout-widgets.el (allout-widgets-tally): Define as nil so the
27212 hash is not shared between buffers. Mode initialization is
27213 responsible for giving it a useful starting value.
27214 (allout-item-span): Reduce possibility of overlay leakage by
27215 making them volatile.
27216 (allout-widgets-count-buttons-in-region): Add diagnostic function
27217 for tracking down button overlay leaks.
27218
27219 2011-03-29 Leo Liu <sdl.web@gmail.com>
27220
27221 * ido.el (ido-read-internal): Use the default history var
27222 minibuffer-history if no HISTORY is specified.
27223
27224 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
27225
27226 * net/imap.el (imap-shell-open, imap-process-connection-type):
27227 Use imap-process-connection-type for 'shell' streams as well as
27228 Kerberos, SSL, other subprocesses.
27229
27230 2011-03-28 Leo Liu <sdl.web@gmail.com>
27231
27232 * abbrev.el (abbrev-table-empty-p): New function.
27233 (prepare-abbrev-list-buffer): Place empty abbrev tables after
27234 nonempty ones. (Bug#5937)
27235
27236 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
27237
27238 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
27239
27240 2011-03-27 Leo Liu <sdl.web@gmail.com>
27241
27242 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
27243 for foreground and background colors.
27244 (ansi-color-make-color-map): Adapt.
27245
27246 2011-03-25 Leo Liu <sdl.web@gmail.com>
27247
27248 * midnight.el (midnight-time-float): Remove. Note it calculates
27249 the microsecond component incorrectly and seconds-to-time does the
27250 same job.
27251 Remove redundant (require 'timer).
27252
27253 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
27254 (ido-completions): Remove unused arguments. (Bug#8329)
27255
27256 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
27257
27258 * minibuffer.el (completion--flush-all-sorted-completions):
27259 Remove itself from hook.
27260 (completion-at-point): Let the functions perform the completion
27261 immediately and return nil or t.
27262 * comint.el (comint-dynamic-complete-functions): Now identical to
27263 completion-at-point-functions.
27264 (comint-dynamic-list-input-ring): Remove unused var `index'.
27265 (comint--match-partial-filename, comint--unquote&expand-filename):
27266 New funs, split from comint-match-partial-filename.
27267 (comint-dynamic-complete): Use completion-at-point.
27268 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
27269
27270 2011-03-24 Drew Adams <drew.adams@oracle.com>
27271
27272 * thingatpt.el: Support `defun'.
27273
27274 2011-03-23 Leo Liu <sdl.web@gmail.com>
27275
27276 * abbrevlist.el: Move to obsolete/abbrevlist.el.
27277
27278 * help-mode.el (help-mode-finish): Tweak regexp.
27279
27280 2011-03-23 Glenn Morris <rgm@gnu.org>
27281
27282 * eshell/esh-opt.el (eshell-eval-using-options):
27283 Do not bind unused local variable `eshell-option-stub'.
27284
27285 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
27286
27287 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27288
27289 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
27290 keymap variable in `with-no-warnings' to avoid a warning when the
27291 keymap has been already `defconst'ed.
27292
27293 2011-03-22 Leo Liu <sdl.web@gmail.com>
27294
27295 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
27296 encode all chars in abbrevs; otherwise use emacs-mule or
27297 utf-8-emacs. (Bug#8308)
27298
27299 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27300
27301 * simple.el (backward-delete-char-untabify):
27302 Avoid warning about using `delete-backward-char'.
27303
27304 * image.el (image-type-file-name-regexps): Make it variable.
27305 `imagemagick-register-types' modifies it, and the user may want
27306 to add new extensions for known image types.
27307 (imagemagick-register-types): Throw error if not using ImageMagick.
27308
27309 2011-03-22 Leo Liu <sdl.web@gmail.com>
27310
27311 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
27312 located before rcirc-prompt-end-marker.
27313 (rcirc-complete): Error if point is not after rcirc prompt.
27314 Handle the case when table is nil.
27315 (rcirc-user-authenticated): Define to fix compiler warning.
27316
27317 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
27318
27319 * custom.el (custom--inhibit-theme-enable): Make it affect only
27320 custom-theme-set-variables and custom-theme-set-faces.
27321 (provide-theme): Ignore custom--inhibit-theme-enable.
27322 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
27323 (custom-enabling-themes): Delete variable.
27324 (enable-theme): Accept only loaded themes as arguments.
27325 Ignore the special custom-enabled-themes variable.
27326 (custom-enabled-themes): Forbid themes from setting this.
27327 Eliminate use of custom-enabling-themes.
27328 (custom-push-theme): Quote "changed" custom var entry.
27329
27330 2011-03-21 Leo Liu <sdl.web@gmail.com>
27331
27332 * ido.el (ido-read-internal): Add ido-selected to history instead
27333 of user input.
27334
27335 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
27336
27337 * subr.el (deferred-action-list, deferred-action-function):
27338 Mark obsolete.
27339
27340 2011-03-21 Leo Liu <sdl.web@gmail.com>
27341
27342 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
27343 change on 2011-02-13 (bug#8309).
27344
27345 * minibuffer.el (read-file-name-function): Change default value.
27346 (read-file-name--defaults): Rename from read-file-name-defaults.
27347 (read-file-name-default): Rename from read-file-name.
27348 (read-file-name): Call read-file-name-function.
27349
27350 2011-03-21 Glenn Morris <rgm@gnu.org>
27351
27352 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
27353 Doc fixes.
27354
27355 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
27356
27357 * cus-theme.el: Add missing provide statement.
27358 (customize-create-theme): Extract theme value correctly.
27359 (custom-theme-visit-theme): Autoload.
27360 (customize-create-theme): Prompt before inserting default faces.
27361
27362 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
27363
27364 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
27365 units and musical notes.
27366
27367 2011-03-20 Leo Liu <sdl.web@gmail.com>
27368
27369 * ido.el (ido-read-internal): Use completing-read-default.
27370 (ido-completing-read): Fix compatibility with completing-read.
27371
27372 2011-03-20 Christian Ohler <ohler@gnu.org>
27373
27374 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
27375 (ert-delete-all-tests): Use `called-interactively-p' rather than
27376 `interactive-p'.
27377 (ert--make-xrefs-region): Respect END.
27378
27379 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27380
27381 * dired-aux.el (dired-create-directory): Signal an error if the
27382 directory already exists (Bug#8246).
27383
27384 * facemenu.el (list-colors-display): Call list-faces-display
27385 inside with-help-window.
27386 (list-colors-print): Use display property to align the final
27387 column, instead of checking window-width.
27388
27389 2011-03-19 Eli Zaretskii <eliz@gnu.org>
27390
27391 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
27392 windows-nt systems.
27393 (emerge-protect-metachars): Quote correctly for ms-dos and
27394 windows-nt systems.
27395
27396 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
27397
27398 * info.el (info-initialize): Replace all uses of `:' with
27399 path-separator for compatibility with non-Unix systems.
27400 Cache quoting of path-separator. (Bug#8258)
27401
27402 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
27403
27404 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
27405 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
27406 (mouse-avoidance-mode): Fix typos in docstrings.
27407
27408 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27409
27410 * startup.el (package-subdirectory-regexp): Move from package.el.
27411 Omit \\` and \\', and let callers add them.
27412
27413 * emacs-lisp/package.el (package-strip-version)
27414 (package-load-all-descriptors): Add \\` and \\' to
27415 package-subdirectory-regexp before using it.
27416 (package-untar-buffer): New arg DIR; ensure that file untars only
27417 into this expected directory. Remove superfluous delete-region.
27418 (package-unpack): Caller changed.
27419 (package-tar-file-info): Use package-subdirectory-regexp.
27420
27421 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
27422
27423 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
27424 diff-mode-shared-map (bug#8284).
27425 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
27426
27427 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
27428
27429 * calendar/time-date.el (format-seconds): Use assoc instead of
27430 assoc-string, since assoc-string doesn't exist in XEmacs.
27431
27432 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
27433
27434 * custom.el (custom-known-themes): Reflow docstring.
27435 (custom-theme-load-path): Fix typo in docstring.
27436 (load-theme): Fix typo in error message.
27437 (custom-available-themes, custom-variable-theme-value):
27438 Use `let', not `let*'.
27439
27440 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
27441
27442 * calc/README: Mention inclusion of musical notes.
27443
27444 * calc/calc-units.el (calc-lu-quant): Rename from
27445 `calc-logunits-quantity'.
27446 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
27447 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
27448 (calc-db): Rename from `calc-dblevel'.
27449 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
27450 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
27451 (calc-np): Rename from `calc-nplevel'.
27452 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
27453 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
27454 (calc-lu-plus): Rename from `calc-logunits-add'.
27455 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
27456 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
27457 (calc-lu-minus): Rename from `calc-logunits-sub'.
27458 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
27459 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
27460 (calc-lu-times): Rename from `calc-logunits-mul'.
27461 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
27462 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
27463 (calc-lu-divide): Rename from `calc-logunits-div'.
27464 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
27465 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
27466
27467 * calc/calc-ext.el (calc-init-extensions): Update the names of the
27468 functions being autoloaded.
27469
27470 * calc/calc.el (calc-lu-power-reference): Rename from
27471 `calc-logunits-power-reference'.
27472 (calc-lu-field-reference): Rename from
27473 `calc-logunits-field-reference'.
27474
27475 * calc/calc-help.el (calc-l-prefix-help):
27476 Mention musical note functions.
27477
27478 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
27479
27480 * minibuffer.el (completion-all-sorted-completions):
27481 Use :completion-cycle-penalty text property if present.
27482
27483 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
27484
27485 * allout.el (allout-yank-processing): Adjust for new rebulleting
27486 regime so bullet being yanked is used without prompting the user
27487 for a choice.
27488
27489 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27490
27491 * startup.el (command-line): Warn the user that _emacs is deprecated.
27492
27493 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27494
27495 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
27496 (delphi-verbose, delphi-comment-face, delphi-string-face)
27497 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
27498 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
27499 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
27500 (delphi-new-comment-line, delphi-font-lock-defaults)
27501 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
27502 Fix typos in docstrings.
27503
27504 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
27505
27506 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
27507 Invert the roles of character and string values for INSTEAD, so a
27508 string is used for the more common case of a defaulting prompt.
27509
27510 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27511
27512 * progmodes/ruby-mode.el (ruby-backward-sexp):
27513 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
27514 * play/gamegrid.el (gamegrid-make-face):
27515 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
27516 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
27517 * notifications.el (notifications-notify):
27518 * net/xesam.el (xesam-search-engines):
27519 * net/quickurl.el (quickurl-list-insert):
27520 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
27521
27522 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
27523
27524 * startup.el (command-line): Update package subdirectory regexp.
27525
27526 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27527
27528 * allout.el (allout-abbreviate-flattened-numbering)
27529 (allout-mode-deactivate-hook): Fix up obsolescence "date".
27530
27531 * subr.el (read-char-choice): Only show the cursor after the prompt,
27532 not after the answer.
27533
27534 2011-03-15 Kevin Ryde <user42@zip.com.au>
27535
27536 * help-fns.el (variable-at-point): Skip leading quotes, if any
27537 (bug#8253).
27538
27539 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27540
27541 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
27542 warning message.
27543
27544 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
27545
27546 * shell.el (shell): When called interactively, offer to change the
27547 shell file name on remote hosts.
27548
27549 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
27550
27551 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
27552 integration for LDAP parameters. The host, base, user or binddn,
27553 and secret tokens can be specified in a netrc file, for instance.
27554 This is optional because an `auth-source' parameter must be
27555 specified in the search attributes.
27556
27557 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
27558
27559 * help.el (describe-mode): Link to the mode's definition (bug#8185).
27560
27561 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27562
27563 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
27564 into declaration. Remove redundant and harmful binding.
27565
27566 2011-03-12 Eli Zaretskii <eliz@gnu.org>
27567
27568 * files.el (file-ownership-preserved-p): Pass `integer' as an
27569 explicit 2nd argument to `file-attributes'. If the file's owner
27570 is the Administrators group on Windows, and the current user is
27571 Administrator, consider that a match.
27572
27573 * server.el (server-ensure-safe-dir): Consider server directory
27574 safe on MS-Windows if its owner is the Administrators group while
27575 the current Emacs user is Administrator. Use `=' to compare
27576 numerical UIDs, since they could be integers or floats.
27577
27578 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
27579
27580 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
27581
27582 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
27583
27584 Sync with Tramp 2.2.1.
27585
27586 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
27587
27588 * net/trampver.el: Update release number.
27589
27590 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27591
27592 * progmodes/compile.el (compilation--previous-directory): Fix up
27593 various nil/dead-marker mismatches (bug#8014).
27594 (compilation-directory-properties, compilation-error-properties):
27595 Don't call it at a position past the one we're about to change.
27596
27597 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
27598 Disable obsolescence warnings in the file that declares it.
27599
27600 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
27601
27602 * allout-widgets.el (allout-widgets-tally):
27603 Initialize allout-widgets-tally as a hash table rather than nil to
27604 prevent mode-line redisplay warnings. Also, clarify the module
27605 description and fix a comment typo.
27606
27607 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
27608
27609 * help-fns.el (describe-variable): Don't complete keywords.
27610 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
27611
27612 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
27613
27614 * emacs-lisp/package.el (package-version-join): Impose a standard
27615 string representation for pre/alpha/beta version lists.
27616 (package-unpack-single): Standardize the directory name by passing
27617 it through package-version-join.
27618 (package-strip-rcs-id): Accept any version string that does not
27619 signal an error in version-to-list.
27620
27621 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
27622
27623 * simple.el (delete-trailing-whitespace): Return nil for the
27624 benefit of `write-file-functions'.
27625
27626 2011-03-10 Glenn Morris <rgm@gnu.org>
27627
27628 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
27629
27630 * vc/vc-git.el (vc-git-program): New option.
27631 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
27632 (vc-git--call): Use it.
27633
27634 * eshell/esh-util.el (eshell-condition-case): Doc fix.
27635
27636 * cus-edit.el (Custom-newline): If no button at point, look
27637 for a subgroup button at start-of-line. (Bug#2298)
27638
27639 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
27640
27641 2011-03-10 Julien Danjou <julien@danjou.info>
27642
27643 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
27644 `cursor-type' is nil.
27645
27646 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
27647
27648 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
27649
27650 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
27651
27652 * allout.el: Change so yank of distinctive-bullet items
27653 preserves the existing header prefix, rebulleting it if necessary,
27654 rather than replacing it. This is necessary for proper operation
27655 of cooperative addons like allout-widgets.
27656 (allout-make-topic-prefix, allout-rebullet-heading):
27657 Change SOLICIT arg to INSTEAD, and interpret additionally a string
27658 value as alternate bullet to be used, instead of prompting the user
27659 for a bullet character.
27660
27661 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
27662
27663 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
27664 Do not use `tramp-file-name-port', because this returns also
27665 `tramp-default-port'.
27666
27667 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
27668
27669 * net/rcirc.el (rcirc-handler-001): Remove useless
27670 with-rcirc-process-buffer.
27671 (rcirc-check-auth-status): Swap arguments to string-match.
27672
27673 2011-03-09 Glenn Morris <rgm@gnu.org>
27674
27675 * shell.el (shell-mode):
27676 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
27677
27678 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
27679 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
27680
27681 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27682
27683 * emacs-lisp/package.el (package-refresh-contents)
27684 (package-menu-execute): Use condition-case-no-debug.
27685
27686 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
27687
27688 * simple.el (shell-command-to-string): Use `process-file'.
27689
27690 * emacs-lisp/package.el (package-tar-file-info): Handle also
27691 remote files.
27692
27693 * emacs-lisp/package-x.el (package-upload-buffer-internal):
27694 Use `equal' for upload base check.
27695
27696 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
27697
27698 * textmodes/texinfo.el (texinfo-environments):
27699 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
27700
27701 2011-03-08 Glenn Morris <rgm@gnu.org>
27702
27703 * cus-start.el (cursor-in-non-selected-windows):
27704 Fix :set quoting oddness. (Bug#8192)
27705
27706 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
27707 in some setf expressions. (Bug#2159)
27708
27709 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27710
27711 * custom.el (custom-available-themes): Return themes in
27712 alphabetical order.
27713
27714 See ChangeLog.15 for earlier changes.
27715
27716 ;; Local Variables:
27717 ;; coding: utf-8
27718 ;; End:
27719
27720 Copyright (C) 2011-2013 Free Software Foundation, Inc.
27721
27722 This file is part of GNU Emacs.
27723
27724 GNU Emacs is free software: you can redistribute it and/or modify
27725 it under the terms of the GNU General Public License as published by
27726 the Free Software Foundation, either version 3 of the License, or
27727 (at your option) any later version.
27728
27729 GNU Emacs is distributed in the hope that it will be useful,
27730 but WITHOUT ANY WARRANTY; without even the implied warranty of
27731 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27732 GNU General Public License for more details.
27733
27734 You should have received a copy of the GNU General Public License
27735 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.