* lisp/image-mode.el (image-mode-winprops): Add winprops to
[bpt/emacs.git] / lisp / ChangeLog
1 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * image-mode.el (image-mode-winprops): Add winprops to
4 image-mode-winprops-alist before running
5 image-mode-new-window-functions.
6 * doc-view.el (doc-view-new-window-function): Don't delay
7 doc-view-goto-page via timers (bug#14435).
8
9 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10
11 * doc-view.el: Integrate with desktop.el. (Bug#14435)
12 (doc-view-desktop-save-buffer): New function.
13 (doc-view-restore-desktop-buffer): New function.
14 (desktop-buffer-mode-handlers):
15 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
16 handler.
17 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
18 `desktop-save-buffer' function.
19
20 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
21
22 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
23 (tramp-gvfs-file-name-handler): Raise a user error when
24 `tramp-gvfs-enabled' is nil.
25 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
26 Do not raise a user error when loading package. (Bug#14447)
27
28 * net/xesam.el: Move to obsolete/.
29
30 2013-05-24 Glenn Morris <rgm@gnu.org>
31
32 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
33
34 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
35
36 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
37 (Info-find-node, Man-getpage-in-background): Declare.
38
39 * mail/unrmail.el (unrmail):
40 Replace obsolete detect-coding-with-priority.
41
42 * net/socks.el (socks-split-string): Use this rather than split-string.
43 (socks-nslookup-host): Update for above change.
44 (dynamic-choice, s5-dynamic-choice-match)
45 (s5-dynamic-choice-match-inline, s5-widget-value-create):
46 Comment out unused code.
47
48 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
49 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
50 (gud-tooltip-echo-area): Make obsolete.
51 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
52
53 * progmodes/js.el (js--optimize-arglist): Declare.
54
55 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
56
57 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
58 (ediff-window-C): Declare.
59
60 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
61 Tweak requires to silence compiler.
62
63 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
64 (he-search-string, he-tried-table, he-expand-list)
65 (he-init-string, he-string-member, he-substitute-string)
66 (he-reset-string): Declare.
67
68 * obsolete/options.el (list-options): Use custom-variable-p,
69 rather than obsolete alias.
70
71 2013-05-23 Sam Steingold <sds@gnu.org>
72
73 * simple.el (shell-command-on-region): Pass the `replace' argument
74 down to `call-process-region' to comply with the doc as reported on
75 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
76
77 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
78
79 * emacs-lisp/smie.el (smie-indent-forward-token)
80 (smie-indent-backward-token): Handle string tokens (bug#14381).
81
82 2013-05-23 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
83
84 * ielm.el (ielm-menu): New menu.
85 (inferior-emacs-lisp-mode): Set comment-start.
86
87 2013-05-23 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
88
89 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
90 Fix deactivate action.
91
92 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
93 Add cleveref macros.
94
95 * lisp/textmodes/reftex-parse.el
96 (reftex-locate-bibliography-files): Accept options for
97 bibliography commands.
98 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
99 Add addbibresource. Basic Biblatex support.
100
101 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
102
103 * net/tramp-gvfs.el (top):
104 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
105 when loading package. (Bug#14447)
106
107 2013-05-23 Glenn Morris <rgm@gnu.org>
108
109 * progmodes/js.el: No need to load comint when compiling.
110 (ring-insert, comint-send-string, comint-send-input)
111 (comint-last-input-end, ido-chop): Declare.
112
113 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
114 * vc/ediff-mult.el: Adjust requires.
115 (ediff-directories-internal, ediff-directory-revisions-internal)
116 (ediff-patch-file-internal): Declare.
117 * vc/ediff-ptch.el: Adjust requires.
118 (ediff-use-last-dir, ediff-buffers-internal): Declare.
119 (ediff-find-file): Autoload.
120 * vc/ediff-util.el: No need to load ediff when compiling.
121 (ediff-regions-internal): Declare.
122 * vc/ediff-wind.el: Adjust requires.
123 (ediff-compute-toolbar-width): Define when compiling.
124 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
125 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
126 (dired-get-filename, dired-get-marked-files)
127 (ediff-last-dir-patch, ediff-patch-default-directory)
128 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
129 (ediff-patch-buffer-internal): Declare.
130
131 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
132 (ispell-process, ispell-buffer-local-words, lm-summary)
133 (lm-section-start, lm-section-end): Declare.
134 (checkdoc-ispell-init): Simplify.
135
136 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
137 (he-string-member, he-reset-string, he-substitute-string): Declare.
138
139 * eshell/em-ls.el: Adjust requires.
140 (eshell-glob-regexp): Declare.
141 * eshell/em-tramp.el: Adjust requires.
142 (eshell-parse-command): Autoload.
143 * eshell/em-xtra.el: Adjust requires.
144 (eshell-parse-command): Autoload.
145 * eshell/esh-ext.el: Adjust requires.
146 (eshell-parse-command, eshell-close-handles): Autoload.
147 * eshell/esh-io.el: Adjust requires.
148 (eshell-output-filter): Autoload.
149 * eshell/esh-util.el: No need to load tramp when compiling.
150 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
151 Declare.
152 (eshell-parse-ange-ls): Require ange-ftp and tramp.
153 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
154 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
155 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
156 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
157 * eshell/esh-opt.el, eshell/esh-proc.el:
158 * eshell/esh-var.el: Adjust requires.
159 * eshell/eshell.el: Do not require esh-util twice.
160 (eshell-add-input-to-history): Declare.
161 (eshell-command): Check history module is active before using it.
162
163 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
164
165 2013-05-22 Leo Liu <sdl.web@gmail.com>
166
167 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
168
169 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
170
171 * autorevert.el (auto-revert-notify-add-watch)
172 (auto-revert-notify-handler): Add `attrib' for the inotify case,
173 it indicates changes in file modification time.
174
175 2013-05-22 Glenn Morris <rgm@gnu.org>
176
177 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
178 Always delete the autoloaded function from the noruntime and
179 unresolved functions lists.
180
181 * allout.el: No need to load epa, epg, overlay when compiling.
182 (epg-context-set-passphrase-callback, epg-list-keys)
183 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
184 (epg-key-user-id-list): Declare.
185
186 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
187 (viper-set-parsing-style-toggling-macro)
188 (viper-set-emacs-state-searchstyle-macros):
189 Use called-interactively-p on Emacs.
190 (viper-looking-back): Make it an obsolete alias. Update callers.
191 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
192 Use looking-back rather than viper-looking-back.
193 (viper-tmp-insert-at-eob, viper-enlarge-region)
194 (viper-read-string-with-history, viper-register-to-point)
195 (viper-append-to-register, viper-change-state-to-vi)
196 (viper-backward-char-carefully, viper-forward-char-carefully)
197 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
198 (viper-change-state-to-emacs): Declare.
199 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
200 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
201 * emulation/viper-mous.el: Do not load viper-cmd.
202 (viper-backward-char-carefully, viper-forward-char-carefully)
203 (viper-forward-word, viper-adjust-window): Declare.
204
205 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
206
207 * progmodes/idlw-help.el (idlwave-help-fontify):
208 Use called-interactively-p.
209
210 * term/w32console.el (w32-get-console-codepage)
211 (w32-get-console-output-codepage): Declare.
212
213 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
214 Remove unnecessary declarations.
215 (dframe-message): Doc fix.
216
217 * info.el (dframe-select-attached-frame, dframe-current-frame):
218 Declare.
219
220 * speedbar.el (speedbar-message): Make it an obsolete alias.
221 Update all callers.
222 (speedbar-with-attached-buffer)
223 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
224 (speedbar-with-writable): Use backquote.
225 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
226 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
227 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
228 rather than speedbar- aliases.
229 * mail/rmail.el: Load dframe rather than speedbar when compiling.
230 (speedbar-make-specialized-keymap, speedbar-insert-button)
231 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
232 (speedbar-do-function-pointer): Declare.
233 (rmail-speedbar-button, rmail-speedbar-find-file)
234 (rmail-speedbar-move-message):
235 Use dframe-with-attached-buffer rather than speedbar- alias.
236 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
237 (dframe-message, speedbar-make-specialized-keymap)
238 (speedbar-add-expansion-list, speedbar-mode-functions-list)
239 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
240 (speedbar-insert-button, dframe-select-attached-frame)
241 (dframe-maybee-jump-to-attached-frame)
242 (speedbar-change-initial-expansion-list)
243 (speedbar-previously-used-expansion-list-name): Declare.
244 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
245 Use dframe-message, dframe-with-attached-buffer rather than
246 speedbar- aliases.
247 (gud-sentinel): Silence compiler.
248 * progmodes/vhdl-mode.el (speedbar-refresh)
249 (speedbar-do-function-pointer, speedbar-add-supported-extension)
250 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
251 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
252 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
253 (speedbar-file-lists, speedbar-make-tag-line)
254 (speedbar-line-directory, speedbar-goto-this-file)
255 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
256 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
257 (speedbar-make-button, speedbar-reset-scanners)
258 (speedbar-files-item-info, speedbar-line-text)
259 (speedbar-find-file-in-frame, speedbar-set-timer)
260 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
261 (speedbar-with-writable): Do not (re)define it.
262 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
263 rather than speedbar- alias.
264
265 2013-05-21 Leo Liu <sdl.web@gmail.com>
266
267 * progmodes/octave.el (octave-mode-menu): Update and re-organize
268 menu items.
269 (octave-mode): Tweak fill-nobreak-predicate.
270 (inferior-octave-startup): Check process to avoid infinite loop.
271 (inferior-octave): Pop to buffer first to show abornmal process
272 exit information.
273
274 2013-05-21 Glenn Morris <rgm@gnu.org>
275
276 * printing.el (pr-menu-bar): Define when compiling.
277
278 2013-05-21 Leo Liu <sdl.web@gmail.com>
279
280 * progmodes/octave.el (octave-auto-fill): Remove.
281 (octave-indent-new-comment-line): Improve.
282 (octave-mode): Use auto fill mode through
283 comment-line-break-function and fill-nobreak-predicate
284 (octave-goto-function-definition): Support DEFUN_DLD.
285 (octave-beginning-of-defun): Small Tweak
286 (octave-help): Show parent directory.
287
288 2013-05-21 Glenn Morris <rgm@gnu.org>
289
290 * files.el (dired-unmark):
291 * progmodes/gud.el (gdb-input): Update declarations.
292
293 * calculator.el (electric, ehelp): No need to load when compiling.
294 (Electric-command-loop, electric-describe-mode): Declare.
295
296 * doc-view.el (doc-view-current-converter-processes): Move before use.
297
298 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
299 Move MODE-set-explicitly definition before use.
300
301 * international/mule-diag.el (mule-diag):
302 Don't use obsolete window-system-version.
303
304 * mail/feedmail.el (smtpmail): No need to load when compiling.
305 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
306
307 * mail/mail-utils.el (rfc822): No need to load when compiling.
308 (rfc822-addresses): Autoload it.
309 (mail-strip-quoted-names): Trivial simplification.
310
311 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
312 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
313
314 * net/snmp-mode.el (tempo): Don't duplicate requires.
315
316 * progmodes/prolog.el (info): No need to load when compiling.
317 (comint): Require before shell requires it.
318 (Info-goto-node): Autoload it.
319 (Info-follow-nearest-node): Declare.
320 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
321
322 * textmodes/artist.el (picture-mode-exit): Declare.
323
324 * textmodes/reftex-parse.el (reftex-parse-from-file):
325 Trivial rewrite so the compiler can parse it better.
326
327 2013-05-20 Leo Liu <sdl.web@gmail.com>
328
329 * progmodes/octave.el (octave-help-mode-map)
330 (octave-help-mode-finish-hook): New variables.
331 (octave-help-mode, octave-help-mode-finish): New functions.
332 (octave-help): Use octave-help-mode.
333
334 2013-05-20 Glenn Morris <rgm@gnu.org>
335
336 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
337
338 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
339
340 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
341 start at point, so that expansion starting right after opening
342 slash in a regexp is recognized.
343 (ruby-syntax-before-regexp-re): New defvar, extracted from
344 ruby-syntax-propertize-function. Since the value of this regexp
345 is looked up at runtime now, we should be able to turn
346 `ruby-syntax-methods-before-regexp' into a defcustom later.
347 (ruby-syntax-propertize-function): Split regexp matching into two
348 parts, for opening and closing slashes. That allows us to skip
349 over string interpolations and support multiline regexps.
350 Don't call `ruby-syntax-propertize-expansions', instead use another rule
351 for them, which calls `ruby-syntax-propertize-expansion'.
352 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
353 call to `ruby-syntax-propertize-function'.
354 (ruby-syntax-propertize-expansion): Extracted from
355 `ruby-syntax-propertize-expansions'. Handles one expansion.
356 (ruby-syntax-propertize-percent-literal): Leave point right after
357 the percent symbol, so that the expression expansion rule can
358 propertize the contents.
359 (ruby-syntax-propertize-heredoc): Leave point at bol following the
360 heredoc openers.
361 (ruby-syntax-propertize-expansions): Remove.
362
363 2013-05-18 Juri Linkov <juri@jurta.org>
364
365 * man.el (Man-default-man-entry): Remove `-' from the end
366 of the default value. (Bug#14400)
367
368 2013-05-18 Glenn Morris <rgm@gnu.org>
369
370 * comint.el (comint-password-prompt-regexp):
371 Allow "password for XXX" where XXX contains colons (eg https://...).
372
373 2013-05-18 Leo Liu <sdl.web@gmail.com>
374
375 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
376 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
377 (octave-source-directories): Don't check process.
378 (octave-source-directories, octave-find-definition): Doc fix.
379
380 2013-05-18 Glenn Morris <rgm@gnu.org>
381
382 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
383 Remove backspace/delete bindings. (Bug#14392)
384
385 * cus-dep.el (custom-make-dependencies): Sort the output.
386 (custom-versions-load-alist): Convert comment to doc.
387
388 2013-05-17 Leo Liu <sdl.web@gmail.com>
389
390 * newcomment.el (comment-search-backward): Stricter in finding
391 comment start. (Bug#14303)
392
393 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
394 (octave-comment-start-skip): Properly anchored.
395
396 2013-05-17 Leo Liu <sdl.web@gmail.com>
397
398 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
399 Clean up when turned off. (Bug#14395)
400 (smie--highlight-matching-block-overlay): No longer buffer-local.
401 (smie-highlight-matching-block): Adjust.
402
403 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
404
405 Doc string fix for "nanoseconds" (Bug#14406).
406 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
407 Fix doc string typo that had "nanoseconds" instead of "microseconds".
408
409 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
410
411 * calc/calc-units.el (math-extract-units): Preserve powers
412 of units.
413
414 2013-05-17 Leo Liu <sdl.web@gmail.com>
415
416 * subr.el (delete-consecutive-dups): New function.
417 * ido.el (ido-set-matches-1): Use it.
418 * progmodes/octave.el (inferior-octave-completion-table): Use it.
419 * ido.el (ido-remove-consecutive-dups): Remove.
420
421 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
422
423 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
424 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
425 regexp-opt's `words'.
426
427 2013-05-16 Leo Liu <sdl.web@gmail.com>
428
429 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
430 (smie--highlight-matching-block-overlay)
431 (smie--highlight-matching-block-lastpos)
432 (smie--highlight-matching-block-timer): New variables.
433 (smie-highlight-matching-block): New function.
434 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
435 (smie-setup): Conditionally enable smie-blink-matching-open.
436
437 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
438
439 Sync with upstream verilog-mode r840.
440 * progmodes/verilog-mode.el (verilog-mode-version)
441 (verilog-mode-release-date): Update.
442 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
443 (verilog-sig-tieoff): Fix string error on
444 AUTORESET with colon define, bug594. Reported by Andrew Hou.
445 (verilog-read-decls): Fix parameters confusing
446 AUTOINST interfaces, bug565. Reported by Leith Johnson.
447
448 2013-05-16 Eli Zaretskii <eliz@gnu.org>
449
450 * subr.el (reveal-filename): New function.
451
452 * loadup.el: Compute Emacs executable versions on MS-Windows,
453 where executables have the .exe extension. Add a hard link
454 emacs-XX.YY.ZZ.exe on MS-Windows.
455
456 * Makefile.in (XARGS_LIMIT): New variable.
457 (custom-deps, finder-data, autoloads)
458 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
459 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
460 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
461 (compile-main): Limit xargs according to $(XARGS_LIMIT).
462
463 2013-05-16 Leo Liu <sdl.web@gmail.com>
464
465 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
466 (octave-mode-menu, octave-mode-map): Remove its uses.
467
468 2013-05-16 Reto Zimmermann <reto@gnu.org>
469
470 Sync with upstream vhdl mode v3.34.2.
471 * progmodes/vhdl-mode.el: Use `push' throughout.
472 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
473 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
474 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
475 (vhdl-actual-generic-name): New option to derive actual generic name.
476 (vhdl-port-paste-signals): Replace formal by actual generics.
477 (vhdl-beautify): New name for old group vhdl-align. Update users.
478 (vhdl-beautify-options): New option.
479 (vhdl-last-input-event): New compat alias. Use throughout.
480 (vhdl-goto-line): Replace user level function `goto-line'.
481 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
482 vhdl-fix-statement-buffer.
483 (vhdl-create-mode-menu): Add some entries.
484 (vhdl-align-region-groups): Respect vhdl-beautify-options.
485 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
486 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
487 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
488 to force statements on one line.
489 (vhdl-remove-trailing-spaces-region):
490 New, split from vhdl-remove-trailing-spaces.
491 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
492 Respect vhdl-beautify-options.
493 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
494 (vhdl-update-sensitivity-list): Not add with index if exists without.
495 Not include array index with signal. Ignore keywords in comments.
496 (vhdl-get-visible-signals): Regexp tweaks.
497 (vhdl-template-component-inst): Handle empty library.
498 (vhdl-template-type): Add template for 'enum' type.
499 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
500 Use vhdl-replace-string.
501 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
502 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
503 (vhdl-speedbar-initialize): Update for above name change.
504 (vhdl-compose-wire-components): Fix in handling of constants.
505 (vhdl-error-regexp-emacs-alist): New variable.
506 (vhdl-error-regexp-add-emacs): New function;
507 adds support for new compile.el (Emacs 22+)
508 (vhdl-generate-makefile-1): Change target order for single lib. units.
509 Allow use of absolute file names.
510
511 2013-05-16 Leo Liu <sdl.web@gmail.com>
512
513 * simple.el (prog-indent-sexp): Indent enclosing defun.
514
515 2013-05-15 Glenn Morris <rgm@gnu.org>
516
517 * cus-start.el (show-trailing-whitespace): Move to editing basics.
518 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
519 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
520 (whitespace-highlight): Move to whitespace group.
521
522 * comint.el (comint-source):
523 * pcmpl-linux.el (pcmpl-linux):
524 * shell.el (shell-faces):
525 * eshell/esh-opt.el (eshell-opt):
526 * international/ccl.el (ccl): Remove empty custom groups.
527
528 * completion.el (dynamic-completion-mode):
529 * jit-lock.el (jit-lock-debug-mode):
530 * minibuffer.el (completion-in-region-mode):
531 * type-break.el (type-break-mode-line-message-mode)
532 (type-break-query-mode):
533 * emulation/tpu-edt.el (tpu-edt-mode):
534 * progmodes/subword.el (global-subword-mode, global-superword-mode):
535 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
536 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
537
538 * term/xterm.el (xterm): Change parent group to terminals.
539
540 * master.el (master): Remove empty custom group.
541 (master-mode): Remove unused :group argument.
542 * textmodes/refill.el (refill): Remove empty custom group.
543 (refill-mode): Remove unused :group argument.
544
545 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
546
547 * cus-dep.el: Provide a feature.
548 (custom-make-dependencies): Ignore dotfiles (dir-locals).
549 Don't mistakenly ignore files whose basenames match a basename
550 from preloaded-file-list (eg cedet/ede/simple.el).
551 Add a fallback method for getting :group.
552
553 2013-05-15 Juri Linkov <juri@jurta.org>
554
555 * isearch.el (isearch-char-by-name): Rename from
556 `isearch-insert-char-by-name'. Doc fix.
557 (isearch-forward): Mention `isearch-char-by-name' in
558 the docstring. (Bug#13348)
559
560 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
561 `exit-minibuffer' instead of
562 `isearch-nonincremental-exit-minibuffer'.
563 (isearch-edit-string): Remove mention of
564 `isearch-nonincremental-exit-minibuffer' from docstring.
565 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
566 (isearch-forward-exit-minibuffer)
567 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
568
569 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
570
571 * loadup.el: Just use unversioned DOC.
572
573 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
574 literals as extending to EOB.
575 (nxml-last-fontify-end): Remove unused variable.
576 (nxml-after-change1): Use with-silent-modifications.
577 (nxml-extend-after-change-region): Simplify.
578 (nxml-extend-after-change-region1): Remove function.
579 (nxml-after-change1): Don't adjust for dependent regions.
580 (nxml-fontify-matcher): Simplify.
581 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
582 (xmltok-add-dependent): Remove function.
583 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
584 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
585 (xmltok-scan-prolog-after-processing-instruction-open): Treat
586 unclosed <[[, <?, comment, and other literals as extending to EOB.
587 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
588 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
589 Remove functions.
590 (rng-do-some-validation-1): Don't mark dependent regions.
591 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
592 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
593 (nxml-clear-dependent-regions): Remove functions.
594 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
595 (nxml-ensure-scan-up-to-date):
596 Don't clear&mark dependent regions.
597
598 2013-05-15 Leo Liu <sdl.web@gmail.com>
599
600 * progmodes/octave.el (octave-goto-function-definition):
601 Improve and fix callers.
602
603 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
604
605 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
606 the setter (bug#14387).
607
608 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
609 surrounding group (bug#14402).
610
611 2013-05-14 Juri Linkov <juri@jurta.org>
612
613 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
614 (Bug#14390)
615
616 2013-05-14 Glenn Morris <rgm@gnu.org>
617
618 * progmodes/f90.el (f90-imenu-generic-expression):
619 Fix typo in 2013-05-08 change. (Bug#14402)
620
621 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
622
623 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
624 Remove signals for which replies are never received.
625
626 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
627
628 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
629 (gdb-handler-alist, gdb-handler-number): Remove variables.
630 (gdb-handler-list): New variable.
631 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
632 (gdb-pending-handler-p, gdb-handle-reply)
633 (gdb-remove-all-pending-triggers): New functions.
634 (gdb-discard-unordered-replies): New defcustom.
635 (gdb-handler): New defstruct.
636 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
637 instead of gdb-pending-triggers. Update docstring.
638 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
639 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
640 (gdb-var-update-handler, def-gdb-auto-update-trigger)
641 (def-gdb-auto-update-handler, gdb-get-changed-registers)
642 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
643 (gdb-frame-handler): Pending triggers are now automatically managed.
644 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
645 Remove argument.
646 (gdb-input): Automatically handles pending triggers. Update docstring.
647 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
648 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
649 Update comments.
650 (gdb-done-or-error): Now use gdb-handle-reply.
651
652 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
653
654 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
655 gdb-debug-log.
656
657 2013-05-14 Glenn Morris <rgm@gnu.org>
658
659 * subr.el (user-emacs-directory-warning): New option.
660 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
661
662 2013-05-14 Leo Liu <sdl.web@gmail.com>
663
664 * progmodes/octave.el (octave-font-lock-keywords): Fix error
665 during redisplay.
666 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
667 (octave-font-lock-texinfo-comment): Fix invalid search bound
668 error: wrong side of point.
669
670 2013-05-14 Glenn Morris <rgm@gnu.org>
671
672 * progmodes/flymake.el (flymake-xml-program): New option.
673 (flymake-xml-init): Use it.
674
675 * term/xterm.el: Provide a feature.
676
677 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
678
679 2013-05-13 Glenn Morris <rgm@gnu.org>
680
681 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
682 Add compat aliases as a hack workaround. (Bug#14384)
683
684 2013-05-13 Leo Liu <sdl.web@gmail.com>
685
686 * progmodes/octave.el (octave-indent-comment): Fix indentation for
687 ###, and %!.
688 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
689 C-M-q.
690 (octave-comment-start-skip): Include %!.
691 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
692
693 2013-05-12 Leo Liu <sdl.web@gmail.com>
694
695 * progmodes/octave.el (inferior-octave-startup): Store the value
696 of __octave_srcdir__ for octave-source-directories.
697 (inferior-octave-check-process): New function refactored out of
698 inferior-octave-send-list-and-digest.
699 (octave-source-directories)
700 (octave-find-definition-filename-function): New variables.
701 (octave-source-directories)
702 (octave-find-definition-default-filename): New functions.
703 (octave-find-definition): Improve to find functions implemented in C++.
704
705 2013-05-12 Glenn Morris <rgm@gnu.org>
706
707 * calendar/diary-lib.el (diary-outlook-format-1):
708 Don't include dayname in the output. (Bug#14349)
709
710 2013-05-11 Glenn Morris <rgm@gnu.org>
711
712 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
713
714 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
715 Treat cc-provide like provide.
716
717 2013-05-11 Kevin Ryde <user42@zip.com.au>
718
719 * cus-dep.el (custom-make-dependencies):
720 Use generated-autoload-load-name for the sake of files such
721 such cedet/semantic/bovine/c.el, where the base file name
722 is not in load-path. (Bug#5277)
723
724 2013-05-11 Glenn Morris <rgm@gnu.org>
725
726 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
727 Provide features.
728
729 2013-05-11 Leo Liu <sdl.web@gmail.com>
730
731 * progmodes/octave.el (octave-indent-comment): Improve.
732 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
733 (octave-eldoc-function-signatures, octave-eldoc-function):
734 New functions.
735 (octave-mode, inferior-octave-mode): Add eldoc support.
736
737 2013-05-11 Richard Stallman <rms@gnu.org>
738
739 * epa.el (epa-decrypt-file): Take output file name as argument
740 and read it using `interactive'.
741
742 2013-05-11 Leo Liu <sdl.web@gmail.com>
743
744 * progmodes/octave.el (octave-beginning-of-line)
745 (octave-end-of-line): Check before using up-list because it jumps
746 out of more syntactic contructs since moving to smie.
747 (octave-indent-comment): New function.
748 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
749 (octave-begin-keywords, octave-end-keywords)
750 (octave-reserved-words, octave-smie-bnf-table)
751 (octave-smie-rules): Add new keywords from Octave 3.6.4.
752
753 2013-05-11 Glenn Morris <rgm@gnu.org>
754
755 * faces.el (internal-face-x-get-resource):
756 * frame.el (ns-display-monitor-attributes-list):
757 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
758
759 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
760
761 * calc/calc-menu.el: Make it loadable in isolation.
762
763 * net/eudcb-bbdb.el: Make it loadable without bbdb.
764 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
765 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
766 (eudc-bbdb-query-internal): Require 'bbdb.
767
768 * lpr.el (lpr-headers-switches):
769 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
770
771 * progmodes/sql.el (sql-login-params): Fix and improve :type.
772
773 * emulation/edt-mapper.el: In batch mode, error rather than hang.
774
775 * term.el (term-set-escape-char): Make it idempotent.
776
777 2013-05-10 Leo Liu <sdl.web@gmail.com>
778
779 * progmodes/octave.el (inferior-octave-completion-table):
780 No longer a function and all uses changed. Use cache to speed up
781 completion due to bug#11906.
782 (octave-beginning-of-defun): Re-write to be more general.
783
784 2013-05-10 Glenn Morris <rgm@gnu.org>
785
786 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
787
788 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
789
790 * comint.el (comint-redirect-send-command-to-process): Use :around
791 rather than :override for comint-redirect-filter.
792 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
793 Call it instead of comint-redirect-original-filter-function (which
794 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
795
796 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
797
798 * frame.el (display-monitor-attributes-list): Add NS case.
799 (ns-display-monitor-attributes-list): Declare.
800
801 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
802
803 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
804
805 2013-05-09 Glenn Morris <rgm@gnu.org>
806
807 * international/fontset.el (vertical-centering-font-regexp):
808 Set standard-value.
809
810 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
811
812 * bookmark.el (bookmark-search-delay):
813 * cus-start.el (vertical-centering-font-regexp):
814 * ps-mule.el (ps-mule-font-info-database-default):
815 * ps-print.el (ps-default-fg, ps-default-bg):
816 * type-break.el (type-break-good-break-interval):
817 * whitespace.el (whitespace-indentation-regexp)
818 (whitespace-space-after-tab-regexp):
819 * emacs-lisp/testcover.el (testcover-1value-functions)
820 (testcover-noreturn-functions, testcover-progn-functions)
821 (testcover-prog1-functions):
822 * emulation/viper-init.el (viper-emacs-state-cursor-color):
823 * eshell/em-glob.el (eshell-glob-translate-alist):
824 * play/tetris.el (tetris-tty-colors):
825 * progmodes/cpp.el (cpp-face-default-list):
826 * progmodes/flymake.el (flymake-allowed-file-name-masks):
827 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
828 (idlwave-help-browser-generic-args):
829 * progmodes/make-mode.el (makefile-special-targets-list):
830 * progmodes/python.el (python-shell-virtualenv-path):
831 * progmodes/verilog-mode.el (verilog-active-low-regexp)
832 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
833 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
834 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
835 * textmodes/reftex-vars.el (reftex-format-label-function):
836 * textmodes/remember.el (remember-diary-file): Fix custom types.
837
838 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
839 Add :version.
840
841 2013-05-09 Leo Liu <sdl.web@gmail.com>
842
843 * progmodes/octave.el (inferior-octave-completion-at-point):
844 Restore file completion. (Bug#14300)
845 (inferior-octave-startup): Fix incorrect highlighting for the
846 first prompt.
847
848 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
849
850 * progmodes/ruby-mode.el: First cut at SMIE support.
851 (ruby-use-smie): New var.
852 (ruby-smie-grammar): New constant.
853 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
854 (ruby-smie--forward-token, ruby-smie--backward-token)
855 (ruby-smie-rules): New functions.
856 (ruby-mode-variables): Setup SMIE if applicable.
857
858 2013-05-08 Eli Zaretskii <eliz@gnu.org>
859
860 * simple.el (line-move-visual): Signal beginning/end of buffer
861 only if vertical-motion moved less than it was requested. Avoids
862 silly incorrect error messages when there are display strings with
863 multiple newlines at EOL.
864
865 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
866
867 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
868 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
869 (prolog-char-quote-workaround):
870 * progmodes/cperl-mode.el (cperl-under-as-char):
871 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
872 Mark as obsolete.
873 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
874 their declaration.
875 (vhdl-mode-syntax-table-init): Remove.
876
877 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
878 last change.
879
880 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
881 syntax for "_".
882 (ld-script-font-lock-keywords):
883 Change regexps to use things like \_< and \_>.
884
885 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
886 Change all regexps to use things like \_< and \_>.
887
888 * progmodes/autoconf.el (autoconf-definition-regexp)
889 (autoconf-font-lock-keywords, autoconf-current-defun-function):
890 Handle a _ with symbol syntax.
891 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
892
893 * progmodes/ada-mode.el (ada-mode-abbrev-table):
894 Consolidate declaration.
895 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
896 the declaration.
897 (ada-create-syntax-table): Remove.
898 (ada-capitalize-word): Don't mess with the syntax of "_" since it
899 already has the right syntax nowadays.
900 (ada-goto-next-word): Don't change the syntax of "_".
901
902 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
903 with-wrapper-hook.
904
905 2013-05-08 Sam Steingold <sds@gnu.org>
906
907 * thingatpt.el (thing-at-point): Accept optional second argument
908 NO-PROPERTIES to strip the text properties from the return value.
909 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
910 to `thing-at-point' instead of stripping the properties ourselves.
911 Also, when `thing-at-point' fails to find a url, prepend "http://"
912 to the filename at point on the assumption that the user is
913 pointing at something like gnu.org/gnu.
914
915 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
916
917 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
918 * faces.el (crm-separator):
919 Silence byte-compiler.
920
921 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
922 (tool-bar-map): Remove unneeded defvars.
923
924 2013-05-08 Leo Liu <sdl.web@gmail.com>
925
926 Re-work a fix for bug#10994 based on Le Wang's patch.
927 * ido.el (ido-remove-consecutive-dups): New helper.
928 (ido-completing-read): Use it.
929 (ido-chop): Revert fix for bug#10994.
930
931 2013-05-08 Adam Spiers <emacs@adamspiers.org>
932
933 * cus-edit.el (custom-save-variables):
934 Pretty-print long values. (Bug#14187)
935
936 2013-05-08 Glenn Morris <rgm@gnu.org>
937
938 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
939 (m4-mode-syntax-table): Init in the defvar.
940 (m4-mode-abbrev-table): Let define-derived-mode define it.
941
942 2013-05-08 Tom Tromey <tromey@redhat.com>
943
944 * progmodes/m4-mode.el (m4-mode-syntax-table):
945 Do not treat "_" as word constituent. (Bug#14167)
946
947 2013-05-07 Glenn Morris <rgm@gnu.org>
948
949 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
950 Remove explicit eshell-isearch-cancel-map.
951
952 * progmodes/f90.el (f90-smart-end-names): New option.
953 (f90-smart-end): Doc fix.
954 (f90-end-block-optional-name): New constant.
955 (f90-block-match): Respect f90-smart-end-names.
956
957 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
958
959 * progmodes/octave.el (octave-smie-forward-token): Be more careful
960 about implicit semi-colons (bug#14218).
961
962 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
963
964 * frame.el (display-monitor-attributes-list)
965 (frame-monitor-attributes): New functions.
966
967 2013-05-06 Leo Liu <sdl.web@gmail.com>
968
969 * progmodes/octave.el (octave-syntax-propertize-function): Change
970 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
971 (octave-font-lock-keywords): Use octave-operator-regexp.
972 (octave-completion-at-point): Rename from
973 octave-completion-at-point-function.
974 (inferior-octave-directory-tracker): Robustify.
975 (octave-text-functions): Remove and fix its uses. No such things
976 any more.
977
978 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
979
980 * emacs-lisp/trace.el (trace--display-buffer): New function.
981 (trace-make-advice): Use it.
982
983 2013-05-06 Juri Linkov <juri@jurta.org>
984
985 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
986 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
987 Doc fix.
988 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
989 in the help string. (Bug#12985)
990
991 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
992
993 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
994
995 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
996
997 * progmodes/perl-mode.el: Add support for here documents.
998 (perl-syntax-propertize-function): Match here-doc markers.
999 (perl-syntax-propertize-special-constructs): Find their end.
1000 (perl-imenu-generic-expression): Use [:alnum:].
1001
1002 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
1003 (advice--add-function): Refresh the advice if already present
1004 (bug#14317).
1005
1006 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
1007
1008 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
1009
1010 2013-05-06 Glenn Morris <rgm@gnu.org>
1011
1012 * w32-fns.el (w32-charset-info-alist): Declare.
1013
1014 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
1015 of its defcustom properties.
1016 (eshell-cmpl-initialize): No need to load pcomplete.
1017
1018 * generic-x.el: No need to require comint when compiling.
1019
1020 * net/eudc-export.el: Make it loadable without bbdb.
1021 (top-level): Use require rather than load-library.
1022 (eudc-create-bbdb-record, eudc-bbdbify-phone)
1023 (eudc-batch-export-records-to-bbdb)
1024 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
1025 Require bbdb.
1026
1027 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1028
1029 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
1030 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
1031 some tweaks, instead.
1032
1033 2013-05-05 Leo Liu <sdl.web@gmail.com>
1034
1035 * progmodes/octave.el (octave-font-lock-keywords)
1036 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
1037 (inferior-octave-send-list-and-digest): Improve error message.
1038 (octave-mode, inferior-octave-mode): Use setq-local.
1039 (octave-help): Set info-lookup-mode.
1040
1041 2013-05-05 Richard Stallman <rms@gnu.org>
1042
1043 * vc/compare-w.el (compare-windows-whitespace):
1044 Treat no-break space as whitespace.
1045
1046 * mail/rmailsum.el (rmail-summary-rmail-update):
1047 Detect empty summary and don't change selected message.
1048 (rmail-summary-goto-msg): Likewise.
1049
1050 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
1051 Doc fixes, rename args.
1052
1053 2013-05-05 Alan Mackenzie <acm@muc.de>
1054
1055 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
1056
1057 2013-05-05 Juri Linkov <juri@jurta.org>
1058
1059 * info.el (Info-read-subfile): Use (point-min) instead of (point)
1060 to not add the length of the summary segment to the return value.
1061 (Bug#14125)
1062
1063 2013-05-05 Leo Liu <sdl.web@gmail.com>
1064
1065 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
1066 (inferior-octave-output-filter): Remove.
1067 (octave-send-region, inferior-octave-startup): Fix callers.
1068 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
1069 (octave-binary-file-extensions): New user variable.
1070 (octave-find-definition): Confirm if opening binary files.
1071 (octave-help-file): Use octave-find-definition to get the binary
1072 confirmation.
1073 (octave-help): Adjust for octave-help-file change.
1074
1075 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1076
1077 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
1078 Merge the two entries that handle function definitions.
1079 (pascal--syntax-propertize): New const.
1080 (pascal-mode): Use it. Use setq-local.
1081
1082 2013-05-04 Glenn Morris <rgm@gnu.org>
1083
1084 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
1085 (diary-from-outlook): Respect diary-from-outlook-function.
1086
1087 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1088
1089 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
1090 Move the declaration from C.
1091 (read-minibuffer, eval-minibuffer): Move from C.
1092 (completion-setup-function): Avoid minibuffer-completion-contents.
1093
1094 2013-05-03 Leo Liu <sdl.web@gmail.com>
1095
1096 * progmodes/octave.el (octave-font-lock-keywords): Do not
1097 dehighlight 'end' in comments or strings.
1098 (octave-completing-read, octave-goto-function-definition):
1099 New helpers.
1100 (octave-help-buffer): New user variable.
1101 (octave-help-file, octave-help-function): New button types.
1102 (octave-help): New command and bind it to C-h ;.
1103 (octave-find-definition): New command and bind it to M-.
1104 (user-error): Alias to error if not defined.
1105
1106 2013-05-02 Leo Liu <sdl.web@gmail.com>
1107
1108 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
1109 for \. (bug#14332)
1110 (octave-font-lock-keywords): Include [ and {.
1111
1112 2013-05-02 Leo Liu <sdl.web@gmail.com>
1113
1114 * progmodes/octave.el (inferior-octave-startup-file): Change default.
1115 (inferior-octave): Remove calling comint-mode and return the buffer.
1116 (inferior-octave-startup): Cosmetic changes.
1117
1118 2013-05-02 Leo Liu <sdl.web@gmail.com>
1119
1120 * progmodes/octave.el (octave-syntax-propertize-function):
1121 Include the case when ' is at line beginning. (Bug#14336)
1122
1123 2013-05-02 Glenn Morris <rgm@gnu.org>
1124
1125 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
1126 * desktop.el (vc-dir-mode): Just autoload it here.
1127
1128 2013-05-02 Alan Mackenzie <acm@muc.de>
1129
1130 Eliminate variable c-standard-font-lock-fontify-region-function.
1131 * progmodes/cc-mode.el
1132 (c-standard-font-lock-fontify-region-function): Remove.
1133 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
1134
1135 2013-05-01 Leo Liu <sdl.web@gmail.com>
1136
1137 * progmodes/octave.el: Compatible with older emacs-24 releases.
1138 (inferior-octave-has-built-in-variables): Remove. Built-in
1139 variables were removed from Octave in 2007.
1140 (inferior-octave-startup): Fix uses.
1141 (comint-line-beginning-position): Remove compatibility code for
1142 emacs 21.
1143
1144 2013-05-01 Juri Linkov <juri@jurta.org>
1145
1146 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
1147
1148 2013-05-01 Juri Linkov <juri@jurta.org>
1149
1150 * comint.el (comint-previous-matching-input): Don't print message
1151 "History item: %d" when `isearch-mode' is active.
1152 (comint-history-isearch-message): Print message "History item: %d"
1153 when `comint-input-ring-index' is not empty and this function is
1154 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
1155
1156 2013-05-01 Leo Liu <sdl.web@gmail.com>
1157
1158 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
1159 definitions. Use completion-at-point to insert keywords.
1160 (octave-abbrev-start): Remove.
1161 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
1162
1163 2013-04-30 Leo Liu <sdl.web@gmail.com>
1164
1165 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
1166 change.
1167
1168 2013-04-30 Alan Mackenzie <acm@muc.de>
1169
1170 Handle arbitrarily long C++ member initialisation lists.
1171 * progmodes/cc-engine.el (c-back-over-member-initializers):
1172 new function.
1173 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
1174 (most) member init lists.
1175
1176 2013-04-30 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
1177
1178 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
1179 variable.
1180
1181 2013-04-30 Leo Liu <sdl.web@gmail.com>
1182
1183 * progmodes/octave.el (octave-variables): Remove. No builtin
1184 variables any more. All converted to functions.
1185 (octave-font-lock-keywords, octave-completion-at-point-function):
1186 Fix uses.
1187 (octave-font-lock-texinfo-comment): New user variable.
1188 (octave-texinfo-font-lock-keywords): New variable for texinfo
1189 comment block.
1190 (octave-function-comment-block): New face.
1191 (octave-font-lock-texinfo-comment): New function.
1192 (octave-mode): Font lock texinfo comment block.
1193
1194 2013-04-29 Leo Liu <sdl.web@gmail.com>
1195
1196 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
1197 indexing expression.
1198 (octave-continuation-string): Do not use \.
1199 (inferior-octave-complete-impossible): Remove.
1200 (inferior-octave-completion-table)
1201 (inferior-octave-completion-at-point): Remove its uses.
1202 (inferior-octave-startup): completion_matches was introduced to
1203 Octave in 1996 so safe to assume it.
1204 (octave-function-file-comment): Improve to follow how Octave does it.
1205 (octave-update-function-file-comment): Tweak.
1206
1207 2013-04-29 Leo Liu <sdl.web@gmail.com>
1208
1209 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
1210 (inferior-octave-startup): Remove inferior-octave-startup-hook.
1211 (octave-function-file-comment): Fix typo.
1212 (octave-sync-function-file-names): Use read-char-choice.
1213
1214 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
1215
1216 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
1217 to t for the less important warnings.
1218
1219 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1220
1221 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
1222
1223 2013-04-27 Glenn Morris <rgm@gnu.org>
1224
1225 * vc/log-view.el (log-view-current-entry):
1226 Treat "---" separator lines as part of the following rev. (Bug#14169)
1227
1228 2013-04-27 Juri Linkov <juri@jurta.org>
1229
1230 * subr.el (read-number): Doc fix about using it by interactive
1231 code letter `n'. (Bug#14254)
1232
1233 2013-04-27 Juri Linkov <juri@jurta.org>
1234
1235 * desktop.el (desktop-auto-save-timeout): New option.
1236 (desktop-file-checksum): New variable.
1237 (desktop-save): Add optional arg `auto-save' and don't auto-save
1238 if nothing changed.
1239 (desktop-auto-save-timer): New variable.
1240 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
1241 (after-init-hook): Call `desktop-auto-save-set-timer'.
1242 Suggested by Reuben Thomas <rrt@sc3d.org> in
1243 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
1244
1245 2013-04-27 Leo Liu <sdl.web@gmail.com>
1246
1247 * progmodes/octave.el (octave-function-file-p)
1248 (octave-skip-comment-forward, octave-function-file-comment)
1249 (octave-update-function-file-comment): New functions.
1250 (octave-mode-map): Bind C-c ; to
1251 octave-update-function-file-comment.
1252 (octave-mode-menu): Add octave-update-function-file-comment.
1253 (octave-mode, inferior-octave-mode): Fix doc-string.
1254 (octave-insert-defun): Conform to Octave's coding convention.
1255 (Bug#14285)
1256
1257 * files.el (basic-save-buffer): Don't let errors in
1258 before-save-hook prevent saving buffer.
1259
1260 2013-04-20 Roland Winkler <winkler@gnu.org>
1261
1262 * faces.el (read-face-name): Use completing-read if arg multiple
1263 is nil.
1264
1265 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
1266
1267 * ls-lisp.el (ls-lisp-insert-directory): If no files are
1268 displayed, move point to after the totals line.
1269 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
1270 for the details.
1271
1272 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1273
1274 * emacs-lisp/package.el (package-autoload-ensure-default-file):
1275 Add current dir to the load-path.
1276 (package-generate-autoloads): Don't rely on
1277 autoload-ensure-default-file.
1278
1279 2013-04-26 Reuben Thomas <rrt@sc3d.org>
1280
1281 * textmodes/remember.el (remember-store-in-files): Document that
1282 the file name format is passed to `format-time-string'.
1283
1284 2013-04-26 Leo Liu <sdl.web@gmail.com>
1285
1286 * progmodes/octave.el (octave-sync-function-file-names): New function.
1287 (octave-mode): Use it in before-save-hook.
1288
1289 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1290
1291 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
1292 (bug#14274).
1293
1294 * progmodes/octave.el (octave-smie-forward-token): Properly skip
1295 \n and comment, even if it's not an implicit ; (bug#14218).
1296
1297 2013-04-26 Glenn Morris <rgm@gnu.org>
1298
1299 * subr.el (read-number): Once more use `read' rather than
1300 `string-to-number', to trap non-numeric input. (Bug#14254)
1301
1302 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
1303
1304 * emacs-lisp/syntax.el (syntax-propertize-multiline):
1305 Use `syntax-multiline' text property consistently instead of
1306 `font-lock-multiline'. (bug#14237).
1307
1308 2013-04-26 Glenn Morris <rgm@gnu.org>
1309
1310 * emacs-lisp/shadow.el (list-load-path-shadows):
1311 No longer necessary to check for duplicate simple.el, since
1312 2012-07-07 change to init_lread to not include installation lisp
1313 directories in load-path when running uninstalled. (Bug#14270)
1314
1315 2013-04-26 Leo Liu <sdl.web@gmail.com>
1316
1317 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
1318 (octave-mode, inferior-octave-mode): Use setq-local.
1319 (octave-not-in-string-or-comment-p): Rename to
1320 octave-in-string-or-comment-p.
1321 (octave-in-comment-p, octave-in-string-p)
1322 (octave-in-string-or-comment-p): Replace defsubst with defun.
1323
1324 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
1325
1326 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
1327
1328 2013-04-25 Bastien Guerry <bzg@gnu.org>
1329
1330 * textmodes/remember.el (remember-data-directory)
1331 (remember-directory-file-name-format): Fix custom types.
1332
1333 2013-04-25 Leo Liu <sdl.web@gmail.com>
1334
1335 * progmodes/octave.el (octave-completion-at-point-function):
1336 Make use of inferior octave process.
1337 (octave-initialize-completions): Remove.
1338 (inferior-octave-completion-table): New function.
1339 (inferior-octave-completion-at-point): Use it.
1340 (octave-completion-alist): Remove.
1341
1342 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1343
1344 * progmodes/opascal.el: Use font-lock and syntax-propertize.
1345 (opascal-mode-syntax-table): New var.
1346 (opascal-literal-kind, opascal-is-literal-end)
1347 (opascal-literal-token-at): Rewrite.
1348 (opascal--literal-start-re, opascal-font-lock-keywords)
1349 (opascal--syntax-propertize): New constants.
1350 (opascal-font-lock-defaults): Adjust.
1351 (opascal-mode): Use them. Set comment-<foo> variables as well.
1352 (delphi-comment-face, opascal-comment-face, delphi-string-face)
1353 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
1354 (delphi-other-face, opascal-other-face): Remove face variables.
1355 (opascal-save-state): Remove macro.
1356 (opascal-fontifying-progress-step): Remove constant.
1357 (opascal--ignore-changes): Remove var.
1358 (opascal-set-token-property, opascal-parse-next-literal)
1359 (opascal-is-stable-literal, opascal-complete-literal)
1360 (opascal-is-literal-start, opascal-face-of)
1361 (opascal-parse-region, opascal-parse-region-until-stable)
1362 (opascal-fontify-region, opascal-after-change)
1363 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
1364 (opascal-debug-parse-region, opascal-debug-parse-window)
1365 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
1366 (opascal-debug-fontify-buffer): Remove.
1367 (opascal-debug-mode-map): Adjust accordingly.
1368
1369 2013-04-25 Leo Liu <sdl.web@gmail.com>
1370
1371 Merge octave-mod.el and octave-inf.el into octave.el with some
1372 cleanups.
1373 * progmodes/octave.el: New file renamed from octave-mod.el.
1374 * progmodes/octave-inf.el: Merged into octave.el.
1375 * progmodes/octave-mod.el: Renamed to octave.el.
1376
1377 2013-04-25 Tassilo Horn <tsdh@gnu.org>
1378
1379 * textmodes/reftex-vars.el
1380 (reftex-label-ignored-macros-and-environments): New defcustom.
1381
1382 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
1383
1384 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1385
1386 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
1387 (smie-indent-keyword): Improve the check to ensure that the next
1388 comment is really on the same line.
1389 (smie-indent-comment): Don't align with a subsequent closer (or eob).
1390
1391 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
1392 semi-colons if the line is not otherwise empty (bug#14218).
1393
1394 2013-04-25 Glenn Morris <rgm@gnu.org>
1395
1396 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
1397
1398 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1399
1400 * progmodes/opascal.el (opascal-set-token-property): Rename from
1401 opascal-set-text-properties and only set `token' (bug#14134).
1402 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
1403 (opascal-literal-text-properties): Remove.
1404 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
1405 Adjust callers.
1406
1407 2013-04-24 Reuben Thomas <rrt@sc3d.org>
1408
1409 * textmodes/remember.el (remember-handler-functions): Add an
1410 option for a new handler `remember-store-in-files'.
1411 (remember-data-directory, remember-directory-file-name-format):
1412 New options.
1413 (remember-store-in-files): New function to store remember notes
1414 as separate files within a directory.
1415
1416 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
1417
1418 * progmodes/compile.el (compilation-next-error-function):
1419 Pass "formats" to compilation-find-file (bug#11777).
1420
1421 2013-04-24 Glenn Morris <rgm@gnu.org>
1422
1423 * vc/vc-bzr.el (vc-bzr-print-log):
1424 * vc/vc-hg.el (vc-hg-print-log):
1425 * vc/vc-svn.el (vc-svn-print-log):
1426 Fix START-REVISION with LIMIT != 1. (Bug#14168)
1427
1428 * vc/vc-bzr.el (vc-bzr-print-log):
1429 * vc/vc-cvs.el (vc-cvs-print-log):
1430 * vc/vc-git.el (vc-git-print-log):
1431 * vc/vc-hg.el (vc-hg-print-log):
1432 * vc/vc-mtn.el (vc-mtn-print-log):
1433 * vc/vc-rcs.el (vc-rcs-print-log):
1434 * vc/vc-sccs.el (vc-sccs-print-log):
1435 * vc/vc-svn.el (vc-svn-print-log):
1436 * vc/vc.el (vc-print-log-internal): Doc fixes.
1437
1438 2013-04-23 Glenn Morris <rgm@gnu.org>
1439
1440 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
1441 Remove venerable code attempting to avoid substitute-command-keys.
1442
1443 2013-04-23 Tassilo Horn <tsdh@gnu.org>
1444
1445 * textmodes/reftex-vars.el (reftex-label-regexps):
1446 Call `reftex-compile-variables' after changes to this variable.
1447
1448 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1449
1450 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
1451 Use lexical-binding.
1452 (jit-lock-force-redisplay): Use markers, check buffer's continued
1453 existence and beware narrowed buffers.
1454 (jit-lock-fontify-now): Adjust call accordingly.
1455
1456 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1457
1458 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
1459 to avoid misleading the user.
1460
1461 2013-04-22 Leo Liu <sdl.web@gmail.com>
1462
1463 * info-look.el: Prefer latex2e.info. (Bug#14240)
1464
1465 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
1466
1467 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
1468
1469 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
1470 * net/tramp.el (tramp-call-process): ... here
1471 (tramp-set-completion-function, tramp-parse-putty):
1472 * net/tramp-adb.el (tramp-adb-execute-adb-command):
1473 * net/tramp-gvfs.el (tramp-gvfs-send-command):
1474 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1475 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
1476 (tramp-call-local-coding-command): Use `tramp-call-process'
1477 instead of `tramp-compat-call-process'.
1478
1479 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
1480 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
1481 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
1482 (tramp-find-inline-compress): Improve traces.
1483 (tramp-maybe-send-script): Check for Perl binary.
1484 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
1485
1486 2013-04-22 Daiki Ueno <ueno@gnu.org>
1487
1488 * epg.el (epg-context-pinentry-mode): New function.
1489 (epg-context-set-pinentry-mode): New function.
1490 (epg--start): Pass --pinentry-mode option to gpg command.
1491
1492 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
1493
1494 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
1495 `comint-dynamic-complete' is obsolete since 24.1, replaced by
1496 `completion-at-point'. (Bug#13774)
1497
1498 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
1499 default key binding for `describe-distribution' has been moved to
1500 `C-h C-o'. (Bug#13970)
1501
1502 2013-04-21 Glenn Morris <rgm@gnu.org>
1503
1504 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
1505 Add doc strings.
1506 (vc-print-log): Clarify interactive prompt.
1507
1508 2013-04-20 Glenn Morris <rgm@gnu.org>
1509
1510 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1511 No longer include timestamp etc information.
1512
1513 2013-04-20 Roland Winkler <winkler@gnu.org>
1514
1515 * faces.el (read-face-name): Bug fix, return just one face if arg
1516 multiple is nil. (Bug#14209)
1517
1518 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1519
1520 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
1521 (remove-function): Autoload.
1522
1523 * comint.el (comint-redirect-original-filter-function): Remove.
1524 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
1525 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
1526 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
1527 * progmodes/prolog.el (prolog-consult-compile):
1528 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
1529 Use add/remove-function instead.
1530 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
1531 (gud-tooltip-process-output, gud-tooltip-tips):
1532 Use add/remove-function instead.
1533 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
1534 (scheme-interaction-mode, exit-scheme-interaction-mode):
1535 Use add/remove-function instead.
1536
1537 * vc/vc-dispatcher.el: Use lexical-binding.
1538 (vc--process-sentinel): Rename from vc-process-sentinel.
1539 Change last arg to be the code to run. Don't use vc-previous-sentinel
1540 and vc-sentinel-commands any more.
1541 (vc-exec-after): Allow code to be a function. Use add/remove-function.
1542 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
1543
1544 2013-04-19 Masatake YAMATO <yamato@redhat.com>
1545
1546 * progmodes/sh-script.el (sh-imenu-generic-expression):
1547 Handle function names with a single character. (Bug#14111)
1548
1549 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
1550
1551 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
1552 for subroutines defined in an eval (bug#14182).
1553
1554 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1555
1556 * bookmark.el (bookmark-completing-read): Improve handling of empty
1557 string (bug#14176).
1558
1559 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1560
1561 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
1562
1563 2013-04-19 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1564
1565 New faster Imenu implementation (bug#14058).
1566 * progmodes/python.el:
1567 (python-imenu-prev-index-position):
1568 (python-imenu-format-item-label-function)
1569 (python-imenu-format-parent-item-label-function)
1570 (python-imenu-format-parent-item-jump-label-function):
1571 New vars.
1572 (python-imenu-format-item-label)
1573 (python-imenu-format-parent-item-label)
1574 (python-imenu-format-parent-item-jump-label)
1575 (python-imenu--put-parent, python-imenu--build-tree)
1576 (python-imenu-create-index, python-imenu-create-flat-index)
1577 (python-util-popn): New functions.
1578 (python-mode): Set imenu-create-index-function to
1579 python-imenu-create-index.
1580
1581 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1582
1583 * winner.el (winner-active-region): Use region-active-p, activate-mark
1584 and deactivate-mark (bug#14225).
1585
1586 * simple.el (deactivate-mark): Don't inline it.
1587
1588 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
1589
1590 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
1591
1592 2013-04-18 Tassilo Horn <tsdh@gnu.org>
1593
1594 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
1595 file extensions from the archive-mode entry in order to prefer
1596 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
1597
1598 2013-04-18 Leo Liu <sdl.web@gmail.com>
1599
1600 * bindings.el (help-event-list): Add ?\?.
1601
1602 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1603
1604 * subr.el (with-wrapper-hook): Declare obsolete.
1605 * simple.el (filter-buffer-substring-function): New hook.
1606 (filter-buffer-substring): Use it.
1607 (filter-buffer-substring-functions): Mark obsolete.
1608 * minibuffer.el (completion-in-region-function): New hook.
1609 (completion-in-region): Use it.
1610 (completion-in-region-functions): Mark obsolete.
1611 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
1612 * abbrev.el (abbrev-expand-function): New hook.
1613 (expand-abbrev): Use it.
1614 (abbrev-expand-functions): Mark obsolete.
1615 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
1616 and :filter-return.
1617
1618 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1619
1620 * progmodes/python.el (python-nav--syntactically): Fix cornercases
1621 and do not care about match data.
1622
1623 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1624
1625 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
1626 completion tables when completing error conditions and
1627 `declare' arguments.
1628 (lisp-complete-symbol, field-complete): Mark as obsolete.
1629 (check-parens): Unmatched parens are user errors.
1630 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
1631
1632 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
1633
1634 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
1635 command changed buffer (ie. `flyspell-pre-buffer' is not current
1636 buffer), which prevents making decisions based on invalid value of
1637 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
1638 cause an error when `flyspell-pre-point' was nil after switching
1639 buffers.
1640 (flyspell-post-command-hook): No longer needs to change buffers when
1641 checking pre-word. While at it remove unnecessary progn.
1642
1643 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1644
1645 * textmodes/ispell.el (ispell-add-per-file-word-list):
1646 Fix `flyspell-correct-word-before-point' error when accepting
1647 words and `coment-padding' is an integer by using
1648 `comment-normalize-vars' (Bug #14214).
1649
1650 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1651
1652 New defun movement commands.
1653 * progmodes/python.el (python-nav--syntactically)
1654 (python-nav--forward-defun, python-nav-backward-defun)
1655 (python-nav-forward-defun): New functions.
1656
1657 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1658
1659 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
1660 (python-syntax-context): Use named compiler-macro for backwards
1661 compatibility with Emacs 24.x.
1662
1663 2013-04-17 Leo Liu <sdl.web@gmail.com>
1664
1665 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
1666 octave-hide-process-buffer.
1667
1668 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1669
1670 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
1671 (bug#14216).
1672
1673 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
1674
1675 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
1676 Fix adjustment of offset when receiving incomplete responses from GDB
1677 (bug#14129).
1678
1679 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1680
1681 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
1682 python-mode-abbrev-table.
1683 (python-skeleton-define): Adjust accordingly.
1684 (python-mode-abbrev-table): New table that inherits from it so that
1685 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
1686
1687 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
1688 (abbrev-symbol): Use it.
1689 (abbrev--before-point): Use it since we already handle inheritance.
1690
1691 2013-04-16 Leo Liu <sdl.web@gmail.com>
1692
1693 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
1694 binding to info-lookup-symbol.
1695
1696 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
1697
1698 * minibuffer.el (completion--twq-all):
1699 * term/ns-win.el (ns-initialize-window-system):
1700 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
1701
1702 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1703
1704 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
1705 global bindings.
1706
1707 * doc-view.el (doc-view-start-process): Handle url-handler directories.
1708
1709 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
1710
1711 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
1712 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
1713 to nil.
1714 (ruby-end-of-defun): Remove the unused arg, change the docstring
1715 to reflect that this function is only used as the value of
1716 `end-of-defun-function'.
1717 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
1718 to reflect an earlier change that beginning/end-of-defun functions
1719 jump between methods in a class definition, as well as top-level
1720 functions.
1721
1722 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1723
1724 * minibuffer.el (minibuffer-complete): Don't just scroll
1725 a *Completions* that's been iconified.
1726 (minibuffer-force-complete): Make sure repetitions do cycle when going
1727 through completion-in-region -> minibuffer-complete.
1728
1729 2013-04-15 Alan Mackenzie <acm@muc.de>
1730
1731 Correct the placement of c-cpp-delimiters when there're #s not at
1732 col 0.
1733
1734 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
1735 place a submatch around the #.
1736 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
1737 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
1738 on the #, not BOL.
1739
1740 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1741
1742 * emacs-lisp/nadvice.el: Properly test names when adding advice.
1743 (advice--member-p): New arg `name'.
1744 (advice--add-function, advice-member-p): Use it (bug#14202).
1745
1746 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
1747
1748 Reformulate java imenu-generic-expression.
1749 The old expression contained ill formed regexps.
1750
1751 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
1752 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
1753 (cc-imenu-java-method-arg-regexp): New defconsts.
1754 (cc-imenu-java-build-type-args-regex): New defun.
1755 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
1756 handling of spaces in the regexp.
1757
1758 2013-03-15 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
1759
1760 * textmodes/ispell.el (ispell-command-loop): Remove
1761 flyspell highlight of a word when ispell accepts it (bug #14178).
1762
1763 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
1764
1765 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
1766 uses code from the previous `ange-ftp-run-real-handler'.
1767 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
1768 only in case that function exist. This is needed for proper
1769 unloading of Tramp.
1770
1771 2013-04-15 Tassilo Horn <tsdh@gnu.org>
1772
1773 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
1774
1775 * textmodes/reftex.el (reftex-compile-variables): Use it.
1776
1777 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1778
1779 * files.el (normal-mode): Only use default major-mode if no other mode
1780 was specified.
1781
1782 * emacs-lisp/trace.el (trace-values): New function.
1783
1784 * files.el: Allow : in local variables (bug#14089).
1785 (hack-local-variable-regexp): New var.
1786 (hack-local-variables-prop-line, hack-local-variables): Use it.
1787
1788 2013-04-13 Roland Winkler <winkler@gnu.org>
1789
1790 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
1791 data before it gets modified by bibtex-beginning-of-entry.
1792
1793 2013-04-13 Roland Winkler <winkler@gnu.org>
1794
1795 * textmodes/bibtex.el (bibtex-url): Doc fix.
1796
1797 2013-04-13 Roland Winkler <winkler@gnu.org>
1798
1799 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
1800 does not visit a BibTeX file, exclude it from the list of buffers
1801 returned by bibtex-initialize.
1802
1803 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
1804
1805 * window.el (split-window): Remove interactive form, since as a
1806 command this function is a special case of split-window-below.
1807 Correct doc string.
1808
1809 2013-04-12 Roland Winkler <winkler@gnu.org>
1810
1811 * faces.el (read-face-name): Do not override value of arg default.
1812 Allow single faces and strings as default values. Remove those
1813 elements from return value that are not faces.
1814 (describe-face): Simplify.
1815 (face-at-point): New optional args thing and multiple so that this
1816 function can provide the same functionality previously provided by
1817 read-face-name.
1818 (make-face-bold, make-face-unbold, make-face-italic)
1819 (make-face-unitalic, make-face-bold-italic, invert-face)
1820 (modify-face, read-face-and-attribute): Use face-at-point.
1821
1822 * cus-edit.el (customize-face, customize-face-other-window)
1823 * cus-theme.el (custom-theme-add-face)
1824 * face-remap.el (buffer-face-set)
1825 * facemenu.el (facemenu-set-face): Use face-at-point.
1826
1827 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
1828
1829 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
1830
1831 2013-04-10 Tassilo Horn <tsdh@gnu.org>
1832
1833 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
1834 off leading { and trailing } from field values.
1835
1836 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1837
1838 * emacs-lisp/timer.el (timer--check): New function.
1839 (timer--time, timer-set-function, timer-event-handler): Use it.
1840 (timer-set-idle-time): Simplify.
1841 (timer--activate): CSE.
1842 (timer-event-handler): Give more info in error message.
1843 (internal-timer-start-idle): New function, moved from C.
1844
1845 * mpc.el (mpc-proc): Add `restart' argument.
1846 (mpc-proc-cmd): Use it.
1847 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
1848 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
1849 less often.
1850
1851 2013-04-10 Masatake YAMATO <yamato@redhat.com>
1852
1853 * progmodes/sh-script.el: Implement `sh-mode' own
1854 `add-log-current-defun-function' (bug#14112).
1855 (sh-current-defun-name): New function.
1856 (sh-mode): Use the function.
1857
1858 2013-04-09 Bastien Guerry <bzg@gnu.org>
1859
1860 * simple.el (choose-completion-string): Fix docstring (bug#14163).
1861
1862 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1863
1864 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
1865
1866 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
1867 timer (bug#14156).
1868
1869 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
1870
1871 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
1872 declaration.
1873
1874 2013-04-07 Leo Liu <sdl.web@gmail.com>
1875
1876 * pcmpl-x.el: New file.
1877
1878 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
1879
1880 Do not set x-display-name until X connection is established.
1881 This is needed to prevent from weird situation described at
1882 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
1883 * frame.el (make-frame): Set x-display-name after call to
1884 window system initialization function, not before.
1885 * term/x-win.el (x-initialize-window-system): Add optional
1886 display argument and use it.
1887 * term/w32-win.el (w32-initialize-window-system):
1888 * term/ns-win.el (ns-initialize-window-system):
1889 * term/pc-win.el (msdos-initialize-window-system):
1890 Add compatible optional display argument.
1891
1892 2013-04-06 Eli Zaretskii <eliz@gnu.org>
1893
1894 * files.el (normal-backup-enable-predicate): On MS-Windows and
1895 MS-DOS compare truenames of temporary-file-directory and of the
1896 file, so that 8+3 aliases (usually found in $TEMP on Windows)
1897 don't fail comparison by compare-strings. Also, compare file
1898 names case-insensitively on MS-Windows and MS-DOS.
1899
1900 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1901
1902 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
1903 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
1904
1905 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
1906
1907 * whitespace.el (whitespace-color-on, whitespace-color-off):
1908 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
1909
1910 2013-04-05 Jacek ChrzÄ…szcz <chrzaszcz@mimuw.edu.pl> (tiny change)
1911
1912 * ispell.el (ispell-set-spellchecker-params):
1913 Really set `ispell-args' for all equivs.
1914
1915 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1916
1917 * ido.el (ido-completions): Use extra elements of ido-decorations
1918 (bug#14143).
1919 (ido-decorations): Update docstring.
1920
1921 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
1922
1923 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1924 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
1925 nil during initialization, in order not to miss changes since the
1926 file was opened. (Bug#14140)
1927
1928 2013-04-05 Leo Liu <sdl.web@gmail.com>
1929
1930 * kmacro.el (kmacro-call-macro): Fix bug#14135.
1931
1932 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
1933
1934 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
1935
1936 2013-04-04 Glenn Morris <rgm@gnu.org>
1937
1938 * electric.el (electric-pair-inhibit-predicate): Add :version.
1939
1940 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1941
1942 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
1943 when a package is required several times (bug#14082).
1944
1945 2013-04-04 Roland Winkler <winkler@gnu.org>
1946
1947 * faces.el (read-face-name): Behave as promised by the docstring.
1948 Assume that arg default is a list of faces.
1949 (describe-face): Call read-face-name with list of default faces.
1950
1951 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1952
1953 * bookmark.el: Fix deletion of bookmarks (bug#13972).
1954 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
1955 (bookmark-bmenu-execute-deletions): Only skip first line if it's
1956 the header.
1957 (bookmark-exit-hook-internal): Save even if list is empty.
1958
1959 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
1960
1961 * emacs-lisp/package.el (package-pinned-packages): New var.
1962 (package--add-to-archive-contents): Obey it (bug#14118).
1963
1964 2013-04-03 Alan Mackenzie <acm@muc.de>
1965
1966 Handle `parse-partial-sexp' landing inside a comment opener
1967 (Bug#13244). Also adapt to the new values of element 7 of a parse
1968 state.
1969
1970 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
1971 parameter `not-in-delimiter'. Handle being inside comment opener.
1972 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
1973 character in case we're typing a '*' after a '/'.
1974 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
1975 instead by passing the parameter to c-state-pp-to-literal.
1976
1977 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
1978 for elt. 7 of a parse state.
1979
1980 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
1981
1982 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
1983 * international/latin1-disp.el, international/mule-util.el:
1984 * language/cyril-util.el, language/european.el, language/ind-util.el:
1985 * language/lao-util.el, language/thai.el, language/tibet-util.el:
1986 * language/tibetan.el, language/viet-util.el:
1987 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
1988
1989 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1990
1991 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
1992 (electric-pair-post-self-insert-function): Use it.
1993 (electric-pair-default-inhibit): New function, extracted from
1994 electric-pair-post-self-insert-function.
1995
1996 2013-03-31 Roland Winkler <winkler@gnu.org>
1997
1998 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
1999
2000 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
2001
2002 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
2003
2004 2013-03-30 FabiĂ¡n Ezequiel Gallina <fabian@anue.biz>
2005
2006 Un-indent after "pass" and "return" statements (Bug#13888)
2007 * progmodes/python.el (python-indent-block-enders): New var.
2008 (python-indent-calculate-indentation): Use it.
2009
2010 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
2011
2012 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
2013 defun. Defining it as defalias could introduce too eager
2014 byte-compiler optimization. (Bug#14030)
2015
2016 2013-03-30 Chong Yidong <cyd@gnu.org>
2017
2018 * iswitchb.el (iswitchb-read-buffer): Fix typo.
2019
2020 2013-03-30 Leo Liu <sdl.web@gmail.com>
2021
2022 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
2023 (kmacro-execute-from-register): Pass the keyboard macro to
2024 kmacro-call-macro or repeating won't work correctly.
2025
2026 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
2027
2028 * progmodes/subword.el: Back to using `forward-symbol'.
2029
2030 * subr.el (forward-whitespace, forward-symbol)
2031 (forward-same-syntax): Move from thingatpt.el.
2032
2033 2013-03-29 Leo Liu <sdl.web@gmail.com>
2034
2035 * kmacro.el (kmacro-to-register): New command.
2036 (kmacro-execute-from-register): New function.
2037 (kmacro-keymap): Bind to 'x'. (Bug#14071)
2038
2039 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
2040
2041 * mpc.el: Use defvar-local and setq-local.
2042 (mpc--proc-connect): Connection failures are not bugs.
2043 (mpc-mode-map): `follow-link' only applies to the buffer's content.
2044 (mpc-volume-map): Bind to the up-events.
2045
2046 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
2047
2048 * progmodes/subword.el (superword-mode): Use `forward-sexp'
2049 instead of `forward-symbol'.
2050
2051 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2052
2053 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
2054 (edebug--recursive-edit): Use it.
2055 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
2056 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
2057
2058 2013-03-28 Leo Liu <sdl.web@gmail.com>
2059
2060 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
2061
2062 2013-03-27 Eli Zaretskii <eliz@gnu.org>
2063
2064 * facemenu.el (list-colors-callback): New defvar.
2065 (list-colors-redisplay): New function.
2066 (list-colors-display): Install list-colors-redisplay as the
2067 revert-buffer-function. (Bug#14063)
2068
2069 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2070
2071 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
2072 and suffixes don't overlap (bug#14061).
2073
2074 * case-table.el: Use lexical-binding.
2075 (case-table-get-table): New function.
2076 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
2077
2078 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
2079
2080 * progmodes/subword.el: Add `superword-mode' to do word motion
2081 over symbol_words (parallels and leverages `subword-mode' which
2082 does word motion inside MixedCaseWords).
2083
2084 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
2085
2086 * eshell/em-unix.el: Move su and sudo to...
2087 * eshell/em-tramp.el: ...Eshell tramp module.
2088
2089 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2090
2091 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
2092 Change return value to be a sexp. Delay `get-buffer' to after
2093 restoring the desktop (bug#13951).
2094
2095 2013-03-26 Leo Liu <sdl.web@gmail.com>
2096
2097 * register.el: Move semantic tag handling back to
2098 cedet/semantic/senator.el. (Bug#14052)
2099
2100 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2101
2102 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
2103 into the prompt either (bug#13963).
2104
2105 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
2106
2107 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
2108 part of "(error-foo)".
2109
2110 2013-03-24 Juri Linkov <juri@jurta.org>
2111
2112 * replace.el (list-matching-lines-prefix-face): New defcustom.
2113 (occur-1): Pass `list-matching-lines-prefix-face' to the function
2114 `occur-engine' if `face-differs-from-default-p' returns t.
2115 (occur-engine): Add `,' inside backquote construct to evaluate
2116 `prefix-face'. Propertize the prefix with the `prefix-face' face.
2117 Pass `prefix-face' to the functions `occur-context-lines' and
2118 `occur-engine-add-prefix'.
2119 (occur-engine-add-prefix, occur-context-lines): Add optional arg
2120 `prefix-face' and propertize the prefix with `prefix-face'.
2121 (Bug#14017)
2122
2123 2013-03-24 Leo Liu <sdl.web@gmail.com>
2124
2125 * nxml/rng-valid.el (rng-validate-while-idle)
2126 (rng-validate-quick-while-idle): Guard against deleted buffer.
2127 (Bug#13999)
2128
2129 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
2130 is the last entry in kill-buffer-hook.
2131
2132 * files.el (kill-buffer-hook): Doc fix.
2133
2134 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
2135
2136 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
2137 Make it safe-local.
2138
2139 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
2140
2141 2013-03-23 Leo Liu <sdl.web@gmail.com>
2142
2143 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
2144 Remove.
2145
2146 * nxml/rng-valid.el (rng-validate-mode)
2147 (rng-after-change-function, rng-do-some-validation):
2148 * nxml/rng-maint.el (rng-validate-buffer):
2149 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
2150 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
2151 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
2152 (nxml-extend-after-change-region): Use with-silent-modifications.
2153
2154 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
2155 timer-idle-list.
2156
2157 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
2158 (rng-next-error-1, rng-previous-error-1): Do not let-bind
2159 timer-idle-list. (Bug#13999)
2160
2161 2013-03-23 Juri Linkov <juri@jurta.org>
2162
2163 * info.el (info-index-match): New face.
2164 (Info-index, Info-apropos-matches): Add a nested subgroup to the
2165 main pattern and add text properties with the new face to matches
2166 in index entries relative to the beginning of the index entry.
2167 (Bug#14015)
2168
2169 2013-03-21 Eric Ludlam <zappo@gnu.org>
2170
2171 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
2172 Inhibit read only while inserting objects.
2173
2174 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
2175
2176 * progmodes/cfengine.el: Update docs to mention
2177 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
2178 symbol motion. Remove "_" from the word syntax.
2179
2180 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
2181
2182 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
2183 syntax for both `cfengine2-mode' and `cfengine3-mode'.
2184
2185 2013-03-20 Juri Linkov <juri@jurta.org>
2186
2187 * info.el (Info-next-reference-or-link)
2188 (Info-prev-reference-or-link): New functions.
2189 (Info-next-reference, Info-prev-reference): Use them.
2190 (Info-try-follow-nearest-node): Handle footnote navigation.
2191 (Info-fontify-node): Fontify footnotes. (Bug#13989)
2192
2193 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2194
2195 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
2196 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
2197
2198 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
2199
2200 Suppress unnecessary non-ASCII chatter during build process.
2201 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
2202 (batch-skkdic-convert): Suppress most of the chatter.
2203 It's not needed so much now that machines are faster,
2204 and its non-ASCII component was confusing; see Dmitry Gutov in
2205 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
2206
2207 2013-03-20 Leo Liu <sdl.web@gmail.com>
2208
2209 * ido.el (ido-chop): Fix bug#10994.
2210
2211 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2212
2213 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
2214 Remove vars.
2215 (whitespace-color-on, whitespace-color-off):
2216 Use `font-lock-fontify-buffer' (Bug#13817).
2217
2218 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
2219
2220 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
2221 remapping in mode-line.
2222 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
2223
2224 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2225
2226 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
2227 value for `whitespace-line' face (Bug#13875).
2228 (whitespace-font-lock-keywords): Change description.
2229 (whitespace-color-on): Don't save `font-lock-keywords' value, save
2230 the constructed keywords instead.
2231 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
2232
2233 2013-03-19 Leo Liu <sdl.web@gmail.com>
2234
2235 * progmodes/compile.el (compilation-display-error): New command.
2236 (compilation-mode-map, compilation-minor-mode-map): Bind it to
2237 C-o. (Bug#13992)
2238
2239 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2240
2241 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
2242
2243 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
2244
2245 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
2246
2247 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
2248
2249 * net/tramp-compat.el (tramp-compat-user-error): New defun.
2250
2251 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2252 * net/tramp-gvfs.el (top):
2253 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
2254 (tramp-handle-shell-command): Use it.
2255 (tramp-dissect-file-name): Raise an error when hostname is a
2256 method name, and neither method nor user is specified.
2257
2258 * net/trampver.el: Update release number.
2259
2260 2013-03-18 Leo Liu <sdl.web@gmail.com>
2261
2262 Make sure eldoc can be turned off properly.
2263 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
2264 eldoc-mode.
2265 (eldoc-display-message-p): Revert last change.
2266 (eldoc-display-message-no-interference-p)
2267 (eldoc-print-current-symbol-info): Tweak.
2268
2269 2013-03-18 Tassilo Horn <tsdh@gnu.org>
2270
2271 * doc-view.el (doc-view-new-window-function): Check the new window
2272 overlay's display property instead the char property of the
2273 buffer's first char. Use `with-selected-window' instead of
2274 `save-window-excursion' with `select-window'.
2275 (doc-view-document->bitmap): Check the current doc-view overlay's
2276 display property instead the char property of the buffer's first char.
2277
2278 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2279
2280 Automate the build of ja-dic.el (Bug#13984).
2281 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
2282 from the input, rather than assume that it's been done for us by the
2283 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
2284 the current date into a ja-dic.el comment, as that complicates
2285 regression testing.
2286
2287 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2288
2289 * whitespace.el: Fix double evaluation.
2290 (whitespace-space, whitespace-hspace, whitespace-tab)
2291 (whitespace-newline, whitespace-trailing, whitespace-line)
2292 (whitespace-space-before-tab, whitespace-indentation)
2293 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
2294 obsolete defvars.
2295 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
2296 (whitespace-color-on): Use a single font-lock-add-keywords call.
2297 Fix double-evaluation of face variables.
2298
2299 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
2300
2301 * net/tramp-adb.el (tramp-adb-parse-device-names):
2302 Use `start-process' instead of `call-process'. Otherwise, the
2303 function might be blocked under MS Windows. (Bug#13299)
2304
2305 2013-03-17 Leo Liu <sdl.web@gmail.com>
2306
2307 Extend eldoc to display info in the mode-line. (Bug#13978)
2308 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
2309 (eldoc-mode-line-string): New variable.
2310 (eldoc-minibuffer-message): New function.
2311 (eldoc-message-function): New variable.
2312 (eldoc-message): Use it.
2313 (eldoc-display-message-p)
2314 (eldoc-display-message-no-interference-p):
2315 Support eldoc-post-insert-mode.
2316
2317 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
2318 (eval-expression): Run it.
2319
2320 2013-03-17 Roland Winkler <winkler@gnu.org>
2321
2322 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
2323 strings in the list of return values.
2324
2325 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2326
2327 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
2328 radix before checking for HMS forms.
2329
2330 2013-03-16 Leo Liu <sdl.web@gmail.com>
2331
2332 * progmodes/scheme.el: Add indentation and font-locking for λ.
2333 (Bug#13975)
2334
2335 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
2336
2337 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
2338 token before point (bug#13942).
2339
2340 2013-03-16 Leo Liu <sdl.web@gmail.com>
2341
2342 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
2343
2344 2013-03-16 Eli Zaretskii <eliz@gnu.org>
2345
2346 * startup.el (command-line-normalize-file-name): Fix handling of
2347 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
2348 <xfq.free@gmail.com> in
2349 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
2350
2351 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
2352
2353 Sync with Tramp 2.2.7.
2354
2355 * net/trampver.el: Update release number.
2356
2357 2013-03-14 Tassilo Horn <tsdh@gnu.org>
2358
2359 * doc-view.el Fix bug#13887.
2360 (doc-view-insert-image): Don't modify overlay associated to
2361 non-live windows, and implement horizontal centering of image in
2362 case it's smaller than the window.
2363 (doc-view-new-window-function): Force redisplay of new windows on
2364 doc-view buffers.
2365
2366 2013-03-13 Karl Fogel <kfogel@red-bean.com>
2367
2368 * saveplace.el (save-place-alist-to-file): Don't sort
2369 `save-place-alist', just pretty-print it (bug#13882).
2370
2371 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
2372
2373 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
2374 whether `default-file-name-coding-system' is bound. It isn't in
2375 XEmacs.
2376
2377 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
2378
2379 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
2380 backquotes for `obsolete' (bug#13929).
2381
2382 * international/mule.el (find-auto-coding): Include file name in
2383 obsolescence warning (bug#13922).
2384
2385 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
2386
2387 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
2388 for CFEngine 3-specific indentation.
2389 (cfengine3-indent-line): Use it. Fix up category regex.
2390 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
2391
2392 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2393
2394 * type-break.el (type-break-file-name):
2395 * textmodes/remember.el (remember-data-file):
2396 * strokes.el (strokes-file):
2397 * shadowfile.el (shadow-initialize):
2398 * saveplace.el (save-place-file):
2399 * ps-bdf.el (bdf-cache-file):
2400 * progmodes/idlwave.el (idlwave-config-directory):
2401 * net/quickurl.el (quickurl-url-file):
2402 * international/kkc.el (kkc-init-file-name):
2403 * ido.el (ido-save-directory-list-file):
2404 * emulation/viper.el (viper-custom-file-name):
2405 * emulation/vip.el (vip-startup-file):
2406 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2407 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
2408
2409 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
2410
2411 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
2412 * language/thai-word.el: Switch to UTF-8.
2413
2414 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2415
2416 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
2417
2418 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2419
2420 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
2421 Use with-current-buffer and don't move point.
2422 (net-utils-run-simple): Remove useless code.
2423 (net-utils-remove-ctl-m): Remove unused custom.
2424
2425 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
2426
2427 * international/characters.el (glyphless-set-char-table-range): New fun.
2428 (update-glyphless-char-display): Use it (bug#13744).
2429
2430 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
2431
2432 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
2433 namespaces in the syntax, indent closer for hanging brace
2434 correctly, allow single-quote delimited 'strings', and make
2435 `cfengine3-mode' the default.
2436
2437 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
2438
2439 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
2440 Use lexical-binding. Fix up docstring according to conventions.
2441 (gdbmi-debug-mode): New var.
2442 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
2443 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
2444 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
2445 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
2446 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
2447 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
2448 (gdbmi-bnf-incomplete-record-result): New functions.
2449 (gdb-car<): Remove function.
2450 (gdbmi-record-list): Remove variable.
2451 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
2452 (gdbmi-bnf-result-state-configs): New const.
2453 (gud-gdbmi-marker-filter): Rewrite.
2454 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
2455 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
2456 Add `token' argument.
2457 (gdb-done, gdb-error): New functions.
2458 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
2459
2460 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2461
2462 * term/xterm.el (xterm--report-background-handler): Don't burp
2463 upon timeout.
2464 (xterm--version-handler): Extract from terminal-init-xterm.
2465 (xterm--query): Don't mishandle timeout. Remove debugging messages.
2466 Allow multiple handlers.
2467 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
2468
2469 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
2470 (xterm--report-background-handler, xterm--query): New functions.
2471 (terminal-init-xterm): Use them.
2472
2473 2013-03-11 Michael R. Mauger <michael@mauger.com>
2474
2475 * progmodes/sql.el Version 3.2
2476 Please note that my address changed to <michael@mauger.com>;
2477 the <mmaug@yahoo.com> address remains active.
2478 (sql-connection-alist): Updates documentation to fix bug#13715.
2479 (sql-connect): Handle missing `sql-connection-alist' correctly.
2480 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
2481 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
2482 property.
2483 (sql-default-value): New function.
2484 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
2485 values were not used.
2486 (sql-rename-buffer): Make sure alternate buffer name has no text
2487 properties.
2488 (sql-input-sender, sql-execute-feature): Fetch variable with
2489 `buffer-local-value' rather than `with-current-buffer'.
2490 (sql-*): Use #' function syntax consistently.
2491 (sql-*): Use message/error/user-error consistently.
2492
2493 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2494
2495 * xt-mouse.el (xterm-mouse-event-read): Remove.
2496 (xterm-mouse--read-event-sequence-1000)
2497 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
2498
2499 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2500
2501 * term/xterm.el (xterm-function-map): Support format used with
2502 formatOtherKeys=1 (bug#13839).
2503
2504 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
2505 (with-no-warnings): Use `declare'.
2506
2507 * whitespace.el (whitespace-enable-predicate): New variable.
2508 (whitespace-enable-predicate): Use it.
2509
2510 * comint.el (comint-send-input, comint-snapshot-last-prompt)
2511 (comint-output-filter, comint-update-fence):
2512 Use with-silent-modifications.
2513
2514 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
2515
2516 * replace.el (occur-read-regexp-defaults-function): New var.
2517 (occur-read-regexp-defaults): New defun.
2518 (occur-read-primary-args): Propagate above change (bug#13892).
2519
2520 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2521
2522 * mouse.el (mouse-drag-track): Remove left-over debugging code.
2523
2524 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
2525
2526 Major rewrite due to changed D-Bus interface of GVFS 1.14.
2527
2528 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
2529 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
2530 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
2531 New defconst.
2532 (tramp-gvfs-file-name-handler-alist) [directory-files]
2533 [directory-files-and-attributes, file-exists-p, file-modes]:
2534 Use Tramp default handler.
2535 [file-acl, file-selinux-context, process-file, set-file-acl]:
2536 [set-file-modes, set-file-selinux-context, shell-command]:
2537 [start-file-process]: Remove handler.
2538 [verify-visited-file-modtime]: New handler.
2539 (tramp-gvfs-dbus-string-to-byte-array)
2540 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
2541 calls of `dbus-string-to-byte-array' and
2542 `tramp-gvfs-dbus-byte-array-to-string'.
2543 (tramp-gvfs-handle-copy-file)
2544 (tramp-gvfs-handle-delete-directory)
2545 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
2546 (tramp-gvfs-handle-file-directory-p)
2547 (tramp-gvfs-handle-file-executable-p)
2548 (tramp-gvfs-handle-file-name-all-completions)
2549 (tramp-gvfs-handle-file-readable-p)
2550 (tramp-gvfs-handle-file-writable-p)
2551 (tramp-gvfs-handle-insert-directory)
2552 (tramp-gvfs-handle-insert-file-contents)
2553 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
2554 (tramp-gvfs-handle-set-visited-file-modtime)
2555 (tramp-gvfs-handle-write-region): Rewrite.
2556 (tramp-gvfs-handle-file-acl)
2557 (tramp-gvfs-handle-file-selinux-context)
2558 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
2559 (tramp-gvfs-handle-set-file-modes)
2560 (tramp-gvfs-handle-set-file-selinux-context)
2561 (tramp-gvfs-handle-shell-command)
2562 (tramp-gvfs-handle-start-file-process)
2563 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
2564 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
2565 over the symlinks. Fix user handling.
2566 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
2567 of the D-Bus signals.
2568 (tramp-gvfs-connection-mounted-p): Handle different names of the
2569 D-Bus methods.
2570 (tramp-gvfs-mount-spec-entry): New defun.
2571 (tramp-gvfs-mount-spec): Use it.
2572 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
2573 there is a share name. Handle different names of the D-Bus
2574 signals and methods. Set connection properties needed for
2575 `tramp-check-cached-permissions'.
2576 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
2577 Return t or nil.
2578
2579 * net/tramp.el (tramp-backtrace): Move up.
2580 (tramp-error): Dump a backtrace into the debug buffer when
2581 `tramp-verbose > 9.
2582 (tramp-file-mode-type-map, tramp-file-mode-from-int)
2583 (tramp-file-mode-permissions, tramp-get-local-uid)
2584 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
2585 tramp-sh.el.
2586
2587 * net/tramp-sh.el (tramp-file-mode-type-map)
2588 (tramp-check-cached-permissions, tramp-file-mode-from-int)
2589 (tramp-file-mode-permissions, tramp-get-local-uid)
2590 (tramp-get-local-gid): Move to tramp.el.
2591
2592 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2593
2594 Separate mouse-1-click-follows-link from mouse-drag-region.
2595 * mouse.el (mouse--down-1-maybe-follows-link): New function.
2596 (key-translation-map): Use it to implement mouse-1-click-follows-link.
2597 (mouse-drag-line, mouse-drag-track):
2598 Remove mouse-1-click-follows-link code.
2599 (mouse--remap-link-click-p): Remove.
2600
2601 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
2602
2603 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
2604 (hi-lock-read-regexp-defaults): New defun.
2605 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2606 (hi-lock-face-phrase-buffer): Propagate above change.
2607 Update docstring (bug#13892).
2608
2609 * subr.el (find-tag-default-as-regexp): New defun.
2610 * replace.el (read-regexp): Propagate above change.
2611
2612 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
2613
2614 * calc/calc-units.el (calc-convert-units): Fix the way that default
2615 new units are stored.
2616
2617 2013-03-07 Matthias Meulien <orontee@gmail.com>
2618
2619 * bookmark.el: Define a face to highlight bookmark names in
2620 bookmark menu buffers, where the default is a bold face similarly
2621 to buffer names in buffer menu buffers.
2622 (bookmark-menu-bookmark): New face to highlight bookmark names.
2623 (bookmark-insert-location): Remove duplicated text property to
2624 conform to buffer list (see `list-buffers').
2625 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
2626 `bookmark-menu-bookmark' to bookmark names.
2627
2628 2013-03-07 Matthias Meulien <orontee@gmail.com>
2629 Karl Fogel <kfogel@red-bean.com>
2630
2631 * bookmark.el: Display the bookmark list header similarly to the
2632 buffer list header (see `list-buffers'), where the default is now
2633 an immovable/immutable header line.
2634 (bookmark-bmenu-use-header-line): New variable.
2635 (bookmark-bmenu-inline-header-height): New name for
2636 `bookmark-bmenu-header-height', to avoid confusion with the code
2637 for the new immovable header. All references changed.
2638 (bookmark-bmenu-set-header): New function.
2639 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
2640 Conditionalize header construction accordingly.
2641 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
2642 the inline header height.
2643 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
2644 Conditionalize the skipping of the inline header height.
2645
2646 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
2647
2648 * progmodes/js.el (js--multi-line-declaration-indentation):
2649 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
2650
2651 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
2652
2653 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2654 Only propertize regexp when not inside a string (Bug#13885).
2655
2656 2013-03-06 Alan Mackenzie <acm@muc.de>
2657
2658 Correct the position of point in some line-up functions.
2659 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
2660 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
2661 point at column 0 rather than at a random place in the line.
2662
2663 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
2664
2665 * net/tramp-compat.el (tramp-compat-delete-directory):
2666 Implement TRASH argument.
2667
2668 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
2669
2670 Keep pre-existing highlighting in completion candidates (Bug#13250).
2671 * minibuffer.el (completions-first-difference): State that the
2672 face is "added" in the docstring.
2673 (completions-common-part): Same. And don't inherit from default.
2674 (completion-hilit-commonality): Prepend 'completions-common-part
2675 and 'completion-first-difference faces to the 'face property,
2676 instead of replacing the value(s).
2677 (completion--insert-strings): Same with 'completions-annotations face.
2678 (completion-hilit-commonality): Use 'face instead of
2679 'font-lock-face, because it gets priority if the completion
2680 strings already have 'face set.
2681
2682 2013-03-04 Alan Mackenzie <acm@muc.de>
2683
2684 Replace `last-command-event' by `last-command-char' in XEmacs.
2685 * progmodes/cc-defs.el (c-last-command-char): New macro.
2686 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
2687 (c-semi&comma-no-newlines-before-nonblanks)
2688 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
2689 in place of `last-command-event'.
2690 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
2691 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
2692 (c-electric-paren, c-electric-continued-statement): Use the new
2693 macro in place of `last-command-event'.
2694
2695 2013-03-04 Glenn Morris <rgm@gnu.org>
2696
2697 * files.el (inhibit-local-variables-regexps):
2698 Add .diff and .patch. (Bug#13862)
2699
2700 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
2701
2702 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
2703 whether the "su" command is available on the device.
2704
2705 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2706
2707 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
2708 (tramp-adb-handle-process-file): Remove superfluous setting.
2709 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
2710 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
2711 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
2712
2713 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
2714
2715 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
2716 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
2717 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
2718 Use dict-key rather than dict-name for the error message.
2719
2720 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2721
2722 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
2723 when reverting (bug#13831).
2724
2725 2013-03-01 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2726
2727 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2728 Always expand affix-file before storing to protect against changed
2729 `default-directory'.
2730 (ispell-print-if-debug): Make sure message is printed at the end
2731 of the debug buffer.
2732
2733 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2734
2735 * net/tramp.el (tramp-obsolete-methods): New defconst.
2736 (tramp-warned-obsolete-methods): New defvar.
2737 (tramp-find-method): Check for obsolete methods. Map them to a
2738 replacement method if appropriate.
2739
2740 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
2741 Remove methods.
2742 (top): Remove completion functions for "scp1", "scp2", "ssh1",
2743 "ssh2" and "plink1".
2744
2745 2013-02-28 Dale Sedivec <dale@codefu.org>
2746
2747 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
2748 Return valid syntax-table property value when converting
2749 quotes within text from string syntax to punctuation syntax (bug#13844).
2750
2751 2013-02-28 Juri Linkov <juri@jurta.org>
2752
2753 * dired-aux.el (dired-diff): If file at point is a backup file,
2754 use its original as the default value, and reverse the order
2755 of arguments to the `diff' call. Doc fix. (Bug#13772)
2756
2757 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
2758
2759 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
2760 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
2761
2762 2013-02-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2763
2764 Initial support for hunspell dictionaries auto-detection (Bug#13639)
2765
2766 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2767 Ask hunspell about available and default dictionaries.
2768 (ispell-parse-hunspell-affix-file): Extract relevant info from
2769 hunspell affix file.
2770 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
2771 `ispell-dictionary-alist' entry for given dictionary after info
2772 provided by `ispell-parse-hunspell-affix-file'.
2773 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
2774 of parsed hunspell dicts and associated affix files.
2775 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
2776 of parsed hunspell dicts and associated parameters.
2777 (ispell-set-spellchecker-params):
2778 Call `ispell-find-hunspell-dictionaries' if hunspell and not
2779 previously done.
2780 (ispell-start-process):
2781 Call `ispell-hunspell-fill-dictionary-entry' for current
2782 dictionary if it is not initialized.
2783
2784 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2785
2786 * imenu.el: Comment nitpicks.
2787
2788 2013-02-28 Sam Steingold <sds@gnu.org>
2789
2790 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
2791 See <http://stackoverflow.com/questions/14720205>.
2792
2793 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2794
2795 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
2796 (net-utils-mode): Use it.
2797 (net-utils--revert-cmd): New var.
2798 (net-utils-run-simple): Set it, and remove bogus interactive spec.
2799 (traceroute): Use net-utils-run-simple.
2800
2801 2013-02-28 Glenn Morris <rgm@gnu.org>
2802
2803 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
2804
2805 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2806
2807 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
2808 (doc-view-fallback-mode): Remove overlays here.
2809 (doc-view-toggle-display): Instead of here. Don't throw away
2810 image-mode-winprops-alist.
2811 (doc-view-goto-page): Don't mess with hscroll.
2812
2813 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2814
2815 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
2816 &optional (bug#13819).
2817
2818 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
2819
2820 * net/tramp-adb.el (tramp-adb-parse-device-names)
2821 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
2822
2823 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
2824
2825 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2826 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
2827 defined. POSIX environments fall back to the "C" locale then and
2828 emit a warning, which shall be suppressed.
2829
2830 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
2831
2832 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
2833 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
2834
2835 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2836
2837 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
2838
2839 2013-02-25 Juri Linkov <juri@jurta.org>
2840
2841 * replace.el (read-regexp): Let-bind `default' to the first
2842 element of `defaults' if it's a list, otherwise it should be
2843 a string or nil. Let-bind `suggestions' to `defaults' if it's
2844 a list, otherwise make a list with the string value. Doc fix.
2845 (Bug#13805)
2846
2847 2013-02-25 Eli Zaretskii <eliz@gnu.org>
2848
2849 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
2850 that match "\`\.#", to avoid compiling lock files, even if they
2851 are readable (as they are on MS-Windows).
2852
2853 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2854
2855 * files.el (basic-save-buffer): Remove redundant directory-creation.
2856
2857 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
2858
2859 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
2860 Add option to force `pi' to remain symbolic.
2861 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
2862 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
2863 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
2864 derivatives, when necessary.
2865
2866 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
2867
2868 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
2869 (ps-mode-octal-region): Use string-make-unibyte.
2870
2871 2013-02-23 Glenn Morris <rgm@gnu.org>
2872
2873 * emulation/viper-cmd.el (viper-submit-report):
2874 * progmodes/ps-mode.el (ps-mode-maintainer-address):
2875 * progmodes/vera-mode.el (vera-mode-help-address):
2876 * textmodes/artist.el (artist-maintainer-address):
2877 * textmodes/reftex.el (reftex-report-bug):
2878 * vc/ediff-util.el (ediff-submit-report):
2879 Add bug-gnu-emacs to bug report address.
2880
2881 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
2882 Remove bug report entries.
2883 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
2884
2885 * emacs-lisp/bytecomp.el (byte-compile-level): New.
2886 (byte-compile-file, byte-compile-from-buffer):
2887 Use separate input/output buffers for each level of recursive
2888 byte-compile-file calls. (Bug#13787)
2889
2890 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
2891
2892 * net/tramp.el (tramp-methods): Fix docstring.
2893 (tramp-ssh-controlmaster-options): Rename it from
2894 `tramp-ssh-controlmaster-template'. Return a string.
2895 (tramp-default-method): Adapt check for
2896 `tramp-ssh-controlmaster-options'.
2897
2898 * net/tramp-sh.el (tramp-methods):
2899 Replace `tramp-ssh-controlmaster-template' by "%c".
2900 (tramp-do-copy-or-rename-file-out-of-band)
2901 (tramp-maybe-open-connection): Use it in format spec. Ensure,
2902 that it is applied for the first hop only.
2903
2904 2013-02-22 Juri Linkov <juri@jurta.org>
2905
2906 * isearch.el (isearch-lazy-highlight-new-loop):
2907 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
2908 to `isearch-other-end' if it is not nil. (Bug#13402)
2909
2910 * replace.el (replace-highlight): Let-bind `isearch-other-end'
2911 to `match-beg'.
2912
2913 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
2914 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
2915 and `isearch-error' to nil.
2916
2917 2013-03-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2918
2919 * progmodes/python.el (python-info-current-defun):
2920 Enhance match-data cluttering prevention.
2921
2922 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
2923
2924 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
2925
2926 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2927 Handle multibyte file names.
2928
2929 2013-02-22 Glenn Morris <rgm@gnu.org>
2930
2931 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
2932 (sgml-transformation-function): Give it a :set function.
2933 (sgml-tag): Doc fix.
2934
2935 * cmuscheme.el (scheme-buffer):
2936 * progmodes/inf-lisp.el (inferior-lisp-buffer):
2937 * progmodes/tcl.el (inferior-tcl-buffer):
2938 * textmodes/tex-mode.el (tex-command): Doc fixes.
2939
2940 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
2941
2942 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
2943
2944 2013-02-21 Bastien Guerry <bzg@gnu.org>
2945
2946 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
2947
2948 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2949
2950 * progmodes/python.el (python-info-current-defun):
2951 Enhance match-data cluttering prevention.
2952
2953 2013-02-21 Glenn Morris <rgm@gnu.org>
2954
2955 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
2956 loaded while outline-regexp is let bound. (Bug#9584)
2957
2958 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2959
2960 * progmodes/python.el (python-info-current-defun): Fix failed
2961 defun name retrieval because of unwanted match-data cluttering.
2962
2963 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
2964
2965 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
2966 defconst. Apply independent check for ControlPersist.
2967
2968 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
2969 temporarily, via "env".
2970
2971 2013-02-21 Glenn Morris <rgm@gnu.org>
2972
2973 * info.el (Info-enable-edit): Remove.
2974 (Info-edit): Disable it rather than using Info-enable.
2975 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
2976 (Info-cease-edit): Make editing of Info files obsolete.
2977
2978 * informat.el (Info-tagify):
2979 Handle buffers not visiting files. (Bug#13763)
2980
2981 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
2982
2983 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
2984
2985 2013-02-21 Glenn Morris <rgm@gnu.org>
2986
2987 * files.el (basic-save-buffer): Move check for existing parent
2988 directory after hooks. (Bug#13773)
2989
2990 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
2991
2992 * simple.el (command-execute): Move from C. Add obsolete check.
2993 (extended-command-history): Move from C.
2994
2995 2013-02-20 Ulrich MĂ¼ller <ulm@gentoo.org>
2996
2997 * jka-cmpr-hook.el (jka-compr-compression-info-list)
2998 (jka-compr-mode-alist-additions): Handle .txz suffix for
2999 XZ-compressed tar archives (bug#13770).
3000
3001 2013-02-20 Bastien Guerry <bzg@gnu.org>
3002
3003 * outline.el (outline-regexp, outline-heading-end-regexp):
3004 Make variables, not options (bug#13731).
3005
3006 2013-02-20 Glenn Morris <rgm@gnu.org>
3007
3008 * image.el (image-current-frame): Change from variable to function.
3009 (image-show-frame): Rename from image-nth-frame. Update callers.
3010 * image-mode.el (image-multi-frame): New variable.
3011 (image-mode-map, image-mode, image-goto-frame):
3012 Use image-multi-frame rather than image-current-frame.
3013 (image-mode, image-goto-frame): Use image-current-frame as
3014 function rather than as variable.
3015
3016 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
3017 * emacs-lisp/cl-macs.el (cl--make-type-test)
3018 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
3019
3020 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3021
3022 * net/tramp-cache.el (tramp-get-hash-table): New defun.
3023 (tramp-get-file-property, tramp-set-file-property)
3024 (tramp-get-connection-property, tramp-set-connection-property): Use it.
3025 (tramp-flush-file-property, tramp-flush-directory-property):
3026 Rename argument to KEY.
3027 (tramp-flush-connection-property): Simplify a little bit.
3028 (tramp-connection-property-p): New defun.
3029 (top): Reapply saved values only if there isn't a corresponding
3030 entry in `tramp-connection-properties'.
3031
3032 2013-02-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3033
3034 * progmodes/python.el (python-indent-context):
3035 Fix python-info-line-ends-backslash-p call.
3036 (python-info-line-ends-backslash-p)
3037 (python-info-beginning-of-backslash): Respect line-number argument.
3038 (python-info-current-line-comment-p):
3039 Fix behavior when not at beginning-of-line.
3040 (python-util-position): Remove function.
3041 (python-util-goto-line): New function.
3042
3043 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3044
3045 * eshell/em-unix.el (eshell/su): Require tramp.
3046 (eshell/sudo): Require tramp. Remove now unnecessary check.
3047
3048 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
3049 `tramp-current-connection' in order to avoid an error when several
3050 commands are invoked in a short time in eshell and friends.
3051
3052 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
3053
3054 Cleanup some of EIEIO's namespace.
3055 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
3056 Use it to define all the class-* and object-* field accessors (renamed
3057 to eieio--class-* and eieio--object-*). Update all uses.
3058 (eieio--class-num-slots, eieio--object-num-slots): Rename from
3059 class-num-slots and object-num-slots.
3060 (eieio--check-type): New macro.
3061 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
3062 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
3063 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
3064 (object-assoc-list-safe): Use it.
3065 (eieio-defclass): Tighten regexp.
3066 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
3067 Remove unreachable code.
3068 (object-class-fast): Declare obsolete.
3069 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
3070 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
3071 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
3072 Rename from class-name, object-name, object-set-name-string,
3073 object-class, object-class-name, class-parents, class-children,
3074 class-precedence-list, class-parent; with obsolete alias.
3075 (class-of, class-direct-superclasses, class-direct-subclasses):
3076 Declare obsolete.
3077 (eieio-defmethod): Use `memq'; remove unreachable code.
3078 * emacs-lisp/eieio-base.el (eieio-persistent-read):
3079 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
3080 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
3081
3082 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
3083
3084 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
3085 commentary.
3086
3087 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
3088
3089 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
3090 Use font-lock-keyword-face for macros and special forms (bug#8345).
3091
3092 2013-02-17 Didier Verna <didier@didierverna.net>
3093
3094 * net/network-stream.el (network-stream-open-starttls):
3095 Check that response to the starttls-command is non-nil. (Bug#13706)
3096
3097 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3098
3099 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
3100 Don't assume all identifier chars have syntax word.
3101 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3102 Remove bar-not-symbol. Adjust callers.
3103 (lisp-mode-variables): Don't set a font-lock-syntax-table.
3104
3105 2013-02-17 Leo Liu <sdl.web@gmail.com>
3106
3107 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
3108
3109 2013-02-17 Glenn Morris <rgm@gnu.org>
3110
3111 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
3112
3113 * image-mode.el (image-mode-map): Add image-dired menu entry.
3114
3115 * image-dired.el (tumme): Make this alias obsolete.
3116
3117 2013-02-16 Glenn Morris <rgm@gnu.org>
3118
3119 * image.el (image-animated-types): Remove.
3120 (image-multi-frame-p): Rename from image-animated-p, and generalize.
3121 (image-animated-p): Make obsolete alias.
3122 (image-animate, image-nth-frame, image-animate-timeout):
3123 Use image-multi-frame-p.
3124 (image-animate-timeout): If no delay, use image-default-frame-delay.
3125 * image-mode.el (image-mode, image-toggle-animation):
3126 Use image-multi-frame-p. (Bug#763, bug#10739)
3127 (image-mode): Adjust startup message for a multi-frame image.
3128
3129 * image-mode.el (image-mode-map): Give it a menu.
3130
3131 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
3132
3133 * net/tramp-cache.el (tramp-connection-properties): New customer
3134 option.
3135 (tramp-get-connection-property): Use it.
3136
3137 * net/tramp-compat.el (top): Require 'trampver.
3138
3139 * net/tramp-sh.el (tramp-remote-process-environment):
3140 Set tramp-autoload cookie.
3141
3142 2013-02-16 Kevin Ryde <user42@zip.com.au>
3143
3144 * info-look.el (info-lookup-select-mode): If major-mode has no
3145 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
3146
3147 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
3148
3149 * replace.el (read-regexp): Tighten the regexp that matches tag.
3150 When tag is retrieved with `find-tag-default', use regexp that
3151 matches tag at point. Also update docstring (Bug#13687).
3152
3153 2013-02-16 Eli Zaretskii <eliz@gnu.org>
3154
3155 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
3156 add watch for the file, not its parent directory, since w32notify
3157 sets up the watch for the directory internally. (Bug#13725)
3158
3159 2013-02-16 Glenn Morris <rgm@gnu.org>
3160
3161 * image.el (image-default-frame-delay): New variable.
3162 (image-animated-p): Use image-default-frame-delay.
3163 (image-minimum-frame-delay): New constant.
3164 (image-animate-timeout): Use image-minimum-frame-delay.
3165
3166 * image.el (image-nth-frame): New, split from image-animate-timeout.
3167 (image-animate-timeout): Use image-nth-frame.
3168 * image-mode.el (image-goto-frame, image-next-frame)
3169 (image-previous-frame): New commands.
3170 (image-mode-map): Add new frame commands.
3171
3172 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
3173
3174 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
3175 If col-desc already has help-echo, use it. (Bug#13563)
3176
3177 2013-02-16 Glenn Morris <rgm@gnu.org>
3178
3179 * image.el (image-current-frame): New variable.
3180 (image-animate-timeout): Set image-current-frame.
3181 * image-mode.el (image-mode): For animated images,
3182 display a frame counter via mode-line-process.
3183
3184 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
3185
3186 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3187
3188 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
3189
3190 2013-02-15 Alan Mackenzie <acm@muc.de>
3191
3192 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
3193 global minor mode has been enabled, call the minor mode function
3194 for a new buffer once only, after the major mode hook, whilst
3195 allowing that hook explicitly to disable the minor mode.
3196 (MODE-disable-in-buffer): New (generated) function.
3197 (disable-MODE): New (generated) buffer local variable.
3198
3199 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
3200
3201 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
3202 `iswitchb-next-match' and `iswitchb-prev-match' resply.
3203 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
3204 `ido-next-match' and `ido-prev-match' resply.
3205 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
3206 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
3207 `icomplete-backward-completions' (Bug#13708).
3208
3209 2013-02-15 Glenn Morris <rgm@gnu.org>
3210
3211 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3212
3213 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3214
3215 * net/goto-addr.el (goto-address-fontify): Add start and end args.
3216 (goto-address-fontify-region): Use them instead of narrowing, so
3217 syntax-ppss has access to the whole buffer.
3218
3219 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3220
3221 * progmodes/python.el: Explain how to restore "cc-mode"-like
3222 forward-sexp movement in header documentation (Bug#13642).
3223 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
3224 comments and strings (GH bug 114).
3225
3226 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3227
3228 * progmodes/python.el (python-info-current-defun): Fix current
3229 defun detection (Bug#13618).
3230
3231 2013-02-15 Chong Yidong <cyd@gnu.org>
3232
3233 * xml.el (xml-parse-string): Fix typo in handling of bad character
3234 references.
3235
3236 2013-02-15 Glenn Morris <rgm@gnu.org>
3237
3238 * play/fortune.el (fortune-compile): Simplify and fix previous change.
3239
3240 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
3241
3242 * net/tramp.el (tramp-debug-message):
3243 Add `tramp-condition-case-unless-debug'.
3244 (tramp-debug-on-error): New defvar.
3245 (tramp-condition-case-unless-debug): New defun.
3246 (tramp-file-name-handler): Use it.
3247
3248 2013-02-14 Juri Linkov <juri@jurta.org>
3249
3250 * info.el (Info-isearch-filter): Treat non-nil values of
3251 `search-invisible' including its default value `open'
3252 like the value `t' to match hidden text. (Bug#13402)
3253
3254 2013-02-14 Glenn Morris <rgm@gnu.org>
3255
3256 * help-fns.el (find-lisp-object-file-name): Give special treatment
3257 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
3258
3259 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
3260
3261 * net/quickurl.el (quickurl-save-urls):
3262 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
3263
3264 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
3265
3266 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
3267 depth for unfinished percent literal. Not using it in the caller.
3268 (ruby-move-to-block): Jump over multiline literals of all types,
3269 ignoring code-looking contents inside them.
3270 (ruby-add-log-current-method): Improve performance at the expense
3271 of accuracy. `ruby-block-contains-point' is relatively slow, so
3272 only use it for method and singleton class blocks.
3273
3274 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3275
3276 Use ControlMaster where applicable. (Bug#13677)
3277
3278 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
3279 replacing `tramp-detect-ssh-controlmaster'.
3280 (tramp-default-method): Use it.
3281
3282 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
3283 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
3284 arguments.
3285 [scpc, rsyncc]: Remove methods.
3286 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
3287 and "ssh2_old".
3288 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
3289 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
3290
3291 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3292
3293 * emacs-lisp/package.el (package--initialized): Move before first use.
3294
3295 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
3296
3297 * icomplete.el (icomplete-hide-common-prefix): New user option.
3298 (icomplete-first-match): New face.
3299 (icomplete-completions): Correct handling of "complete but not
3300 unique" (Bug#12638).
3301
3302 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
3303
3304 * descr-text.el (describe-char): Display the script (bug#13698).
3305
3306 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3307
3308 * tmm.el: Use lexical-binding and current-active-maps.
3309 (tmm-menubar): Use map-keymap and pcase.
3310 (tmm--completion-table): New function.
3311 (tmm-prompt): Use it to fix the menu order.
3312 (tmm-get-keybind): Use current-active-maps.
3313
3314 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
3315
3316 Add dired-hide-details-mode. (Bug#6799)
3317
3318 * locate.el (locate-mode): Set parent mode property to dired-mode.
3319
3320 * find-dired.el (find-dired): Call dired-insert-set-properties on
3321 initial information line. Set process mark on end of buffer.
3322 (find-dired-sentinel):
3323 Call dired-insert-set-properties on summary.
3324
3325 * dired.el (dired-hide-details-hide-symlink-targets)
3326 (dired-hide-details-hide-information-lines): New options.
3327 (dired-insert-directory):
3328 Set properties after final treatment of output.
3329 (dired-insert-set-properties):
3330 Set dired-hide-details-* properties.
3331 (dired-mode-map): Bind dired-hide-details-mode.
3332 (dired-mode): Set buffer-invisibility-spec to a list.
3333 (dired-next-line): Skip hidden lines.
3334 (dired-previous-line): Use dired-next-line.
3335 (dired-hide-details-mode): New minor mode.
3336 (dired-hide-details-update-invisibility-spec): New function.
3337
3338 2013-02-13 Glenn Morris <rgm@gnu.org>
3339
3340 * play/yow.el: Move to obsolete/. (Bug#9384)
3341
3342 2013-02-13 Juri Linkov <juri@jurta.org>
3343
3344 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
3345 to select `ediff-control-frame' and set input focus correctly on Xfce.
3346 (Bug#12218)
3347
3348 2013-02-13 Juri Linkov <juri@jurta.org>
3349
3350 * image-mode.el (image-mode-map):
3351 * doc-view.el (doc-view-mode-map):
3352 * vc/ediff-util.el (ediff-setup-keymap):
3353 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3354
3355 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
3356
3357 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
3358 performance. Instead of recalculating indentation fully for each
3359 line, sum up indentation depth based only on visited lines.
3360 (ruby-parse-partial): Increase the depth after "do" even when END
3361 is right after it.
3362 (ruby-parse-partial): When END is in the middle of a percent
3363 literal, increase the depth if the delimiter chars belong to the
3364 paren syntax class.
3365
3366 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
3367
3368 * play/fortune.el (fortune-compile): Also make the compiled file
3369 if it does not exist at all, not just if it is old. (Bug#5338)
3370
3371 2013-02-13 Glenn Morris <rgm@gnu.org>
3372
3373 * emacs-lisp/package.el (package-menu-execute): Doc fix.
3374
3375 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
3376
3377 * lisp/emacs-lisp/package.el (package-menu-execute):
3378 Add optional noquery argument. (Bug#13625)
3379
3380 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3381
3382 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
3383 if DIR exists and PARENTS is non-nil.
3384
3385 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
3386
3387 * progmodes/js.el (js--multi-line-declaration-indentation):
3388 Silence byte-compiler warning.
3389
3390 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
3391
3392 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
3393
3394 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
3395 only if it doesn't exist.
3396
3397 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3398 Set process marker.
3399
3400 2013-02-12 Tassilo Horn <tsdh@gnu.org>
3401
3402 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
3403 UserInstallation when calling soffice to work around LibreOffice
3404 bug 37531.
3405
3406 2013-02-12 Glenn Morris <rgm@gnu.org>
3407
3408 * files.el (basic-save-buffer):
3409 Offer to create a non-existing directory. (Bug#3016)
3410
3411 * calc/calc-graph.el (calc-graph-show-dumb):
3412 * calendar/calendar.el (calendar-mode-map):
3413 * cus-edit.el (custom-mode-map):
3414 * ehelp.el (electric-help-map):
3415 * emulation/vip.el (vip-mode-map):
3416 * epa.el (epa-key-list-mode-map):
3417 * info.el (Info-mode-map):
3418 * mail/rmail.el (rmail-mode-map):
3419 * mail/rmailsum.el (rmail-summary-mode-map):
3420 * man.el (Man-mode-map):
3421 * net/newst-plainview.el (newsticker-mode-map):
3422 * progmodes/cpp.el (cpp-edit-mode-map):
3423 * progmodes/grep.el (grep-mode-map):
3424 * progmodes/idlw-help.el (idlwave-help-mode-map):
3425 * simple.el (special-mode-map):
3426 * startup.el (splash-screen-keymap):
3427 * view.el (view-mode-map):
3428 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3429
3430 2013-02-11 Elias Pipping <pipping@lavabit.com>
3431
3432 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
3433 (bug#13679).
3434
3435 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
3436
3437 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
3438
3439 2013-02-11 Glenn Morris <rgm@gnu.org>
3440
3441 * vc/diff.el (diff-use-labels): New variable.
3442 (diff-no-select): Use --label rather than -L, and first
3443 check that it is supported. (Bug#11067)
3444
3445 * files.el (enable-dir-local-variables): New variable.
3446 (hack-dir-local-variables): Respect enable-dir-local-variables.
3447 * tutorial.el (help-with-tutorial):
3448 Ignore directory-local variables. (Bug#11127)
3449
3450 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
3451 (vc-svn-global-switches): ... to here. (Bug#13513)
3452
3453 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
3454
3455 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
3456 Handle "foo (bar, default: xxx): " prompts.
3457
3458 2013-02-10 Chong Yidong <cyd@gnu.org>
3459
3460 * files.el (basic-save-buffer-1): Do not set
3461 buffer-file-coding-system-explicit (Bug#4533).
3462
3463 * mail/emacsbug.el (report-emacs-bug): Change binding of
3464 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
3465
3466 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
3467
3468 * calc/calc.el (calc-allow-units-as-numbers): New variable.
3469 * calc/calc-units.el (calc-convert-units): Use new variable.
3470
3471 2013-02-09 Eli Zaretskii <eliz@gnu.org>
3472
3473 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
3474
3475 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
3476 buffer-file-type.
3477
3478 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
3479 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
3480 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
3481 coding-system-for-write instead.
3482
3483 * jka-compr.el (jka-compr-write-region): Don't bind
3484 buffer-file-type.
3485
3486 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
3487 buffer-file-type.
3488
3489 * files.el (file-name-buffer-file-type-alist): Remove defvar.
3490 (insert-file-contents-literally): Remove reference to
3491 file-name-buffer-file-type-alist.
3492
3493 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
3494 make-obsolete.
3495 (find-buffer-file-type-match, find-buffer-file-type): Remove.
3496 (find-buffer-file-type-coding-system): Remove references to
3497 find-buffer-file-type-match, find-buffer-file-type, and
3498 buffer-file-type.
3499 Don't put find-buffer-file-type-coding-system into
3500 file-coding-system-alist.
3501 (find-file-binary, find-file-text): Bind coding-system-for-read
3502 instead of file-name-buffer-file-type-alist.
3503
3504 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
3505
3506 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
3507 converter (Bug#13622).
3508 (doc-view-unoconv-program): Make obsolete alias.
3509 (doc-view-odf->pdf-converter-program): New variable.
3510 (doc-view-odf->pdf-converter-function): New variable.
3511 (doc-view-mode-p): Use it.
3512 (doc-view-odf->pdf-converter-unoconv):
3513 Rename from `doc-view-odf->pdf-converter-unoconv'.
3514 (doc-view-odf->pdf-converter-soffice): New function.
3515 (doc-view-convert-current-doc):
3516 Use `doc-view-odf->pdf-converter-function'.
3517
3518 2013-02-09 Chong Yidong <cyd@gnu.org>
3519
3520 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
3521 view-echo-area-messages (Bug#13340).
3522
3523 * help.el (view-echo-area-messages): Use display-buffer.
3524
3525 * dired-x.el (dired-do-run-mail): Prompt for confirmation
3526 (Bug#13561).
3527
3528 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
3529
3530 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
3531 Eval body right away, now that we do eager macroexpansion (bug#13605).
3532
3533 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
3534 (fundamental-mode): Use run-mode-hooks.
3535
3536 * eshell/esh-proc.el (eshell/kill): Fix last change.
3537 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
3538
3539 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
3540
3541 * eshell/esh-proc.el (eshell/kill): Rewrite.
3542
3543 * eshell/em-ls.el (show-almost-all): Declare.
3544 (eshell-do-ls): Add support for -A argument.
3545
3546 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
3547
3548 * icomplete.el (icomplete-forward-completions)
3549 (icomplete-backward-completions): Handle corner case (bug#13602).
3550
3551 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
3552
3553 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
3554 be nil. Handle this. (Bug#13636)
3555
3556 2013-02-07 Richard Stallman <rms@gnu.org>
3557
3558 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
3559 `save-buffer-coding-system'.
3560
3561 2013-02-07 Alan Mackenzie <acm@muc.de>
3562
3563 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
3564 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
3565 (c-parse-state-get-strategy): Don't return 'BOD any more.
3566 (c-append-lower-brace-pair-to-state-cache):
3567 Extra parameter HERE instead of narrowing.
3568 Widen to top of buffer before searching backwards for a brace pair.
3569 (c-state-push-any-brace-pair): Add HERE parameter to function call.
3570 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
3571 Narrow to parameter HERE, in place of being called narrowed.
3572 (c-remove-stale-state-cache): Extra parameter HERE in place of
3573 narrowing. Check there's an open brace in the cache before
3574 searching for its match.
3575 (c-invalidate-state-cache-1): Add HERE parameter to function call.
3576 (c-parse-state-1): Don't narrow here for 'forward strategy,
3577 instead passing extra parameter HERE to several functions.
3578 Remove 'BOD strategy.
3579
3580 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
3581
3582 * emacs-lisp/package.el (describe-package-1): Tell what archive is
3583 used to install the package.
3584
3585 2013-02-06 Glenn Morris <rgm@gnu.org>
3586
3587 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
3588 if we can't get user input. (Bug#6567)
3589
3590 * startup.el (command-line): If simple.el is missing,
3591 test and warn about for some possible causes.
3592
3593 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
3594
3595 * cus-start.el (all): Add ns-use-native-fullscreen.
3596
3597 2013-02-05 Glenn Morris <rgm@gnu.org>
3598
3599 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
3600
3601 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3602 Fix directory creation in fallback case.
3603
3604 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3605
3606 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
3607 (vc-update-change-log): Use dolist.
3608
3609 2013-02-04 Chong Yidong <cyd@gnu.org>
3610
3611 * thingatpt.el: Rewrite the URL detection routines, absorbing some
3612 code from ffap.el.
3613 (thing-at-point-beginning-of-url-regexp): New var.
3614 (thing-at-point-uri-schemes): Update list of URI schemes.
3615 (thing-at-point-url-regexp): Variable deleted.
3616 (thing-at-point-markedup-url-regexp): Disallow newlines.
3617 (thing-at-point-newsgroup-regexp)
3618 (thing-at-point-newsgroup-heads)
3619 (thing-at-point-default-mail-uri-scheme): New variables.
3620 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
3621 method to find the possible bounds of the URI at point.
3622 New optional argument to find ill-formed URIs.
3623 (thing-at-point-url-at-point): Rewrite. New arguments for finding
3624 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
3625 the scheme-adding heuristics from ffap-url-at-point.
3626 (thing-at-point--bounds-of-well-formed-url): New function.
3627 Do parens matching to decide whether to include parens in the URI
3628 (Bug#9153).
3629
3630 * ffap.el: Require thingatpt.
3631 (ffap-url-at-point): Delegate URI detection to thing-at-point.
3632 All URI-valid characters are now recognized (Bug#5673).
3633 (ffap-string-at-point): Use use-region-p.
3634 (ffap-url-regexp): Extra character is handled by thing-at-point.
3635 (ffap-string-at-point-mode-alist): Allow parentheses.
3636 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
3637 Convert to aliases; code moved to thingatpt.el.
3638 (ffap-gnus-hook): Use setq-local.
3639
3640 2013-02-04 Glenn Morris <rgm@gnu.org>
3641
3642 * emacs-lisp/ert.el (ert--explain-format-atom):
3643 Don't try to print non-characters as characters. (Bug#13543)
3644
3645 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
3646
3647 * net/tramp.el (tramp-debug-message): Extend function exclude list.
3648 (tramp-backtrace): New defun.
3649 (tramp-handle-insert-file-contents): Use `visit' when inserting
3650 the local copy.
3651
3652 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
3653 Use `remote-file-name-inhibit-cache'.
3654
3655 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
3656
3657 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
3658 (bug#13614).
3659
3660 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
3661 current-load-list (bug#13366).
3662
3663 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
3664
3665 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3666 Identify g++ template instantiation trace. (Bug#12287)
3667 (compilation-mode-hook, compilation-start-hook)
3668 (compilation-window-height): Simplify docstrings. (Bug#13379)
3669
3670 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3671
3672 * mouse.el (mouse-drag-track): Always deactivate the mark before
3673 running the final event's command since that command is in charge of
3674 activating the mark if needed (bug#13523).
3675
3676 2013-02-02 Juri Linkov <juri@jurta.org>
3677
3678 * replace.el (perform-replace): Move let-bindings of isearch-*
3679 variables deeper to the loop that searches for the next match.
3680 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
3681 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
3682 (Bug#13579)
3683
3684 * isearch.el (isearch-search-fun-default): Check for null
3685 first element of isearch-cmds as a precaution when it's used
3686 with inactive isearch.
3687
3688 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
3689
3690 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
3691 error when buffer in question is narrowed so position 1 is out of
3692 visible part.
3693
3694 2013-02-02 Glenn Morris <rgm@gnu.org>
3695
3696 * textmodes/remember.el (remember-clipboard): Doc fix.
3697
3698 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3699
3700 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
3701 properties (bug#13179).
3702
3703 2013-02-02 Juri Linkov <juri@jurta.org>
3704
3705 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
3706 instead of hard-coded default face `match'. (Bug#9438)
3707
3708 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
3709
3710 * vc/vc-arch.el (vc-arch-registered):
3711 * vc/vc-bzr.el (vc-bzr-registered):
3712 * vc/vc-cvs.el (vc-cvs-registered):
3713 * vc/vc-git.el (vc-git-registered):
3714 * vc/vc-hg.el (vc-hg-registered):
3715 * vc/vc-mtn.el (vc-mtn-registered):
3716 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
3717 (Bug#13139)
3718
3719 * info.el (Info-next-reference, Info-prev-reference): Add numeric
3720 prefix argument. (Bug#11656)
3721
3722 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
3723
3724 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
3725
3726 2013-02-01 Glenn Morris <rgm@gnu.org>
3727
3728 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
3729 if the backend is known not to support it.
3730
3731 * imenu.el (imenu-default-create-index-function):
3732 Tweak infinite loop test to check for forward motion as well as none.
3733
3734 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
3735
3736 * net/soap-client.el (soap-invoke): Encode the string for
3737 `url-request-data' as UTF-8.
3738 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
3739
3740 2013-02-01 Glenn Morris <rgm@gnu.org>
3741
3742 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
3743
3744 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
3745
3746 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
3747
3748 * net/tramp.el (tramp-tramp-file-p): Comment check for
3749 `string-as-unibyte'. The function does not exist on XEmacs, and
3750 likely we need another approach.
3751
3752 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
3753 `tramp-gw-*' variables are bound.
3754
3755 2013-01-31 Glenn Morris <rgm@gnu.org>
3756
3757 * files.el (basic-save-buffer-2): Choose coding system for
3758 writing the file before backing it up, to reduce delay between
3759 backing up and writing the new version. (Bug#13522)
3760
3761 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
3762
3763 * simple.el (cycle-spacing): New command.
3764 (just-one-space): Use it.
3765
3766 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
3767
3768 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
3769 (opascal-newline-always-indents): Remove custom.
3770 (opascal-tab, opascal-newline): Remove commands.
3771 (opascal-new-comment-line): Insert "\n" instead of calling newline.
3772 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
3773 (opascal-save-match-data): Remove, use save-match-data instead.
3774 (opascal-save-state): Use with-silent-modifications.
3775
3776 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
3777 (bug#13585).
3778
3779 2013-01-30 Juri Linkov <juri@jurta.org>
3780
3781 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
3782 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
3783 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
3784
3785 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3786
3787 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
3788 column if we're just deleting the backslashes.
3789 (makefile-fill-paragraph): Use eolp.
3790
3791 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3792
3793 * autorevert.el (auto-revert-use-notify): Fix docstring.
3794
3795 2013-01-30 Leo Liu <sdl.web@gmail.com>
3796
3797 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
3798
3799 2013-01-30 Glenn Morris <rgm@gnu.org>
3800
3801 * mouse.el (mouse-drag-line): Avoid pushing same event onto
3802 unread-command-events twice in some cases. This tries to implement
3803 the 2012-07-26 changes in a different way. (Bug#13560)
3804
3805 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3806
3807 * progmodes/python.el
3808 (python-pdbtrack-comint-output-filter-function): Enhancements on
3809 stacktrace detection. (thanks @gnovak)
3810
3811 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3812
3813 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
3814 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
3815 Use defvar-local.
3816 (jit-lock-register): Use setq-local.
3817
3818 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
3819
3820 * calc-units.el (math-default-units-table): Remove initial value.
3821 (calc-convert-units): Treat expressions where all the units cancel as
3822 if they didn't have units.
3823
3824 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3825
3826 * net/tramp.el (tramp-process-connection-type): Fix docstring.
3827 (tramp-completion-reread-directory-timeout): Fix type.
3828 (tramp-connection-min-time-diff): New defcustom.
3829
3830 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3831
3832 2013-01-30 Glenn Morris <rgm@gnu.org>
3833
3834 * imenu.el (imenu-default-create-index-function):
3835 Put back a version of the infinite loop test removed 2013-01-23.
3836
3837 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3838
3839 * progmodes/python.el (python-shell-parse-command):
3840 Find python-shell-interpreter with modified environment.
3841
3842 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3843
3844 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
3845
3846 2013-01-29 Alan Mackenzie <acm@muc.de>
3847
3848 Amend to fontify /regexp/s in actions correctly.
3849 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
3850 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
3851 are no longer included.
3852 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
3853 What used to be these variables without "-line" in the name.
3854 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
3855 (c-awk-non-arith-op-bra-re): Now also matches {.
3856 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
3857 "return", and "case".
3858 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
3859 by /.
3860 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
3861 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
3862
3863 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
3864
3865 * autorevert.el (auto-revert-use-notify):
3866 Use `custom-initialize-default' for initialization. (Bug#13583)
3867
3868 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
3869
3870 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3871 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
3872 in `tramp-file-name-handler'.
3873 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
3874 compatibility.
3875 (tramp-compute-multi-hops): Check, whether
3876 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
3877
3878 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
3879
3880 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
3881 (bug#13297).
3882
3883 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
3884
3885 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
3886 checks made superfluous by the \_< operator.
3887 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
3888 temporarily) broken indentation.
3889 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3890 Highlight nested constants, too. \_< broke that.
3891
3892 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
3893
3894 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
3895 instead of "\\b".
3896
3897 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
3898
3899 * autorevert.el (auto-revert-handler): Notifications which result
3900 from a saved file shall not be taken into account. (Bug#13557)
3901
3902 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
3903
3904 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
3905 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
3906 (lisp-mode): Pass t for it. (Bug#13556)
3907
3908 2013-01-25 Alan Mackenzie <acm@muc.de>
3909
3910 AWK Mode: Fix indentation bug at top level. Bug #12274.
3911
3912 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
3913 just before CASE 5D.
3914
3915 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
3916
3917 * net/socks.el (socks-nslookup-host): Use string-to-number.
3918
3919 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
3920
3921 * autorevert.el (auto-revert-remote-files)
3922 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
3923 (auto-revert-notify-enabled, auto-revert-use-notify)
3924 (auto-revert-notify-watch-descriptor-hash-list)
3925 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
3926 (auto-revert-notify-event-descriptor)
3927 (auto-revert-notify-event-action)
3928 (auto-revert-notify-event-file-name): Doc fix.
3929 (global-auto-revert-mode): Reorder checks.
3930 (auto-revert-notify-rm-watch): Respect changed values of
3931 `auto-revert-notify-watch-descriptor-hash-list'.
3932 (auto-revert-notify-add-watch): Check for
3933 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
3934 `inotify-add-watch'. Watch `default-directory' instead of
3935 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
3936 has a changed meaning now. (Bug#13540)
3937 (auto-revert-notify-handler): Change implementation wrt events
3938 returning from a directory.
3939 (auto-revert-handler): Reorder implementation for checks of remote
3940 files.
3941 (auto-revert-buffers): Fix parentheses error.
3942
3943 2013-01-25 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3944
3945 * progmodes/python.el: Enhancements to header documentation about
3946 skeletons. (Bug#5716)
3947
3948 * imenu.el (imenu-default-create-index-function): Remove useless
3949 infinite loop check. (Bug#13438)
3950
3951 2013-01-25 Alan Mackenzie <acm@muc.de>
3952
3953 Fix a bug in the state cache mechanism. Refactor this a bit.
3954
3955 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
3956 `cache-pos' element from the return value.
3957 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
3958 buffer to enable proper searching from beyond HERE. Amend the
3959 test for detecting the sought brace pair. Amend the value written
3960 to the "brace desert cache" when the brace isn't found.
3961 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
3962 and several other variables analogously.
3963 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
3964 parameter to a locally calculated variable.
3965 (c-parse-state-1): Change the calling conventions to the two
3966 defuns involving `cache-pos'.
3967
3968 2013-01-25 Chong Yidong <cyd@gnu.org>
3969
3970 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
3971
3972 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
3973
3974 * paren.el (show-paren-function): Make sure to set 'priority and
3975 'face only if the overlay does exist.
3976
3977 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
3978
3979 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
3980
3981 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
3982 basic attributes.
3983 (tramp-sh-handle-set-file-acl): Improve error checking.
3984
3985 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
3986
3987 * doc-view.el (doc-view-display): Force mode line update until all
3988 document is converted. Suggested by Stefan Monnier (Bug#13164).
3989
3990 2013-01-23 Bastien Guerry <bzg@gnu.org>
3991
3992 * paren.el (show-paren-function): Make sure an overlay exists
3993 before trying to delete it. Also use `pos' as a position only
3994 when it is an integer.
3995
3996 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
3997
3998 * play/gametree.el (gametree-break-line-here): Use point-marker.
3999
4000 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
4001
4002 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4003 Mark descriptive parts with `display' property.
4004
4005 2013-01-21 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
4006
4007 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
4008 New variable to map standard dict names to hunspell ones.
4009 (ispell-set-spellchecker-params): Make sure specific dict names
4010 are used for standard dicts with hunspell.
4011
4012 2013-01-21 Tassilo Horn <tsdh@gnu.org>
4013
4014 * textmodes/reftex-cite.el (reftex-format-citation): Add format
4015 chars for note (%N) and url (%U).
4016 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
4017
4018 2013-01-21 Juri Linkov <juri@jurta.org>
4019
4020 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
4021 in addition to existing separate binding `meta f10' in `global-map'.
4022 (Bug#13484)
4023
4024 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
4025
4026 Improve XEmacs compatibility.
4027
4028 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
4029
4030 * net/tramp-adb.el (top): Require `time-date'.
4031 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
4032 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
4033 Use `tramp-file-name-handler'.
4034 (tramp-adb-maybe-open-connection):
4035 Use `tramp-compat-set-process-query-on-exit-flag'.
4036
4037 * net/tramp-sh.el (tramp-sh-handle-file-acl):
4038 Use `tramp-compat-funcall'.
4039
4040 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
4041 `tramp-compat-funcall'.
4042
4043 2013-01-21 JĂ¼rgen Hötzel <juergen@archlinux.org>
4044
4045 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
4046 reimplementation using "adb shell command ..." instead of running
4047 remote shell interactively.
4048
4049 2013-01-20 Glenn Morris <rgm@gnu.org>
4050
4051 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
4052 Add native profiler menu entries.
4053
4054 * profiler.el (profiler-running-p): New function.
4055 (profiler-cpu-profile): Use profiler-running-p.
4056 (profiler-report-mode-map): Add some more menu entries.
4057
4058 2013-01-19 Glenn Morris <rgm@gnu.org>
4059
4060 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
4061 fixes 2012-12-07 change. (Bug#13499)
4062
4063 2013-01-19 Leo Liu <sdl.web@gmail.com>
4064
4065 * dired.el (dired-get-marked-files): Prune erroneous values due to
4066 last change. (Bug#13152)
4067
4068 2013-01-19 Glenn Morris <rgm@gnu.org>
4069
4070 * progmodes/etags.el (tags-table-check-computed-list):
4071 Preserve point in tags buffer. (Bug#13412)
4072
4073 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
4074
4075 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
4076 Chong Yidong <cyd@gnu.org>
4077
4078 * image-mode.el (image-next-file, image-previous-file):
4079 New commands (Bug#8453).
4080 (image-mode-map): Bind them to n and p.
4081 (image-mode--images-in-directory): New helper function.
4082
4083 2013-01-19 Chong Yidong <cyd@gnu.org>
4084
4085 * image-mode.el (image-mode-fit-frame): Add a frame argument.
4086 Suggested by Drew Adams (Bug#7730). Handle window decorations;
4087 save and restore the old window configuration.
4088
4089 2013-01-18 Leo Liu <sdl.web@gmail.com>
4090
4091 * progmodes/js.el: Tweak autoload cookie for alias.
4092
4093 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4094
4095 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
4096 buffer local, again. This was lost with the fix on 2013-01-12.
4097
4098 2013-01-17 JĂ¼rgen Hötzel <juergen@archlinux.org>
4099
4100 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
4101 order to support several eshell buffers in parallel.
4102
4103 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4104
4105 * autorevert.el (auto-revert-use-notify): In the :set function, do
4106 not modify `kill-buffer-hook'.
4107 (auto-revert-notify-rm-watch):
4108 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
4109 (auto-revert-notify-add-watch): Do not call
4110 `auto-revert-notify-rm-watch', but add it to a buffer local
4111 `kill-buffer-hook'.
4112
4113 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4114
4115 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
4116 call to `eval' rather than a backquoted lambda.
4117
4118 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
4119
4120 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
4121 to return an explicit nil.
4122 (advice--remove-function): Change accordingly.
4123
4124 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
4125 the use of nadvice.el.
4126
4127 * progmodes/which-func.el (which-function): Silence imenu errors
4128 (bug#13433).
4129
4130 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4131
4132 * progmodes/sql.el (sql-imenu-generic-expression):
4133 (sql-mode-font-lock-object-name): Match schema qualified names.
4134 (sql-connect): Use string keys.
4135 (sql-product-interactive): Wait for interpreter prompt.
4136 (sql-comint-oracle): Set process coding based on NLS_LANG.
4137
4138 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4139
4140 * progmodes/sql.el (sql-output-to-send): Remove, unused.
4141 (sql-interactive-remove-continuation-prompt):
4142 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
4143
4144 2013-01-14 Leo Liu <sdl.web@gmail.com>
4145
4146 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
4147 (Bug#13420)
4148
4149 2013-01-14 Glenn Morris <rgm@gnu.org>
4150
4151 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4152 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
4153
4154 2013-01-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4155
4156 * progmodes/python.el (python-nav-end-of-statement):
4157 Fix cornercase when handling multiline strings.
4158
4159 2013-01-13 Richard Stallman <rms@gnu.org>
4160
4161 * mail/sendmail.el (mail-position-on-field): Add doc string.
4162
4163 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4164 Get current message boundaries and pass them to
4165 message-forward-make-body-mime. Minor style changes.
4166
4167 2013-01-13 Eli Zaretskii <eliz@gnu.org>
4168
4169 * cus-start.el (all): Avoid warnings about
4170 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
4171
4172 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
4173
4174 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
4175
4176 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4177
4178 * jit-lock.el (jit-lock-debug-mode): New minor mode.
4179 (jit-lock--debug-fontifying): New var.
4180 (jit-lock--debug-fontify): New function.
4181 * subr.el (condition-case-unless-debug): Don't prevent catching the
4182 error, just let the debbugger run.
4183 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
4184 timer code and don't drop errors silently.
4185
4186 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
4187
4188 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
4189 `permanent-local' property.
4190 (auto-revert-notify-handler): Use `file-equal-p'.
4191
4192 2013-01-12 Eli Zaretskii <eliz@gnu.org>
4193
4194 * autorevert.el (auto-revert-notify-handler): Fix filtering of
4195 file notification by ACTION. For filtering by file name, compare
4196 only the non-directory part of the file name.
4197
4198 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4199
4200 * autorevert.el: Use cl-lib instead of cl.
4201
4202 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
4203 (vc-bzr-checkin): Use it.
4204 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
4205 will preserve match-data.
4206
4207 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
4208
4209 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
4210 (js--declaration-keyword-re): New var.
4211 (js--multi-line-declaration-indentation): New function.
4212 (js--proper-indentation): Use it.
4213
4214 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
4215
4216 * calc/calc.el (calc-highlight-selections-with-faces)
4217 (calc-dispatch):
4218 * comint.el (comint-history-isearch-message):
4219 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
4220 * ffap.el (ffap-string-at-point-region, ffap-next)
4221 (ffap-string-at-point, ffap-string-around)
4222 (ffap-copy-string-as-kill, ffap-highlight-overlay)
4223 (ffap-literally):
4224 * font-lock.el (font-lock-keywords-alist)
4225 (font-lock-removed-keywords-alist):
4226 * help-mode.el (help-xref-symbol-regexp):
4227 * info.el (Info-find-emacs-command-nodes):
4228 * international/mule.el (add-to-coding-system-list):
4229 * isearch.el (isearch-message-function, isearch-fail-pos):
4230 * misearch.el (multi-isearch-next-buffer-function):
4231 * newcomment.el (comment-box):
4232 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
4233 (pr-setting-database):
4234 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
4235 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
4236 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
4237 (pike-font-lock-keywords-3):
4238 * progmodes/compile.el (compile):
4239 * progmodes/etags.el (tags-table-files)
4240 (tags-table-files-function, tags-included-tables-function):
4241 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
4242 (gdb-restore-windows):
4243 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
4244 (ps-n-up-filling-database):
4245 * server.el (server-buffer, server-log):
4246 * simple.el (newline, delete-backward-char, delete-forward-char)
4247 (minibuffer-history-isearch-message, kill-line, track-eol)
4248 (temporary-goal-column):
4249 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
4250 (flyspell-default-deplacement-commands):
4251 * textmodes/ispell.el (ispell-accept-output):
4252 * textmodes/sgml-mode.el (html-tag-help):
4253 * vc/compare-w.el (compare-ignore-whitespace)
4254 (compare-ignore-case, compare-windows-dehighlight):
4255 * vc/diff.el (diff):
4256 * whitespace.el (whitespace-point)
4257 (whitespace-font-lock-refontify, whitespace-bob-marker)
4258 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
4259
4260 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
4261
4262 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
4263 (auto-revert-notify-rm-watch): Ignore errors.
4264 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
4265 inotify, and '(size last-write-time) for w32notify.
4266 Set buffer-local `auto-revert-use-notify' to nil when adding a file
4267 watch fails - this is a fallback to the file modification check.
4268 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
4269 (auto-revert-notify-event-action)
4270 (auto-revert-notify-event-file-name): New defuns.
4271 (auto-revert-notify-handler): Use them. Implement first
4272 plausibility checks.
4273 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
4274
4275 2013-01-11 Julien Danjou <julien@danjou.info>
4276
4277 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
4278 max are almost equal. Also return the correct value for V which is
4279 already between 0 and 1.
4280
4281 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
4282
4283 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
4284
4285 2013-01-11 Eli Zaretskii <eliz@gnu.org>
4286
4287 * autorevert.el (auto-revert-notify-rm-watch)
4288 (auto-revert-notify-add-watch): Fix typos in w32notify function
4289 names.
4290
4291 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4292
4293 * autorevert.el (auto-revert-notify-enabled): Move up.
4294 (auto-revert-use-notify): New defcustom.
4295 (auto-revert-mode, global-auto-revert-mode)
4296 (auto-revert-notify-add-watch, auto-revert-handler)
4297 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
4298 `auto-revert-notify-enabled'.
4299
4300 2013-01-10 Elias Pipping <pipping@exherbo.org>
4301
4302 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
4303 * doc-view.el (doc-view-document->bitmap):
4304 Use doc-view-single-page-converter-function instead of
4305 single-page-converter arg; adjust callers.
4306
4307 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
4308
4309 * progmodes/which-func.el (which-function): Understand Semantic's use
4310 of overlays in imenu--index-alist.
4311
4312 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
4313
4314 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
4315 (Man-man-k-use-anchor): New var.
4316 (Man-parse-man-k): New function.
4317 (Man-completion-table): Use it.
4318 (man): Flush the completion cache between uses.
4319
4320 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4321
4322 * autorevert.el: Add file watch support.
4323 (auto-revert-notify-enabled): New defconst.
4324 (auto-revert-notify-watch-descriptor-hash-list)
4325 (auto-revert-notify-watch-descriptor)
4326 (auto-revert-notify-modified-p): New defvars.
4327 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4328 (auto-revert-notify-handler): New defuns.
4329 (auto-revert-mode, global-auto-revert-mode): Remove file watches
4330 when mode is disabled.
4331 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
4332 (auto-revert-buffers): Add file watches for active buffers.
4333
4334 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
4335
4336 * cus-start.el (toplevel): Only allow float values for
4337 scroll-up-aggressively and scroll-down-aggressively.
4338 Allow any number for line-spacing.
4339
4340 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4341
4342 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
4343 (doc-view-pdf->png-converter-function): Use mupdf if available.
4344 (doc-view-djvu->png-converter-function)
4345 (doc-view-ps->png-converter-function): Remove.
4346 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
4347 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
4348 (doc-view-already-converted-p): Adjust accordingly.
4349 (doc-view-mode-p): Simplify.
4350 (doc-view-enlarge): Use setq-local.
4351 (doc-view-pdf->png-converter-ghostscript)
4352 (doc-view-djvu->png-converter-ddjvu)
4353 (doc-view-pdf->png-converter-mupdf): Rework to call
4354 doc-view-start-process directly.
4355 (doc-view-pdf/ps->png): Simplify accordingly.
4356 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
4357 (doc-view-document->bitmap): Rename from doc-view-document->png.
4358 (doc-view-convert-current-doc): Merge pdf and djvu cases.
4359 (doc-view-set-slice-from-bounding-box): Fix completion table.
4360 (doc-view-mode): Use add-hook for after-revert-hook.
4361
4362 2013-01-10 Glenn Morris <rgm@gnu.org>
4363
4364 * emacs-lisp/authors.el (authors-ignored-files)
4365 (authors-valid-file-names, authors-renamed-files-alist):
4366 Add some more entries.
4367
4368 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4369
4370 * image-mode.el (image-mode-winprops): Don't throw away the fallback
4371 `t' pseudo-window entry.
4372
4373 2013-01-10 Alan Mackenzie <acm@muc.de>
4374
4375 Fix bugs in the c-parse-state mechanism. Reuse some markers
4376 instead of continually generating new ones.
4377
4378 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
4379 (c-state-old-cpp-end-marker): New variables.
4380 (c-append-lower-brace-pair-to-state-cache): Start a backward
4381 search for "}" definitively outside CPP constructs.
4382 (c-remove-stale-state-cache): Inform the caller of a need to
4383 search back for a brace pair in certain circumstances.
4384 (c-state-maybe-marker): New macro.
4385 (c-parse-state): Reuse markers when appropriate.
4386
4387 2013-01-10 Glenn Morris <rgm@gnu.org>
4388
4389 * simple.el (execute-extended-command): Doc fix.
4390 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
4391
4392 2013-01-10 Chong Yidong <cyd@gnu.org>
4393
4394 * faces.el (read-face-name): Doc fix.
4395
4396 2013-01-10 Roland Winkler <winkler@gnu.org>
4397
4398 * emacs-lisp/crm.el: Allow any regexp for separators.
4399 (crm-default-separator): All spaces around the default comma separator.
4400 (crm--completion-command): New macro.
4401 (crm-completion-help, crm-complete, crm-complete-word): Use it.
4402 (crm-complete-and-exit): Handle non-single-char separators.
4403
4404 2013-01-09 Elias Pipping <pipping@lavabit.com>
4405
4406 * doc-view.el: Add support for DjVu (bug#13164).
4407 (doc-view-djvu->png-converter-function): New config var.
4408 (doc-view-single-page-converter-function, doc-view--image-type)
4409 (doc-view--image-file-extension): New vars.
4410 (doc-view-mode): Initialize them.
4411 (doc-view-goto-page): Use them.
4412 (doc-view-mode-p): Add support for ddjvu.
4413 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
4414 (doc-view-set-up-single-converter): New funs.
4415 (doc-view-pdf/ps->png): Extend for djvu.
4416 (doc-view-document->png): Rename from doc-view-pdf->png.
4417 (doc-view-convert-current-doc): Handle djvu.
4418 (doc-view-insert-image, doc-view-display)
4419 (doc-view-already-converted-p): Don't hardcode png.
4420 (doc-view-set-doc-type): Recognize djvu docs.
4421
4422 2013-01-09 Elias Pipping <pipping@lavabit.com>
4423
4424 * doc-view.el: Add support for mupdf converter (bug#13164).
4425 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
4426 (doc-view-ps->png-converter-function): New config vars.
4427 (doc-view-pdf->png-converter-ghostscript)
4428 (doc-view-ps->png-converter-ghostscript)
4429 (doc-view-pdf->png-converter-mupdf): New functions.
4430 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
4431
4432 2013-01-09 JĂ¼rgen Hötzel <juergen@archlinux.org>
4433
4434 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
4435 first in session cache: When `tramp-own-remote-path' is in
4436 `tramp-remote-path', the remote path is only set in the session
4437 cache.
4438
4439 2013-01-09 Glenn Morris <rgm@gnu.org>
4440
4441 * emacs-lisp/trace.el (trace-function-foreground)
4442 (trace-function-background): Doc fix.
4443
4444 2013-01-09 Juri Linkov <juri@jurta.org>
4445
4446 * international/mule-cmds.el (read-char-by-name): Move let-binding
4447 of completion-ignore-case around completing-read to fix regression
4448 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
4449 `string-match-p' using the nil value of `case-fold-search' and
4450 `completion-ignore-case' in `completion-pcm--all-completions'.
4451 (Bug#12615).
4452
4453 2013-01-09 Glenn Morris <rgm@gnu.org>
4454
4455 * progmodes/compile.el (compilation-parse-errors):
4456 Fix typo. (Bug#13369)
4457
4458 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4459
4460 * comint.el (comint-send-input): Check size of buffer before
4461 waiting for process output, in case already accepted. (Bug#13290)
4462
4463 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
4464
4465 Spelling fixes.
4466 * net/tramp-adb.el (tramp-adb-get-toolbox):
4467 Fix misspelling of 'unknown'.
4468
4469 2013-01-08 Juri Linkov <juri@jurta.org>
4470
4471 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4472 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4473 Use underline style wave on terminals that support it. (Bug#13000)
4474
4475 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4476
4477 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
4478 the predicate returns nil.
4479
4480 * simple.el: Use lexical-binding.
4481 (primitive-undo): Use pcase.
4482 (minibuffer-history-isearch-push-state): Use a closure.
4483
4484 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4485
4486 * simple.el (primitive-undo): Move from undo.c.
4487
4488 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4489
4490 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
4491 (cvs-mode-remove-handled): Use it (bug#13380).
4492
4493 * emacs-lisp/nadvice.el (advice--tweak): New function.
4494 (advice--remove-function, advice--subst-main): Use it.
4495
4496 * emacs-lisp/advice.el: Update commentary.
4497
4498 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
4499
4500 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4501 Remove spurious entry.
4502
4503 2013-01-08 Glenn Morris <rgm@gnu.org>
4504
4505 * net/tramp.el (tramp-default-host-alist): Add :version.
4506
4507 2013-01-08 Juri Linkov <juri@jurta.org>
4508
4509 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
4510 single completion. (Bug#12456)
4511 (info--manual-names): Expand node completions into an explicit list
4512 before appending it to another list. Filter out internal buffers
4513 with the leading space in the buffer name. (Bug#10771)
4514
4515 2013-01-08 Juri Linkov <juri@jurta.org>
4516
4517 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
4518 that defaults to the Top node.
4519 (Info-goto-node, Info-read-node-name): Doc fix to mention that
4520 the short format (FILENAME) goes to the Top node.
4521 (Info-build-node-completions): Rename arg `file' to `filename'.
4522 (Bug#13365)
4523
4524 2013-01-07 Bastien Guerry <bzg@gnu.org>
4525
4526 * menu-bar.el (menu-bar-search-documentation-menu):
4527 Use `apropos-user-option' and fix the help message.
4528
4529 2013-01-07 Bastien Guerry <bzg@gnu.org>
4530
4531 * apropos.el (apropos-do-all): Update docstring.
4532 (apropos-user-option-button): New face.
4533 (apropos-user-option): Rename from `apropos-variable' and update
4534 docstring.
4535 (apropos-variable): Rewrite, now show all variables by default.
4536 (apropos-print): Mention "User option" instead of "Variable" when
4537 printing doc for user options. (Bug#13276)
4538
4539 2013-01-07 JĂ¼rgen Hötzel <juergen@archlinux.org>
4540
4541 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4542 Handle filename correctly, when parsing "source -> target" symlink
4543 output.
4544 (tramp-adb-handle-set-file-times): New defun.
4545
4546 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
4547
4548 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
4549 advice list when the interactive-spec of ad-Advice-* changes.
4550
4551 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
4552
4553 * wid-edit.el (widget-default-get): Work for inlined elements.
4554 (Bug#12670)
4555
4556 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
4557
4558 * net/tramp.el (tramp-default-host-alist): New defcustom.
4559 (tramp-find-host): Use it.
4560 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
4561 `eshell-directory-change-hook'.
4562
4563 * net/tramp-adb.el (top): Add adb specific entry in
4564 `tramp-default-host-alist'.
4565 (tramp-adb-file-name-host): Remove function.
4566 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4567 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
4568
4569 * net/tramp-sh.el: Move eshell integration code to tramp.el.
4570
4571 2013-01-06 JĂ¼rgen Hötzel <juergen@archlinux.org>
4572
4573 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
4574
4575 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
4576
4577 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
4578 consist of more than one digit.
4579 (tramp-adb-file-name-handler-alist):
4580 Use `tramp-handle-file-exists-p' consistently.
4581 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
4582 (tramp-adb-handle-file-exists-p): Remove function.
4583 (tramp-adb-file-name-host): New defun.
4584 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4585 Use it.
4586 (tramp-adb-maybe-open-connection): Set "remote-path" property.
4587
4588 2013-01-06 Chong Yidong <cyd@gnu.org>
4589
4590 * vc/vc.el (vc-next-action): Detect buffer modifications
4591 conflicting with locking VCS operation (Bug#11490).
4592
4593 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
4594
4595 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
4596
4597 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4598 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
4599
4600 2013-01-05 JĂ¼rgen Hötzel <juergen@archlinux.org>
4601
4602 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
4603 parsing of ls output using regular expression (handle filenames
4604 with spaces). Use virtual device number.
4605 (tramp-do-parse-file-attributes-with-ls): New defun (Code
4606 cleanup).
4607
4608 2013-01-04 Daiki Ueno <ueno@gnu.org>
4609
4610 * epg.el: Silence byte-compiler warnings.
4611 (epg--start): Use delete-char instead of delete-backward-char.
4612 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
4613
4614 2013-01-04 Daiki Ueno <ueno@gnu.org>
4615
4616 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
4617 Suggested by Eli Zaretskii <eliz@gnu.org>.
4618
4619 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
4620
4621 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
4622 non-negative integers. Otherwise, the default values are used.
4623 (tramp-convert-file-attributes): Convert uid and gid to integers.
4624
4625 2013-01-04 Glenn Morris <rgm@gnu.org>
4626
4627 * term.el (term-handle-colors-array): Ensure face attributes
4628 are fully specified, not nil. (Bug#13337)
4629
4630 * term.el (term-default-fg-color, term-default-bg-color):
4631 Fix custom type.
4632
4633 * progmodes/etags.el (tags-compression-info-list): Doc fix.
4634 (tag-find-file-of-tag-noselect): Check auto-compression-mode
4635 rather than 'jka-compr being loaded. (Bug#13338)
4636
4637 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
4638
4639 * icomplete.el (icomplete-completions):
4640 Honor icomplete-prospects-height once more following
4641 2012-11-29 changes. (Bug#13224)
4642
4643 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
4644
4645 * subr.el (internal--called-interactively-p--get-frame): Find aliases
4646 of called-interactively-p as well (bug#13237).
4647
4648 * view.el (view--enable, view--disable): Rename from view-mode-enable
4649 and view-mode-disable and assume it's called from view-mode.
4650 (view-mode-enable, view-mode-disable): Redefine as obsolete
4651 compatibility layer above view-mode.
4652 (view-mode-enter): Call `view-mode'.
4653
4654 * files.el (after-find-file): Call `view-mode'.
4655
4656 * doc-view.el (doc-view-scale-internally): New var.
4657 (doc-view-enlarge, doc-view-insert-image): Obey it.
4658
4659 2013-01-03 Daiki Ueno <ueno@gnu.org>
4660
4661 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
4662 exist. (Bug#13344)
4663
4664 2013-01-03 Glenn Morris <rgm@gnu.org>
4665
4666 * mail/rmail.el (rmail-set-header-1): Ignore case.
4667 Handle multi-line headers. (Bug#13330)
4668
4669 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
4670 Handle paragraph starting at beginning of buffer.
4671
4672 * subr.el (eval-after-load): Don't purecopy the form, so that it
4673 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
4674
4675 * emacs-lisp/byte-run.el (defun): Place cl declarations
4676 after any interactive spec. (Bug#13265)
4677
4678 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4679
4680 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
4681 defun. Don't check for DECL if DOCSTRING isn't a string.
4682 (defun): Likewise.
4683
4684 2013-01-02 Glenn Morris <rgm@gnu.org>
4685
4686 * eshell/em-cmpl.el (eshell-pcomplete):
4687 More thoroughly imitate pcomplete. (Bug#13293)
4688
4689 * files.el (parse-colon-path): Doc fix. (Bug#12351)
4690 Return nil for empty path elements. (Bug#13296)
4691
4692 2013-01-02 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4693
4694 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
4695 order to improve efficiency (Based on Daniel Colascione's
4696 <dancol@dancol.org> patch). (Bug#13182)
4697
4698 2013-01-02 Glenn Morris <rgm@gnu.org>
4699
4700 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
4701
4702 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4703
4704 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
4705 neither DOCSTRING nor DECL was given. (Bug#13316)
4706
4707 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
4708
4709 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
4710 `error' call.
4711 (tramp-do-copy-or-rename-file): Ignore errors when calling
4712 `set-file-extended-attributes'.
4713
4714 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4715 Add handler for `file-acl'.
4716 (tramp-smb-handle-file-acl): New defun.
4717
4718 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
4719
4720 * calc/README: Mention ISO 8601 week-numbering dates.
4721
4722 2013-01-01 Martin Rudalics <rudalics@gmx.at>
4723
4724 * view.el (view-mode-enable): New argument run-view-mode-hook.
4725 Run view-mode-hook only when it's non-nil (Bug#13315).
4726 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
4727 argument t.
4728
4729 2012-12-31 JĂ¼rgen Hötzel <juergen@archlinux.org>
4730
4731 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
4732 (No device connected, invalid device name). (Bug #13299)
4733
4734 2012-12-31 Martin Rudalics <rudalics@gmx.at>
4735
4736 * window.el (window-resizable--p): Rename to window-resizable-p.
4737 (window-resize-no-error): New function.
4738
4739 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
4740 broken in fix from 2012-12-28.
4741
4742 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
4743
4744 * subr.el (special-form-p): Don't signal errors on undef aliases.
4745
4746 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
4747
4748 * calc/calc-forms.el (math-parse-date): Try using
4749 `math-parse-iso-date' when it looks like it might be needed.
4750 Allow times of 24:00.
4751 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
4752 of 24:00.
4753
4754 2012-12-30 Glenn Morris <rgm@gnu.org>
4755
4756 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
4757 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
4758 (rmail-summary-displayed, rmail-summary): Declare.
4759 (mairix-rmail-display): Just require rmail.
4760
4761 2012-12-30 Chong Yidong <cyd@gnu.org>
4762
4763 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
4764 check for the tarball contents.
4765
4766 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
4767
4768 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
4769 tarfile content listings (Bug#13136).
4770
4771 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
4772
4773 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4774 Insert the undecoded text of the message being forwarded. (Bug#9521)
4775
4776 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
4777
4778 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
4779 integers, if they are real numbers. (Bug#13282)
4780
4781 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
4782 Return `t' on success.
4783
4784 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4785 Add handler for `set-file-selinux-context'.
4786
4787 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
4788
4789 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
4790 (tramp-sh-handle-set-file-acl): Return `t' on success.
4791
4792 2012-12-29 Eli Zaretskii <eliz@gnu.org>
4793
4794 * files.el (backup-buffer-copy, basic-save-buffer-2):
4795 If set-file-extended-attributes fails, fall back on set-file-modes
4796 instead of signaling an error. (Bug#13298)
4797 (basic-save-buffer): Likewise.
4798
4799 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4800
4801 * progmodes/python.el: Support other commands triggering
4802 python-indent-line so indentation cycling continues to work.
4803 (python-indent-trigger-commands): New defcustom.
4804 (python-indent-line): Use it.
4805
4806 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4807
4808 * progmodes/python.el (python-shell-send-region): Add blank lines
4809 for non sent code so backtraces remain correct.
4810
4811 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4812
4813 * progmodes/python.el: Remove cl dependency.
4814 (python-syntax-count-quotes): Replace incf call.
4815 (python-fill-string): Replace setf call.
4816
4817 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
4818
4819 * info.el (info-other-window): New arg, for consistency with info.
4820
4821 2012-12-28 Martin Rudalics <rudalics@gmx.at>
4822
4823 * mail/rmail.el (rmail-maybe-display-summary):
4824 Rewrite (Bug#13066).
4825
4826 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
4827
4828 * epg.el (epg--start): Modify process-environment locally.
4829
4830 2012-12-28 Daiki Ueno <ueno@gnu.org>
4831
4832 * epg.el: Support pinentry-curses.
4833 Suggested by Werner Koch in
4834 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
4835 (epg-agent-file, epg-agent-mtime): New variable.
4836 (epg--start): Record the modified time of gpg-agent socket file,
4837 to restore Emacs frame after pinentry-curses termination.
4838 (epg-wait-for-completion): Restore Emacs frame here.
4839
4840 2012-12-27 Juri Linkov <juri@jurta.org>
4841
4842 * info.el (Info-file-completions): New variable.
4843 (Info-read-node-name-1): Complete node names in the Info file
4844 when a file name is given. Call `Info-build-node-completions'
4845 with a file name.
4846 (Info-build-node-completions): Add new arg `file'. When it is
4847 non-nil, visit it in a temporary buffer and cache its completions in
4848 `Info-current-file-completions'. Move most of the function body to
4849 `Info-build-node-completions-1'.
4850 (Info-build-node-completions-1): New function with the body from
4851 `Info-build-node-completions'. (Bug#12456)
4852
4853 2012-12-27 Juri Linkov <juri@jurta.org>
4854
4855 * frame.el (frame-maximization-style): Remove user option.
4856 (cycle-frame-maximized): Remove function.
4857 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
4858 (toggle-frame-fullscreen): New command bound to <f11> instead of
4859 `toggle-frame-maximized'.
4860 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
4861
4862 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
4863
4864 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
4865
4866 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4867 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4868 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4869 for `file-accessible-directory-p'. (Bug#13275)
4870
4871 2012-12-27 Sam Steingold <sds@gnu.org>
4872
4873 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
4874 continuations, see <http://stackoverflow.com/questions/3582436>.
4875
4876 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
4877
4878 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
4879 "module" and "def" to have indentation before them.
4880 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
4881
4882 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
4883
4884 2012-12-27 Alan Mackenzie <acm@muc.de>
4885
4886 Speed up fontification where there's large brace blocks.
4887 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
4888 to a call of c-beginning-of-decl-1.
4889
4890 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4891
4892 * comint.el (comint-adjust-window-point): New function.
4893 (comint-postoutput-scroll-to-bottom):
4894 Call comint-adjust-window-point (Bug#13248).
4895
4896 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
4897
4898 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
4899 Rakefile regexp.
4900 (auto-mode-alist): Associate .gemspec files with ruby-mode
4901 (https://bugs.ruby-lang.org/issues/5453).
4902
4903 2012-12-26 JĂ¼rgen Hötzel <juergen@archlinux.org>
4904
4905 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
4906 Suppress coloring, if possible (required for BusyBox based systems like
4907 CyanogenMod).
4908 (tramp-adb-handle-file-attributes)
4909 (tramp-adb-handle-insert-directory)
4910 (tramp-adb-handle-file-name-all-completions): Use it.
4911 (tramp-adb-get-toolbox): New defun. Check for remote shell
4912 implementation (BusyBox or Toolbox).
4913
4914 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
4915
4916 * startup.el (initial-buffer-choice): Allow function as value
4917 (Bug#13251).
4918 (command-line-1): Handle case where initial-buffer-choice
4919 specifies a function.
4920 * server.el (server-execute): Handle case where
4921 initial-buffer-choice specifies a function.
4922
4923 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4924
4925 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
4926 its own function.
4927 (smtpmail-try-auth-methods): Forget the user name/password if the
4928 login is unsuccessful (bug#12424).
4929
4930 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
4931
4932 * notifications.el (notifications-notify): Protect body with
4933 `with-demoted-errors'.
4934
4935 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4936 Check properties of remote device. Restart connection, if there is a
4937 change.
4938
4939 2012-12-21 Chong Yidong <cyd@gnu.org>
4940
4941 * sort.el (sort-subr): Doc fix (Bug#13056).
4942
4943 2012-12-21 Bastien Guerry <bzg@gnu.org>
4944
4945 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
4946
4947 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
4948
4949 * simple.el (process-file): Overwrite stderr file, if exists.
4950
4951 2012-12-21 Daiki Ueno <ueno@gnu.org>
4952
4953 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
4954 (epg-error): Set `error-message' property.
4955
4956 2012-12-21 Chong Yidong <cyd@gnu.org>
4957
4958 * international/mule-cmds.el (read-char-by-name): Signal an error
4959 if the user does not supply a valid character (Bug#13177).
4960
4961 * simple.el (transpose-subr-1): Preserve marker positions by
4962 changing the insertion sequence (Bug#13122).
4963
4964 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4965
4966 * simple.el (kill-region): Deactivate mark even for empty regions
4967 (Bug#13169).
4968
4969 2012-12-21 Chong Yidong <cyd@gnu.org>
4970
4971 * help-fns.el (describe-variable): Make sure we get the right
4972 buffer name (Bug#13105). Suggested by Kelly Dean.
4973
4974 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
4975
4976 * comint.el (comint-redirect-previous-input-string): New variable.
4977 (comint-redirect-setup, comint-redirect-cleanup)
4978 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
4979 (comint-redirect-preoutput-filter): Fix verbose message.
4980
4981 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
4982
4983 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
4984 is too long for Tramp. See discussion in
4985 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
4986
4987 * progmodes/compile.el (compilation-start): Remove line escape
4988 template.
4989
4990 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
4991
4992 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
4993 Adjust comment.
4994
4995 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
4996
4997 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
4998 following non-comment text (bug#13207).
4999 (lm-header-multiline): Continuation lines need to be indented more than
5000 the first line.
5001 (lm-homepage): New function.
5002 (lm-with-file): Don't be confused if narrowing is in effect.
5003
5004 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5005
5006 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
5007 very beginning of a hunk (e.g. killing the first line).
5008
5009 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
5010
5011 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
5012 and text properties from returned ACL string.
5013 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
5014 for "setfacl" command.
5015
5016 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
5017
5018 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
5019 `tramp-cleanup-this-connection', when the process has died.
5020 (Bug#13151)
5021
5022 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5023
5024 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
5025
5026 2012-12-17 Kevin Ryde <user42@zip.com.au>
5027
5028 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
5029
5030 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
5031
5032 Add support for preserving ACL entries of files.
5033
5034 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
5035 `set-file-acl' handlers.
5036
5037 * net/tramp-adb.el (tramp-adb-handle-copy-file):
5038 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5039
5040 * net/tramp-compat.el (tramp-compat-copy-file):
5041 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5042
5043 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5044 Add `file-acl' and `set-file-acl' handlers.
5045 (tramp-gvfs-handle-copy-file):
5046 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5047 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
5048 New defuns.
5049
5050 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5051 Add `file-acl' and `set-file-acl' handlers.
5052 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
5053 (tramp-sh-handle-set-file-acl): New defuns.
5054 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
5055 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5056
5057 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5058 Add `file-acl' and `set-file-acl' handlers.
5059 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
5060
5061 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5062
5063 * help-macro.el (make-help-screen): Instead of switch-to-buffer
5064 use pop-to-buffer with NORECORD argument t. As buffer name, use
5065 *Metahelp* with a leading space (Bug#13190).
5066
5067 2012-12-16 Romain Francoise <romain@orebokech.com>
5068
5069 * files.el (file-extended-attributes)
5070 (set-file-extended-attributes): New functions.
5071 (backup-buffer): Use them to handle both SELinux context and ACL
5072 entries.
5073 (backup-buffer-copy): Work with an alist of extended attributes,
5074 rather than an SELinux context.
5075 (basic-save-buffer-2): Ditto.
5076
5077 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
5078
5079 * battery.el (battery-bsd-apm): New function.
5080
5081 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
5082
5083 * calc/calc.el (calc-standard-date-formats): Adjust one of the
5084 standard date formats.
5085
5086 2012-12-15 Juri Linkov <juri@jurta.org>
5087
5088 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
5089 `isearch-insert-char-by-name'.
5090 (with-isearch-suspended): New defmacro with body mostly from
5091 `isearch-edit-string' except the part that sets
5092 `isearch-new-string' and `isearch-new-message'.
5093 (isearch-edit-string): Use new macro `with-isearch-suspended' with
5094 body that sets `isearch-new-string' and `isearch-new-message'.
5095 (isearch-insert-char-by-name): New command.
5096 * international/mule-cmds.el (read-char-by-name): Let-bind
5097 `enable-recursive-minibuffers' to t.
5098 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
5099
5100 2012-12-15 Juri Linkov <juri@jurta.org>
5101
5102 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
5103 (Bug#13175)
5104
5105 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
5106
5107 * dired-x.el (dired-guess-shell-command): Put colon at the end of
5108 the prompt. (Bug#13045)
5109
5110 2012-12-14 Glenn Morris <rgm@gnu.org>
5111
5112 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
5113 Try to include filename in non-bytecomp warning. (Bug#13132)
5114
5115 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
5116
5117 Fix permissions bugs with setgid directories etc. (Bug#13125)
5118 * files.el (backup-buffer): Don't rely on 9th output of
5119 file-attributes, as it's now a placeholder. Instead, use the new
5120 optional arg of file-ownership-preserved-p.
5121 (file-ownership-preserved-p): New optional arg GROUP.
5122 Fix mishandling of setuid directories that would cause this
5123 function to return t when it should have returned nil.
5124 Document what happens if the file does not exist, and when
5125 it's not known whether the ownership will be preserved.
5126 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
5127 Likewise.
5128 (tramp-get-local-gid): Use group-gid for integer, as that's
5129 faster and more reliable.
5130
5131 2012-12-14 Julien Danjou <julien@danjou.info>
5132
5133 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
5134 Update keywords list, data type and PL/pgSQL.
5135
5136 2012-12-14 Dave Abrahams <dave@boostpro.com>
5137
5138 * vc/ediff-util.el (ediff-buffer-type): New function.
5139 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
5140 rather than taking it as as argument.
5141 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
5142
5143 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
5144
5145 * json.el: Add pretty-print option (bug#12634).
5146 (json-encoding-separator, json-encoding-default-indentation)
5147 (json--encoding-current-indentation, json-encoding-pretty-print)
5148 (json-encoding-lisp-style-closings): New vars.
5149 (json--with-indentation): New macro.
5150 (json-encode-hash-table, json-encode-alist, json-encode-plist)
5151 (json-encode-array): Use it to obey json-encoding-pretty-print.
5152 (json-pretty-print-buffer, json-pretty-print): New commands.
5153
5154 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
5155
5156 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5157 Extract `ruby-syntax-propertize-expansions'.
5158 (ruby-syntax-propertize-expansions): Only change syntax on
5159 certain string delimiters, to punctuation. This way the common
5160 functions like forward-word and thing-at-point still work.
5161 (ruby-match-expression-expansion): Improve readability.
5162 (ruby-block-contains-point): New function.
5163 (ruby-add-log-current-method): Handle several edge cases.
5164
5165 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5166
5167 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
5168 unload-feature finishes even when aborting an ongoing edebug session.
5169 Also, do not worry about edebug-mode, unload-feature takes care of it.
5170
5171 2012-12-13 Andreas Schwab <schwab@suse.de>
5172
5173 * net/tls.el (tls-program): Update customize type.
5174
5175 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5176
5177 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
5178 (edebug-setup-hook, cl-read-load-hooks): Use it.
5179 (edebug-unload-function): New function. (Bug#13163)
5180
5181 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
5182
5183 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
5184 Otherwise, there could be errors in autoloading. (Bug#13151)
5185
5186 2012-12-13 JĂ¼rgen Hötzel <juergen@archlinux.org>
5187
5188 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
5189 sequences.
5190
5191 2012-12-13 Alan Mackenzie <acm@muc.de>
5192
5193 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
5194 * progmodes/cc-engine.el (c-backward-comments): Add code to work
5195 around `forward-comment' not recognizing ^M as whitespace.
5196
5197 2012-12-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5198
5199 * progmodes/python.el (python-skeleton-class)
5200 (python-skeleton-def): Do not add space after defun name.
5201
5202 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5203
5204 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
5205 (cl--symbol-function): Remove (now that funbound is like nil).
5206
5207 2012-12-12 Glenn Morris <rgm@gnu.org>
5208
5209 * button.el (button--area-button-p): Fix typo.
5210
5211 2012-12-12 Sam Steingold <sds@gnu.org>
5212
5213 * frame.el (frame-maximization-style): New user option.
5214 (toggle-frame-maximized): Toggle frame maximization according to
5215 `frame-maximization-style', bound to <f11>.
5216 (cycle-frame-maximized): Cycle between all maximization styles and
5217 non-maximized frame, bound to shift-<f11>.
5218
5219 2012-12-12 David Cadé <codename68@gmail.com>
5220
5221 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
5222
5223 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
5224
5225 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
5226 (eieio-override-prin1): Don't quote kewords and booleans.
5227 (object-write) <eieio-default-superclass>: Don't put closing parens
5228 on new line, avoid needless empty lines, align values that are objects
5229 with the slot keyword (instead of beginning on the same line).
5230 (eieio-list-prin1): Align value with slot keyword; increase
5231 eieio-print-depth before printing members of the list.
5232
5233 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5234
5235 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
5236 a display text-property.
5237 (report-emacs-bug-hook): Don't bother deleting it any more.
5238
5239 * hilit-chg.el (highlight-save-buffer-state): Delete.
5240 Use with-silent-modifications instead.
5241 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
5242
5243 * button.el: Handle buttons in display text-properties.
5244 (button--area-button-p, button--area-button-string):
5245 Use (STRING . STRING-POS) representation instead of just STRING.
5246
5247 2012-12-11 Eli Zaretskii <eliz@gnu.org>
5248
5249 * makefile.w32-in (compile4-SH): Fix a typo that caused term
5250 subdirectory be skipped.
5251
5252 2012-12-11 Glenn Morris <rgm@gnu.org>
5253
5254 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
5255
5256 * progmodes/f90.el (f90-line-continued, f90-indent-region):
5257 Treat preprocessor lines embedded in continuations like comments.
5258 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
5259
5260 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
5261
5262 * calc/calc.el (calc-standard-date-formats): Add more date
5263 formats.
5264 * calc/calc-forms.el (math-parse-iso-date): New function.
5265 (math-parse-date): Use `math-parse-iso-date' when appropriate.
5266 (math-parse-iso-date-validate): Add extra error checking.
5267 (calc-date-notation): Add ability to access new date formats.
5268
5269 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5270
5271 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
5272 font-lock as well as when there's no text-property.
5273
5274 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
5275
5276 * hi-lock.el: Refine the choice of default face.
5277 (hi-lock-keyword->face): New function. Use it wherever we used
5278 cadadadr instead.
5279 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
5280 (hi-lock--last-face): Remove var.
5281 (hi-lock--unused-faces): New var to replace it.
5282 (hi-lock-read-face-name): Use/maintain it.
5283 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
5284 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
5285 if it has another face.
5286
5287 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5288
5289 * subr.el (w32notify-handle-event): New function.
5290 (inotify-handle-event): Doc fix.
5291
5292 2012-12-10 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
5293
5294 * subr.el (inotify-event-p, inotify-handle-event): New functions.
5295
5296 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
5297
5298 * simple.el (just-one-space): Doc fix.
5299
5300 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5301
5302 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
5303
5304 2012-12-10 Le Wang <l26wang@gmail.com>
5305
5306 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
5307 narrowed buffer (bug#12361).
5308
5309 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
5310
5311 * vc/vc-hooks.el (vc-state): Doc fix.
5312
5313 2012-12-10 Glenn Morris <rgm@gnu.org>
5314
5315 * mail/rmail.el (rmail-maybe-display-summary):
5316 Preserve buffer, in case select-window changes it. (Bug#13066)
5317
5318 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5319
5320 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
5321 cl-load-hook where they belong.
5322
5323 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5324
5325 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
5326
5327 2012-12-09 Eli Zaretskii <eliz@gnu.org>
5328
5329 Parallelize byte compilation on MS-Windows.
5330 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
5331 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
5332 (WINS_BASIC): Define as concatenation of the above.
5333 (compile): Subdivide into 4 separate and independent jobs that can
5334 be run in parallel.
5335 (compile0-CMD, compile0-SH): New targets for compiling
5336 COMPILE_FIRST files, which are prerequisites for the rest of the
5337 byte-compilation.
5338 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
5339 New targets for parallel compilation with cmd.exe.
5340 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
5341 compiling under a Unixy shell.
5342
5343 2012-12-09 Chong Yidong <cyd@gnu.org>
5344
5345 * simple.el (set-mark-default-inactive): Delete this
5346 accidentally-introduced option.
5347 (set-mark-command, exchange-point-and-mark): Remove calls.
5348
5349 2012-12-09 Glenn Morris <rgm@gnu.org>
5350
5351 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
5352 Respect a defcustom's :set function, if appropriate. (Bug#109)
5353 (eval-defun): Doc fix.
5354
5355 2012-12-08 Juri Linkov <juri@jurta.org>
5356
5357 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
5358 (Info-fontify-node, Info-bookmark-make-record): Remove the
5359 file extension from Info-current-file (Bug#13016).
5360
5361 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5362
5363 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
5364 point, still provide some default.
5365 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
5366 names, since we don't use it right now. Actually return the list.
5367 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
5368
5369 2012-12-07 Chong Yidong <cyd@gnu.org>
5370
5371 * novice.el (disabled-command-function): Remove a spurious help
5372 xref (Bug#13043). Suggested by Kelly Dean.
5373
5374 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
5375 syntax is specified (Bug#13025).
5376
5377 * info.el (Info-set-mode-line): Remove the file extension from
5378 Info-current-file if there is one (Bug#13016).
5379
5380 2012-12-07 Glenn Morris <rgm@gnu.org>
5381
5382 * mail/rmail.el (rmail-mime-decoded): New permanent local.
5383 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
5384 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
5385 and rmail-mime-decoded. (Bug#9841)
5386
5387 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
5388 (batch-unrmail, unrmail): Doc fixes.
5389 (unrmail): Respect unrmail-mbox-format.
5390 * mail/rmail.el (rmail-mbox-format): New option.
5391 (rmail-show-message-1): Respect rmail-mbox-format.
5392
5393 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5394
5395 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
5396
5397 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5398
5399 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
5400 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
5401 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
5402 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
5403 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
5404 (cl-progv): Don't rely on dynamic scoping to find the body.
5405 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
5406 (cl--proclaims-deferred): Rename from the "cl-" prefix.
5407 (cl-declaim): Use backquotes.
5408 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
5409 Use "cl--" prefix for the object's tag.
5410
5411 * ses.el: Use advice-add/remove.
5412 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
5413 (copy-region-as-kill, yank): Use advice-add.
5414 (ses-unload-function): Use advice-remove.
5415
5416 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
5417
5418 * button.el: Make them work in header-lines (bug#12817).
5419 (button-map): Add bindings for header-line and mode-line use.
5420 (button-get, button-put, button-label): `button' may now be a string.
5421 (button-activate): Don't make it a defsubst.
5422 (button--area-button-p, button--area-button-string): New functions.
5423 (make-text-button): Fix the return value when `beg' was a string.
5424 (push-button): Handle the mode-line case.
5425
5426 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5427
5428 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
5429 (sql-signum): Remove. Use `cl-signum' instead.
5430 (sql-read-passwd): Remove; use read-passwd instread.
5431 (sql-get-login-ext): Use read-string.
5432 (sql-get-login): Use dolist and pcase.
5433 (sql--completion-table): Rename from sql-try-completion.
5434 Use complete-with-action.
5435 (sql-mode): Don't change abbrev-all-caps globally.
5436 (sql-connect): Don't rely on dynamic scoping for `new-name'.
5437 (sql-postgres-completion-object): Initialize vars in their `let'.
5438 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
5439 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
5440 (sql-comint-interbase): Use a single append, without setq.
5441 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
5442
5443 * hi-lock.el: Rework the default face and the serialize regexp code.
5444 (hi-lock--auto-select-face-defaults): Remove.
5445 (hi-lock-string-serialize-serial): Remove.
5446 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
5447 make weak.
5448 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
5449 equal string.
5450 (hi-lock-set-pattern): Adjust accordingly.
5451 (hi-lock--regexps-at-point): Simplify accordingly.
5452 (hi-lock--auto-select-face-defaults): Remove.
5453 (hi-lock--last-face): New var to replace it.
5454 (hi-lock-read-face-name): Rewrite (bug#11095).
5455 (hi-lock-unface-buffer): Arrange for the face to be the next default.
5456
5457 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
5458
5459 * net/tramp.el (tramp-replace-environment-variables):
5460 Hide compiler warning.
5461 (tramp-file-name-for-operation): Remove `executable-find',
5462 `start-process', `call-process' and `call-process-region'.
5463
5464 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5465
5466 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
5467 compatibility.
5468
5469 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
5470
5471 2012-12-06 Chong Yidong <cyd@gnu.org>
5472
5473 * ffap.el (ffap-replace-file-component): Fix typo.
5474
5475 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5476
5477 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
5478 fix open-paren-like token test (bug#12785).
5479
5480 2012-12-06 Glenn Morris <rgm@gnu.org>
5481
5482 * mail/rmailsum.el (rmail-new-summary): Tweak for
5483 rmail-maybe-display-summary changing buffer. (Bug#13066)
5484
5485 2012-12-06 Juri Linkov <juri@jurta.org>
5486
5487 * info.el (Info-fontify-node): Don't hide the last newline.
5488 (Bug#12272)
5489
5490 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
5491
5492 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
5493 so as to enable message-read-from-minibuffer to expand mail aliases.
5494
5495 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5496
5497 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
5498 the `intangible' property.
5499 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
5500
5501 2012-12-05 Deniz Dogan <deniz@dogan.se>
5502
5503 * net/rcirc.el (rcirc-urls): Update documentation.
5504 (rcirc-condition-filter): New function.
5505 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
5506 and exclude consecutive duplicate URLs (Bug#6082).
5507
5508 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
5509
5510 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5511 Check return code of copy command.
5512
5513 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
5514 Use group `tramp'. Add version.
5515
5516 2012-12-05 Chong Yidong <cyd@gnu.org>
5517
5518 * ffap.el (ffap-url-regexp): Don't require matching at front of
5519 string (Bug#4952).
5520 (ffap-url-p): If only a substring matches, return that.
5521 (ffap-url-at-point): Use the return value of ffap-url-p.
5522 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
5523 (find-file-at-point, dired-at-point, dired-at-point-prompter)
5524 (ffap-guess-file-name-at-point): Likewise.
5525 (ffap-replace-file-component): Fix typo.
5526
5527 * info.el (info-display-manual): Add existing Info buffers, whose
5528 files may not be in Info-directory-list, to the completion.
5529 (info--manual-names): New helper function.
5530
5531 2012-12-05 Glenn Morris <rgm@gnu.org>
5532
5533 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
5534 New functions, for detecting and resolving conflicts. (Bug#10709)
5535
5536 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
5537
5538 * hi-lock.el (hi-lock-auto-select-face): New user variable.
5539 (hi-lock-auto-select-face-defaults): New buffer local variable.
5540 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
5541 (hi-lock-unface-buffer): Prompt user with useful defaults.
5542 With prefix arg, unhighlight all hi-lock patterns in buffer.
5543
5544 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5545
5546 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
5547
5548 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
5549
5550 * Makefile.in (TRAMP_SRC):
5551 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
5552
5553 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
5554
5555 * net/tramp-adb.el: New package.
5556
5557 2012-12-04 Chong Yidong <cyd@gnu.org>
5558
5559 * terminal.el: Move to obsolete/.
5560
5561 * longlines.el: Move to obsolete/.
5562
5563 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
5564 Remove code referring to longlines mode.
5565
5566 2012-12-03 Juri Linkov <juri@jurta.org>
5567
5568 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
5569
5570 2012-12-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
5571
5572 * textmodes/ispell.el (ispell-init-process)
5573 (ispell-start-process, ispell-internal-change-dictionary):
5574 Make sure personal dictionary name is expanded after initial
5575 `default-directory' value. Use expanded strings for
5576 keep/restart checks and for value (Bug#13019).
5577
5578 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5579
5580 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
5581
5582 2012-12-03 Leo Liu <sdl.web@gmail.com>
5583
5584 * files.el (dir-locals-read-from-file): Check file non-empty
5585 before reading. (Bug#13038)
5586
5587 2012-12-03 Glenn Morris <rgm@gnu.org>
5588
5589 * jka-cmpr-hook.el (jka-compr-get-compression-info):
5590 Remove any version extension before checking filename. (Bug#13006)
5591 (jka-compr-compression-info-list): Belated :version bump.
5592
5593 2012-12-03 Chong Yidong <cyd@gnu.org>
5594
5595 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
5596
5597 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
5598 (buffer-menu): Doc fix (Bug#12294).
5599
5600 2012-12-03 Roland Winkler <winkler@gnu.org>
5601
5602 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
5603 of diary-show-all-entries in the diary buffer (Bug#12994).
5604
5605 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
5606
5607 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
5608 "<STDIN>". This is binary safe.
5609
5610 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5611
5612 * calc/calc-forms.el (math-absolute-from-iso-dt)
5613 (math-date-to-iso-dt, math-parse-iso-date-validate)
5614 (math-iso-dt-to-date): New functions.
5615 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
5616 (math-fd-isoweekday): New variables.
5617 (calc-date-notation, math-parse-standard-date, math-format-date)
5618 (math-format-date-part): Add support for more formatting codes.
5619
5620 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
5621
5622 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
5623 current buffer's file name when called interactively (Bug#12488).
5624
5625 2012-12-02 Juri Linkov <juri@jurta.org>
5626
5627 * info.el (info-display-manual): Don't clobber an existing Info
5628 buffer (Bug#10770). Add completion (Bug#10771).
5629
5630 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
5631
5632 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
5633 before using it for comparison (Bug#5297).
5634
5635 2012-12-01 Jari Aalto <jari.aalto@cante.net>
5636
5637 * textmodes/css-mode.el (css-current-defun-name): New function.
5638 (css-mode): Use it.
5639
5640 * textmodes/sgml-mode.el (html-current-defun-name): New function.
5641 (html-mode): Use it.
5642
5643 2012-12-01 Chong Yidong <cyd@gnu.org>
5644
5645 Modularize add-log-current-defun (Bug#2224).
5646 Suggested by Jari Aalto.
5647
5648 * vc/add-log.el (add-log-current-defun-function): Doc fix.
5649 (add-log-current-defun): Move mode-specific code to other files.
5650 (add-log-lisp-like-modes, add-log-c-like-modes)
5651 (add-log-tex-like-modes): Variables deleted.
5652
5653 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
5654 (lisp-mode-variables): Use it.
5655
5656 * progmodes/cc-mode.el (c-common-init):
5657 * progmodes/cperl-mode.el (cperl-mode): Set a value for
5658 add-log-current-defun-function.
5659
5660 * progmodes/m4-mode.el (m4-current-defun-name): New function.
5661 (m4-mode): Use it.
5662
5663 * progmodes/perl-mode.el (perl-current-defun-name): New.
5664 (perl-mode): Use it.
5665
5666 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
5667 Use lisp-current-defun-name.
5668
5669 * textmodes/tex-mode.el (tex-current-defun-name): New.
5670 (tex-common-initialization): Use it.
5671
5672 * textmodes/texinfo.el (texinfo-current-defun-name): New.
5673 (texinfo-mode): Use it.
5674
5675 2012-12-01 Chong Yidong <cyd@gnu.org>
5676
5677 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
5678 * progmodes/autoconf.el (autoconf-mode):
5679 * progmodes/js.el (js-mode):
5680 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
5681 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
5682 * progmodes/perl-mode.el (perl-mode):
5683 * progmodes/sh-script.el (sh-mode, sh-set-shell):
5684 * textmodes/css-mode.el (css-mode):
5685 * textmodes/sgml-mode.el (html-mode, sgml-mode)
5686 (sgml-tags-invisible, sgml-guess-indent):
5687 * textmodes/tex-mode.el (tex-common-initialization)
5688 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
5689 (doctex-mode, plain-tex-mode, latex-mode):
5690 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
5691
5692 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
5693
5694 * vc/vc-hg.el (vc-hg-next-revision):
5695 Ensure use of default "tip" output format. (Bug#6968)
5696
5697 2012-12-01 Kim F. Storm <storm@cua.dk>
5698
5699 * startup.el (fancy-startup-tail): Add a clickable link
5700 (Bug#2176).
5701
5702 2012-12-01 Chong Yidong <cyd@gnu.org>
5703
5704 * startup.el (fancy-startup-tail): Improve the message about
5705 auto-save files (Bug#2176).
5706
5707 * files.el (recover-session): Improve the descriptive message, and
5708 use substitute-command-keys.
5709
5710 2012-12-01 Glenn Morris <rgm@gnu.org>
5711
5712 * ido.el (ido-file-internal):
5713 Handle other-window, other-frame for dired. (Bug#13036)
5714
5715 2012-11-30 Glenn Morris <rgm@gnu.org>
5716
5717 * icomplete.el (icomplete-separator): Fix :version.
5718
5719 2012-11-30 Chong Yidong <cyd@gnu.org>
5720
5721 * shell.el (shell): For C-u M-x shell, use an inactive shell
5722 buffer as the default (Bug#1975).
5723 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
5724 (shell-mode): Use them to reapply ansi colorization if Shell mode
5725 is re-enabled.
5726
5727 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
5728
5729 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
5730
5731 2012-11-30 Samuel Bronson <naesten@gmail.com>
5732
5733 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
5734 flag to xargs, for compatibility with BSD xargs (Bug#11703).
5735
5736 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5737
5738 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
5739 by move-to-column (Bug#3234).
5740
5741 2012-11-30 Chong Yidong <cyd@gnu.org>
5742
5743 * longlines.el (longlines-wrap-line, longlines-encode-region):
5744 Preserve text properties (Bug#1425).
5745
5746 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5747
5748 * vc/vc.el (vc-register): Allow registering a file which is
5749 already registered with a different backend (Bug#10589).
5750
5751 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
5752 Stefan Monnier <monnier@iro.umontreal.ca>
5753
5754 * icomplete.el: Change separator; add ido-style commands.
5755 (icomplete-show-key-bindings): Remove custom var.
5756 (icomplete-get-keys): Remove function.
5757 (icomplete-forward-completions, icomplete-backward-completions):
5758 New commands.
5759 (icomplete-minibuffer-map): New var.
5760 (icomplete-minibuffer-setup): Use it.
5761 (icomplete-exhibit): Don't delay if the list of completions is known.
5762 (icomplete-separator): New custom.
5763 (icomplete-completions): Use it.
5764 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
5765 (minibuffer-force-complete-and-exit): New command.
5766 (minibuffer--complete-and-exit): New function extracted from
5767 minibuffer-complete-and-exit.
5768 (minibuffer-complete-and-exit): Use it.
5769
5770 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
5771 error message when the file doesn't exist (bug#12974).
5772
5773 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5774
5775 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
5776
5777 2012-11-29 Glenn Morris <rgm@gnu.org>
5778
5779 * files.el (hack-dir-local-variables): Warn if try to set
5780 coding via dir-locals, since it doesn't work. (Bug#7169)
5781
5782 Add desktop support for restoring vc-dir buffers. (Bug#10606)
5783 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
5784 Set buffer-local value of desktop-save-buffer.
5785 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
5786 New functions.
5787 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
5788 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
5789
5790 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
5791 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
5792 Doc fix.
5793 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
5794 Doc fixes.
5795
5796 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
5797
5798 * calc/calc-forms.el (calc-date-notation): Fix regexp
5799 used to find time codes. Fix symbol for seconds.
5800
5801 2012-11-27 Glenn Morris <rgm@gnu.org>
5802
5803 * emacs-lisp/derived.el (derived-mode-make-docstring):
5804 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
5805
5806 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5807
5808 * textmodes/table.el (table-insert): Don't use `symbol-name' on
5809 lexically scoped variables (bug#13005).
5810
5811 2012-11-27 Glenn Morris <rgm@gnu.org>
5812
5813 * vc/vc-hooks.el (vc-mistrust-permissions):
5814 Default to t, to avoid data-loss. (Bug#11490)
5815
5816 2012-11-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5817
5818 * progmodes/python.el (python-indent-guess-indent-offset):
5819 If indentation is guessed make python-indent-offset buffer-local.
5820
5821 Fix Imenu regression.
5822 * progmodes/python.el (python-nav-beginning-of-defun):
5823 Fix forward movement when statement(s) separates point from defun.
5824 (python-imenu-prev-index-position): New function.
5825
5826 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5827
5828 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
5829
5830 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
5831 Don't set buffer-file-type. Return nil. (Bug#12989)
5832
5833 2012-11-27 Glenn Morris <rgm@gnu.org>
5834
5835 * hippie-exp.el (hippie-expand-try-functions-list):
5836 Re-autoload it. (Bug#12982)
5837
5838 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5839
5840 * descr-text.el (describe-char-padded-string):
5841 Call internal-char-font only on GUI frames. (Bug#11964)
5842
5843 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
5844
5845 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
5846 and obsoletion message.
5847
5848 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5849
5850 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
5851 the constructs to keep outside of the `cl-block' (bug#12977).
5852
5853 2012-11-27 Chong Yidong <cyd@gnu.org>
5854
5855 * mouse.el (mouse-drag-line): Even if the line is not draggable,
5856 keep reading until we get the up-event anyway, in order to process
5857 the up-event for mouse-1-click-follows-link (Bug#12971).
5858
5859 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
5860
5861 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
5862 base function is not yet defined (bug#12965).
5863 (ad-activate-advised-definition): Use ad-compile-function.
5864 (ad-activate): Use cond.
5865
5866 2012-11-25 Leo Liu <sdl.web@gmail.com>
5867
5868 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
5869 (Bug#12979)
5870
5871 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5872
5873 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
5874 reftex-section-info-function in order to be compatible with
5875 Texinfo integration.
5876
5877 * textmodes/reftex.el (reftex-section-pre-regexp)
5878 (reftex-section-post-regexp, reftex-section-info-function):
5879 New variable.
5880 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
5881 reftex-section-post-regexp, and reftex-section-info-function in order
5882 to be compatible with Texinfo integration.
5883
5884 * textmodes/reftex-toc.el (reftex-toc-promote-action):
5885 use reftex-section-pre-regexp variable in order to be compatible with
5886 Texinfo integration.
5887
5888 2012-11-25 Chong Yidong <cyd@gnu.org>
5889
5890 * faces.el: Make face-spec-set more analogous to setq.
5891 (face-spec-set): Change the third arg to specify whether this
5892 function is being called via defface, customize, or a third party.
5893 Set the appropriate symbol properties. Clear the override spec if
5894 setting via Custom. Initialize face if necessary. (Bug#4988)
5895 (face-spec-recalc): Allow theme faces to completely replace the
5896 defface spec, in the same way as custom faces (Bug#8454).
5897
5898 * cus-face.el (custom-declare-face): Move face initialization to
5899 face-spec-set.
5900 (custom-theme-set-faces): Don't initialize the face name here, as
5901 that is now done in face-spec-set.
5902
5903 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
5904 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
5905 Simplify by using the new arg to face-spec-set.
5906
5907 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
5908 reset face-override-spec too, and use custom-declare-face.
5909
5910 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
5911
5912 * term/ns-win.el (ns-initialize-window-system): Move creation of
5913 fontsets here (Bug#11964).
5914
5915 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5916
5917 * ses.el (ses-rename-cell): Correct bug on mode-line update after
5918 cell renaming.
5919
5920 2012-11-24 Chong Yidong <cyd@gnu.org>
5921
5922 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
5923 obsolete.
5924
5925 * custom.el (custom-theme-set-variables): Use a topological sort
5926 for ordering by custom dependencies (Bug#12952).
5927 (custom--sort-vars, custom--sort-vars-1): New functions.
5928
5929 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
5930
5931 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
5932 lexical-binding (bug#12938).
5933
5934 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
5935
5936 * image-mode.el (image-transform-check-size): Use assertions only
5937 for images of type imagemagick.
5938
5939 Otherwise no error, image-transform-fit-to-{width,height} is
5940 silently ignored, as before. Doc fix.
5941
5942 2012-11-24 Chong Yidong <cyd@gnu.org>
5943
5944 * faces.el (color-defined-p): Doc fix (Bug#12853).
5945
5946 2012-11-24 Juri Linkov <juri@jurta.org>
5947
5948 * dired.el (dired-mark): Add optional arg `interactive'.
5949 Check for `use-region-p' if `interactive' is non-nil.
5950 (dired-unmark, dired-flag-file-deletion): Add optional arg
5951 `interactive'. Call `dired-mark' with the arg `interactive'.
5952 (Bug#10624)
5953
5954 * wdired.el: Revert 2012-10-17 change partly and replace it with
5955 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
5956 (wdired-finish-edit): Add marks for new file names to
5957 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
5958 after `revert-buffer'.
5959 (wdired-do-renames): Remove calls to `dired-remove-file',
5960 `dired-add-file', `dired-add-entry'. (Bug#11795)
5961
5962 2012-11-24 Alan Mackenzie <acm@muc.de>
5963
5964 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
5965
5966 Fix bugs in the state cache. Enhance a debugging mechanism.
5967 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
5968 "brace at column zero" strategy for C++.
5969 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
5970 (c-parse-state-point): New variable.
5971 (c-record-parse-state-state): Record old parse state with
5972 `copy-tree'. Record previous value of point.
5973 (c-debug-parse-state-double-cons): New debugging function.
5974 (c-debug-parse-state): Call the above new function.
5975 (c-toggle-parse-state-debug): Output a confirmatory message.
5976
5977 * progmodes/cc-mode.el (c-before-change, c-after-change):
5978 Call c-invalidate-state-cache from `c-before-change' instead of
5979 `c-after-change'.
5980
5981 2012-11-23 Chong Yidong <cyd@gnu.org>
5982
5983 * find-cmd.el (find-constituents): Add executable, ipath,
5984 readable, samefile, writable, daystart, regextype (Bug#12856).
5985
5986 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
5987
5988 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
5989
5990 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
5991
5992 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
5993 definition. This fixes a bootstrap failure.
5994 (calc-gregorian-switch): In menu, put dates before regions.
5995 This is easier to follow, lines up better in the menu, and lets us
5996 coalesce regions that switch at the same time. Give country
5997 names, not "Vatican", as that's better for non-expert users.
5998 Use names that are stable between the date of switch and now, e.g.,
5999 Bohemia and Moravia (which existed then and now) and not
6000 Czechoslovakia (which didn't exist then and doesn't exist now).
6001 What is now the U.S. mostly did not switch at the same time as
6002 Britain, so omit the U.S. Correct spelling of "Britain".
6003 Catholic Switzerland was too much of a mess, so omit it.
6004
6005 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
6006
6007 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
6008 after the variable is changed.
6009
6010 2012-11-21 Daniel Colascione <dancol@dancol.org>
6011
6012 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
6013 in SQL declarations for font-lock.
6014 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
6015
6016 2012-11-21 Glenn Morris <rgm@gnu.org>
6017
6018 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
6019 (face-italic-p): Add optional argument "inherit".
6020
6021 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
6022 Remove -p suffix from names, for consistency with other set-face-*.
6023 (set-face-inverse-video): Fix interactive spec.
6024 * play/gamegrid.el (gamegrid-make-mono-tty-face):
6025 * textmodes/table.el (table--update-cell-face):
6026 Use set-face-inverse-video rather than now obsolete alias.
6027
6028 2012-11-21 Eli Zaretskii <eliz@gnu.org>
6029
6030 * simple.el (line-move): Don't call line-move-partial if
6031 scroll-conservatively is in effect. (Bug#12927)
6032
6033 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6034
6035 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
6036 Fallback on completion-at-point rather than
6037 pcomplete-expand-and-complete, and only if pcomplete actually failed.
6038 (eshell-cmpl-initialize): Setup completion-at-point.
6039
6040 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
6041
6042 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
6043
6044 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
6045
6046 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
6047 are remote, check out-of-band property for both.
6048
6049 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6050
6051 * window.el (switch-to-buffer): Re-add the warning that was lost in the
6052 code rewrite.
6053
6054 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
6055
6056 More minor time fixes.
6057 * calendar/time-date.el: Commentary fix.
6058 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
6059 too much other code depends on (0 0) time stamps.
6060 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
6061 Add a couple of FIXME comments.
6062
6063 Minor cleanup for times as lists of four integers.
6064 * files.el (dir-locals-directory-cache):
6065 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
6066 Doc fixes.
6067 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
6068 * ps-bdf.el (bdf-file-newer-than-time):
6069 Process four-integers time stamps, not two. Doc fixes.
6070
6071 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6072
6073 * uniquify.el (uniquify-managed): Use defvar-local.
6074 (rename-buffer, create-file-buffer): Advise with advice-add.
6075 (uniquify-unload-function): Unadvise accordingly.
6076
6077 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
6078 (trace-buffer): Don't purecopy.
6079 (trace-entry-message, trace-exit-message): Add `context' arg.
6080 (trace--timer): New var.
6081 (trace-make-advice): Adjust for use in nadvice.
6082 Add `context' argument. Delay `display-buffer' via a timer.
6083 (trace-function-internal): Use advice-add.
6084 (trace--read-args): New function.
6085 (trace-function-foreground, trace-function-background): Use it.
6086 (trace-function): Rename to trace-function-foreground and redefine as
6087 an alias to that new name.
6088 (untrace-function, untrace-all): Adjust to the use of nadvice.
6089
6090 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
6091
6092 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
6093
6094 * subr.el (called-interactively-p-functions): New var.
6095 (internal--called-interactively-p--get-frame): New macro.
6096 (called-interactively-p, interactive-p): Rewrite in Lisp.
6097 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
6098 (called-interactively-p-functions): Use it.
6099 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
6100 (called-interactively-p-functions): Use it.
6101 * allout.el (allout-called-interactively-p): Don't assume
6102 called-interactively-p is a subr.
6103
6104 2012-11-20 Glenn Morris <rgm@gnu.org>
6105
6106 * profiler.el (profiler-report-mode-map): Add a menu.
6107 No need to bind `q' because we derive from special-mode.
6108 (profiler-report-find-entry): Handle calls from the menu-bar.
6109
6110 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
6111
6112 * emacs-lisp/byte-run.el (defun-declarations-alist):
6113 Allow a compiler-macro to be a lambda expression.
6114
6115 * progmodes/python.el: Use cl-lib. Move var declarations outside of
6116 eval-when-compile.
6117 (python-syntax-context): Add compiler-macro.
6118 (python-font-lock-keywords): Simplify with De Morgan.
6119
6120 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
6121
6122 * files.el (load-file): Require match in minibuffer selection, as was
6123 the case in Emacs-20 before we changed the spec to allow .elc files
6124 (bug#12935).
6125
6126 * json.el: Don't require cl since we don't use it.
6127 * color.el: Don't require cl.
6128 (color-complement): `caddr' -> `nth 2'.
6129
6130 * calendar/time-date.el (time-to-seconds): De-obsolete.
6131
6132 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
6133
6134 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
6135 year numbers.
6136 (math-date-to-julian-dt): Adjust the initial approximation for the
6137 year to deal with the new definition of the DATE.
6138
6139 2012-11-19 Daniel Colascione <dancol@dancol.org>
6140
6141 * term/w32-win.el (cygwin-convert-path-from-windows):
6142 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6143
6144 2012-11-18 Chong Yidong <cyd@gnu.org>
6145
6146 * filecache.el (file-cache--read-list): New function.
6147 (file-cache-add-directory-list, file-cache-add-file-list)
6148 (file-cache-delete-file-list, file-cache-delete-directory-list):
6149 Use it to read a list of files or directories (Bug#12846).
6150 (file-cache-add-file, file-cache-add-directory)
6151 (file-cache-delete-file-list, file-cache-delete-file-regexp)
6152 (file-cache-delete-directory): Print an message.
6153
6154 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
6155
6156 * calc/calc-forms.el (math-date-to-dt): Use integer date when
6157 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
6158
6159 2012-11-18 Glenn Morris <rgm@gnu.org>
6160
6161 * image.el (insert-image, insert-sliced-image): Doc fix.
6162
6163 2012-11-18 Chong Yidong <cyd@gnu.org>
6164
6165 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
6166 (Bug#12810).
6167
6168 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6169
6170 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
6171 response when the target file is in a subdirectory (Bug#12757).
6172
6173 2012-11-18 Chong Yidong <cyd@gnu.org>
6174
6175 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
6176
6177 2012-11-18 Glenn Morris <rgm@gnu.org>
6178
6179 * emacs-lisp/cl-lib.el (face-underline-p):
6180 Use set-face-underline rather than the alias set-face-underline-p.
6181
6182 * window.el (with-temp-buffer-window): Doc fix.
6183 * subr.el (with-output-to-temp-buffer):
6184 Add doc xref to with-temp-buffer-window.
6185
6186 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
6187
6188 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
6189 * calc/calc.el (math-format-date-cache): Declare.
6190
6191 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
6192
6193 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
6194 It also uses January 1, 1 AD as its day number 1.
6195 * calc/calc-forms.el (math-julian-date-beginning)
6196 (math-julian-date-beginning-int): Implement this.
6197
6198 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
6199
6200 * descr-text.el (quail-find-key):
6201 * dired.el (desktop-file-name):
6202 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
6203 * generic-x.el (comint-mode, comint-exec):
6204 * image-dired.el (widget-forward):
6205 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
6206 (speedbar-change-expand-button-char)
6207 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
6208 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
6209 * printing.el (easy-menu-add-item, easy-menu-remove-item)
6210 (widget-field-action, widget-value-set):
6211 * speedbar.el (imenu--make-index-alist):
6212 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
6213 (ring-length, ring-insert):
6214 * vcursor.el (compare-windows-skip-whitespace):
6215 * woman.el (dired-get-filename):
6216 Declare functions.
6217
6218 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
6219
6220 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6221
6222 * calc/calc.el (calc-gregorian-switch): New variable.
6223
6224 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
6225 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
6226 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
6227 (math-leap-year-p): Add option to distinguish between Julian
6228 and Gregorian calendars.
6229 (math-day-number): Use `math-day-in-year' to do the computations.
6230 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
6231 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
6232 to do the computations.
6233 (math-date-to-dt): Use `math-date-to-julian-dt' and
6234 `math-date-to-gregorian-dt' to do the computations.
6235 (calcFunc-weekday, math-format-date-part): Use the new version of
6236 the DATE to determine the weekday.
6237 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
6238 when necessary.
6239
6240 2012-11-17 Eli Zaretskii <eliz@gnu.org>
6241
6242 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
6243 Cygwin; otherwise use 'file:'. (Bug#12914)
6244 (cygwin-convert-path-from-windows): Declare, to avoid
6245 byte-compiler warnings.
6246
6247 2012-11-17 Andreas Politz <politza@fh-trier.de>
6248
6249 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
6250 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
6251 prefix and negative numeric prefix args (Bug#12795).
6252
6253 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
6254
6255 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
6256 Don't signal an error with a score that is too low to add to the
6257 list of top scores. (Bug#12779)
6258
6259 2012-11-17 Chong Yidong <cyd@gnu.org>
6260
6261 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
6262
6263 * filecache.el (file-cache-add-file): Handle relative file name in
6264 the argument (Bug#12694).
6265
6266 2012-11-16 JĂ¼rgen Hötzel <juergen@archlinux.org> (tiny change)
6267
6268 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
6269
6270 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6271
6272 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
6273
6274 * emacs-lisp/cl-lib.el: Set more meaningful version number.
6275
6276 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6277
6278 * window.el (enlarge-window, shrink-window): Don't mention return
6279 value in doc-string (Bug#12896).
6280 (window--display-buffer): Don't resize frames - it won't work
6281 with all window managers and defeat pop-up-frame-alist.
6282 (display-buffer-alist): In doc-string explain that CONDITION can
6283 be a function and which arguments are passed to it (Bug#12854).
6284 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
6285 expressions (Bug#12854).
6286 (display-buffer): Pass ACTION argument to
6287 display-buffer-assq-regexp.
6288
6289 2012-11-16 Glenn Morris <rgm@gnu.org>
6290
6291 * window.el (fit-frame-to-buffer-bottom-margin)
6292 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
6293
6294 * faces.el (face-underline-p): Use face-attribute-specified-or.
6295
6296 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
6297
6298 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
6299
6300 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6301
6302 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
6303
6304 2012-11-16 Glenn Morris <rgm@gnu.org>
6305
6306 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
6307 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
6308
6309 * faces.el (face-underline-p): Doc fix. Handle :underline being
6310 things other than `t' (a string, a list).
6311 (face-inverse-video-p): Doc fix.
6312 (set-face-underline): Rename it back from set-face-underline-p.
6313 Doc fix. Allow interactive input of values other than t.
6314 (read-face-attribute): Apply formatting to :underline,
6315 since like :box and :stipple it can take list values.
6316
6317 * term.el (ansi-term): Don't let C-x escape-char binding
6318 clobber the more standard C-c binding. (Bug#12842)
6319
6320 * subr.el (set-temporary-overlay-map): Doc fix.
6321
6322 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6323
6324 * window.el (record-window-buffer)
6325 (display-buffer-record-window): When copying the markers to
6326 window-point preserve window-point-insertion-type. (Bug#12588)
6327
6328 2012-11-16 Glenn Morris <rgm@gnu.org>
6329
6330 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
6331 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
6332 Use new names for hooks rather than obsolete aliases.
6333
6334 2012-11-15 Daniel Colascione <dancol@dancol.org>
6335
6336 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
6337 prefix instead of "file:" so that when FILE-NAME begins with "//",
6338 as it does when the target file is on a network share, url-handler
6339 isn't confused.
6340
6341 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6342
6343 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
6344 a preactivated advice from an old advice.el; they're not compatible!
6345
6346 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
6347
6348 * emacs-lisp/nadvice.el (advice--make-interactive-form):
6349 Fix string-spec case.
6350
6351 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
6352
6353 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6354
6355 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
6356 (advice--buffer-local-function-sample): New var.
6357 (advice--set-buffer-local, advice--buffer-local): New functions.
6358 (add-function, remove-function): Use them.
6359
6360 2012-11-15 Drew Adams <drew.adams@oracle.com>
6361
6362 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
6363
6364 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6365
6366 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
6367 potential binding of print-gensym to t, and prettify (back)quotes in
6368 case they appear in args's default values (bug#12884).
6369
6370 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6371
6372 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
6373 (advice-eval-interactive-spec): New function.
6374 (advice--make-interactive-form): Support around advice (bug#12844).
6375
6376 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
6377
6378 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
6379 more strict. Add docstring.
6380 (ruby-expression-expansion-re): Extract from
6381 `ruby-match-expression-expansion'.
6382 (ruby-syntax-propertize-function): After everything else, search
6383 for expansions in string literals, mark their insides as
6384 whitespace syntax and save match data for font-lock.
6385 (ruby-font-lock-keywords): Use the 2nd group from expression
6386 expansion matches.
6387 (ruby-match-expression-expansion): Use the match data saved to the
6388 text property in ruby-syntax-propertize-function.
6389
6390 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6391
6392 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
6393 (bug#12879).
6394
6395 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6396
6397 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
6398 start/end keyword a bit harder. Works with different values of N.
6399 Add more comments.
6400 (ruby-end-of-block): Update accordingly.
6401
6402 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6403
6404 * woman.el (woman-file-name): Don't mess with unread-command-events
6405 (bug#12861).
6406
6407 * emacs-lisp/advice.el: Layer on top of nadvice.el.
6408 Remove out of date self-require hack.
6409 (ad-do-advised-functions): Use simple `dolist'.
6410 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
6411 (ad-advice-definition): Redefine as functions.
6412 (ad-advice-classes): Move before first use.
6413 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
6414 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
6415 (ad--defalias-fset): Remove functions.
6416 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
6417 (ad-get-orig-definition): Rewrite.
6418 (ad-make-advised-definition-docstring): Change base docstring.
6419 (ad-real-orig-definition): Rewrite.
6420 (ad-map-arglists): Change name of called function.
6421 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
6422 (ad-make-advised-definition): Simplify.
6423 (ad-assemble-advised-definition): Tweak for new calling context.
6424 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
6425 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
6426 function and call ad-activate if needed.
6427 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
6428 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
6429 (ad-compile-function): Compile ad-Advice-*.
6430 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
6431 (ad-start-advice, ad-stop-advice): Remove.
6432
6433 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6434
6435 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
6436 period before class method names, not after. Remove handling of
6437 one impossible case. Add comments.
6438
6439 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6440
6441 * emacs-lisp/advice.el: Remove support for freezing.
6442 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
6443 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
6444 Remove support for `freeze'.
6445
6446 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
6447 override the default.
6448 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
6449 cl--dotimes/dolist.
6450 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
6451 `cl' is loaded.
6452
6453 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
6454 from add-advice.
6455 (advice--strip-macro): New function.
6456 (advice--defalias-fset): Use them to handle macros.
6457 (advice-add): Use them.
6458 (advice-member-p): Correctly handle macros.
6459
6460 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6461
6462 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6463 Never font-lock the beginning of singleton class as heredoc.
6464
6465 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6466
6467 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
6468
6469 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
6470
6471 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
6472 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
6473 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
6474
6475 2012-11-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6476
6477 Fix end-of-defun misbehavior.
6478 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
6479 python-beginning-of-defun-function. Handle nested defuns
6480 correctly.
6481 (python-nav-end-of-defun): Rename from
6482 python-end-of-defun-function. Ensure forward movement.
6483 (python-info-current-defun): Reimplement to work as intended
6484 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
6485 parent defuns as soon as possible.
6486
6487 2012-11-13 Glenn Morris <rgm@gnu.org>
6488
6489 * progmodes/flymake.el (flymake-error-bitmap)
6490 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
6491 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
6492
6493 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6494
6495 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
6496 backward, always stop at indentation. Reverts the change from
6497 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
6498
6499 2012-11-13 Glenn Morris <rgm@gnu.org>
6500
6501 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
6502 Add ibuffer-filter-by-derived-mode.
6503
6504 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
6505 the same name shadowing each other.
6506
6507 * window.el (with-temp-buffer-window): Doc tweak.
6508
6509 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
6510
6511 * help.el (temp-buffer-max-height):
6512 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
6513 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
6514
6515 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
6516
6517 * emacs-lisp/nadvice.el: New package.
6518 * subr.el (special-form-p): New function.
6519 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
6520 (elp-all-instrumented-list): Remove var.
6521 (elp-not-profilable): Remove elp-wrapper.
6522 (elp-profilable-p): Use autoloadp and special-form-p.
6523 (elp--advice-name): New const.
6524 (elp-instrument-function): Use advice-add.
6525 (elp--instrumented-p): New predicate.
6526 (elp-restore-function): Use advice-remove.
6527 (elp-restore-all, elp-reset-all): Use mapatoms.
6528 (elp-set-master): Use elp--instrumented-p.
6529 (elp--make-wrapper): Rename from elp-wrapper, return a function
6530 suitable for advice-add. Use cl-inf.
6531 (elp-results): Use mapatoms+elp--instrumented-p.
6532 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
6533 (debug-function-list): Remove var.
6534 (debug): Rename arg, and then let-bind it explicitly inside.
6535 (debugger-setup-buffer): Rename arg.
6536 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
6537 (debugger-frame-number): Adjust to new debug-on-entry setup.
6538 (debug--implement-debug-on-entry): Rename from
6539 implement-debug-on-entry, add argument.
6540 (debugger-special-form-p): Remove, use special-form-p instead.
6541 (debug-on-entry): Use advice-add.
6542 (debug--function-list): New function.
6543 (cancel-debug-on-entry): Use it, along with advice-remove.
6544 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
6545 (debugger-list-functions): Use debug--function-list instead of
6546 debug-function-list.
6547 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
6548 (ad-special-form-p): Remove, use special-form-p instead.
6549 (ad-set-advice-info): Use add-function and remove-function.
6550 (ad--defalias-fset): Adjust accordingly.
6551
6552 2012-11-10 Glenn Morris <rgm@gnu.org>
6553
6554 * mail/emacsbug.el (report-emacs-bug-tracker-url)
6555 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
6556 (report-emacs-bug-create-existing-bugs-buffer)
6557 (report-emacs-bug-parse-query-results)
6558 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
6559
6560 * term.el (term-default-fg-color, term-default-bg-color):
6561 Make obsolete, rather than just saying "deprecated" in the doc.
6562
6563 * term.el (term): Rename from `term-face'.
6564 (term-current-face, ansi-term-color-vector)
6565 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
6566 Update all users.
6567
6568 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
6569
6570 * server.el (server-create-window-system-frame): Handle Nextstep
6571 specially (Bug#12780).
6572
6573 2012-11-10 Glenn Morris <rgm@gnu.org>
6574
6575 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
6576 Unautoload, and make obsolete. (Bug#7449)
6577
6578 2012-11-10 Chong Yidong <cyd@gnu.org>
6579
6580 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
6581 rename from diff-remove-trailing-whitespace (Bug#12831).
6582
6583 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6584
6585 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
6586 miscompilation of trace.el.
6587
6588 2012-11-10 Glenn Morris <rgm@gnu.org>
6589
6590 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
6591
6592 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6593
6594 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
6595 (bug#12812).
6596
6597 2012-11-10 Chong Yidong <cyd@gnu.org>
6598
6599 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
6600 a defcustom with an appropriate :set function.
6601 (minibuffer-default--in-prompt-regexps): New function.
6602
6603 2012-11-10 Glenn Morris <rgm@gnu.org>
6604
6605 * emacs-lisp/cl.el (define-setf-expander, defsetf)
6606 (define-modify-macro): Doc fixes.
6607
6608 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
6609 (gv-define-simple-setter): Update doc of `fix-return'.
6610
6611 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6612
6613 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
6614 twice when `fix-return' is set (bug#12813).
6615
6616 * emacs-lisp/cl.el (defsetf): Pass the third arg to
6617 gv-define-simple-setter (bug#12812).
6618
6619 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
6620 (bug#12756).
6621
6622 2012-11-10 Glenn Morris <rgm@gnu.org>
6623
6624 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
6625
6626 * emacs-lisp/cl-extra.el (cl-prettyexpand):
6627 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
6628 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
6629 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
6630
6631 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
6632
6633 2012-11-10 Leo Liu <sdl.web@gmail.com>
6634
6635 * ido.el (ido-set-matches-1): Improve flex matching performance by
6636 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
6637
6638 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6639
6640 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
6641 (ad--defalias-fset): New function.
6642 (ad-safe-fset): Remove.
6643 (ad-make-freeze-definition): Use cl-letf*.
6644
6645 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6646
6647 * subr.el (dolist): Don't bind VAR in RESULT.
6648
6649 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
6650 (fset, documentation): Don't save real def since we don't advise.
6651 (ad-do-advised-functions): Remove problematic `result-form'.
6652 (ad-safe-fset): `ad-real-fset' => `fset'.
6653 (ad-read-advised-function): Don't assume that ad-do-advised-functions
6654 uses CL's dolist internally.
6655 (ad-arglist): Remove unused arg `name'.
6656 (ad-docstring, ad-make-advised-docstring):
6657 `ad-real-documentation' => `documentation'.
6658 (warning-suppress-types): Declare.
6659 (ad-set-arguments): Simple CSE.
6660 (ad-recover-normality): Sanity check.
6661
6662 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
6663 (funcall '(lambda ..) ..) into ((lambda ..) ..).
6664
6665 2012-11-09 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6666
6667 * ses.el: symbol to coordinate mapping is made by symbol property
6668 `ses-cell'. This means that the same mapping is done for all SES
6669 sheets. That is good enough for cells with standard A1 names, but
6670 not for named cell. So a hash map is added for the latter.
6671 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
6672 (ses-sym-rowcol): Use hashmap for named cell.
6673 (ses-is-cell-sym-p): New defun.
6674 (ses-decode-cell-symbol): New defun.
6675 (ses-create-cell-variable): Add cell to hashmap when name is not
6676 A1-like.
6677 (ses-rename-cell): Check that cell new name is not already in
6678 spreadsheet with the use of ses-is-cell-sym-p
6679 (ses-rename-cell): Use hash map for named cells, but accept also
6680 renaming back to A1-like.
6681
6682 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6683
6684 * emacs-lisp/advice.el: Use new dynamic docstrings.
6685 (ad-make-advised-definition-docstring, ad-advised-definition-p):
6686 Use dynamic-docstring-function instead of ad-advice-info.
6687 (ad--make-advised-docstring): New function extracted from
6688 ad-make-advised-docstring.
6689 (ad-make-advised-docstring): Use it.
6690 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
6691 from sql-help.
6692 (sql-help): Use it with dynamic-docstring-function.
6693
6694 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
6695
6696 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6697
6698 * files.el (hack-one-local-variable--obsolete): New function.
6699 (hack-one-local-variable): Use it for obsolete settings.
6700
6701 * subr.el (locate-user-emacs-file): If both old and new name exist, use
6702 the new name.
6703
6704 * progmodes/js.el (js--filling-paragraph): New var.
6705 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
6706 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
6707 less sneaky.
6708
6709 2012-11-08 Julien Danjou <julien@danjou.info>
6710
6711 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
6712 `auto-mode-alist' (Bug#12835).
6713
6714 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6715
6716 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
6717 (perl--prettify-symbols-alist): New const.
6718 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
6719 New functions.
6720 (perl-font-lock-keywords-2): Use them.
6721 (perl-electric-noindent-p): New function.
6722 (perl-mode): Use it to set up electric-indent-mode.
6723 (perl-electric-terminator, perl-indent-command): Mark obsolete.
6724 (perl-mode-map): Remove bindings for them.
6725 (perl-imenu-generic-expression, perl-outline-level):
6726 Match functions&packages in column>0.
6727
6728 * env.el (env--substitute-vars-regexp): New const.
6729 (substitute-env-vars): Use it. Add `only-defined' arg.
6730 * net/tramp.el (tramp-replace-environment-variables): Use it.
6731
6732 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
6733 Byte-compile *before* eval in eval-and-compile.
6734 (byte-compile-log-warning): Remove redundant inhibit-read-only.
6735 (byte-compile-file-form-autoload): Don't hide actual definition.
6736 (byte-compile-maybe-guarded): Accept `functionp' as well.
6737
6738 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
6739
6740 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
6741
6742 * notifications.el (notifications-get-server-information-method):
6743 New defconst.
6744 (notifications-get-capabilities): Fix docstring.
6745 (notifications-get-server-information): New defun.
6746
6747 2012-11-06 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6748
6749 * textmodes/ispell.el (ispell-region): Standard re-indent for better
6750 readability.
6751
6752 * textmodes/ispell.el: Experimental support for support debugging.
6753 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
6754 buffer for ispell.
6755 (ispell-print-if-debug): New function to print stuff to
6756 `ispell-debug-buffer' if debugging is enabled.
6757 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
6758 show some debugging info.
6759 (ispell-buffer-with-debug): New function that creates a debugging
6760 buffer and calls `ispell-buffer' with debugging enabled.
6761
6762 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
6763 comment in autoconf mode. (Bug#12768)
6764
6765 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
6766
6767 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
6768 frame-first-window, frame-root-window, frame-selected-window,
6769 minibuffer-selected-window, minibuffer-window,
6770 window-absolute-pixel-edges, window-at, window-body-height,
6771 window-body-width, window-display-table, window-combination-limit,
6772 window-frame, window-fringes, window-inside-absolute-pixel-edges,
6773 window-inside-edges, window-inside-pixel-edges, window-left-child,
6774 window-left-column, window-margins, window-next-buffers,
6775 window-next-sibling, window-new-normal, window-new-total,
6776 window-normal-size, window-parameter, window-parameters, window-parent,
6777 window-pixel-edges, window-point, window-prev-buffers,
6778 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
6779 window-start, window-text-height, window-top-child, window-top-line,
6780 window-total-height, window-total-width and window-use-time to the list
6781 of functions without side-effects.
6782 (toplevel): Add window-valid-p to the list of error-free functions
6783 without side-effects.
6784
6785 2012-11-05 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6786
6787 * textmodes/ispell.el (ispell-program-name):
6788 Update spellchecker parameters when customized.
6789
6790 2012-11-04 Glenn Morris <rgm@gnu.org>
6791
6792 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
6793
6794 2012-11-04 Chong Yidong <cyd@gnu.org>
6795
6796 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
6797 same-window-* variables.
6798
6799 2012-11-04 Juri Linkov <juri@jurta.org>
6800
6801 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
6802 (isearch-describe-key, isearch-describe-mode): Use a display
6803 action instead of binding same-window-* variables (Bug#10040).
6804
6805 2012-11-03 Glenn Morris <rgm@gnu.org>
6806
6807 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
6808 Rename handler properties back from cl-- to cl-. (Bug#12788)
6809
6810 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
6811
6812 2012-11-03 Eli Zaretskii <eliz@gnu.org>
6813
6814 * term/pc-win.el: Don't load term/internal from here.
6815
6816 * loadup.el: Load term/internal from here.
6817
6818 2012-11-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6819
6820 * progmodes/python.el (inferior-python-mode): Fix hang in
6821 jit-lock (Bug#12645).
6822
6823 2012-11-03 Martin Rudalics <rudalics@gmx.at>
6824
6825 * window.el (switch-to-visible-buffer)
6826 (switch-to-buffer-preserve-window-point): Fix doc-strings.
6827
6828 2012-11-03 Glenn Morris <rgm@gnu.org>
6829
6830 * emacs-lisp/cl-lib.el (cl--random-time):
6831 Rename from cl-random-time. (Bug#12773)
6832 (cl--gensym-counter, cl--random-state): Update callers.
6833 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
6834
6835 2012-11-03 Chong Yidong <cyd@gnu.org>
6836
6837 * cus-start.el: Make cursor-type customizable (Bug#11633).
6838
6839 2012-11-02 Glenn Morris <rgm@gnu.org>
6840
6841 * filecache.el: No need to load find-lisp when compiling.
6842 (find-lisp-find-files): Autoload it.
6843 (file-cache-add-directory-recursively): Don't require find-lisp.
6844
6845 * image.el (image-type-from-file-name): Trivial simplification.
6846
6847 * emacs-lisp/bytecomp.el (byte-compile-eval):
6848 Decouple "noruntime" and "cl-functions" warnings.
6849
6850 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
6851
6852 * play/gomoku.el (gomoku-display-statistics): Update mode line
6853 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
6854
6855 2012-10-31 Martin Rudalics <rudalics@gmx.at>
6856
6857 * window.el (quit-restore-window): If the window has been
6858 created on an existing frame and ended up as the sole window on
6859 that frame, do not delete it (Bug#12764).
6860
6861 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
6862
6863 * progmodes/sh-script.el (sh--inside-noncommand-expression):
6864 Rename from sh--inside-arithmetic-expression, handle more cases
6865 (bug#11263).
6866
6867 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
6868 (sh-font-lock-open-heredoc): Use it (bug#12770).
6869
6870 2012-10-30 Glenn Morris <rgm@gnu.org>
6871
6872 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
6873
6874 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
6875
6876 2012-10-29 Chong Yidong <cyd@gnu.org>
6877
6878 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
6879 function key is stored in a keyboard macro (Bug#4894).
6880
6881 * thingatpt.el (number-at-point): Apply a thing-at-point property.
6882
6883 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6884
6885 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
6886 header comments".
6887 (diff-unified->context, diff-context->unified)
6888 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
6889
6890 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
6891
6892 * files.el (find-alternate-file): Only ask one question (bug#12487).
6893
6894 2012-10-29 Chong Yidong <cyd@gnu.org>
6895
6896 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
6897 Suggested by Dan Nicolaescu (Bug#6326).
6898
6899 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
6900
6901 * startup.el (fancy-about-screen): Don't message (Bug#12680).
6902
6903 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
6904
6905 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
6906
6907 * face-remap.el (face-remap-add-relative): Handle the case where a
6908 face-remapping-alist entry is a cons cell (Bug#12762).
6909
6910 2012-10-29 Kevin Ryde <user42@zip.com.au>
6911
6912 * woman.el (woman-parse-numeric-value): Handle picas correctly
6913 (Bug#12639).
6914
6915 2012-10-29 Glenn Morris <rgm@gnu.org>
6916
6917 * emacs-lisp/cl.el (defsetf): Doc fix.
6918
6919 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6920
6921 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
6922 syntax to the matching opener, if any (bug#12547).
6923 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
6924 matching open as a "case-(".
6925 (sh-smie-rc-grammar): Add a corresponding rule for it.
6926
6927 2012-10-28 Daniel Hackney <dan@haxney.org>
6928
6929 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
6930 "PKGNAME-autoloads.el" in case we created it.
6931
6932 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6933
6934 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
6935 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
6936 (completion--twq-all): Disable too-strict assertions.
6937
6938 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
6939
6940 2012-10-27 Eli Zaretskii <eliz@gnu.org>
6941
6942 * profiler.el (profiler-report-make-entry-part): Fix help-echo
6943 text to match the real keybindings.
6944
6945 2012-10-27 Juri Linkov <juri@jurta.org>
6946
6947 * wdired.el (wdired-keep-marker-rename): New defcustom.
6948 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
6949 (Bug#11795)
6950
6951 * dired.el (dired-keep-marker-rename): Add reference to
6952 `wdired-keep-marker-rename' in the docstring.
6953 Add default character value ?R to display initially in
6954 Customization UI instead of ?@.
6955
6956 2012-10-27 Martin Rudalics <rudalics@gmx.at>
6957
6958 * window.el (display-buffer): In doc-string describe
6959 window-height and window-width alist entries.
6960
6961 * time.el (display-time-world): Restore fit-window-to-buffer
6962 behavior.
6963
6964 2012-10-27 Chong Yidong <cyd@gnu.org>
6965
6966 * subr.el (insert-buffer-substring-as-yank): Doc fix.
6967
6968 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
6969
6970 * minibuffer.el (completion-category-overrides): New completion
6971 category `bookmark' (bug#11131).
6972
6973 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6974
6975 * emacs-lisp/advice.el (ad-assemble-advised-definition):
6976 Silence bogus compiler warnings for ad-do-it.
6977
6978 * bookmark.el (bookmark-completing-read): Set the completion category
6979 to `bookmark' (bug#11131).
6980
6981 2012-10-26 Bastien <bzg@altern.org>
6982 Stefan Monnier <monnier@iro.umontreal.ca>
6983
6984 * face-remap.el: Use lexical-binding.
6985 (text-scale-adjust): Improve docstring. Use itself for the temporary
6986 overlay-map bindings, so as to repeat the "Use..." message each time.
6987
6988 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6989
6990 * emacs-lisp/macroexp.el (macroexp--expand-all):
6991 Obey byte-compile-warning-enabled-p (bug#12486).
6992
6993 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
6994 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
6995
6996 2012-10-26 Martin Rudalics <rudalics@gmx.at>
6997
6998 * mouse.el (mouse-drag-line): Move last form into preceding when
6999 clause (Bug#12731).
7000
7001 * help.el (resize-temp-buffer-window): Fix doc-string.
7002
7003 2012-10-25 David Engster <deng@randomsample.de>
7004
7005 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
7006 Remove. This feature is already integrated in imenu.
7007
7008 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
7009 always loaded. Require `speedbar' unconditionally.
7010
7011 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7012
7013 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
7014
7015 * minibuffer.el (minibuffer-force-complete): Fix thinko.
7016
7017 * net/ldap.el (ldap-search-internal): The official ldif format starts
7018 with a "version: 1" header (bug#12724).
7019
7020 * emacs-lisp/package.el (package-installed-p): Warn if not ready
7021 (bug#12721).
7022
7023 2012-10-25 Glenn Morris <rgm@gnu.org>
7024
7025 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
7026
7027 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7028
7029 * minibuffer.el (minibuffer-force-complete): Use one more marker
7030 for the temporary-overlay-map command (bug#12619).
7031
7032 2012-10-24 Chong Yidong <cyd@gnu.org>
7033
7034 * time.el (display-time-world-mode): Derive from special-mode.
7035 (display-time-world): Use display-buffer (Bug#12708).
7036 (display-time-world-mode-map): Variable deleted.
7037 (display-time-world-display): Wrap the final delete-char inside
7038 inhibit-read-only.
7039
7040 2012-10-24 Chong Yidong <cyd@gnu.org>
7041
7042 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
7043 Doc fix.
7044
7045 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
7046
7047 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7048
7049 * minibuffer.el (completion--all-sorted-completions-location): New var.
7050 (completion--cache-all-sorted-completions)
7051 (completion--flush-all-sorted-completions): Use it.
7052 (completion-in-region, completion-in-region--postch)
7053 (completion-at-point, completion-help-at-point): Use markers in
7054 completion-in-region--data (bug#12619).
7055
7056 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7057
7058 * progmodes/compile.el (compilation-start): Try to handle common
7059 quoting of `cd' argument (bug#12640).
7060
7061 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
7062 (bug#12671).
7063
7064 2012-10-23 Glenn Morris <rgm@gnu.org>
7065
7066 * progmodes/gud.el (gud-menu-map):
7067 Check gdb-active-process is bound. (Bug#12358)
7068
7069 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7070
7071 * repeat.el (repeat): Set real-this-command (bug#12232).
7072
7073 * htmlfontify.el (hfy-post-html-hook):
7074 * filesets.el (filesets-cache-fill-content-hook):
7075 * arc-mode.el (archive-extract-hook):
7076 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
7077 * net/rcirc.el (rcirc-sentinel-functions)
7078 (rcirc-receive-message-functions, rcirc-activity-functions)
7079 (rcirc-print-functions):
7080 * net/dbus.el (dbus-event-error-functions):
7081 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
7082 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
7083 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
7084 * term/sun.el (sun-raw-prefix-hooks):
7085 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
7086
7087 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
7088
7089 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7090 Set `tramp-chunksize' to 1. This improves the performance.
7091 (tramp-smb-wait-for-output): Add timeout to
7092 `tramp-accept-process-output' calls.
7093
7094 2012-10-23 Chong Yidong <cyd@gnu.org>
7095
7096 * faces.el (font-list-limit): Define as an obsolete variable.
7097
7098 * startup.el (command-line):
7099 * cus-start.el: Don't refer to font-list-limit.
7100
7101 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
7102
7103 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7104
7105 * subr.el (internal-temp-output-buffer-show): Rename from
7106 temp-output-buffer-show, since previously compiled files expect this name.
7107
7108 2012-10-23 Glenn Morris <rgm@gnu.org>
7109
7110 * image.el (image-type-from-file-name): If multiple types match,
7111 return the first one that is supported. (Bug#9045)
7112
7113 2012-10-22 Glenn Morris <rgm@gnu.org>
7114
7115 * image.el (imagemagick-enabled-types): Doc fix.
7116
7117 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
7118
7119 * progmodes/which-func.el (which-func-current): The hash-table may have
7120 an explicit nil (bug#12338).
7121
7122 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7123
7124 * electric.el (electric-pair-delete-selection-self-insert-function):
7125 Rename to electric-pair-will-use-region, return a boolean.
7126 (electric-pair-mode): Adjust accordingly. Don't require delsel.
7127
7128 * delsel.el (delete-selection-helper): Use a function instead of a hook.
7129 (delete-selection-pre-hook): Use use-region-p.
7130 (delete-selection-self-insert-function): Remove.
7131 (self-insert-command): Obey self-insert-uses-region-functions.
7132 (self-insert-iso): Revert to previous setting, since we don't actually
7133 know what that command does.
7134 (delete-selection-self-insert-hooks): Remove.
7135
7136 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
7137
7138 * delsel.el (delete-selection-helper): New function, extracted from
7139 delete-selection-pre-hook.
7140 (delete-selection-pre-hook): Use it.
7141 (delete-selection-self-insert-function): New function.
7142 (delete-selection-self-insert-hooks): New hook.
7143 (self-insert-command, self-insert-iso): Use it.
7144 * electric.el (electric-pair-syntax): New function, extracted from
7145 electric-pair-post-self-insert-function.
7146 (electric-pair-post-self-insert-function): Use it.
7147 (electric-pair-delete-selection-self-insert-function): New function.
7148 (electric-pair-mode): Require delsel and setup
7149 delete-selection-self-insert-hooks (bug#11520).
7150
7151 2012-10-20 Chong Yidong <cyd@gnu.org>
7152
7153 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
7154 no changes to show (Bug#12586).
7155
7156 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
7157 list explicitly (Bug#12571).
7158
7159 2012-10-20 Arne Jørgensen <arne@arnested.dk>
7160
7161 * progmodes/flymake.el (flymake-create-temp-inplace):
7162 Use file-truename.
7163
7164 2012-10-20 Eli Zaretskii <eliz@gnu.org>
7165
7166 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
7167
7168 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
7169
7170 * calc/calc-units.el (math-extract-units): Properly extract powers
7171 of units.
7172
7173 2012-10-20 Daniel Colascione <dancol@dancol.org>
7174
7175 * frame.el (make-frame): Set x-display-name as we used to in order
7176 to unbreak creating an X11 frame from an Emacs daemon started
7177 without a display.
7178
7179 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7180
7181 * minibuffer.el (minibuffer-force-complete): Make the next completion use
7182 the same completion-field (bug#12221).
7183
7184 2012-10-19 Martin Rudalics <rudalics@gmx.at>
7185
7186 * emacs-lisp/debug.el (debug): Record height of debugger window
7187 also when debugger will be back (Bug#8789).
7188
7189 2012-10-18 Chong Yidong <cyd@gnu.org>
7190
7191 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7192 Convert to defcustom.
7193 (gdb-get-source-file): Don't bind pop-up-windows.
7194
7195 * progmodes/gud.el (gud-display-line): Don't specially re-use
7196 other frames for the gdb-mi case (Bug#12648).
7197
7198 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7199
7200 * emacs-lisp/advice.el: Clean up commentary a bit.
7201 (ad-do-advised-functions, ad-with-originals): Use `declare'.
7202 (byte-code-function-p): Never redefine.
7203
7204 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
7205
7206 2012-10-18 Glenn Morris <rgm@gnu.org>
7207
7208 * dired.el (dired-sort-toggle): Some ls implementations only allow
7209 a single option string. (Bug#12666)
7210
7211 * minibuffer.el (completion-cycle-threshold): Doc fix.
7212
7213 2012-10-17 Kenichi Handa <handa@gnu.org>
7214
7215 * international/mule.el (set-keyboard-coding-system):
7216 Recover input meta mode when the new coding system doesn not use 8-bit.
7217 Supply TERMINAL arg to set-input-meta-mode.
7218
7219 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7220
7221 * wdired.el (wdired-old-marks): New variable.
7222 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
7223 (wdired-do-renames): Move point with renamed file and don't lose
7224 mark status (Bug#11795).
7225
7226 2012-10-16 Juri Linkov <juri@jurta.org>
7227
7228 * replace.el (query-replace-help): Mention multi-buffer replacement
7229 keys in the Help message. (Bug#12655)
7230
7231 2012-10-15 Chong Yidong <cyd@gnu.org>
7232
7233 * emacs-lisp/byte-run.el (defsubst): Doc fix.
7234
7235 2012-10-14 Eli Zaretskii <eliz@gnu.org>
7236
7237 * window.el (display-buffer): Doc fix.
7238
7239 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7240 Adjust the msft regexp to the output of Studio 2010, and move msft
7241 before edg-1. See the discussion on emacs-devel,
7242 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
7243 for the details.
7244
7245 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7246
7247 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
7248 (oset): Move uses of object-class-fast macro after its definition.
7249
7250 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
7251
7252 2012-10-13 Chong Yidong <cyd@gnu.org>
7253
7254 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
7255 enabled, re-enable it (Bug#11963).
7256
7257 2012-10-13 Martin Rudalics <rudalics@gmx.at>
7258
7259 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
7260 non-nil, restore window configuration (Bug#12623).
7261
7262 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7263
7264 * help-fns.el (describe-variable, describe-function-1):
7265 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
7266
7267 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
7268
7269 2012-10-12 Glenn Morris <rgm@gnu.org>
7270
7271 * mail/rmailsum.el (rmail-header-summary):
7272 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
7273
7274 2012-10-12 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7275
7276 * progmodes/python.el (python-mode-map):
7277 Replace subtitute-key-definition with proper command remapping.
7278 (python-nav--up-list): Fix behavior for blocks on the same level.
7279
7280 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7281
7282 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
7283
7284 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
7285 changes to the format of load-history.
7286
7287 * international/mule-cmds.el (read-char-by-name): Move let-binding of
7288 completion-ignore-case in case that var is buffer-local (bug#12615).
7289
7290 2012-10-11 Kenichi Handa <handa@gnu.org>
7291
7292 * international/eucjp-ms.el: Re-generated.
7293
7294 2012-10-10 Kenichi Handa <handa@gnu.org>
7295
7296 * select.el (xselect--encode-string): If a coding is specified for
7297 selection, and that is compatible with COMPOUND_TEXT, use it.
7298
7299 2012-10-10 Martin Rudalics <rudalics@gmx.at>
7300
7301 * window.el (switch-to-buffer-preserve-window-point): New option.
7302 (switch-to-buffer):
7303 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
7304
7305 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7306
7307 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
7308 Don't document nil as a useful value (bug#12583).
7309
7310 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
7311
7312 * net/tramp.el (tramp-debug-message):
7313 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
7314 (with-tramp-progress-reporter): Rename from
7315 `tramp-with-progress-reporter'.
7316 (with-tramp-file-property, with-tramp-connection-property):
7317 Move from tramp-cache.el, rename from `with-file-property' and
7318 `with-connection-property', respectively.
7319
7320 * net/tramp-cache.el: Remove `with-file-property' and
7321 `with-connection-property'.
7322
7323 * net/tramp.el:
7324 * net/tramp-gvfs.el:
7325 * net/tramp-sh.el:
7326 * net/tramp-smb.el: Adapt callees.
7327
7328 * net/trampver.el: Update release number.
7329
7330 2012-10-09 Glenn Morris <rgm@gnu.org>
7331
7332 * w32-fns.el (set-message-beep):
7333 * term/w32-win.el (set-message-beep): Update declarations.
7334
7335 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7336
7337 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
7338 (mode-line-widen, mode-line-input-method-map)
7339 (mode-line-coding-system-map, mode-line-remote)
7340 (mode-line-unbury-buffer, mode-line-bury-buffer)
7341 (mode-line-next-buffer, mode-line-previous-buffer):
7342 Replace save-selected-window+select-window => with-selected-window.
7343
7344 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
7345 * progmodes/cc-vars.el (bq-process): Remove, unused.
7346
7347 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
7348
7349 2012-10-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7350
7351 Implemented `backward-up-list'-like navigation.
7352 * progmodes/python.el (python-nav-up-list)
7353 (python-nav-backward-up-list): New functions.
7354 (python-mode-map): Define substitute key for backward-up-list to
7355 python-nav-backward-up-list.
7356
7357 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7358
7359 * progmodes/python.el (python-fill-paragraph): Rename from
7360 python-fill-paragraph-function. Fixed fill-paragraph for
7361 decorators (Bug#12605).
7362
7363 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7364
7365 * progmodes/python.el (python-shell-output-filter): Handle extra
7366 carriage return in OSX (Bug#12409).
7367
7368 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7369
7370 Fix shell handling of unbalanced quotes and parens in output.
7371 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
7372 (python-syntax-propertize-function): Use it.
7373 (python-shell-output-syntax-table): New var.
7374 (inferior-python-mode): Prevent unbalanced parens/quotes from
7375 previous output mess with current input context.
7376
7377 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
7378
7379 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
7380 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
7381
7382 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
7383
7384 * ffap.el (ffap-replace-file-component): Support Tramp file name
7385 syntax, not only ange-ftp's one.
7386
7387 2012-10-08 Glenn Morris <rgm@gnu.org>
7388
7389 * cus-start.el (message-log-max): Set :version.
7390
7391 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
7392
7393 2012-10-08 Martin Rudalics <rudalics@gmx.at>
7394
7395 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
7396 the minibuffer window (Bug#10851).
7397
7398 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7399
7400 Enhancements on forward-sexp movement.
7401 * progmodes/python.el (python-nav-beginning-of-statement)
7402 (python-nav-end-of-statement): Return point-marker.
7403 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
7404 (python-info-current-symbol)
7405 (python-info-statement-starts-block-p): Rename from
7406 python-info-beginning-of-block-p.
7407 (python-info-statement-ends-block-p): Rename from
7408 python-info-end-of-block-p.
7409 (python-info-beginning-of-statement-p)
7410 (python-info-end-of-statement-p)
7411 (python-info-beginning-of-block-p, python-info-end-of-block-p):
7412 New functions.
7413
7414 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7415
7416 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
7417 frame-selected-windows.
7418
7419 2012-10-08 Daniel Colascione <dancol@dancol.org>
7420
7421 * battery.el (battery-status-function): Check for
7422 w32-battery-status itself, not system-time windows-nt.
7423
7424 * frame.el: Require cl-lib.
7425 (display-format-alist): New variable mapping frame types to
7426 functions that initialize them.
7427 (window-system-for-display): New function: interprets
7428 display-format-alist.
7429 (make-frame-on-display): Remove existing display-selection logic
7430 and just forward to make-frame, which will now DTRT.
7431 (make-frame): Restructure to use window-system-for-display to
7432 figure out how to create a frame on a given display.
7433 (display-mouse-p): Look for frame-type w32, not a particular
7434 system-type.
7435
7436 * loadup.el: Load w32 lisp code when we have the w32 feature.
7437
7438 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
7439 system-type windows-nt.
7440
7441 * server.el (server-create-window-system-frame): Look for window
7442 type.
7443 (server-proces-filter): Only force a window system when windows-nt
7444 _and_ w32. Explain why.
7445
7446 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
7447 of window systems we configure for the mode.
7448
7449 * startup.el (command-line): Mark window system is initialized
7450 after we've done it.
7451
7452 * common-win.el (x-select-text): Look for w32, not windows-nt.
7453
7454 * ns-win.el: Require cl-lib. Add ourselves to
7455 display-format-alist.
7456 (ns-initialize-window-system): Assert we're not initialized twice.
7457
7458 * w32-win.el: Enable lexical binding; require cl-lib; add
7459 ourselves to display-format-alist.
7460 (w32-handle-dropped-file): Convert incoming dropped files from
7461 Windows paths to Cygwin ones before passing them on to the rest of
7462 Emacs.
7463 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
7464 (w32-initialize-window-system): Assert we're not initialized twice.
7465
7466 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
7467 (x-initialize-window-system): Assert we're not initialized twice.
7468
7469 * w32-common-fns.el: New File.
7470 (w32-version, w32-using-nt, w32-get-clipboard-data)
7471 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7472 (w32-charset-info-alist, x-last-selected, text)
7473 (x-get-selection-value, x-selection-value): Move here.
7474
7475 * w32-fns.el: Require w32-common-fns.
7476 (w32-version, w32-using-nt, w32-get-clipboard-data)
7477 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7478 (w32-charset-info-alist, x-last-selected, text)
7479 (x-get-selection-value, x-selection-value): Move to
7480 w32-common-fns.
7481
7482 * w32-vars.el:
7483 (w32-allow-system-shell, w32-system-shells): Define only in
7484 non-cygwin case.
7485
7486 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7487
7488 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
7489 (read-passwd): Remove a few more potential sources of leaks.
7490
7491 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7492
7493 * progmodes/python.el (inferior-python-mode)
7494 (python-shell-make-comint): Fix initialization of local
7495 variables copied from parent buffer.
7496
7497 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
7498
7499 * term/ns-win.el (ns-read-file-name): Update declaration to match
7500 nsfns.m.
7501 (ns-respond-to-change-font): Change fontsize separately so we are sure
7502 it is set when font is acted upon.
7503
7504 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7505
7506 Enhancements to indentation.
7507 * progmodes/python.el (python-indent-context): Give priority to
7508 inside-string context. Make comments indentation markers.
7509 (python-indent-region): Do not mess with strings, unless it's the
7510 enclosing set of quotes.
7511
7512 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7513
7514 * window.el (internal--before-save-selected-window)
7515 (internal--after-save-selected-window): New functions extracted from
7516 save-selected-window. Make sure we return the `alist' we construct.
7517 (save-selected-window): Use them.
7518
7519 * textmodes/tex-mode.el (tex-recenter-output-buffer):
7520 Use with-selected-window.
7521
7522 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
7523 forms that define macros (bug#12593).
7524
7525 2012-10-07 Kenichi Handa <handa@gnu.org>
7526
7527 * international/mule-conf.el (compound-text-with-extensions):
7528 Add :mime-charset property as x-ctext.
7529
7530 2012-10-07 Stefan Merten <smerten@oekonux.de>
7531
7532 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7533 (rst-indent-literal-normal, rst-indent-literal-minimized)
7534 (rst-indent-comment): Correct :version tag.
7535 (rst-official-cvs-rev): Correct version string.
7536
7537 2012-10-07 Glenn Morris <rgm@gnu.org>
7538
7539 * mail/rmailmm.el (rmail-mime-process-multipart):
7540 Do not confuse a multipart message with an epilogue
7541 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
7542
7543 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7544
7545 Fix shell output retrieval and comint-prompt-regexp init.
7546 * progmodes/python.el (inferior-python-mode):
7547 (python-shell-make-comint): Fix initialization of
7548 comint-prompt-regexp from copied file local variables.
7549 (python-shell-fetched-lines): Remove var.
7550 (python-shell-output-filter-in-progress): Rename from
7551 python-shell-fetch-lines-in-progress.
7552 (python-shell-output-filter-buffer): Rename from
7553 python-shell-fetch-lines-string.
7554 (python-shell-fetch-lines-filter): Delete function.
7555 (python-shell-output-filter): New function.
7556 (python-shell-send-string-no-output): Use them.
7557
7558 2012-10-07 Glenn Morris <rgm@gnu.org>
7559
7560 * hi-lock.el (hi-lock-process-phrase):
7561 Try to make it less fragile. (Bug#7161)
7562
7563 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
7564
7565 2012-10-06 Glenn Morris <rgm@gnu.org>
7566
7567 * ehelp.el (electric-help-mode): Use help-mode rather than
7568 non-existent mode `help'.
7569 (electric-help-map): Use button-buffer-map. (Bug#10917)
7570
7571 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
7572 (reftex-create-bibtex-footer): Fix custom types.
7573
7574 * progmodes/sh-script.el (sh-indent-after-continuation):
7575 Add explicit :group.
7576
7577 * textmodes/rst.el (rst-preferred-decorations)
7578 (rst-shift-basic-offset): Clarify obsolescence versions.
7579
7580 * profiler.el (profiler): Add missing group :version tag.
7581 * avoid.el (mouse-avoidance-banish-position):
7582 * proced.el (proced-renice-command):
7583 * calc/calc.el (calc-ensure-consistent-units):
7584 * calendar/icalendar.el (icalendar-import-format-uid):
7585 * net/tramp.el (tramp-save-ad-hoc-proxies):
7586 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7587 * progmodes/flymake.el (flymake-error-bitmap)
7588 (flymake-warning-bitmap, flymake-fringe-indicator-position):
7589 * progmodes/sh-script.el (sh-indent-after-continuation):
7590 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
7591 (verilog-before-save-font-hook, verilog-after-save-font-hook):
7592 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
7593 (vhdl-array-index-record-field-in-sensitivity-list)
7594 (vhdl-indent-comment-like-next-code-line):
7595 * textmodes/reftex-vars.el (reftex-ref-style-alist)
7596 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
7597 (reftex-cite-key-separator, reftex-create-bibtex-header)
7598 (reftex-create-bibtex-footer):
7599 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7600 (rst-indent-literal-normal, rst-indent-literal-minimized)
7601 (rst-indent-comment): Add missing custom :version tags.
7602
7603 * calendar/timeclock.el (timeclock-modeline-display):
7604 Add missing obsolete alias for renamed user option.
7605
7606 * strokes.el (strokes-modeline-string):
7607 * emulation/crisp.el (crisp-mode-modeline-string):
7608 * eshell/esh-mode.el (eshell-status-in-modeline):
7609 Aliases to defcustoms must come before the defcustom.
7610
7611 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
7612 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7613 (cal-tex-cursor-week-monday): Doc fixes.
7614 (cal-tex-cursor-week2-summary): Doc fix.
7615 Rename from cal-tex-cursor-week-at-a-glance.
7616
7617 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
7618 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
7619
7620 * calendar/calendar.el (calendar-mode-map):
7621 Add cal-tex-cursor-week2-summary.
7622
7623 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
7624
7625 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
7626
7627 * subr.el (read-passwd-map): New var.
7628 (read-passwd): Use `read-string' again.
7629 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
7630
7631 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
7632
7633 * register.el (append-to-register, prepend-to-register):
7634 Deactivate mark, as does `copy-to-register' (bug#12389).
7635
7636 2012-10-06 Chong Yidong <cyd@gnu.org>
7637
7638 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
7639
7640 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
7641
7642 * international/characters.el: Fix simple mistake ((car chars) ->
7643 elt), delete duplicated code.
7644
7645 2012-10-06 Glenn Morris <rgm@gnu.org>
7646
7647 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
7648
7649 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
7650
7651 * color.el (color-hsl-to-rgb): Fix incorrect results for
7652 small and large hue values. (Bug#12559)
7653
7654 2012-10-05 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7655
7656 Enhancements to docstring formatting when filling paragraphs.
7657 * progmodes/python.el (python-fill-docstring-style): Rename from
7658 python-fill-string-style. Added new style.
7659 (python-fill-string): Use new style. Better checks for
7660 docstrings.
7661
7662 2012-10-05 Glenn Morris <rgm@gnu.org>
7663
7664 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
7665
7666 * color.el (color-name-to-rgb, color-rgb-to-hex)
7667 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
7668 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
7669 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7670 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
7671
7672 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
7673
7674 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
7675
7676 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
7677 to get the correct size across symlinks.
7678
7679 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
7680
7681 2012-10-04 Juri Linkov <juri@jurta.org>
7682
7683 * replace.el (query-replace-interactive): Declare obsolete.
7684 (query-replace-read-from): Add the last incremental search string
7685 to the list of default values accessible via M-n.
7686 (map-query-replace-regexp): Use `read-regexp'.
7687 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7688 (map-query-replace-regexp, replace-string, replace-regexp):
7689 Fix docstrings to replace mentions of `query-replace-interactive'
7690 with alternatives. (Bug#12526)
7691
7692 2012-10-04 Juri Linkov <juri@jurta.org>
7693
7694 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
7695 (dired-pop-to-buffer): Declare obsolete.
7696 (dired-mark-pop-up): Doc fix.
7697
7698 2012-10-04 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7699
7700 Allow user to set docstring style for fill-paragraph.
7701 * progmodes/python.el
7702 (python-fill-comment-function, python-fill-string-function)
7703 (python-fill-decorator-function, python-fill-paren-function):
7704 Remove :safe for defcustoms.
7705 (python-fill-string-style): New defcustom
7706 (python-fill-paragraph-function): Enhance context detection.
7707 (python-fill-string): Honor python-fill-string-style settings.
7708
7709 2012-10-04 Martin Rudalics <rudalics@gmx.at>
7710
7711 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
7712 after setting its buffer (Bug#10805).
7713
7714 2012-10-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7715
7716 Fix cornercase for string syntax.
7717 * progmodes/python.el (python-syntax-propertize-function):
7718 Simplify and enhance the regexp for unescaped quotes. Now it also
7719 matches quotes in weird situations like the single quote in
7720 "something\"'".
7721 (python-syntax-stringify): Simplify num-quotes detecting code.
7722
7723 2012-10-03 Glenn Morris <rgm@gnu.org>
7724
7725 * help-macro.el (three-step-help):
7726 Revert 2012-09-29 change. (Bug#12567)
7727
7728 2012-10-03 Martin Rudalics <rudalics@gmx.at>
7729
7730 * menu-bar.el (kill-this-buffer): Don't do anything when
7731 `menu-frame' is not alive or visible (Bug#8184).
7732
7733 * emacs-lisp/debug.el (debug): When quitting the debugger window
7734 restore current buffer (Bug#12502).
7735
7736 2012-10-02 Chong Yidong <cyd@gnu.org>
7737
7738 * progmodes/hideif.el (hif-lookup, hif-defined):
7739 Handle semantic-c-takeover-hideif.
7740
7741 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
7742
7743 Change sampling interval units from ms to ns.
7744 * profiler.el (profiler-sampling-interval): Change units
7745 from ms to ns, multiplying the default by 1000000 so that
7746 it remains 1 ms.
7747 (profiler-report-cpu-line-format): Give enough room for
7748 the maximum counters on 64-bit hosts.
7749 (profiler-report-render-calltree-1): Call them "CPU samples",
7750 not "Time (ms)", since they are not milliseconds now (and
7751 never really were).
7752
7753 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7754
7755 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
7756 Fix querying BBDB for entries without a last name (Bug#11580).
7757
7758 2012-10-02 Chong Yidong <cyd@gnu.org>
7759
7760 * emacs-lisp/eieio.el: Restore Version header.
7761
7762 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7763
7764 * vc/diff-mode.el (diff--auto-refine-data): New var.
7765 (diff-hunk): Use it to delay refinement.
7766 (diff-mode): Remove overlays when we turn off font-lock.
7767
7768 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
7769 (table-initialize-table-fixed-width-mode)
7770 (table-set-table-fixed-width-mode): Remove functions.
7771 (table-command-list): Move initialization into declaration.
7772 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
7773 (table-with-cache-buffer): Use `declare'.
7774 (table-span-cell): Simplify via CSE.
7775 (table-fixed-width-mode): Use define-minor-mode.
7776 (table-call-interactively, table-funcall, table-apply): Remove.
7777 (table-function): New function, to replace them.
7778
7779 * bookmark.el (bookmark-search-pattern): Remove var.
7780 (bookmark-read-search-input): Remove function.
7781 (bookmark-bmenu-search): Reimplement using a minibuffer.
7782
7783 * faces.el (modeline): Remove obsolete face name.
7784
7785 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
7786 and give a non-nil default value.
7787 (add-change-log-entry): Simplify accordingly.
7788
7789 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
7790
7791 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
7792 (vc-git-log-edit-toggle-amend): New function.
7793 (vc-git-log-edit-toggle-signoff): New function.
7794 (vc-git-log-edit-mode): New major mode.
7795 (vc-git-log-edit-mode-map): Keymap for it.
7796 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
7797
7798 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
7799 header names.
7800 (log-edit-toggle-header): New function.
7801 (log-edit-extract-headers): Accept function values in HEADERS alist.
7802
7803 2012-10-01 David Engster <deng@randomsample.de>
7804
7805 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
7806 from symbol property and change message to be more consistent with
7807 Emacs proper.
7808 (eieio-describe-generic): Add filename for each implementation.
7809 Fix indices for generic and normal methods.
7810 (eieio-method-def, eieio-class-def): New buttons.
7811 (eieio-help-find-method-definition)
7812 (eieio-help-find-class-definition): New functions.
7813 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
7814 class, constructor and method definitions.
7815
7816 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
7817 information in symbol property.
7818 (scoped-class): Remove.
7819 (eieio-slot-name-index, call-next-method): Check if it is bound.
7820
7821 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
7822
7823 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
7824 (eieio-custom-mode): New major mode.
7825 (eieio-customize-object): Use it.
7826
7827 2012-10-01 Eric Ludlam <zappo@gnu.org>
7828
7829 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
7830 specifying the expected class, and whether subclassing is allowed.
7831 (eieio-persistent-convert-list-to-object):
7832 (eieio-persistent-validate/fix-slot-value)
7833 (eieio-persistent-slot-type-is-class-p): New functions.
7834 (eieio-named::slot-missing): Doc fix.
7835
7836 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
7837 Stop using unused publd variable.
7838
7839 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7840 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
7841 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
7842 (eieio-speedbar-handle-click): Do not specify a class for the
7843 method. Fixes method invocation order problems with EDE.
7844
7845 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7846
7847 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
7848 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
7849
7850 2012-10-01 Karl Fogel <kfogel@red-bean.com>
7851
7852 * bookmark.el (bookmark-version-control): Give tags in the
7853 :type choices (Bug#12309), and improve doc string.
7854 (bookmark-write-file): Bind `print-circle' to `t' to allow
7855 circular custom bookmark types. (Bug#12503)
7856
7857 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
7858
7859 Revert the FOLLOW-SYMLINKS change for file-attributes.
7860 * files.el (remote-file-name-inhibit-cache, after-find-file):
7861 * time.el (display-time-file-nonempty-p): Undo last change.
7862
7863 * profiler.el (profiler-sampling-interval): Change default back to 1.
7864 See Stefan Monnier in
7865 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
7866
7867 2012-10-01 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7868
7869 Shell output catching a la gud-gdb.
7870 * progmodes/python.el (python-shell-fetch-lines-in-progress)
7871 (python-shell-fetch-lines-string, python-shell-fetched-lines):
7872 New Vars.
7873 (python-shell-fetch-lines-filter): New function.
7874 (python-shell-send-string-no-output): Use them.
7875
7876 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
7877
7878 * profiler.el (profiler-sampling-interval): Rename from
7879 profiler-sample-interval.
7880 (profiler-sampling-interval): Default to 10.
7881 (profiler-find-profile): New command (was profiler-find-log).
7882 (profiler-find-profile-other-window): New command.
7883 (profiler-find-profile-other-frame): New command.
7884 (profiler-profile): Introduce API-level data structure.
7885
7886 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
7887
7888 file-attributes has a new optional arg FOLLOW-SYMLINKS.
7889 * files.el (remote-file-name-inhibit-cache):
7890 * time.el (display-time-file-nonempty-p): Use it.
7891 * files.el (after-find-file): Don't chase links before calling
7892 file-exists-p, as file-exists-p already does the right thing.
7893
7894 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
7895
7896 Merge from standalone RefTeX repository.
7897
7898 The following ChangeLog entries are shortened versions of the
7899 original ones with file paths adapted. A not so strongly edited
7900 version of the original ChangeLog can be found in the commit log.
7901
7902 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
7903 (reftex-arg-cite): Use `reftex-cite-key-separator'.
7904 Correctly handle new value type returned by `reftex-citation'.
7905
7906 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
7907 that entries with whitespace at various places are found.
7908 Doc fix. Include entries that are cross-referenced from cited entries.
7909 Include @String definitions in the resulting bib file. Add header
7910 and footer defined in `reftex-create-bibtex-header' and
7911 `reftex-create-bibtex-footer'.
7912 (reftex-do-citation): Make it possible again to insert
7913 non-existent entries. Save match data when asking for optional
7914 arguments. Return all keys, not just the first one.
7915 (reftex-all-used-citation-keys): Fix regexp to correctly extract
7916 all citations in the same line.
7917 (reftex-parse-bibtex-entry): Accept additional optional argument
7918 `raw' and keep quotes or braces if it is non-nil. Match fields
7919 containing hyphens besides word constituents.
7920 (reftex-get-string-refs): New function.
7921 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
7922 and ask if it should be reread in case it did.
7923 (reftex-pop-to-bibtex-entry)
7924 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
7925 entries with spaces or tabs in front of arguments.
7926 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7927 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
7928 Match entries containing numbers and symbol constituents.
7929 (reftex-do-citation, reftex-figure-out-cite-format):
7930 Use `reftex-cite-key-separator'.
7931
7932 * textmodes/reftex-dcr.el: Move provide statement to end of file.
7933 (reftex-mouse-view-crossref): Explain why point is set.
7934
7935 * textmodes/reftex-global.el: Whitespace changes.
7936
7937 * textmodes/reftex-index.el: Move provide statement to end of
7938 file.
7939 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
7940 (reftex-index-visit-phrases-buffer): Set marker when visiting
7941 buffer. This allows for returning from the phrases file to the
7942 file one was just editing instead of the file where the last
7943 phrases was added from.
7944 (reftex-index-phrases-syntax-table): New variable. Give ?\"
7945 punctuation syntax as it usually is not used as string quote in
7946 TeX-related modes and may occur unmatched. The change also
7947 prevents fontification of quoted content.
7948 (reftex-index-phrases-mode): Use it.
7949
7950 * textmodes/reftex-parse.el (reftex-parse-from-file):
7951 Move backward one char if a `\' was matched after a section macro.
7952 (reftex-parse-from-file): Use beginning of match instead of end as
7953 bound.
7954
7955 * textmodes/reftex-ref.el: Adapt creation of
7956 `reftex-<package>-<macro>' functions to new structure of
7957 `reftex-ref-style-alist'.
7958 (reftex-reference): Use `reftex-ref-style-list' function.
7959 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
7960 reference macro if `reftex-ref-macro-prompt' is non-nil.
7961 (reftex-reference): Pass refstyle to `reftex-format-special'.
7962 Determine reference macro by looking at
7963 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
7964 Use only one special format function.
7965 (reftex-varioref-vref, reftex-fancyref-fref)
7966 (reftex-fancyref-Fref): Remove definitions. The functions are now
7967 generated from `reftex-ref-style-alist'.
7968 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
7969 Remove.
7970 (reftex-format-special): New function.
7971
7972 * textmodes/reftex-sel.el
7973 (reftex-select-cycle-ref-style-internal): Adapt to new structure
7974 of `reftex-ref-style-alist'. Remove code for testing macro type.
7975 (reftex-select-toggle-varioref)
7976 (reftex-select-toggle-fancyref): Remove.
7977 (reftex-select-cycle-ref-style-internal)
7978 (reftex-select-cycle-ref-style-forward)
7979 (reftex-select-cycle-ref-style-backward): New functions.
7980 (reftex-select-label-map): Use `v' and `V' for general cycling
7981 through reference styles. Add `p' for switching between number
7982 and page reference types.
7983
7984 * textmodes/reftex-toc.el (reftex-re-enlarge):
7985 Call `enlarge-window' only if there is something to do because in Emacs
7986 the horizontal version throws an error even if the parameter is 0.
7987
7988 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
7989 (reftex-plug-into-AUCTeX): Doc fix.
7990 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
7991 string. Adapt to new name.
7992 (reftex-ref-style-alist): Change structure so that it is not
7993 possible to use multiple different package names within a style.
7994 Remove the symbols for symbols for macro type distinction.
7995 Add characters for macro selection.
7996 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
7997 (reftex-create-bibtex-footer): New variables.
7998 (reftex-format-ref-function): Mention third argument of special
7999 format function.
8000 (reftex-ref-style-alist, reftex-ref-style-default-list):
8001 New variables.
8002 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
8003 to new implementation. Mark as obsolete. Add compatibility code
8004 for honoring the variable values in case they are set.
8005 (reftex-cite-format-builtin, reftex-bibliography-commands):
8006 Add support for ConTeXt.
8007 (reftex-format-ref-function, reftex-format-cite-function):
8008 Fix custom type.
8009 (reftex-cite-key-separator): New variable.
8010
8011 * textmodes/reftex.el (reftex-syntax-table-for-bib)
8012 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
8013 `reftex-syntax-table' because parens have to retain their paren
8014 syntax in order for parsing of BibTeX entries like @book(...) to
8015 work.
8016 (reftex-in-comment): Do not error out if `comment-start-skip' is
8017 not set. Deal correctly with escaped comment characters.
8018 (reftex-tie-multifile-symbols): Add doc string.
8019 Initialize `reftex-ref-style-list'.
8020 (reftex-untie-multifile-symbols): Add doc string.
8021 (reftex-add-index-macros): Doc fix.
8022 (reftex-ref-style-activate, reftex-ref-style-toggle)
8023 (reftex-ref-style-list): New functions.
8024 (reftex-mode-menu): Use them. Adapt to new structure of
8025 `reftex-ref-style-alist'.
8026 (reftex-select-with-char): Kill the RefTeX Select buffer when
8027 done.
8028 (reftex-remove-if): New function.
8029 (reftex-erase-all-selection-and-index-buffers)
8030 (reftex-mode-menu): Reference styles are now computed from
8031 `reftex-ref-style-alist'. Fix typo.
8032 (reftex-report-bug): New function.
8033 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
8034 algorithms with O(n log n). Introduce optional argument SORT (not
8035 yet used).
8036
8037 2012-09-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8038
8039 Enhancements for triple-quote string syntax.
8040 * progmodes/python.el (python-syntax-propertize-function):
8041 Match both quote cases in one regexp.
8042 (python-syntax-stringify): Handle matches properly.
8043
8044 2012-09-30 Juri Linkov <juri@jurta.org>
8045
8046 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
8047 to nil around the call to `insert' to prevent
8048 directory time modification by lock_file. (Bug#2295)
8049 * tar-mode.el (tar-summarize-buffer): Idem.
8050
8051 2012-09-30 Juri Linkov <juri@jurta.org>
8052
8053 * facemenu.el (list-colors-sort): Add option "Luminance".
8054 (list-colors-sort-key): Implement it.
8055
8056 * vc/diff-mode.el (diff-refine-removed):
8057 * vc/ediff-init.el (ediff-fine-diff-A):
8058 * vc/smerge-mode.el (smerge-refined-removed):
8059 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
8060
8061 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
8062
8063 * term/ns-win.el (x-file-dialog): New function.
8064
8065 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
8066
8067 * ido.el (ido-max-directory-size): Default to nil; the current
8068 default is small for POSIX systems, and impractical on Windows 7
8069 now that lstat returns directory sizes for NTFS.
8070
8071 2012-09-30 Martin Rudalics <rudalics@gmx.at>
8072
8073 In buffer display functions handle window-height/window-width
8074 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
8075 * window.el (window--display-buffer): New argument ALIST.
8076 Obey window-height and window-width alist entries.
8077 (window--try-to-split-window): New argument ALIST.
8078 Bind window-combination-limit to t when the window's size shall be
8079 changed and window-combination-limit equals `window-size'.
8080 (display-buffer-in-atom-window)
8081 (display-buffer-in-major-side-window)
8082 (display-buffer-in-side-window, display-buffer-same-window)
8083 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8084 (display-buffer-pop-up-window, display-buffer-below-selected)
8085 (display-buffer-at-bottom, display-buffer-in-previous-window)
8086 (display-buffer-use-some-window): Adjust all callers of
8087 window--display-buffer and window--try-to-split-window.
8088 (fit-frame-to-buffer): New option.
8089 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
8090 is non-nil.
8091 (display-buffer-in-major-side-window): Evaluate window-height /
8092 window-width alist entries.
8093
8094 * help.el (temp-buffer-resize-frames)
8095 (temp-buffer-resize-regexps): Remove options.
8096 (temp-buffer-resize-mode): Adjust doc-string.
8097 (resize-temp-buffer-window): Don't consult
8098 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
8099 temp-buffer-resize-frames.
8100
8101 * dired.el (dired-mark-pop-up):
8102 Call display-buffer-below-selected with a fit-window-to-buffer alist
8103 entry.
8104
8105 2012-09-30 Chong Yidong <cyd@gnu.org>
8106
8107 * server.el (server-host): Document the security implications.
8108 (server-auth-key): Doc fix.
8109
8110 * startup.el (initial-buffer-choice): Doc fix.
8111
8112 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
8113
8114 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
8115 restriction change.
8116
8117 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
8118
8119 * help-fns.el (help-fns--obsolete): Fix last change.
8120
8121 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
8122
8123 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
8124 (minor-mode-map-alist): Remove redundant code.
8125
8126 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
8127 visited in a buffer.
8128 (cvs-insert-visited-file): New function.
8129 (find-file-hook): Use it.
8130
8131 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
8132
8133 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
8134 chose face.
8135 (log-edit-empty-buffer-p): Don't require a space after a header.
8136
8137 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
8138
8139 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
8140
8141 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
8142 a proper minor-mode.
8143
8144 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
8145
8146 2012-09-29 Glenn Morris <rgm@gnu.org>
8147
8148 * winner.el (winner-mode): Remove variable (let define-minor-mode
8149 handle it).
8150 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
8151 Doc fixes.
8152 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
8153 (winner-mode): Use define-minor-mode.
8154
8155 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
8156 the full definition in loaddefs, rather than duplicating it.
8157
8158 * help-macro.el (three-step-help): No need to autoload defcustom.
8159
8160 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
8161 (inferior-lisp-program, inferior-lisp-load-command)
8162 (inferior-lisp-prompt, inferior-lisp-mode-hook):
8163 No need to autoload defcustoms.
8164
8165 * hippie-exp.el (hippie-expand-try-functions-list)
8166 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
8167 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
8168 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
8169 (hippie-expand-only-buffers): No need to autoload defcustoms.
8170 * progmodes/vhdl-mode.el (vhdl-line-expand):
8171 Explicitly load hippie-exp, so it does not get autoloaded
8172 while hippie-expand-try-functions-list is let-bound.
8173
8174 2012-09-28 Glenn Morris <rgm@gnu.org>
8175
8176 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
8177
8178 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
8179 Only "cl.el" counts as cl these days.
8180
8181 2012-09-28 Juri Linkov <juri@jurta.org>
8182
8183 Display archive errors in the echo area instead of inserting
8184 to the file buffer.
8185
8186 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
8187 to STDERR-TEST that can be a regexp matching a successful output.
8188 Create a temporary file and redirect stderr to it. Search for
8189 STDERR-TEST in the stderr output and display it in the echo area
8190 if no match is found.
8191 (archive-extract-by-file): New function like
8192 `archive-extract-by-stdout' but extracting archives to files
8193 and looking for successful matches in stdout. Function body is
8194 mostly copied from `archive-rar-extract'.
8195 (archive-rar-extract): Use `archive-extract-by-file'.
8196 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
8197
8198 2012-09-28 Leo Liu <sdl.web@gmail.com>
8199
8200 * pcomplete.el (pcomplete-show-completions):
8201 Use minibuffer-message to make pcomplete usable in minibuffer.
8202
8203 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
8204
8205 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8206
8207 * type-break.el: Use lexical-binding.
8208 (type-break-mode): Use define-minor-mode.
8209
8210 * emacs-lisp/pcase.el (pcase--mark-used): New.
8211 (pcase--u1): Use it (bug#12512).
8212
8213 * custom.el (load-theme): Set buffer-file-name so the load is recorded
8214 in load-history with the right file name.
8215
8216 2012-09-28 Tassilo Horn <tsdh@gnu.org>
8217
8218 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
8219 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
8220 (doc-view-get-bounding-box): Make bounding box slicing work for
8221 ODF and DVI documents.
8222
8223 2012-09-28 Glenn Morris <rgm@gnu.org>
8224
8225 * type-break.el (type-break-mode, type-break-interval)
8226 (type-break-good-rest-interval, type-break-keystroke-threshold):
8227 No need to autoload.
8228 (type-break-good-rest-interval, type-break-keystroke-threshold):
8229 Add :set-after.
8230
8231 2012-09-28 Chong Yidong <cyd@gnu.org>
8232
8233 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
8234 Add :version tag.
8235
8236 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8237
8238 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
8239
8240 2012-09-27 Glenn Morris <rgm@gnu.org>
8241
8242 * faces.el (x-display-name): Declare (for without-x builds).
8243
8244 * linum.el (linum-format): Don't autoload it. Improve :type.
8245
8246 * progmodes/tcl.el: Don't require outline when compiling.
8247 (outline-regexp, outline-level): Declare.
8248 * textmodes/sgml-mode.el: Don't require outline when compiling.
8249 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
8250
8251 * term.el (term-ansi-reset):
8252 Try setting term-ansi-face-already-done to nil. (Bug#11785)
8253
8254 * vc/vc.el (vc-next-action): Only gripe about committing read-only
8255 files for RCS and SCCS. (Bug#9781)
8256
8257 2012-09-27 Chong Yidong <cyd@gnu.org>
8258
8259 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
8260 change; value should be t.
8261
8262 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8263
8264 * image-mode.el: Use lexical-binding.
8265 (image-mode-winprops): Use t to stand for the window of
8266 a buffer that's not displayed.
8267 * doc-view.el (doc-view-new-window-function): Handle the new
8268 t in winprops.
8269 (doc-view-enlarge): Make it a real nop if the size is not changed.
8270 (doc-view-display): Handle the case where the buffer is not (yet?)
8271 displayed in any window.
8272 (doc-view-saved-settings): New var.
8273 (doc-view-mode): Use it.
8274 (doc-view-fallback-mode): Set it.
8275
8276 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
8277 Set lexical-binding.
8278 (minibuffer-eldef-shorten-default): New var.
8279 (minibuffer-default-in-prompt-regexps): Use it for new default.
8280 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
8281
8282 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8283
8284 * international/uni-bidi.el:
8285 * international/uni-category.el:
8286 * international/uni-name.el:
8287 * international/uni-numeric.el: Regenerate.
8288
8289 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
8290 Stefan Monnier <monnier@iro.umontreal.ca>
8291
8292 * profiler.el: New file.
8293
8294 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
8295
8296 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
8297 (testcover-reinstrument): Simplify with CSE.
8298
8299 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8300
8301 * window.el (temp-buffer-window-setup): Fix typo in docstring.
8302
8303 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
8304
8305 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
8306 (verilog-auto-input, verilog-auto-insert-lisp)
8307 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
8308 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
8309 (verilog-auto-unused, verilog-auto-wire)
8310 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
8311 newline. Reported by Andrew Jones.
8312 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
8313 Reported by Brad Dobbie.
8314 (verilog-batch-delete-trailing-whitespace):
8315 Create verilog-batch-delete-trailing-whitespace.
8316 Reported by Brad Dobbie.
8317 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
8318 parameters from another module. Reported by Dan Katz.
8319 (verilog-auto, verilog-auto-assign-modport)
8320 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
8321 AUTOINOUTMODPORT for UVM interface module shell generation.
8322 Reported by Brad Dobbie.
8323 (verilog-auto-inst-interfaced-ports): Make default nil, as more
8324 standard behavior.
8325 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
8326 Reported by Matt Martin.
8327
8328 2012-09-25 Martin Rudalics <rudalics@gmx.at>
8329
8330 * window.el (window--resize-child-windows): When resizing child
8331 windows proportionally, process them in reverse order to
8332 preserve the "when splitting a window the new one gets the odd
8333 line" behavior.
8334 (window--resize-root-window-vertically): When resizing the
8335 minibuffer window try to affect only windows at the bottom of the
8336 frame. (Bug#12419)
8337
8338 2012-09-25 Chong Yidong <cyd@gnu.org>
8339
8340 * subr.el (declare): Doc fix.
8341
8342 * help-fns.el (help-fns--obsolete): Handle macros properly.
8343
8344 2012-09-25 Chong Yidong <cyd@gnu.org>
8345
8346 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
8347 this function obsolete.
8348
8349 * calendar/cal-x.el (calendar-two-frame-setup)
8350 (calendar-only-one-frame-setup, calendar-one-frame-setup):
8351 * calendar/calendar.el (american-calendar, european-calendar)
8352 (calendar-for-loop):
8353 * comint.el (comint-dynamic-simple-complete)
8354 (comint-dynamic-complete-as-filename, comint-unquote-filename):
8355 * desktop.el (desktop-load-default):
8356 * dired-x.el (dired-omit-here-always)
8357 (dired-hack-local-variables, dired-default-directory):
8358 * emacs-lisp/derived.el (derived-mode-class):
8359 * emacs-lisp/timer.el (timer-set-time-with-usecs):
8360 * emacs-lock.el (toggle-emacs-lock):
8361 * epa.el (epa-display-verify-result):
8362 * epg.el (epg-sign-keys, epg-start-sign-keys)
8363 (epg-passphrase-callback-function):
8364 * eshell/esh-util.el (eshell-for):
8365 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
8366 (eshell-add-to-window-buffer-names):
8367 * files.el (locate-file-completion):
8368 * imenu.el (imenu-example--create-c-index)
8369 (imenu-example--create-lisp-index)
8370 (imenu-example--lisp-extract-index-name)
8371 (imenu-example--name-and-position):
8372 * international/mule-cmds.el (princ-list):
8373 * international/mule-diag.el (decode-codepage-char):
8374 * international/mule-util.el (detect-coding-with-priority):
8375 * iswitchb.el (iswitchb-read-buffer):
8376 * mail/mailalias.el (mail-complete):
8377 * mail/sendmail.el (mail-sent-via):
8378 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
8379 (mouse-major-mode-menu):
8380 * password-cache.el (password-read-and-add):
8381 * pcomplete.el (pcomplete-parse-comint-arguments):
8382 * progmodes/sh-script.el (sh-maybe-here-document):
8383 * replace.el (query-replace-regexp-eval):
8384 * savehist.el (savehist-load):
8385 * simple.el (choose-completion-delete-max-match):
8386 * term.el (term-dynamic-simple-complete):
8387 * vc/ediff-init.el (ediff-check-version):
8388 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
8389 * vc/vc.el (vc-diff-switches-list):
8390 * view.el (view-return-to-alist-update): Likewise.
8391
8392 * subr.el (eval-next-after-load, makehash, insert-string)
8393 (assoc-ignore-representation, assoc-ignore-case): Use declare to
8394 mark obsolete.
8395 (mode-line-inverse-video): Variable deleted.
8396
8397 * international/mule-util.el (string-to-sequence): Remove.
8398
8399 * calendar/calendar.el (calendar-version):
8400 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
8401 (icalendar-convert-diary-to-ical):
8402 * cus-edit.el (custom-mode):
8403 * ansi-color.el (ansi-color-unfontify-region):
8404 * international/latin1-disp.el (latin1-char-displayable-p):
8405 * progmodes/cwarn.el (turn-on-cwarn-mode):
8406 * progmodes/which-func.el (which-func-update-1):
8407 Use define-obsolete-function-alias.
8408
8409 * net/newst-backend.el (newsticker-cache-filename):
8410 * net/newst-treeview.el (newsticker-groups-filename):
8411 Fix incorrect obsolescence declaration.
8412
8413 * allout.el (allout-passphrase-hint-string): Likewise.
8414 (allout-init): Use a declare form to mark obsolete.
8415
8416 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
8417 this applies to functions.
8418
8419 * iswitchb.el (iswitchb-read-buffer): Move code of
8420 iswitchb-define-mode-map here, and delete that obsolete function.
8421
8422 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
8423 font-lock-reference-face.
8424
8425 2012-09-25 Glenn Morris <rgm@gnu.org>
8426
8427 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
8428 Doc fixes.
8429
8430 * eshell/em-term.el (eshell-term-name):
8431 Default to term-term-name. (Bug#12485)
8432
8433 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8434
8435 * progmodes/python.el (python-shell-send-buffer): Better handling
8436 of "if __name__ == '__main__':" conditionals when sending the buffer.
8437
8438 2012-09-24 Glenn Morris <rgm@gnu.org>
8439
8440 * eshell/esh-cmd.el (eshell-find-alias-function):
8441 Tighten up file-name regexp. (Bug#12499)
8442
8443 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8444
8445 Enhancements for triple-quote string syntax.
8446 * progmodes/python.el (python-quote-syntax): Remove.
8447 (python-syntax-propertize-function): New value.
8448 (python-syntax-count-quotes, python-syntax-stringify):
8449 New functions.
8450
8451 2012-09-24 Chong Yidong <cyd@gnu.org>
8452
8453 * mail/supercite.el (sc-version): Remove obsolete function.
8454 (sc-describe): Don't mark as obsolete, since it is bound.
8455 (sc-submit-bug-report): Remove.
8456
8457 * vc/log-edit.el (cvs-changelog-full-paragraphs)
8458 (cvs-commit-buffer-require-final-newline): Remove.
8459 (log-edit-require-final-newline)
8460 (log-edit-changelog-full-paragraphs): Default to t.
8461
8462 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
8463 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
8464 * vc/vc.el (vc-checkout-carefully): Likewise.
8465
8466 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
8467 (emerge-version): Remove.
8468
8469 * progmodes/compile.el (compile-internal): Remove.
8470 (compilation-parse-errors-function): Fix typo.
8471
8472 * international/mule.el (set-char-table-default): Remove.
8473 (set-coding-priority, make-coding-system, generic-char-p)
8474 (charset-list, charset-bytes, charset-id): Use declare to mark
8475 functions as obsolete.
8476
8477 * vc/pcvs-defs.el (cvs-buffer-name-alist)
8478 (cvs-invert-ignore-marks): Remove references to obsolete vars.
8479 * vc/vc-hooks.el (vc-default-registered): Don't use
8480 vc-master-templates.
8481
8482 * font-lock.el (font-lock-reference-face):
8483 Use define-obsolete-variable-alias.
8484
8485 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
8486 * calendar/calendar.el (calendar-font-lock-keywords):
8487 * calendar/diary-lib.el (diary-font-lock-keywords)
8488 (diary-fancy-font-lock-keywords):
8489 * textmodes/reftex-sel.el (reftex-insert-docstruct):
8490 * textmodes/reftex-index.el (reftex-insert-index):
8491 * textmodes/reftex-cite.el (reftex-format-bib-entry):
8492 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8493 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
8494 * progmodes/prolog.el (prolog-font-lock-keywords):
8495 * progmodes/idlwave.el (idlwave-idl-keywords):
8496 * progmodes/ada-mode.el (ada-font-lock-keywords):
8497 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
8498
8499 2012-09-24 Glenn Morris <rgm@gnu.org>
8500
8501 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
8502
8503 2012-09-23 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8504
8505 * progmodes/python.el (python-indent-line): More consistent cursor
8506 movement behavior.
8507
8508 2012-09-23 Stefan Merten <smerten@oekonux.de>
8509
8510 * textmodes/rst.el: Fix compiler warning.
8511
8512 2012-09-23 Roland Winkler <winkler@gnu.org>
8513
8514 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
8515 Transcribe also LaTeX hyphenation.
8516 (bibtex-reformat): Bug fix. Do not quote twice the elements of
8517 bibtex-reformat-previous-options.
8518
8519 2012-09-23 Roland Winkler <winkler@gnu.org>
8520
8521 * proced.el (proced-renice-command): New variable.
8522 (proced-marked-processes): New function.
8523 (proced-with-processes-buffer): New macro.
8524 (proced-send-signal): Use them.
8525 (proced-renice): New command bound to r.
8526
8527 2012-09-23 Roland Winkler <winkler@gnu.org>
8528
8529 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
8530 ibuffer-saved-filter-groups has one element, shortcut the call of
8531 completing-read. (Bug#12331)
8532
8533 2012-09-23 Chong Yidong <cyd@gnu.org>
8534
8535 * bindings.el (mode-line-toggle-read-only):
8536 * bs.el (bs-toggle-readonly):
8537 * buff-menu.el (Buffer-menu-toggle-read-only):
8538 * dired.el (dired-toggle-read-only):
8539 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
8540
8541 2012-09-23 Chong Yidong <cyd@gnu.org>
8542
8543 * image.el (image-type-available-p): Adapt to init-image-library
8544 argument changes.
8545
8546 2012-09-22 Juri Linkov <juri@jurta.org>
8547
8548 * dired.el (dired-mode-map): Add [remap read-only-mode] for
8549 `dired-toggle-read-only'. (Bug#12462)
8550
8551 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8552
8553 * subr.el (temp-output-buffer-show): New function.
8554 (with-output-to-temp-buffer): Call temp-output-buffer-show
8555 instead of internal-temp-output-buffer-show.
8556
8557 2012-09-22 Chong Yidong <cyd@gnu.org>
8558
8559 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
8560 (Bug#12462).
8561
8562 * repeat.el (repeat): Doc fix (Bug#12348).
8563
8564 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
8565 (Bug#10909).
8566
8567 * simple.el (shell-command-on-region): Doc fix.
8568 (read-only-mode): Doc fix.
8569
8570 2012-09-22 Eli Zaretskii <eliz@gnu.org>
8571
8572 * emacs-lisp/timer.el (run-with-idle-timer)
8573 (timer-activate-when-idle): Warn against reinvoking an idle timer
8574 from within its own timer action. (Bug#12447)
8575
8576 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8577
8578 * cus-start.el (window-combination-limit): Add new optional
8579 values.
8580 * window.el (temp-buffer-window-show)
8581 (window--try-to-split-window): Handle new values of
8582 window-combination-limit (Bug#1806).
8583 (split-window): Test window-combination-limit for t instead of
8584 non-nil.
8585 (display-buffer-at-bottom): New buffer display action function.
8586 * help.el (temp-buffer-resize-regexps): New option.
8587 (temp-buffer-resize-mode): Rewrite doc-string.
8588 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
8589 Don't resize reused window. Suggested by Glenn Morris.
8590
8591 2012-09-22 Stefan Merten <smerten@oekonux.de>
8592
8593 * textmodes/rst.el: Revamp section title faces.
8594 (rst-official-version)
8595 (rst-package-emacs-version-alist): Sync with official version
8596 V1.4.0.
8597 (rst-faces-defaults, rst-set-level-default)
8598 (rst-level-face-max, rst-level-face-base-color)
8599 (rst-level-face-base-light, rst-level-face-format-light)
8600 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
8601 (rst-adornment-faces-alist): Match new setup.
8602 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
8603 (rst-level-5, rst-level-6): New faces.
8604
8605 2012-09-22 Chong Yidong <cyd@gnu.org>
8606
8607 * simple.el (undo): Handle indirect buffers (Bug#8207).
8608
8609 2012-09-21 Leo Liu <sdl.web@gmail.com>
8610
8611 IDO: Disable match re-ordering for buffer switching.
8612 * ido.el (ido-buffer-disable-smart-matches): New variable.
8613 (ido-set-matches-1): Use it. (Bug#2042)
8614
8615 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
8616
8617 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8618 Fix 2011-05-17 change. (Bug#12418)
8619
8620 2012-09-21 Leo Liu <sdl.web@gmail.com>
8621
8622 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
8623
8624 2012-09-21 Glenn Morris <rgm@gnu.org>
8625
8626 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
8627 Be more robust about locating simple.el.
8628
8629 2012-09-21 Glenn Morris <rgm@gnu.org>
8630
8631 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
8632
8633 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
8634
8635 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
8636
8637 2012-09-20 Juri Linkov <juri@jurta.org>
8638
8639 * replace.el (query-replace-read-from): Use `read-regexp' instead
8640 of `read-from-minibuffer' when `regexp-flag' is non-nil.
8641 (occur-read-primary-args): Use `read-regexp' instead of
8642 `read-string'.
8643 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
8644 `read-from-minibuffer'.
8645 * isearch.el (isearch-occur): Use `read-regexp' instead of
8646 `read-string'.
8647 * dired.el (dired-read-regexp): Use `read-regexp' instead of
8648 `read-from-minibuffer'.
8649 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
8650 of `read-string'. (Bug#7567)
8651
8652 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
8653 and allow accepting a list of strings prepended to a list of
8654 standard default values. Doc fix. (Bug#12321)
8655
8656 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
8657
8658 * replace.el (read-regexp): Don't add ": " when PROMPT already
8659 ends with a colon and space. (Bug#12321)
8660
8661 2012-09-20 Tassilo Horn <tsdh@gnu.org>
8662
8663 * doc-view.el (doc-view-display): Better fix for the cl-assertion
8664 error.
8665
8666 2012-09-20 Stefan Merten <smerten@oekonux.de>
8667
8668 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
8669 Fixes feature request bug#11711.
8670 (rst-mode): Create `imenu-create-index-function'.
8671 (rst-get-stripped-line): Delete after refactoring.
8672 (rst-section-tree, rst-section-tree-rec)
8673 (rst-section-tree-point): Refactor and document properly.
8674 (rst-imenu-find-adornments-for-position)
8675 (rst-imenu-convert-cell, rst-imenu-create-index):
8676 New function.
8677
8678 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8679
8680 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
8681 (macroexp--expand-all): Use it.
8682 (macroexp--funcall-and-return): Remove by folding it into its sole
8683 caller (macroexp--warn-and-return).
8684 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
8685 Use macroexp--obsolete-warning.
8686
8687 * calc/calc.el: Fix last change by removing the whole chunk, since it
8688 was only needed back when Calc was not bundled.
8689
8690 2012-09-20 Martin Rudalics <rudalics@gmx.at>
8691
8692 * emacs-lisp/debug.el (debug): Restore assignment to
8693 debugger-old-buffer removed on 2012-09-08.
8694
8695 2012-09-20 Juri Linkov <juri@jurta.org>
8696
8697 * dired-aux.el (dired-diff): Remove (require 'diff) since
8698 `diff-latest-backup-file' is now autoloaded.
8699
8700 2012-09-20 Chong Yidong <cyd@gnu.org>
8701
8702 * vc/diff.el (diff-latest-backup-file): Autoload.
8703
8704 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8705
8706 * calc/calc.el: Remove redundant autoload shape check.
8707 (sel-mode): Don't defvar.
8708 (calc-get-stack-element): Add `sel-mode' arg instead.
8709 (calc-top, calc-top-list): Pass it this additional argument.
8710 * calc/calc-store.el (calc-store-map):
8711 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
8712 (calc-map-equation, calc-outer-product, calc-inner-product):
8713 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
8714
8715 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
8716
8717 2012-09-19 Juri Linkov <juri@jurta.org>
8718
8719 * dired-aux.el (dired-diff): Add (require 'diff) because
8720 `diff-latest-backup-file' is not autoloaded.
8721 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
8722 of `dired-get-filename' to t to not report error when there is
8723 no default file on the current line.
8724
8725 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8726
8727 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
8728 macroexp--eval-if-compile.
8729 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
8730 (macroexp--expand-all): Use them (bug#12371).
8731
8732 * doc-view.el (doc-view-guess-paper-size)
8733 (doc-view-scale-bounding-box): Fix unbound `caddr'.
8734
8735 2012-09-19 Tassilo Horn <tsdh@gnu.org>
8736
8737 New feature: set optimal slice from BoundingBox information.
8738 * doc-view.el (doc-view-mode-map): Add keybinding.
8739 (doc-view-menu): Add menu entry.
8740 (doc-view-set-slice): Adapt docstring.
8741 (doc-view-get-bounding-box, doc-view-guess-paper-size)
8742 (doc-view-scale-bounding-box)
8743 (doc-view-set-slice-from-bounding-box): New functions.
8744 (doc-view-paper-sizes): New defvar.
8745
8746 2012-09-19 Glenn Morris <rgm@gnu.org>
8747
8748 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
8749 (byte-compile-log-warning): Autoload. (Bug#12371)
8750
8751 * calendar/calendar.el (calendar-american-month-header)
8752 (calendar-european-month-header, calendar-iso-month-header)
8753 (calendar-month-header): New options.
8754 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
8755 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
8756
8757 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
8758
8759 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
8760
8761 2012-09-18 Juri Linkov <juri@jurta.org>
8762
8763 * dired-aux.el (dired-diff): Restore original functionality of
8764 getting the default value, but keep new feature of using the
8765 latest existing backup file (`diff-latest-backup-file').
8766
8767 2012-09-18 Juri Linkov <juri@jurta.org>
8768
8769 * dired.el (dired-mark): If the region is active in Transient Mark
8770 mode, mark all files in the active region. Doc fix.
8771 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
8772 Doc fix. (Bug#10624)
8773
8774 2012-09-18 Juri Linkov <juri@jurta.org>
8775
8776 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
8777 attributes for M-n are pulled from the file at point.
8778 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
8779 Suggested by Drew Adams. (Bug#10624)
8780
8781 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
8782
8783 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
8784 whitespace after "end".
8785 (ruby-do-end-to-brace): Collapse block to one line if it fits
8786 within fill-column.
8787
8788 2012-09-18 Martin Rudalics <rudalics@gmx.at>
8789
8790 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
8791 value.
8792 (debug): Don't remove debugger window when debugger is expected
8793 to be back.
8794
8795 2012-09-18 Chong Yidong <cyd@gnu.org>
8796
8797 * custom.el (defface): Doc fix.
8798
8799 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
8800
8801 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
8802
8803 * progmodes/compile.el (compilation-start): Use compilation-always-kill
8804 to initialize query-on-exit; then test that instead (bug#12288).
8805
8806 2012-09-17 Stefan Merten <smerten@oekonux.de>
8807
8808 * textmodes/rst.el: Add support for `testcover'.
8809 (rst-defcustom-testcover, rst-testcover-add-compose)
8810 (rst-testcover-add-1value): New functions.
8811 (rst-portable-mark-active-p): Replace by `use-region-p'.
8812 (rst-update-section, rst-classify-adornment)
8813 (rst-find-title-line): Mark `1value' forms.
8814 (rst-classify-adornment): Remove superfluous form.
8815 (rst-update-section, rst-get-adornments-around)
8816 (rst-adornment-complete-p, rst-get-next-adornment)
8817 (rst-adjust, rst-promote-region)
8818 (rst-display-adornments-hierarchy, rst-straighten-adornments)
8819 (rst-find-pfx-in-region, rst-section-tree-rec)
8820 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
8821 (rst-toc-node, rst-toc, rst-forward-section)
8822 (rst-iterate-leftmost-paragraphs)
8823 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
8824 (rst-bullet-list-region)
8825 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
8826 (rst-compile-find-conf, rst-compile)
8827 (rst-repeat-last-character): Fix style.
8828
8829 2012-09-17 Chong Yidong <cyd@gnu.org>
8830
8831 * comint.el (comint--complete-file-name-data): Don't add a space
8832 if the status is `sole'; that adds a gratuitous space in the
8833 completion-cycling case (Bug#12092).
8834
8835 * pcomplete.el (pcomplete-completions-at-point): Likewise.
8836
8837 2012-09-17 Richard Stallman <rms@gnu.org>
8838
8839 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
8840 only in the mime-shown mode, not in raw mode.
8841 (rmail-mime): Toggle off mime by displaying the message without
8842 mime processing. (Bug#12305)
8843
8844 * mail/rmail.el (rmail-retry-failure):
8845 Turn off mime processing first. (Bug#12037)
8846
8847 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
8848
8849 2012-09-17 Chong Yidong <cyd@gnu.org>
8850
8851 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
8852 (shell-dynamic-complete-functions): Convert to defcustom.
8853 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
8854
8855 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
8856 * comint.el (comint-prompt-read-only):
8857 * custom.el (defcustom):
8858 * hi-lock.el (hi-lock-mode):
8859 * ibuffer.el (ibuffer-formats):
8860 * ielm.el (ielm-prompt-read-only):
8861 * novice.el (disable-command):
8862 * saveplace.el (toggle-save-place):
8863 * speedbar.el (speedbar-supported-extension-expressions):
8864 * startup.el (auto-save-list-file-prefix, init-file-user)
8865 (after-init-hook, inhibit-startup-echo-area-message):
8866 * strokes.el (strokes-help):
8867 * time-stamp.el (time-stamp):
8868 * calendar/calendar.el (calendar, diary-file):
8869 * calendar/diary-lib.el (diary-mail-entries, diary)
8870 (diary-list-entries-hook):
8871 * calendar/holidays.el (holidays, calendar-holidays):
8872 * calendar/lunar.el (lunar-phases):
8873 * calendar/solar.el (sunrise-sunset):
8874 * emulation/edt.el (edt-load-keys):
8875 * emulation/viper.el (viper-mode):
8876 * eshell/em-alias.el (eshell-command-aliases-list):
8877 * eshell/esh-util.el (eshell-convert-numeric-arguments):
8878 * international/ogonek.el (ogonek-information):
8879 * net/tramp-cmds.el (tramp-bug):
8880 * net/quickurl.el (quickurl-reread-hook-postfix):
8881 * play/decipher.el (decipher-font-lock-keywords):
8882 * progmodes/cc-styles.el (c-set-style):
8883 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
8884 * progmodes/inf-lisp.el (inferior-lisp-prompt):
8885 * progmodes/octave-mod.el (octave-mode):
8886 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
8887 * progmodes/verilog-mode.el (verilog-read-defines):
8888 * textmodes/two-column.el (2C-mode): Likewise.
8889
8890 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
8891
8892 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
8893 that holds many addresses.
8894
8895 2012-09-16 Chong Yidong <cyd@gnu.org>
8896
8897 * align.el (align-areas): Call the indication function with
8898 positions instead of markers for arguments (Bug#12343).
8899
8900 * files.el (parse-colon-path): Use split-string (Bug#12351).
8901
8902 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8903 (display-buffer-function): Mark as obsolete.
8904
8905 * progmodes/compile.el (compilation-parse-errors): Accept list
8906 values similar to font-lock-keywords (Bug#12136).
8907 Suggested by Oleksandr Manzyuk.
8908 (compilation-error-regexp-alist): Doc fix.
8909
8910 2012-09-15 Glenn Morris <rgm@gnu.org>
8911
8912 * version.el (emacs-bzr-version-bzr): New function.
8913 (emacs-bzr-get-version): Add optional EXTERNAL argument.
8914
8915 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
8916 checkouts, check the parent dirstate matches the branch.
8917 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
8918 empty string.
8919
8920 * version.el (emacs-bzr-version): Doc fix.
8921 (emacs-bzr-version-dirstate): New function.
8922 (emacs-bzr-get-version): For lightweight checkouts, if the parent
8923 is local try and check that it matches the branch. If not, just
8924 use dirstate information. (Bug#12441)
8925
8926 2012-09-14 Juri Linkov <juri@jurta.org>
8927
8928 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
8929 (Bug#12399)
8930
8931 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8932
8933 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
8934
8935 * emacs-lisp/edebug.el: Miscellaneous cleanup.
8936 Remove obsolete byte-compiler hack that tried to silence some warnings.
8937 (edebug-submit-bug-report): Remove.
8938 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
8939 Remove aliases, use the un-prefixed name instead.
8940 (edebug-pop-to-buffer): Consider other frames.
8941 (edebug-original-read):: Make it more obvious that it's always defined.
8942 (edebug--make-form-data-entry, edebug--form-data-name)
8943 (edebug--form-data-begin, edebug--form-data-end): Rename from the
8944 single-dashed name, and implement with cl-defstruct.
8945 (edebug-set-form-data-entry): Use the standard accessors.
8946 (edebug-make-top-form-data-entry): Use push.
8947 (edebug-no-match): Drop useless `funcall'.
8948 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
8949 to functions.
8950 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
8951 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
8952 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
8953 (easy-menu-define, with-custom-print): Remove redundant specs.
8954 (edebug-outside-overriding-local-map)
8955 (edebug-outside-overriding-terminal-local-map): Remove, unused.
8956 (edebug--display): Bind unread-command-events directly to nil rather
8957 than binding it to unread-command-events and later setting it to nil.
8958 (edebug--display): Kill edebug-eval-buffer here...
8959 (edebug--recursive-edit): ...rather than here.
8960 Bind standard-output and standard-input.
8961 (edebug-eval): Check cl-macroexpand-all is fboundp.
8962 (edebug-temp-display-freq-count): Fix last change.
8963
8964 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
8965 * subr.el (noreturn, 1value): Add `debug' spec.
8966 * emacs-lisp/advice.el: Require cl-lib.
8967 (ad-copy-tree): Remove, use copy-tree instead.
8968 (ad-dolist): Remove use dolist or cl-dolist instead.
8969 (ad-do-return): Remove, use cl-return instead.
8970 (defadvice): Add `debug' spec.
8971
8972 2012-09-13 Juri Linkov <juri@jurta.org>
8973
8974 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
8975 (Bug#12399)
8976
8977 2012-09-13 Glenn Morris <rgm@gnu.org>
8978
8979 * calc/calc.el (math-compose-expr):
8980 * calc/calc-ext.el (math-compose-expr):
8981 * progmodes/cc-defs.el (cl-macroexpand-all):
8982 * progmodes/cc-langs.el (delete-duplicates, mapcan)
8983 (cl-macroexpand-all): Update declarations.
8984
8985 * vc/vc.el: No need to require ediff.
8986 (ediff-load-version-control): Declare.
8987 (ediff-vc-internal): Fix declaration.
8988 (vc-version-ediff): Require ediff.
8989
8990 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8991
8992 Use a more backwards-compatible timer format (Bug#12430).
8993 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
8994 being right after USECS, as that better supports old code that
8995 inadvisedly looked directly at the timer vector.
8996
8997 2012-09-13 Kenichi Handa <handa@gnu.org>
8998
8999 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
9000 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
9001 `coding-priority' property of these language environment.
9002
9003 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9004
9005 Fix glitches caused by addition of psec to timers (Bug#12430).
9006 * image.el (image-animate-timer):
9007 * time.el (display-time-world-timer):
9008 Use timer--function and timer--args rather than raw access to
9009 timer vector.
9010
9011 2012-09-13 Glenn Morris <rgm@gnu.org>
9012
9013 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
9014 If not compiling a file, try using load-file-name.
9015
9016 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9017
9018 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
9019 Fix last change.
9020 (edebug-update-eval-list): Use `push'.
9021
9022 * emacs-lisp/edebug.el: Use lexical-binding.
9023 Remove the "edebug-" prefix from non-dynamically-scoped variables.
9024 Mark unused args with underscore.
9025 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
9026 (edebug-form-data): Use defvar-local.
9027 (edebug-make-before-and-after-form, edebug-make-after-form):
9028 Use backquote.
9029 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
9030 Not dynamically scoped any more.
9031 (edebug--enter-trace): Add arguments `function' and `args'.
9032 Rename from edebug-enter-trace.
9033 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
9034 (edebug--update-coverage): Add `after-index' and `value' args.
9035 Rename from edebug-update-coverage.
9036 (edebug-slow-after): Call it accordingly.
9037 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
9038 edebug-recursive-edit.
9039 (edebug--display): Call it accordingly. Add args `value',
9040 `offset-index', and `arg-mode'. Rename from edebug-display.
9041 (edebug-debugger, edebug): Call it accordingly.
9042 (edebug-eval-display-list): Use dolist.
9043
9044 2012-09-12 Juri Linkov <juri@jurta.org>
9045
9046 * info.el (Info-search): Don't check for isearch-mode and
9047 isearch-regexp before let-binding search-spaces-regexp to
9048 Info-search-whitespace-regexp.
9049 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
9050 search-whitespace-regexp if isearch-lax-whitespace or
9051 isearch-regexp-lax-whitespace is non-nil.
9052 (Info-mode): Don't set local variable search-whitespace-regexp.
9053 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
9054
9055 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9056
9057 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
9058 (debugger-env-macro): Remove support for unread-command-char.
9059
9060 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
9061 the temporary map re-appearing on emulation-mode-map-alists.
9062
9063 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
9064 since 22.1.
9065
9066 * ehelp.el (with-electric-help): Accept functions in
9067 electric-help-form-to-execute.
9068 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
9069 And replace unread-command-char -> unread-command-events.
9070
9071 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
9072
9073 Sync with Tramp 2.2.6.
9074
9075 * net/tramp.el (tramp-accept-process-output): Don't use
9076 JUST-THIS-ONE in the XEmacs case.
9077
9078 * net/trampver.el: Update release number.
9079
9080 2012-09-12 Martin Rudalics <rudalics@gmx.at>
9081
9082 * emacs-lisp/debug.el (debugger-previous-window-height):
9083 New variable.
9084 (debug): When debugger-jumping-flag is non-nil try to restore
9085 height of debugger window. (Bug#8789)
9086
9087 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9088
9089 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
9090 overriding-local-map and pre/post-command-hook here.
9091 (edebug-recursive-edit): Do it here instead (bug#12345).
9092 (edebug-outside-unread-command-char): Remove all uses of
9093 unread-command-char.
9094
9095 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
9096 inhibit-debugger is bound instead.
9097
9098 2012-09-11 Bastien Guerry <bzg@gnu.org>
9099
9100 * subr.el (set-temporary-overlay-map): Add a docstring.
9101 (Bug#12346)
9102
9103 2012-09-11 Bastien Guerry <bzg@gnu.org>
9104
9105 * minibuffer.el (completion-table-subvert): Fix docstring.
9106 (Bug#12347)
9107
9108 2012-09-11 Bastien Guerry <bzg@gnu.org>
9109
9110 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
9111
9112 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
9113
9114 * progmodes/sql.el: Version 3.1
9115 (sql-db2-escape-newlines): New variable.
9116 (sql-escape-newlines-filter): Use it.
9117
9118 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
9119
9120 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
9121
9122 2012-09-10 Dan Nicolaescu <dann@gnu.org>
9123
9124 * vc/diff-mode.el (diff-mode-menu):
9125 Bind diff-remove-trailing-whitespace.
9126
9127 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9128
9129 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
9130 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
9131 (emacs-lisp-byte-code-mode): New functions.
9132 (eval-sexp-add-defvars): Don't skip defvars in column >0.
9133 (eval-defun-2): Remove bogus interactive spec.
9134 (lisp-indent-line): Remove redundant whole-exp code, now done in
9135 indent-according-to-mode.
9136 (save-match-data): Remove redundant indent data.
9137
9138 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
9139 Use `declare'.
9140
9141 2012-09-09 Juri Linkov <juri@jurta.org>
9142
9143 * replace.el (replace-regexp-lax-whitespace): New defcustom.
9144 (replace-lax-whitespace, query-replace-regexp)
9145 (query-replace-regexp-eval, replace-regexp): Doc fix.
9146 (perform-replace, replace-highlight): Let-bind
9147 isearch-lax-whitespace to replace-lax-whitespace and
9148 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
9149
9150 * isearch.el (isearch-query-replace): Let-bind
9151 replace-lax-whitespace to isearch-lax-whitespace and
9152 replace-regexp-lax-whitespace to
9153 isearch-regexp-lax-whitespace. (Bug#10885)
9154
9155 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
9156
9157 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
9158
9159 2012-09-09 Alan Mackenzie <acm@muc.de>
9160
9161 * progmodes/cc-engine.el (c-state-cache-init):
9162 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
9163 (c-record-parse-state-state):
9164 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
9165
9166 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
9167
9168 * register.el (register-separator): Rename from
9169 separator-register. All uses changed. Doc fix.
9170 (register): Fix version.
9171
9172 2012-09-09 Chong Yidong <cyd@gnu.org>
9173
9174 * replace.el (query-replace-map): Bind four new symbols for
9175 requesting window scrolling.
9176
9177 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
9178 query-replace-map (Bug#8948).
9179
9180 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
9181
9182 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
9183 since they are now in query-replace-map.
9184
9185 * window.el (scroll-other-window-down): Make the arg optional.
9186
9187 2012-09-09 Chong Yidong <cyd@gnu.org>
9188
9189 * files.el (hack-local-variables-confirm): Use quit-window to kill
9190 the *Local Variables* buffer.
9191
9192 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9193
9194 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
9195 not just expect to be at its beginning. Adjust callees.
9196 Succeed when do-end block has no space before the pipe character.
9197 (ruby-brace-to-do-end): When the original block is one-liner,
9198 convert to multiline. Reindent the result.
9199
9200 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
9201
9202 * register.el (register): New group.
9203 (separator-register): New user option.
9204 (increment-register): Route it to `append-to-register', if
9205 register contains text. Implication is that `C-x r +' can now be
9206 used for appending to a text register (bug#12217).
9207 (append-to-register, prepend-to-register): Add separator based on
9208 `separator-register'.
9209
9210 2012-09-08 Alan Mackenzie <acm@muc.de>
9211
9212 AWK Mode: make auto-newline work when there's "==" in the pattern.
9213 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
9214 correctly.
9215 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
9216 Test more rigorously for "=" token.
9217
9218 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9219
9220 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
9221 Only fail when reached LIMIT.
9222
9223 2012-09-08 Chong Yidong <cyd@gnu.org>
9224
9225 * dired.el (dired-mode-map): Don't bind M-=.
9226
9227 * dired-aux.el (dired-diff): Use backup file as default.
9228
9229 2012-09-08 Drew Adams <drew.adams@oracle.com>
9230
9231 * subr.el (add-to-history): Fix delete usage (Bug#12314).
9232
9233 2012-09-08 Chong Yidong <cyd@gnu.org>
9234
9235 * subr.el (syntax-after, syntax-class): Doc fix.
9236
9237 2012-09-08 Martin Rudalics <rudalics@gmx.at>
9238
9239 * window.el (display-buffer-in-previous-window): New buffer
9240 display action function.
9241
9242 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
9243 (debugger-previous-window): New variable.
9244 (debug): Rewrite using display-buffer-in-previous-window,
9245 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
9246
9247 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9248
9249 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
9250
9251 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
9252
9253 * progmodes/python.el (python-shell-send-string):
9254 When default-directory is remote, create temp file on remote
9255 filesystem.
9256 (python-shell-send-file): When file is remote, pass local view of
9257 file paths to remote Python interpreter. (Bug#12340)
9258
9259 2012-09-07 Chong Yidong <cyd@gnu.org>
9260
9261 * window.el (switch-to-buffer): Doc fix (Bug#12181).
9262
9263 * files.el (after-find-file): Don't fail on a read-only buffer if
9264 require-final-newline is `visit' or `visit-save' (Bug#11156).
9265
9266 * subr.el (read-char-choice): Allow quitting via ESC ESC.
9267
9268 * userlock.el (ask-user-about-supersession-threat):
9269 Use read-char-choice (Bug#12093).
9270
9271 2012-09-07 Chong Yidong <cyd@gnu.org>
9272
9273 * subr.el (buffer-narrowed-p): New function.
9274
9275 * ses.el (ses-widen):
9276 * simple.el (count-words--buffer-message):
9277 * net/browse-url.el (browse-url-of-buffer): Use it.
9278
9279 * simple.el (count-words-region): Don't signal an error if there
9280 is a non-nil prefix arg and the mark is not set.
9281
9282 * help.el (describe-key-briefly): Allow the message to be seen
9283 when invoked from the minibuffer (Bug#7014).
9284
9285 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9286
9287 * progmodes/ruby-mode.el (ruby-end-of-defun)
9288 (ruby-beginning-of-defun): Simplify, allow indentation before
9289 block beginning and end keywords.
9290 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
9291 (ruby-end-of-defun): Expect that the point is at the beginning of
9292 the defun.
9293
9294 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9295
9296 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
9297 (bug#12367).
9298 (cl--make-usage-args): Strip _ from argument names.
9299
9300 2012-09-06 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
9301
9302 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
9303 obsolete alias speedbar-key-map.
9304 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
9305 (vhdl-index-menu-init): Don't use obsolete variable
9306 font-lock-maximum-size.
9307
9308 2012-09-06 Chong Yidong <cyd@gnu.org>
9309
9310 * frame.el (window-system-version): Mark as obsolete.
9311
9312 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
9313 of obsolete variable speedbar-key-map.
9314
9315 2012-09-06 Juri Linkov <juri@jurta.org>
9316
9317 * replace.el (replace-lax-whitespace): New defcustom.
9318 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9319 (replace-string, replace-regexp): Mention it in docstrings.
9320 (perform-replace, replace-highlight): Let-bind
9321 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
9322 to the values of replace-lax-whitespace and regexp-flag.
9323 Don't let-bind search-whitespace-regexp. (Bug#10885)
9324
9325 * isearch.el (isearch-query-replace): Let-bind
9326 replace-lax-whitespace instead of let-binding
9327 replace-search-function and replace-re-search-function.
9328 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
9329 and isearch-regexp-lax-whitespace to lazy-highlight variables.
9330 (isearch-toggle-symbol): Set isearch-regexp to nil
9331 in isearch-word mode (like in isearch-toggle-word).
9332
9333 2012-09-06 Juri Linkov <juri@jurta.org>
9334
9335 * replace.el (replace-search-function)
9336 (replace-re-search-function): Set default values to nil.
9337 (perform-replace): Let-bind isearch-related variables based on
9338 replace-related values, call `isearch-search-fun' and let-bind
9339 the result to `search-function'. Remove code that sets
9340 `search-function' and `search-string' separately for
9341 `delimited-flag'.
9342 (replace-highlight): Add new argument `delimited-flag' and
9343 rename other arguments to the names used in `perform-replace'.
9344 Let-bind `isearch-word' to the argument `delimited-flag'.
9345 (Bug#10885, bug#10887)
9346
9347 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9348
9349 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
9350 ruby-beginning-of-indent, simplify, allow all keywords to have
9351 indentation before them.
9352 (ruby-beginning-of-indent): Adjust for above. Search until the
9353 found point is not inside a string or comment.
9354 (ruby-font-lock-keywords): Allow symbols to start with "@"
9355 character, give them higher priority than variables.
9356 (ruby-syntax-propertize-function)
9357 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
9358 matchers. Expression expansions are not comments when inside a
9359 string, and there comment syntax status is irrelevant.
9360 (ruby-match-expression-expansion): New function. Check that
9361 expression expansion is inside a string, and it's not escaped.
9362 (ruby-font-lock-keywords): Use it.
9363
9364 2012-09-05 Martin Rudalics <rudalics@gmx.at>
9365
9366 * help.el (temp-buffer-max-height): New default value.
9367 (temp-buffer-resize-frames): New option.
9368 (resize-temp-buffer-window): Optionally resize frame.
9369
9370 * window.el (fit-frame-to-buffer-bottom-margin): New option.
9371 (fit-frame-to-buffer): New function.
9372
9373 2012-09-05 Glenn Morris <rgm@gnu.org>
9374
9375 * emulation/cua-rect.el (cua--init-rectangles):
9376 * textmodes/picture.el (picture-mode-map):
9377 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
9378 like forward-char and backward-char. (Bug#12317)
9379
9380 2012-09-05 Leo Liu <sdl.web@gmail.com>
9381
9382 * progmodes/flymake.el (flymake-warning-re): New variable.
9383 (flymake-parse-line): Use it.
9384
9385 2012-09-05 Glenn Morris <rgm@gnu.org>
9386
9387 * calendar/holidays.el (holiday-christian-holidays):
9388 Rename an entry. (Bug#12289)
9389
9390 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9391
9392 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
9393 (bug#12222).
9394
9395 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9396
9397 * loadup.el: Load macroexp. Remove hack.
9398 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
9399 (macroexp--expand-all): Use it to get better warnings.
9400 (macroexp--backtrace, macroexp--trim-backtrace-frame)
9401 (internal-macroexpand-for-load): New functions.
9402 (macroexp--pending-eager-loads): New var.
9403 (emacs-startup-hook): New hack to replace one in loadup.el.
9404 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
9405 (cl--compiler-macro-cXXr): Move to top, before they can be used.
9406 (cl-psetf): Simplify.
9407 (cl-defstruct): Add indent rule.
9408
9409 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
9410
9411 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
9412 over `user-mail-address' for the SMTP MAIL FROM envelope.
9413 (smtpmail-via-smtp): Ditto.
9414
9415 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
9416
9417 * progmodes/ruby-mode.el: Clean up keybindings.
9418 (ruby-mode-map): Don't bind ruby-electric-brace,
9419 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
9420 backward-kill-word, reindent-then-newline-and-indent.
9421 (ruby-mark-defun): Remove.
9422 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
9423 (ruby-mode): Set local beginning-of-defun-function and
9424 end-of-defun-function values.
9425
9426 2012-09-03 Martin Rudalics <rudalics@gmx.at>
9427
9428 * window.el (temp-buffer-window-setup-hook)
9429 (temp-buffer-window-show-hook): New hooks.
9430 (temp-buffer-window-setup, temp-buffer-window-show)
9431 (with-temp-buffer-window): New functions.
9432 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
9433 (special-display-popup-frame): Make sure the window used shows BUFFER.
9434
9435 * help.el (temp-buffer-resize-mode): Fix doc-string.
9436 (resize-temp-buffer-window): New optional argument WINDOW.
9437
9438 * files.el (recover-file, save-buffers-kill-emacs):
9439 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
9440
9441 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
9442
9443 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
9444 remote definition of `default-directory', ensure we can connect.
9445
9446 2012-09-02 Juri Linkov <juri@jurta.org>
9447
9448 Toggle whitespace matching mode with M-s SPC.
9449 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
9450
9451 * isearch.el (search-whitespace-regexp): Doc fix.
9452 Remove cons cell customization.
9453 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
9454 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
9455 New variables.
9456 (isearch-forward, isearch-forward-regexp): Doc fix.
9457 (isearch-toggle-lax-whitespace): New command.
9458 (search-forward-lax-whitespace, search-backward-lax-whitespace)
9459 (re-search-forward-lax-whitespace)
9460 (re-search-backward-lax-whitespace): New functions.
9461 (isearch-whitespace-regexp): Remove function.
9462 (isearch-query-replace): Let-bind replace-search-function and
9463 replace-re-search-function.
9464 (isearch-occur): Let-bind search-spaces-regexp according to the
9465 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
9466 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
9467 condition for C-q SPC.
9468 (isearch-search-fun-default): Use new functions mentioned above.
9469 (isearch-search-forward, isearch-search-backward): Remove functions.
9470 (isearch-search): Don't let-bind search-spaces-regexp.
9471 (isearch-lazy-highlight-space-regexp): Remove variable.
9472 (isearch-lazy-highlight-lax-whitespace)
9473 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
9474 (isearch-lazy-highlight-new-loop): Use them.
9475 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
9476
9477 2012-09-02 Chong Yidong <cyd@gnu.org>
9478
9479 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
9480
9481 2012-09-02 Glenn Morris <rgm@gnu.org>
9482
9483 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
9484
9485 2012-09-01 Glenn Morris <rgm@gnu.org>
9486
9487 * term.el: Tidy up menu definitions.
9488 (term-mode-map): Use easymenu for In/Out, Complete menus.
9489 (term-pager-break-map): Initialize in the defvar.
9490 (term-terminal-menu, term-signals-menu): Define with easymenu.
9491 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
9492 (term-pager-menu): New, extracted from term-process-pager.
9493 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
9494 (term-update-mode-line): Propertize line/char and page items.
9495 (term-process-pager): Move keymap initialization elsewhere.
9496
9497 2012-09-01 Martin Rudalics <rudalics@gmx.at>
9498
9499 * window.el (switch-to-prev-buffer): Handle additional values of
9500 BURY-OR-KILL argument. Don't switch in minibuffer window.
9501 (switch-to-next-buffer): Don't switch in minibuffer window.
9502 (quit-restore-window): New function based on quit-window.
9503 Handle additional values of former KILL argument.
9504 (quit-window): Call quit-restore-window with appropriate
9505 interpretation of KILL argument.
9506 (display-buffer-below-selected): New buffer display action
9507 function.
9508
9509 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
9510
9511 * minibuffer.el (completion-at-point-functions): Complete docstring
9512 (bug#12254).
9513
9514 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
9515
9516 Better seed support for (random).
9517 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
9518 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
9519 * play/mpuz.el, play/tetris.el, play/zone.el:
9520 * calc/calc-comb.el (math-init-random-base):
9521 * play/blackbox.el (bb-init-board):
9522 * play/life.el (life):
9523 * server.el (server-use-tcp):
9524 * type-break.el (type-break):
9525 Remove unnecessary call to (random t).
9526 * net/sasl.el (sasl-unique-id-function):
9527 Change (random t) to (random), now that the latter is more random.
9528 * play/life.el (life-initialized): Remove no-longer-needed var.
9529
9530 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
9531
9532 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9533 Consider frame's buffer predicate when choosing the buffer.
9534 (Bug#12081)
9535
9536 2012-08-30 Richard Stallman <rms@gnu.org>
9537
9538 * simple.el (special-mode-map): Delete binding for `z'.
9539
9540 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
9541
9542 * progmodes/compile.el (compilation-always-kill): Doc fix.
9543
9544 2012-08-30 Chong Yidong <cyd@gnu.org>
9545
9546 * window.el (display-buffer-reuse-frames): Make the obsolescence
9547 message more informative.
9548
9549 2012-08-30 Glenn Morris <rgm@gnu.org>
9550
9551 * paren.el (show-paren-delay):
9552 Add a :set function. Doc fix. (Bug#12297)
9553
9554 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
9555
9556 * progmodes/compile.el (compilation-always-kill): New var.
9557 (compilation-start): Use it.
9558
9559 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9560
9561 * simple.el (read-only-mode): Move from files.el for bootstrapping.
9562 * files.el (read-only-mode): Move to simple.el.
9563
9564 * files.el (read-only-mode): New minor mode.
9565 (toggle-read-only): Use it and mark obsolete.
9566 (find-file--read-only):
9567 * vc/vc.el (vc-next-action, vc-checkout):
9568 * vc/vc-cvs.el (vc-cvs-checkout):
9569 * obsolete/vc-mcvs.el (vc-mcvs-update):
9570 * ffap.el (ffap--toggle-read-only): Update callers.
9571
9572 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
9573
9574 * eshell/esh-ext.el (eshell-external-command): Do not examine
9575 remote shell scripts.
9576 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
9577
9578 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
9579 "/usr/local/sbin".
9580
9581 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9582
9583 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
9584
9585 2012-08-28 Leo Liu <sdl.web@gmail.com>
9586
9587 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
9588 completion-at-point. (Bug#12220)
9589
9590 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
9591
9592 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
9593
9594 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9595
9596 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
9597 be buffer-local; add delete-trailing-whitespace (bug#12259).
9598
9599 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
9600
9601 * progmodes/hideif.el (hif-compress-define-list):
9602 Fix typo. (Bug#11951)
9603
9604 2012-08-28 Dan Nicolaescu <dann@gnu.org>
9605
9606 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
9607 buffer local setting.
9608
9609 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
9610 rcirc-encode-coding-system.
9611
9612 2012-08-28 Leo Liu <sdl.web@gmail.com>
9613
9614 * net/rcirc.el (rcirc-split-message): New function.
9615 (rcirc-send-message): Use it. (Bug#12051)
9616
9617 2012-08-28 Juri Linkov <juri@jurta.org>
9618
9619 * info.el (Info-fontify-node): Hide empty lines at the end of
9620 the node. (Bug#12272)
9621
9622 2012-08-27 Drew Adams <drew.adams@oracle.com>
9623
9624 * dired.el (dired-pop-to-buffer): Make window start at beginning
9625 of buffer (Bug#12281).
9626
9627 2012-08-26 Chong Yidong <cyd@gnu.org>
9628
9629 * window.el (special-display-regexps, special-display-frame-alist)
9630 (special-display-buffer-names, special-display-function)
9631 (display-buffer-reuse-frames): Mark as obsolete.
9632
9633 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
9634
9635 * help.el (help-print-return-message): Don't treat
9636 display-buffer-reuse-frames specially.
9637
9638 2012-08-26 Chong Yidong <cyd@gnu.org>
9639
9640 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
9641 New variable, replacing gdb-frame-parameters.
9642 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
9643 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
9644 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
9645 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
9646 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
9647 the functions directly with gdb-display-buffer-other-frame-action.
9648 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
9649 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
9650 (gdb-display-stack-buffer, gdb-display-locals-buffer)
9651 (gdb-display-registers-buffer): Define directly.
9652 (def-gdb-display-buffer): Macro deleted.
9653 (gdb-display-buffer): Remove second and third args, callers don't
9654 use them. Defer to the default display-buffer behavior, apart
9655 from making windows dedicated.
9656 (gdb-setup-windows): Don't call display-buffer unnecessarily.
9657
9658 * progmodes/gud.el (gud-display-line): Just use display-buffer.
9659
9660 * window.el (display-buffer-pop-up-frame): Handle a
9661 pop-up-frame-parameters alist entry.
9662 (display-buffer): Document it.
9663
9664 2012-08-26 Chong Yidong <cyd@gnu.org>
9665
9666 * isearch.el (search-whitespace-regexp): Make string and nil
9667 values apply to both ordinary and regexp search. Allow a cons
9668 cell value to distinguish between the two.
9669 (isearch-whitespace-regexp, isearch-search-forward)
9670 (isearch-search-backward): New functions.
9671 (isearch-occur, isearch-search-fun-default, isearch-search)
9672 (isearch-lazy-highlight-new-loop): Use them.
9673 (isearch-forward, isearch-forward-regexp): Doc fix.
9674
9675 2012-08-26 Chong Yidong <cyd@gnu.org>
9676
9677 * faces.el (help-argument-name): Always inherit from italic
9678 (Bug#12213).
9679
9680 2012-08-25 Martin Rudalics <rudalics@gmx.at>
9681
9682 * window.el (window--even-window-heights): Even heights when
9683 WINDOW and the selected window form a vertical combination.
9684 (display-buffer-use-some-window): Provide that window used gets
9685 sized back by quit-window. (Bug#11880) and (Bug#12091)
9686
9687 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
9688
9689 Fix file time stamp problem with bzr and CVS (Bug#12001).
9690 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
9691 in the file's time stamp, since the version control system loses
9692 that information.
9693
9694 2012-08-22 Juri Linkov <juri@jurta.org>
9695
9696 * info.el (Info-fontify-node): Hide the suffix of the
9697 Info file name in the header line. (Bug#12187)
9698
9699 2012-08-22 Glenn Morris <rgm@gnu.org>
9700
9701 * calendar/cal-tex.el (cal-tex-weekly-common):
9702 Restore leading blank page.
9703
9704 2012-08-22 Le Wang <l26wang@gmail.com>
9705
9706 * misc.el (forward-to-word, backward-to-word): Activate or extend
9707 the region under `shift-select-mode'. (Bug#12231)
9708
9709 2012-08-22 Bastien Guerry <bzg@gnu.org>
9710
9711 * progmodes/executable.el (executable-prefix): Set to "#!" instead
9712 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
9713 gives details on why the space is never needed.
9714
9715 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9716
9717 * window.el (walk-window-tree, window-with-parameter):
9718 New optional argument MINIBUF to control whether these functions
9719 should run on the minibuffer window.
9720 (window-at-side-list): Don't operate on minibuffer window.
9721 (window-in-direction): Simplify and rewrite doc-string.
9722 (window--size-ignore): Rename to window--size-ignore-p.
9723 Update callers.
9724 (display-buffer-in-atom-window, window--major-non-side-window)
9725 (window--major-side-window, display-buffer-in-major-side-window)
9726 (delete-side-window, display-buffer-in-side-window):
9727 New functions.
9728 (window--side-check, window-deletable-p, delete-window)
9729 (delete-other-windows, split-window): Handle side windows and
9730 atomic windows appropriately.
9731 (window--display-buffer): Call display-buffer-record-window also
9732 when the window buffer did not change.
9733
9734 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
9735
9736 * help-fns.el (help-fns--key-bindings):
9737 Abbreviate non-symbol remap targets. (Bug#12174)
9738
9739 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9740
9741 * dired.el (dired-mark-remembered): Don't clobber point.
9742 (Bug#11795)
9743
9744 2012-08-22 Glenn Morris <rgm@gnu.org>
9745
9746 * progmodes/bug-reference.el (bug-reference): New custom group.
9747 (bug-reference-bug-regexp): Make it a defcustom.
9748
9749 2012-08-22 Daiki Ueno <ueno@unixuser.org>
9750
9751 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
9752 (js-paren-indent-offset, js-square-indent-offset)
9753 (js-curly-indent-offset): Add :safe (Bug#12257).
9754
9755 2012-08-22 Edward O'Connor <hober0@gmail.com>
9756
9757 * json.el (json-key-format): Add error properties.
9758 (json-encode-key): New function.
9759 (json-encode-hash-table, json-encode-alist, json-encode-plist):
9760 Use json-encode-key.
9761
9762 2012-08-22 Glenn Morris <rgm@gnu.org>
9763
9764 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
9765 (cal-tex-leftday, cal-tex-rightday): Remove functions.
9766 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
9767 Update for above change.
9768
9769 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
9770
9771 * cus-face.el (custom-face-attributes): Fix customize type for the
9772 :underline attribute. (Bug#11805)
9773
9774 2012-08-21 Martin Rudalics <rudalics@gmx.at>
9775
9776 * window.el (window-point-1, set-window-point-1): Remove.
9777 (window-in-direction, record-window-buffer)
9778 (set-window-buffer-start-and-point, split-window-below)
9779 (window--state-get-1, display-buffer-record-window):
9780 Replace calls to window-point-1 and set-window-point-1 by calls to
9781 window-point and set-window-point respectively.
9782
9783 2012-08-21 Glenn Morris <rgm@gnu.org>
9784
9785 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
9786 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
9787 Use it.
9788
9789 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
9790 (cal-tex-shortday): New function.
9791 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
9792 (cal-tex-cursor-filofax-daily): Use the above.
9793
9794 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
9795 New functions.
9796 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9797 (cal-tex-cursor-filofax-week): Use them.
9798
9799 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
9800 New constants.
9801 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9802 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
9803
9804 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
9805 (cal-tex-end-document): Don't rely on buffer name.
9806
9807 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
9808 Use cal-tex-vspace.
9809 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
9810 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
9811 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
9812 Use cal-tex-arg.
9813
9814 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
9815 (cal-tex-cursor-week, cal-tex-cursor-week2)
9816 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
9817 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9818 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
9819 (cal-tex-insert-preamble, cal-tex-b-document)
9820 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
9821 Improve cal-tex-cmd usage.
9822
9823 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
9824 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
9825 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
9826 (cal-tex-weekly-paper): New function.
9827 (cal-tex-cursor-week, cal-tex-cursor-week2)
9828 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
9829 (cal-tex-cursor-day): Use it.
9830
9831 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
9832 (cal-tex-cursor-filofax-week): Remove leading blank page.
9833
9834 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9835 Add autoload cookie. For now at least, don't use color, since
9836 no other cal-tex function does.
9837
9838 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
9839 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9840 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
9841
9842 2012-08-21 Juri Linkov <juri@jurta.org>
9843
9844 * info.el (Info-file-attributes): New variable.
9845 (info-insert-file-contents): Add file attributes to
9846 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
9847 `Info-toc-nodes' when previous modtime of the Info file is less
9848 than new modtime.
9849 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
9850 of info.el. (Bug#12230)
9851
9852 2012-08-20 Glenn Morris <rgm@gnu.org>
9853
9854 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
9855 * calendar/holidays.el (calendar-holiday-list):
9856 Report errors with display-warning rather than beep'n'sleep.
9857
9858 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
9859
9860 * net/tramp.el (tramp-accept-process-output): Accept only output
9861 from PROC. Otherwise, process filters and sentinels might be
9862 confused. (Bug#12145)
9863
9864 2012-08-20 Chong Yidong <cyd@gnu.org>
9865
9866 * descr-text.el (describe-text-properties-1): Use overlays-in to
9867 report on empty overlays (Bug#3322).
9868
9869 2012-08-20 Glenn Morris <rgm@gnu.org>
9870
9871 * mail/rmailout.el (rmail-output-read-file-name):
9872 Trap and report errors in rmail-output-file-alist elements.
9873
9874 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
9875 since most non-font-lock faces are not also variables).
9876
9877 2012-08-20 Edward Reingold <reingold@iit.edu>
9878
9879 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9880 New function. (Bug12160)
9881
9882 2012-08-19 Glenn Morris <rgm@gnu.org>
9883
9884 * mail/rmailout.el (rmail-output-read-file-name):
9885 Fix previous change (when the alist is nil or does not match).
9886
9887 2012-08-19 Chong Yidong <cyd@gnu.org>
9888
9889 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
9890 (Bug#12228).
9891
9892 2012-08-18 Chong Yidong <cyd@gnu.org>
9893
9894 * simple.el (yank-handled-properties): New defcustom.
9895 (yank-excluded-properties): Add font-lock-face and category.
9896 (yank): Doc fix.
9897
9898 * subr.el (remove-yank-excluded-properties):
9899 Obey yank-handled-properties. The special handling of font-lock-face
9900 and category is now done this way, instead of being hard-coded.
9901 (insert-for-yank-1): Remove font-lock-face handling.
9902 (yank-handle-font-lock-face-property)
9903 (yank-handle-category-property): New function.
9904
9905 2012-08-17 Glenn Morris <rgm@gnu.org>
9906
9907 * mail/rmailout.el (rmail-output-read-file-name):
9908 Check rmail-output-file-alist against the full message body
9909 in the correct rmail buffer. (Bug#12214)
9910
9911 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
9912
9913 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
9914 Eliminate superfluous prompt. (Bug#12203)
9915
9916 2012-08-17 Chong Yidong <cyd@gnu.org>
9917
9918 * mouse.el (mouse-appearance-menu): If x-select-font returns a
9919 font spec, set the font directly (Bug#3228).
9920
9921 2012-08-17 Martin Rudalics <rudalics@gmx.at>
9922
9923 * window.el (delete-window): Fix last fix.
9924
9925 2012-08-16 Martin Rudalics <rudalics@gmx.at>
9926
9927 * window.el (window-valid-p): Move to window.c.
9928 (window-child, window-child-count, window-last-child)
9929 (window-normalize-window, window-combined-p)
9930 (window-combinations, window-atom-root, window-min-size)
9931 (window-sizable, window-sizable-p, window-size-fixed-p)
9932 (window-min-delta, window-max-delta, window--resizable)
9933 (window--resizable-p, window-resizable, window-total-size)
9934 (window-full-height-p, window-full-width-p, window-body-size)
9935 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
9936 (minimize-window, window-deletable-p, delete-window)
9937 (delete-other-windows, set-window-buffer-start-and-point)
9938 (next-buffer, previous-buffer, split-window, balance-windows-2)
9939 (set-window-text-height, window-buffer-height)
9940 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9941 (truncated-partial-width-window-p): Minor code adjustments.
9942 In doc-strings state whether the argument window has to denote a
9943 live, valid or any window.
9944
9945 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
9946
9947 * progmodes/subword.el (subword-forward-function)
9948 (subword-backward-function, subword-forward-regexp)
9949 (subword-backward-regexp): New variables.
9950 (subword-forward, subword-forward-internal, subword-backward-internal):
9951 Use new variables, eg so that different "word" definitions
9952 can be easily used. (Bug#11411)
9953
9954 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9955
9956 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
9957 for composite selectors.
9958 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
9959 operation just because we can't find a previous revision.
9960
9961 2012-08-15 Chong Yidong <cyd@gnu.org>
9962
9963 * frame.el (set-frame-font): Accept font objects.
9964
9965 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9966
9967 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
9968
9969 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
9970
9971 * man.el (Man-overstrike-face, Man-underline-face)
9972 (Man-reverse-face): Remove variables.
9973 (Man-overstrike, Man-underline, Man-reverse): New faces.
9974 (Man-fontify-manpage): Use them instead of the variables.
9975 (Man-cleanup-manpage): Comment change.
9976 (Man-ansi-color-map): New variable.
9977 (Man-fontify-manpage): Use it.
9978 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
9979
9980 Implement ANSI SGR parameters 22-27 (bug#12146).
9981 * ansi-color.el (ansi-colors): Doc fix.
9982 (ansi-color-context, ansi-color-context-region): Doc fix.
9983 (ansi-color--find-face): New function.
9984 (ansi-color-apply, ansi-color-apply-on-region): Use it.
9985 Rename the local variable `face' to `codes' since it is now a list of
9986 ansi codes. Doc fix.
9987 (ansi-color-get-face): Remove.
9988 (ansi-color-parse-sequence): New function, derived from
9989 ansi-color-get-face.
9990 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
9991 codes 22-27.
9992
9993 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
9994
9995 * subr.el (read-passwd): Allow use from a minibuffer.
9996
9997 2012-08-14 Eli Zaretskii <eliz@gnu.org>
9998
9999 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
10000 inside comments and strings as identifiers.
10001
10002 * progmodes/gud.el (gud-tooltip-print-command): Quote the
10003 expression to evaluate. This allows to evaluate expressions with
10004 embedded whitespace.
10005 (gud-tooltip-tips): Add a blank before the newline in the
10006 message-box text, for the benefit of message-box emulation on
10007 MS-Windows.
10008
10009 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
10010 messages from GDB, pop them up in a tooltip to give feedback to
10011 user.
10012 (gdb-tooltip-print-1): Quote the expression to evaluate.
10013 This allows to evaluate expressions with embedded whitespace.
10014 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
10015 if the TTY name is nil or empty (which happens when communicating
10016 with the inferior via pipes, e.g. on MS-Windows).
10017 (gdb-internals): If GDB sends a "&\n" empty debugging message,
10018 don't send that to the GUD buffer.
10019
10020 2012-08-14 Glenn Morris <rgm@gnu.org>
10021
10022 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
10023 Optimize away setq-default with no args, as for setq. (Bug#12195)
10024
10025 2012-08-14 Chong Yidong <cyd@gnu.org>
10026
10027 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
10028
10029 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
10030 (Bug#12085).
10031
10032 2012-08-14 Glenn Morris <rgm@gnu.org>
10033
10034 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
10035
10036 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
10037
10038 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
10039 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10040 Use cached shell name.
10041
10042 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10043
10044 * progmodes/python.el (python-shell-send-string):
10045 (python-shell-send-setup-code): Do not use `format' with `message'.
10046
10047 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
10048
10049 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
10050 (ruby-percent-literal-beg-re): New constant.
10051 (ruby-syntax-general-delimiters-goto-beg): Rename to
10052 `ruby-syntax-enclosing-percent-literal', improve literal type check.
10053 (ruby-syntax-propertize-general-delimiters): Rename to
10054 `ruby-syntax-propertize-percent-literal', it's a shorter and more
10055 popular term. Adjust comments everywhere.
10056 (ruby-syntax-propertize-percent-literal): Only propertize when not
10057 inside a simple string or comment. When the literal is unclosed,
10058 leave the text after it unpropertized.
10059 (ruby-syntax-methods-before-regexp): New constant.
10060 (ruby-syntax-propertize-function): Use it to recognize regexps.
10061 Don't look at the text after regexp, just use the whitelist.
10062
10063 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
10064
10065 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
10066 non-nil always load the compiled file if it exists. (Bug#12197)
10067
10068 2012-08-14 Chong Yidong <cyd@gnu.org>
10069
10070 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
10071 (hi-lock-set-pattern): When deciding whether to use font lock or
10072 overlays, look at font-lock-mode instead of font-lock-fontified
10073 (Bug#12168).
10074 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
10075 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
10076
10077 2012-08-14 Daiki Ueno <ueno@unixuser.org>
10078
10079 * subr.el (internal--after-with-selected-window): Fix typo
10080 (Bug#12193).
10081
10082 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10083
10084 Use `completion-table-dynamic' for completion functions.
10085 * progmodes/python.el
10086 (python-shell-completion--do-completion-at-point)
10087 (python-shell-completion--get-completions):
10088 Remove functions.
10089 (python-shell-completion-complete-at-point): New function.
10090 (python-completion-complete-at-point): Use it.
10091
10092 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
10093
10094 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
10095 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
10096
10097 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10098
10099 * subr.el (function-get): Refine `autoload' arg so it can also
10100 autoload functions for gv.el (bug#12191).
10101 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
10102 autoloads macros.
10103
10104 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
10105 Prefer pcase-let over destructuring-bind.
10106 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
10107 Also, remove whitespace as we go, rather than after accumulating the
10108 various places.
10109
10110 * subr.el (internal--before-with-selected-window)
10111 (internal--after-with-selected-window): Fix typo seleted->selected.
10112 (with-selected-window): Adjust callers.
10113 Reported by Dmitry Gutov <dgutov@yandex.ru>.
10114
10115 2012-08-13 Bastien Guerry <bzg@gnu.org>
10116
10117 * window.el (special-display-popup-frame): Minor docstring
10118 enhancement. (Bug#12172)
10119
10120 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
10121
10122 * tar-mode.el (tar-header-data-end): Only ignore size for files of
10123 type 1-6.
10124 (tar-header-block-summarize, tar-get-descriptor): Handle pax
10125 extended headers.
10126
10127 * files.el (hack-local-variables-filter): Remove useless eval.
10128
10129 2012-08-13 Martin Rudalics <rudalics@gmx.at>
10130
10131 * subr.el (with-selected-window): Fix last change.
10132
10133 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10134
10135 * subr.el (internal--before-with-seleted-window)
10136 (internal--after-with-seleted-window): New functions.
10137 (with-selected-window): Use them, to replace dependency on
10138 tty-top-frame.
10139
10140 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
10141
10142 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
10143 binding for `newline'.
10144 (ruby-move-to-block): When moving backward, stop at block opening,
10145 not indentation.
10146 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
10147 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
10148 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
10149 `ruby-toggle-block'.
10150
10151 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10152
10153 * ibuffer.el (ibuffer-do-toggle-read-only):
10154 * dired.el (dired-toggle-read-only):
10155 * buff-menu.el (Buffer-menu-toggle-read-only):
10156 * bindings.el (mode-line-toggle-read-only):
10157 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
10158
10159 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
10160
10161 * descr-text.el (describe-char): Put the overlays over the
10162 "displayed as" character.
10163
10164 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
10165
10166 * calc/calc-units.el (math-default-units-table): Give an
10167 initial value.
10168 (math-put-default-units): Add options to put composite units and
10169 unit systems in the default units table.
10170 (calc-convert-units): Send composite units to
10171 `math-put-default-units' when appropriate.
10172
10173 2012-08-11 Glenn Morris <rgm@gnu.org>
10174
10175 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
10176
10177 * tutorial.el (help-with-tutorial):
10178 * emacs-lisp/copyright.el (copyright-update-directory):
10179 * emacs-lisp/autoload.el (autoload-find-generated-file)
10180 (autoload-find-file): Disable local eval: (for insurance).
10181
10182 * files.el (hack-local-variables-filter): If an eval: form is not
10183 known to be safe, and enable-local-variables is :safe, then ignore
10184 the form totally, as is done for non-eval forms. (Bug#12155)
10185 This is CVE-2012-3479.
10186
10187 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10188
10189 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
10190 (rx-form): Simplify.
10191
10192 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
10193
10194 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
10195 ?, _, and : are symbol constituents, ! is not (but kinda should be).
10196 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
10197 (ruby-syntax-propertize-function): Adjust for changes in
10198 `ruby-syntax-propertize-heredoc'.
10199
10200 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
10201
10202 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
10203 binding (use `M-;' instead).
10204 (ruby-singleton-class-p): New function.
10205 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
10206
10207 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10208
10209 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
10210
10211 2012-08-10 Chong Yidong <cyd@gnu.org>
10212
10213 * progmodes/python.el (python-shell-get-process-name): Don't mess
10214 with same-window-buffer-names.
10215
10216 * eshell/eshell.el (eshell-add-to-window-buffer-names)
10217 (eshell-remove-from-window-buffer-names): Make obsolete.
10218 (eshell-buffer-name, eshell-unload-hook): Don't use them.
10219 (eshell): Just use pop-to-buffer-same-window instead.
10220
10221 2012-08-10 Chong Yidong <cyd@gnu.org>
10222
10223 * bindings.el: Bind M-= back to count-words-region.
10224
10225 * simple.el (count-words-region): Accept a prefix arg for acting
10226 on the entire buffer.
10227 (count-words--buffer-message): New helper function.
10228
10229 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10230
10231 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
10232 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
10233 (event-start, event-end): Use posn-at-point to return a more
10234 informative posn.
10235 (posnp): New function.
10236 * mouse.el (popup-menu-normalize-position): Use it.
10237
10238 2012-08-10 Masatake YAMATO <yamato@redhat.com>
10239
10240 * mouse.el (popup-menu-normalize-position): New function.
10241 (popup-menu): Use `popup-menu-normalize-position' to normalize
10242 the form for POSITION argument.
10243
10244 * term/x-win.el (x-menu-bar-open):
10245 Use the value returend from (posn-at-point) as position
10246 passed to `popup-menu'.
10247
10248 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10249
10250 * calc/calccomp.el (math-compose-expr): Add extra argument
10251 indicating that parentheses should be put around products in
10252 denominators. Give multiplication precedence over division during
10253 composition.
10254
10255 2012-08-09 Chong Yidong <cyd@gnu.org>
10256
10257 * man.el (Man-switches, Man-sed-command, Man-awk-command)
10258 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
10259 (Man-untabify-command, manual-program): Convert to defcustom
10260 (Bug#10429).
10261
10262 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
10263
10264 * descr-text.el (describe-char): Don't insert extra newlines
10265 (Bug#10127).
10266
10267 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
10268 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
10269
10270 * align.el (align-region): Delete temporary markers (Bug#10047).
10271 Plus some code cleanups.
10272
10273 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10274
10275 * progmodes/python.el (python-pdbtrack-tracked-buffer)
10276 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
10277 (python-shell-internal-last-output): Use make-local-variable
10278 instead of make-variable-buffer-local.
10279
10280 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10281
10282 * progmodes/python.el: Enhancements to forward-sexp.
10283 (python-nav-forward-sexp): Rename from
10284 python-nav-forward-sexp-function.
10285 (python-nav--forward-sexp, python-nav--backward-sexp):
10286 New functions.
10287
10288 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10289
10290 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
10291 modes and simplification modes.
10292
10293 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10294
10295 * delsel.el (delete-selection-pre-hook): Don't propagate the
10296 file-supersession signals (bug#12161).
10297
10298 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10299
10300 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
10301 (cl-map-extents): Add compatibility aliases (bug#12135).
10302
10303 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
10304
10305 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
10306 tests by `ignore-error'.
10307 (tramp-find-shell): Open also a new shell, when cache is already
10308 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
10309
10310 2012-08-08 Juri Linkov <juri@jurta.org>
10311
10312 * bookmark.el: Add `defaults' property to the bookmark record.
10313 (bookmark-current-buffer): Doc fix.
10314 (bookmark-make-record): Add `defaults' property with default values
10315 to the bookmark record.
10316 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
10317 with `bookmark-insert-current-bookmark'.
10318 (bookmark-set): Get `defaults' property from the bookmark record
10319 and use it in `read-from-minibuffer'.
10320 (bookmark-insert-current-bookmark): Remove function.
10321
10322 * info.el (Info-bookmark-make-record): Add `defaults' property
10323 with values of canonical Info node name, the current Info file
10324 name and the current Info node name. (Bug#12107)
10325
10326 2012-08-08 Juri Linkov <juri@jurta.org>
10327
10328 * files.el (basic-save-buffer): Use `buffer-name' as the default
10329 of `read-file-name' when buffer is not visiting a file (bug#12128).
10330
10331 2012-08-08 Juri Linkov <juri@jurta.org>
10332
10333 * info.el (Info-isearch-search): Doc fix.
10334 (Info-search): Change search-failed message from "initial node" to
10335 "end of node" (bug#12078).
10336 (Info-isearch-search): Change `isearch-string-state' to
10337 `isearch--state-string'.
10338
10339 2012-08-08 Glenn Morris <rgm@gnu.org>
10340
10341 * language/persian.el: Remove file.
10342 * language/misc-lang.el: Move unique part of persian.el here.
10343 * loadup.el: Remove language/persian.
10344
10345 2012-08-08 Ă“scar Fuentes <ofv@wanadoo.es>
10346
10347 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
10348
10349 2012-08-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10350
10351 * progmodes/python.el: Fix defsubst warning.
10352 (python-syntax-context) Rename from python-info-ppss-context.
10353 (python-syntax-context-type): Rename from
10354 python-info-ppss-context-type.
10355 (python-syntax-comment-or-string-p): Rename from
10356 python-info-ppss-comment-or-string-p.
10357
10358 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
10359
10360 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
10361
10362 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
10363
10364 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
10365 a defcustom that is quoted with backquote.
10366
10367 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
10368 Fix handling of interactive spec when the body uses return.
10369 (math-do-arg-check, math-define-function-body): Use backquote forms.
10370 * calc/calc-ext.el (math-defcache): Likewise.
10371 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
10372 * allout.el (allout-new-exposure): Likewise.
10373 * calc/calcalg2.el (math-tracing-integral): Likewise.
10374 * info.el (Info-last-menu-item): Likewise.
10375 * emulation/vip.el (vip-loop): Likewise.
10376 * textmodes/artist.el (artist-funcall): Likewise.
10377 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
10378 Construct menu-item directly.
10379
10380 * progmodes/autoconf.el (font-lock-syntactic-keywords):
10381 Don't declare.
10382
10383 2012-08-07 Chong Yidong <cyd@gnu.org>
10384
10385 * simple.el (deactivate-mark): Preserve text properties when
10386 saving the primary selection (Bug#8384).
10387
10388 2012-08-07 Kevin Ryde <user42@zip.com.au>
10389
10390 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
10391 (woman-parse-numeric-value): On a bad .IP line, issue a warning
10392 and continue processing (Bug#12110).
10393
10394 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10395
10396 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
10397 syntax-propertize-function (bug#10095).
10398
10399 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10400
10401 * help-fns.el (help-fns--key-bindings, help-fns--signature)
10402 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
10403 describe-function-1.
10404 (describe-function-1): Use them. Move compiler macro after sig.
10405 (help-fns--compiler-macro): Use function-get. Assume we're already in
10406 standard-output. Adjust layout to new call order.
10407
10408 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
10409 re-binding a symbol that has a symbol-macro (bug#12119).
10410
10411 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
10412
10413 * language/persian.el: New file. (Bug#11812)
10414 * loadup.el: Add language/persian.el.
10415
10416 2012-08-06 Chong Yidong <cyd@gnu.org>
10417
10418 * window.el (window--maybe-raise-frame): New function.
10419 (window--display-buffer): Split off from here.
10420 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10421 (display-buffer-pop-up-window, display-buffer-use-some-window):
10422 Obey an inhibit-switch-frame action alist entry.
10423 (display-buffer): Update doc.
10424
10425 * replace.el (occur-after-change-function): Avoid losing focus by
10426 using the inhibit-switch-frame display parameter (Bug#12139).
10427
10428 2012-08-06 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10429
10430 Make internal shell process buffer names start with space.
10431 * progmodes/python.el (python-shell-make-comint): Add optional
10432 argument INTERNAL.
10433 (run-python-internal): Use it.
10434 (python-shell-internal-get-or-create-process): Check for new
10435 internal buffer names.
10436
10437 2012-08-06 Glenn Morris <rgm@gnu.org>
10438
10439 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
10440 Do less getting and setting of environment variables.
10441
10442 2012-08-05 Chong Yidong <cyd@gnu.org>
10443
10444 * proced.el (proced): Add substitution string to docstring to
10445 trigger autoloading of the proced library on C-h f (Bug#1768).
10446
10447 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10448 Don't show defvars which have no second argument (Bug#8638).
10449
10450 * imenu.el (imenu-generic-expression): Move documentation here
10451 from imenu--generic-function.
10452 (imenu--generic-function): Refer to imenu-generic-expression.
10453
10454 2012-08-05 Vegard Ă˜ye <vegard_oye@hotmail.com> (tiny change)
10455
10456 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
10457 indentation declaration.
10458 (viper-loop): Add indentation declaration (Bug#7025).
10459
10460 2012-08-05 Chong Yidong <cyd@gnu.org>
10461
10462 * help-fns.el (describe-variable): Add hyperlink for
10463 directory-local variables files. Improve buffer-local and
10464 permanent-local reporting; suggested by MON KEY (Bug#6644).
10465
10466 * help-mode.el (help-dir-local-var-def): New button type.
10467
10468 * files.el (kill-buffer-hook): Provide a defvar.
10469
10470 2012-08-05 Glenn Morris <rgm@gnu.org>
10471
10472 * eshell/esh-ext.el (eshell/addpath):
10473 Also update eshell-path-env. (Bug#12013)
10474
10475 2012-08-05 Chong Yidong <cyd@gnu.org>
10476
10477 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
10478
10479 * fringe.el (fringe-styles): Add docstring.
10480 (fringe--check-mode): New function.
10481 (set-fringe-mode, set-fringe-style): Use it.
10482 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
10483
10484 * files.el (set-auto-mode): Fix invalid setq call.
10485
10486 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10487
10488 * isearch.el: Misc simplification; use defstruct.
10489 (isearch-mode-map): Dense maps now work like sparse ones.
10490 (isearch--state): New defstruct.
10491 (isearch-string-state, isearch-message-state, isearch-point-state)
10492 (isearch-success-state, isearch-forward-state)
10493 (isearch-other-end-state, isearch-word-state, isearch-error-state)
10494 (isearch-wrapped-state, isearch-barrier-state)
10495 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
10496 replaced by defstruct's accessors.
10497 (isearch--set-state): Rename from isearch-top-state and change
10498 calling convention.
10499 (isearch-push-state): Use new isearch--get-state.
10500 (isearch-toggle-word): Disable regexp when enabling word.
10501 (isearch-message-prefix): Remove unused arg _c-q-hack.
10502 (isearch-message-suffix): Remove unused arg _ellipsis.
10503
10504 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
10505
10506 * simple.el (list-processes--refresh): For a server use :host or
10507 :local as the address.
10508 (list-processes): Doc fix.
10509
10510 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
10511
10512 * lisp/mpc.el: Support password in host argument.
10513 (mpc--proc-connect): Parse and use new password element.
10514 Set mpc-proc variable instead of returning process.
10515 (mpc-proc): Adjust accordingly.
10516
10517 2012-08-03 Eli Zaretskii <eliz@gnu.org>
10518
10519 * whitespace.el (whitespace-display-mappings): Use Unicode
10520 codepoints, instead of emacs-mule codepoints. See
10521 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
10522 for the details.
10523
10524 * files.el (file-truename): Don't skip symlink-chasing part on
10525 windows-nt. Incorporate the resolution of 8+3 short aliases on
10526 Windows into the loop that recursively chases symlinks.
10527 Compare directory and its parent case-insensitively on MS-Windows and
10528 MS-DOS.
10529
10530 2012-08-03 Chong Yidong <cyd@gnu.org>
10531
10532 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
10533
10534 * sort.el (sort-regexp-fields): Doc fix.
10535
10536 2012-08-03 Tassilo Horn <tsdh@gnu.org>
10537
10538 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
10539 labels regex position point at the expected place.
10540
10541 2012-08-03 MON KEY <monkey@sandpframing.com>
10542
10543 * net/imap.el (imap-interactive-login, imap-authenticate)
10544 (imap-mailbox-lsub, imap-mailbox-list)
10545 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
10546 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
10547 (imap-parse-response): Doc fix.
10548
10549 2012-08-03 JoĂ£o TĂ¡vora <joaotavora@gmail.com>
10550
10551 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
10552 if sexp scanning does not move point (Bug#5734).
10553
10554 2012-08-02 Tassilo Horn <tsdh@gnu.org>
10555
10556 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
10557 Add listings, minted, and ctable packages.
10558 (reftex-label-alist-builtin): Move listings, minted, and ctable
10559 entries before LaTeX.
10560 (reftex-label-alist): Docfix.
10561
10562 2012-08-02 Bastien Guerry <bzg@gnu.org>
10563
10564 * replace.el (occur): Fix docstring (bug#12122).
10565
10566 2012-08-02 Glenn Morris <rgm@gnu.org>
10567
10568 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
10569
10570 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
10571
10572 Obsolete alias inactivate-current-input-method-function (Bug#10150).
10573 * international/mule-cmds.el: Create
10574 inactivate-current-input-method-function as an obsolete alias for
10575 deactivate-current-input-method-function. See Katsumi Yamaoka in
10576 <http://bugs.gnu.org/10150#46>.
10577
10578 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
10579
10580 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
10581 of nested `if's.
10582
10583 2012-08-01 Glenn Morris <rgm@gnu.org>
10584
10585 * progmodes/autoconf.el (autoconf-definition-regexp):
10586 Add AH_TEMPLATE, adjust submatch numbering.
10587 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
10588 (autoconf-current-defun-function): Update for above change.
10589 (autoconf-current-defun-function): First skip to end of current word.
10590
10591 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
10592
10593 * calendar/cal-html.el (cal-html-insert-agenda-days):
10594 Fix typo. (Bug#12018)
10595
10596 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10597
10598 Shell processes: enhancements to startup and CEDET compatibility.
10599 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
10600 (python-shell-make-comint): accept-process-output at startup.
10601 (run-python-internal): Set inferior-python-mode-hook to nil.
10602 (python-shell-internal-get-or-create-process): call sit-for.
10603 (python-preoutput-result): Add obsolete alias.
10604 (python-shell-internal-send-string): Use it.
10605 (python-shell-send-setup-code): Remove call to
10606 accept-process-output.
10607
10608 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
10609
10610 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
10611 (Bug#12108)
10612
10613 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
10614
10615 * calc-mode.el (calc-basic-simplification-mode): Rename from
10616 `calc-limited-simplification-mode'.
10617 (calc-alg-simplification-mode): New function.
10618 (calc-set-simplify-mode): Adjust message.
10619
10620 * calc.el (calc-set-mode-line): Adjust mode line display for
10621 basic simplification mode.
10622
10623 * calc-help.el (calc-m-prefix-help): Update help message.
10624
10625 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
10626 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
10627
10628 2012-07-31 Bastien Guerry <bzg@gnu.org>
10629
10630 * man.el (man): Fix comment. (bug#12101)
10631
10632 2012-07-31 Martin Rudalics <rudalics@gmx.at>
10633
10634 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
10635 Don't return a non-nil value when no suitable buffer was found.
10636
10637 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10638
10639 * progmodes/python.el (run-python-internal): Disable font lock for
10640 internal shells.
10641
10642 2012-07-30 Stefan Merten <smerten@oekonux.de>
10643
10644 * textmodes/rst.el: Silence `checkdoc-ispell'.
10645 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10646 (rst-official-version, rst-official-cvs-rev)
10647 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
10648 (rst-mode-map): New key binding.
10649
10650 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
10651
10652 Update .PHONY listings in makefiles.
10653 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
10654 autoloads, update-subdirs, updates, bzr-update, update-authors,
10655 compile-onefile, compile-calc, backup-compiled-files,
10656 compile-after-backup, compile-one-process, mh-autoloads,
10657 bootstrap-clean, distclean, maintainer-clean.
10658
10659 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
10660
10661 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
10662 (calc-set-mode-line): Don't display "AlgSimp ".
10663
10664 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
10665 (calc-lim-simplify-mode): New function.
10666 (calc-set-simplify-mode): Default to 'alg.
10667 (calc-default-simplify-mode): Make algebraic simplifications
10668 the default.
10669
10670 * calc/calc-ext.el (calc-init-extensions): Remove binding for
10671 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
10672
10673 * calc/calc-help.el (calc-m-prefix-help): Change messages to
10674 indicate new simplification modes.
10675
10676 * calc/README: Mention new default simplification mode.
10677
10678 * calc/calc.el (math-normalize-error): New variable.
10679 (math-normalize): Set `math-normalize-error' to t
10680 when there's an error.
10681
10682 * calc/calc-alg.el (math-simplify): Don't simplify when
10683 `math-normalize' returns an error.
10684
10685 2012-07-29 Eli Zaretskii <eliz@gnu.org>
10686
10687 * international/mule-cmds.el (set-locale-environment): Revert last
10688 change, since display-graphic-p returns nil when this function is
10689 called during startup. Instead...
10690
10691 * term/w32console.el (terminal-init-w32console): ...setup the
10692 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
10693
10694 2012-07-29 Juri Linkov <juri@jurta.org>
10695
10696 * simple.el (goto-line): Don't display default line number in the
10697 prompt because it should be displayed by `read-number' (bug#9952).
10698 Add the current line number to the defaults of `goto-line' to
10699 allow its easier modification by users with `M-n' (bug#9201).
10700
10701 * subr.el (read-number): Support multiple default values like in
10702 other minibuffer reading functions. Replace `read' with
10703 `string-to-number' for consistency with `number-to-string'.
10704
10705 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
10706
10707 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
10708 * emulation/viper-init.el (viper-deactivate-input-method-action):
10709 Rename from viper-inactivate-input-method-action.
10710 (viper-deactivate-input-method):
10711 Rename from viper-inactivate-input-method.
10712 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
10713 * international/mule-cmds.el (deactivate-input-method):
10714 Rename from inactivate-input-method.
10715 Also run input-method-deactivate-hook.
10716 (deactivate-current-input-method-function):
10717 Rename from inactivate-current-input-method-function.
10718 (input-method-deactivate-hook): New hook.
10719 (input-method-inactivate-hook): Mark obsolete.
10720 (inactivate-input-method): Mark obsolete.
10721
10722 * international/quail.el (quail-activate):
10723 Also run quail-deactivate-hook.
10724 (quail-deactivate): Rename from quail-inactivate.
10725 * international/robin.el (robin-activate):
10726 Also run robin-deactivate-hook.
10727 (robin-deactivate): Rename from robin-inactivate.
10728
10729 2012-07-29 Chong Yidong <cyd@gnu.org>
10730
10731 * simple.el (indicate-copied-region): New function.
10732 (kill-ring-save): Split off from here.
10733
10734 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
10735 (kill-rectangle): Set deactivate-mark to t on read-only error.
10736
10737 * register.el (copy-to-register, copy-rectangle-to-register):
10738 Deactivate the mark, and use indicate-copied-region (Bug#10056).
10739 (append-to-register, prepend-to-register): Call indicate-copied-region.
10740
10741 2012-07-29 Juri Linkov <juri@jurta.org>
10742
10743 * simple.el (async-shell-command-buffer): New defcustom.
10744 (shell-command): Use it. (Bug#4719)
10745
10746 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10747
10748 * international/mule-cmds.el (set-locale-environment): In a
10749 console session on MS-Windows, set up keyboard and terminal
10750 encoding from the OEM codepage, not the ANSI codepage.
10751 (Bug#12055)
10752
10753 2012-07-28 Chong Yidong <cyd@gnu.org>
10754
10755 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
10756 gdb-get-location.
10757
10758 2012-07-28 Leo Liu <sdl.web@gmail.com>
10759
10760 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
10761 the alist (bug#12029).
10762
10763 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10764
10765 * makefile.w32-in (custom-deps, finder-data, updates, compile)
10766 (compile-always, compile-first)
10767 ($(lisp)/calendar/cal-loaddefs.el)
10768 ($(lisp)/calendar/diary-loaddefs.el)
10769 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10770 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
10771 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
10772 instead of on update-subdirs.
10773 (bootstrap-clean): Delete $(lisp)/subdirs.el.
10774
10775 2012-07-28 Chong Yidong <cyd@gnu.org>
10776
10777 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
10778 directory if vc-deduce-backend returns nil (Bug#7350).
10779
10780 * simple.el (delete-trailing-lines): New option.
10781 (delete-trailing-whitespace): Obey it (Bug#11879).
10782
10783 2012-07-28 David Engster <deng@randomsample.de>
10784
10785 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
10786 Explanation of new 'symbol-qnames feature in doc-strings.
10787 (xml-maybe-do-ns): Return expanded names as plain symbols if
10788 'symbol-qnames was provided in XML-NS argument (Bug#11916).
10789 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
10790
10791 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10792
10793 Consistent completion in inferior python with emacs -nw.
10794 * progmodes/python.el (inferior-python-mode): replace "<tab>"
10795 binding in inferior-python-mode-map with "\t".
10796 (python-shell-completion-complete-at-point)
10797 (python-completion-complete-at-point): Remove interactive spec.
10798
10799 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10800
10801 * calc/calccomp.el (math-compose-expr): Undo previous change.
10802
10803 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10804
10805 * progmodes/python.el (python-mode-map): Add keybinding for
10806 run-python.
10807 (python-shell-make-comint): Fix pop-to-buffer call.
10808 (run-python): Autoload. New arg SHOW.
10809 (python-shell-get-or-create-process): Do not pop python process
10810 buffer.
10811
10812 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
10813
10814 * notifications.el (notifications-on-action-signal)
10815 (notifications-on-closed-signal): Use also the bus address for the map.
10816 (notifications-notify, notifications-close-notification)
10817 (notifications-get-capabilities): Add optional argument BUS.
10818
10819 2012-07-27 Tassilo Horn <tsdh@gnu.org>
10820
10821 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
10822 Add support for the lstlisting and minted environments, and for the
10823 ctable macro.
10824 * textmodes/reftex.el (reftex-compile-variables): Also recognize
10825 labels written in keyvals syntax.
10826
10827 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10828
10829 * calc/calccomp.el (math-compose-expr): Use parentheses when
10830 there is a product in the denominator of a fraction.
10831
10832 2012-07-26 Eli Zaretskii <eliz@gnu.org>
10833
10834 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
10835 ($(lisp)/calendar/diary-loaddefs.el)
10836 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10837 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
10838 Fixes failures in parallel bootstrap because subdirs.el is being
10839 rewritten while the autoload files are built at the same time,
10840 which needs to load subdirs.el.
10841
10842 2012-07-26 Martin Rudalics <rudalics@gmx.at>
10843
10844 * mouse.el (popup-menu): Fix doc-string and re-indent code.
10845 (mouse-drag-line): Don't exit tracking when a switch-frame or
10846 switch-window event occurs (Bug#12006).
10847
10848 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10849
10850 * mouse.el (popup-menu): Fix last change.
10851
10852 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10853
10854 Autoload from Lisp with more care. Follow aliases when looking for
10855 function properties.
10856 * subr.el (autoloadp): New function.
10857 (symbol-file): Use it.
10858 (function-get): New function.
10859 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
10860 autoload-do-load.
10861 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
10862 (lisp-indent-function):
10863 * emacs-lisp/gv.el (gv-get):
10864 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
10865 * emacs-lisp/byte-opt.el (byte-optimize-form):
10866 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10867 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
10868 Use function-get.
10869 * emacs-lisp/cl.el: Don't propagate function properties any more.
10870
10871 * speedbar.el (speedbar-add-localized-speedbar-support):
10872 * emacs-lisp/disass.el (disassemble-internal):
10873 * desktop.el (desktop-load-file):
10874 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
10875 (describe-function-1):
10876 * emacs-lisp/find-func.el (find-function-noselect):
10877 * emacs-lisp/elp.el (elp-instrument-function):
10878 * emacs-lisp/advice.el (ad-has-proper-definition):
10879 * apropos.el (apropos-safe-documentation, apropos-macrop):
10880 * emacs-lisp/debug.el (debug-on-entry):
10881 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
10882 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
10883 * calc/calc.el (name): Use autoloadp & autoload-do-load.
10884
10885 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
10886
10887 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
10888 function, not an obsolete variable (Bug#12046).
10889
10890 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10891
10892 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
10893
10894 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
10895
10896 * emacs-lisp/pp.el (pp-display-expression): Select old selected
10897 window only if it is still live (Bug#12034).
10898
10899 2012-07-25 Martin Rudalics <rudalics@gmx.at>
10900
10901 * subr.el (redirect-frame-focus): Add advertised calling
10902 convention (Bug#12030).
10903
10904 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
10905
10906 Prefer typical American spelling for "acknowledgment".
10907 * vc/add-log.el (change-log-acknowledgment): Rename from
10908 change-log-acknowledgement, with an alias for the old name.
10909
10910 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
10911
10912 * calc-alg.el (math-simplify-divide): Don't cross multiply
10913 in an equation when the lhs is a variable.
10914
10915 2012-07-24 Julien Danjou <julien@danjou.info>
10916
10917 * net/netrc.el (netrc-find-service-number, netrc-store-data):
10918 Remove, unused.
10919
10920 2012-07-23 Eli Zaretskii <eliz@gnu.org>
10921
10922 * startup.el (command-line): Don't display an empty user name in
10923 the error message about non-existent home directory, when
10924 init-file-user was set to an empty string. See
10925 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
10926 for the details and context.
10927
10928 2012-07-22 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10929
10930 * ses.el (ses-cell-formula-aset): New macro.
10931 (ses-cell-references-aset): New macro.
10932 (ses-cell-p): New function.
10933 (ses-rename-cell): Do no longer rely on complex operations like
10934 ses-cell-set-formula or ses-set-cell to change the cell and handle
10935 the undo at the same time, but rather use lower level new macros
10936 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
10937 the undo directly. Refresh the mode line.
10938
10939 2012-07-21 Leo Liu <sdl.web@gmail.com>
10940
10941 * progmodes/cc-cmds.el (c-defun-name):
10942 Use match-string-no-properties instead for consistency.
10943
10944 2012-07-20 Leo Liu <sdl.web@gmail.com>
10945
10946 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
10947 (Bug#7879)
10948
10949 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
10950
10951 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
10952
10953 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
10954 * progmodes/bug-reference.el, misearch.el: Provide themselves
10955 (bug#11915).
10956
10957 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
10958 of narrowed buffer (bug#11966).
10959
10960 2012-07-20 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10961
10962 * ses.el (ses-rename-cell): Set new name also in reference list of
10963 cells of which the renamed cell depends.
10964
10965 2012-07-20 Masatake YAMATO <yamato@redhat.com>
10966
10967 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
10968 to check whether menu-bar is shown or not. If not shown,
10969 show the menu-bar as a popup menu instead of using tmm.
10970 * mouse.el (popup-menu): Accept `point' as `position' argument.
10971
10972 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
10973
10974 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
10975 up inside string symbol literal (bug#11923).
10976
10977 2012-07-20 Eli Zaretskii <eliz@gnu.org>
10978
10979 * startup.el (fancy-startup-text): Read the whole tutorial, not
10980 just its first 256 bytes. Prevents gibberish in display of the
10981 tutorial title.
10982
10983 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
10984
10985 Drop idle buffer compaction due to an absence of the
10986 proved efficiency.
10987 * compact.el: Remove.
10988
10989 2012-07-19 Sam Steingold <sds@gnu.org>
10990
10991 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
10992 vc-bzr-pull & vc-bzr-merge-branch.
10993 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
10994 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
10995 for consistency with compilation-error-regexp-alist.
10996 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
10997 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
10998 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
10999 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
11000
11001 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11002
11003 * emacs-lisp/chart.el: Use lexical-binding.
11004 (chart-emacs-storage): Don't hardcode the list of entries.
11005
11006 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11007
11008 Next round of tweaks caused by Fgarbage_collect changes.
11009 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
11010
11011 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11012
11013 Compact buffers when idle.
11014 * compact.el: New file.
11015
11016 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11017
11018 * subr.el (eventp): Presume that if it looks vaguely like an event,
11019 it's an event (bug#10190).
11020
11021 2012-07-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11022
11023 Enhancements to ppss related code (thanks Stefan).
11024 * progmodes/python.el (python-indent-context)
11025 (python-indent-calculate-indentation, python-indent-dedent-line)
11026 (python-indent-electric-colon, python-nav-forward-block)
11027 (python-mode-abbrev-table)
11028 (python-info-assignment-continuation-line-p): Simplify checks
11029 for ppss context.
11030 (python-info-continuation-line-p): Cleanup.
11031 (python-info-ppss-context): Do not catch 'quote.
11032 (python-info-ppss-context-type)
11033 (python-info-ppss-comment-or-string-p): Simplify.
11034
11035 2012-07-18 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11036
11037 * progmodes/python.el: Enhancements to eldoc support.
11038 (python-info-current-symbol): New function.
11039 (python-eldoc-at-point): Use python-info-current-symbol.
11040 (python-info-current-defun): Fix cornercase on first defun scan.
11041 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
11042 and signal error when no inferior python process is available.
11043
11044 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
11045
11046 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
11047 assume it's always t.
11048 (vc-git-registered): Remove caching, the function is only called
11049 once.
11050 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
11051
11052 2012-07-18 Chong Yidong <cyd@gnu.org>
11053
11054 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
11055
11056 * simple.el (count-words): Report on narrowing (Bug#9959).
11057
11058 * bindings.el: Bind M-= to count-words.
11059
11060 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
11061
11062 2012-07-18 Masatake YAMATO <yamato@redhat.com>
11063
11064 * progmodes/sh-script.el (sh-imenu-generic-expression):
11065 Capture a function with `function' keyword and without parentheses
11066 like "function FOO" (bug#11856).
11067
11068 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
11069
11070 * window.el (split-window-sensibly): Make WINDOW argument
11071 optional.
11072
11073 2012-07-18 Chong Yidong <cyd@gnu.org>
11074
11075 * subr.el (keyboard-translate): Doc fix (Bug#7261).
11076
11077 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
11078 and make C-x 8 RET exit isearch (Bug#11439).
11079
11080 * international/iso-transl.el: Move isearch-mode-map key
11081 definitions to isearch.el.
11082
11083 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
11084
11085 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
11086 (eieio-defclass): Use gv-define-setter when possible.
11087
11088 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
11089
11090 Reflect recent changes in Fgarbage_collect.
11091 * emacs-lisp/chart.el (chart-emacs-storage): Change to
11092 reflect new format of data returned by Fgarbage_collect.
11093
11094 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11095
11096 New utility functions + python-info-ppss-context fix (Bug#11910).
11097 * progmodes/python.el (python-info-beginning-of-block-statement-p)
11098 (python-info-ppss-comment-or-string-p): New functions.
11099 (python-info-ppss-context): Small fix for string check.
11100
11101 2012-07-17 Juri Linkov <juri@jurta.org>
11102
11103 * dired-aux.el (dired-do-async-shell-command): Doc fix.
11104 (dired-do-async-shell-command): Don't add `*' at the end of the
11105 command (Bug#11815).
11106 (dired-do-shell-command): Doc fix.
11107 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
11108 Join the individual commands using either "&" or ";" as the
11109 separator depending on the values of these trailing characters.
11110 At the end re-add the trailing "&". (Bug#10598)
11111
11112 * simple.el (async-shell-command): Sync the interactive spec with
11113 `shell-command'. Doc fix.
11114 (shell-command): Doc fix.
11115
11116 2012-07-17 Juri Linkov <juri@jurta.org>
11117
11118 * descr-text.el (describe-char): Fix format args. (Bug#10129)
11119
11120 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11121
11122 Final renames and doc fixes for movement commands (bug#11899).
11123 * progmodes/python.el (python-nav-beginning-of-statement):
11124 Rename from python-nav-statement-start.
11125 (python-nav-end-of-statement): Rename from
11126 python-nav-statement-end.
11127 (python-nav-beginning-of-block): Rename from
11128 python-nav-block-start.
11129 (python-nav-end-of-block): Rename from python-nav-block-end.
11130
11131 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11132
11133 * progmodes/python.el (python-shell-send-string-no-output):
11134 Allow accept-process-output to quit, keeping shell process ready for
11135 future interactions (Bug#11868).
11136
11137 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11138
11139 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
11140
11141 * emacs-lisp/elint.el (elint-find-args-in-code):
11142 Use help-function-arglist, so as to handle lexical byte-code.
11143
11144 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
11145 change (bug#11826).
11146
11147 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11148
11149 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
11150 Avoid spuriously marking the buffer as modified because of c-is-sws.
11151
11152 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
11153 as not-a-comment (bug#11946).
11154
11155 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
11156 for uninterned vars.
11157
11158 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
11159 Use read-event since we don't really want to read chars but bytes.
11160
11161 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
11162 $$..$$ but also $..$ using regexps (bug#11953).
11163 Use tex-verbatim for \url and \path.
11164 (tex-font-lock-keywords): Define as defconst like the others.
11165 (tex-common-initialization): Don't use font-lock-syntax-table any more.
11166
11167 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
11168
11169 * international/mule-cmds.el (ucs-insert): Make it an obsolete
11170 alias for insert-char.
11171
11172 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11173
11174 * progmodes/python.el: Simplified imenu implementation.
11175 (python-nav-jump-to-defun): Remove command.
11176 (python-mode-map): Use `imenu' instead.
11177 (python-nav-list-defun-positions-cache)
11178 (python-imenu-include-defun-type, python-imenu-make-tree)
11179 (python-imenu-subtree-root-label, python-imenu-index-alist):
11180 Remove vars.
11181 (python-nav-list-defun-positions, python-nav-read-defun)
11182 (python-imenu-tree-assoc, python-imenu-make-element-tree)
11183 (python-imenu-make-tree, python-imenu-create-index):
11184 Remove functions.
11185 (python-mode): Update to interact with imenu by setting
11186 `imenu-extract-index-name-function' only.
11187
11188 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11189
11190 * progmodes/python.el: Enhancements to navigation commands.
11191 (python-nav-backward-sentence)
11192 (python-nav-forward-sentence): Remove.
11193 (python-nav-backward-statement, python-nav-forward-statement)
11194 (python-nav-statement-start, python-nav-statement-end)
11195 (python-nav-backward-block, python-nav-forward-block)
11196 (python-nav-block-start, python-nav-block-end)
11197 (python-nav-forward-sexp-function)
11198 (python-info-current-line-comment-p)
11199 (python-info-current-line-empty-p): New functions.
11200 (python-indent-context): Use `python-nav-statement-start'.
11201
11202 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
11203
11204 * eshell/em-ls.el (eshell/ls): Use `apply'.
11205
11206 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
11207 multi-hops, instead of Tramp internals.
11208
11209 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
11210
11211 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
11212 when F1 and F2 are located on different hosts.
11213
11214 2012-07-14 Chong Yidong <cyd@gnu.org>
11215
11216 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
11217 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
11218 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
11219 (xterm-mouse--read-event-sequence-1000)
11220 (xterm-mouse--read-event-sequence-1006): New functions. For old
11221 mouse protocol, handle M-mouse-X events correctly.
11222 (xterm-mouse-event): New arg specifying mouse protocol.
11223 (turn-on-xterm-mouse-tracking-on-terminal)
11224 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
11225 sequence to toggle extended coordinates on newer XTerms.
11226 This appears to be harmless on terminals which do not support this.
11227
11228 2012-07-14 Leo Liu <sdl.web@gmail.com>
11229
11230 Add fringe bitmap indicators for flymake. (Bug#11253)
11231 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
11232 (flymake-make-overlay): New arg BITMAP.
11233 (flymake-error-bitmap, flymake-warning-bitmap)
11234 (flymake-fringe-indicator-position): New user variables.
11235
11236 * fringe.el: New bitmap exclamation-mark.
11237
11238 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
11239
11240 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
11241 also (Bug#7879).
11242
11243 2012-07-14 Chong Yidong <cyd@gnu.org>
11244
11245 * electric.el (electric-pair-post-self-insert-function): Fix pair
11246 insertion in empty-region case (Bug#11520).
11247
11248 2012-07-14 Chong Yidong <cyd@gnu.org>
11249
11250 * bindings.el: Consolidate ctl-x-r-map bindings.
11251 Bind copy-rectangle-as-kill to C-x r w.
11252
11253 * rect.el, register.el: Move bindings to bindings.el.
11254
11255 2012-07-14 Reuben Thomas <rrt@sc3d.org>
11256
11257 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
11258
11259 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
11260
11261 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
11262
11263 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
11264
11265 * bindings.el (top): Use `mapc' instead of `mapcar'.
11266
11267 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
11268
11269 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
11270
11271 * progmodes/sql.el (sql-comint): Suppress the check for program on
11272 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
11273 (Bug#11908)
11274
11275 2012-07-13 Chong Yidong <cyd@gnu.org>
11276
11277 * bindings.el: Assign a non-nil permanent-local property to
11278 per-buffer variables which lack a default value (Bug#11930).
11279
11280 * help-fns.el (describe-variable): In the "automatically becomes
11281 local" notice, take note of permanent-local variables.
11282
11283 2012-07-13 Chong Yidong <cyd@gnu.org>
11284
11285 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
11286 to allow printing the message when called from Lisp.
11287
11288 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11289 Remove toggle-read-only.
11290
11291 * bs.el (bs-toggle-readonly):
11292 * buff-menu.el (Buffer-menu-toggle-read-only):
11293 Remove with-no-warnings around toggle-read-only.
11294
11295 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
11296 Remove with-no-warnings around toggle-read-only.
11297 (ffap-read-only, ffap-read-only-other-window)
11298 (ffap-read-only-other-frame): Callers changed.
11299
11300 * help-mode.el: Don't require view package.
11301 (help-mode-finish): Set buffer-read-only instead of calling
11302 toggle-read-only.
11303
11304 * bindings.el (mode-line-toggle-read-only):
11305 * dired.el (dired-toggle-read-only):
11306 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
11307 with non-nil second arg.
11308
11309 * emacs-lisp/eieio-custom.el (eieio-customize-object):
11310 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
11311 directly.
11312
11313 2012-07-12 Eli Zaretskii <eliz@gnu.org>
11314
11315 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
11316 not incf.
11317
11318 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
11319
11320 More CL cleanups and reduction of use of cl.el.
11321 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
11322 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
11323 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
11324 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
11325 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
11326 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
11327 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
11328 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
11329 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
11330 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
11331 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
11332 * eshell/em-cmpl.el, eshell/em-banner.el:
11333 * calendar/parse-time.el: Use cl-lib.
11334 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
11335 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
11336 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
11337 * term/ns-win.el, term.el, shell.el, ps-samp.el:
11338 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
11339 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
11340 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
11341 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
11342 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
11343 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
11344 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
11345 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
11346 `lambda' rather than with `quote'.
11347 (eshell-do-opt): Adjust accordingly.
11348 (eshell-process-option): Simplify.
11349 * eshell/esh-var.el:
11350 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
11351 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
11352 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
11353 to `pcase--dontcare'.
11354 * emacs-lisp/cl.el (labels): Mark obsolete.
11355 (cl--letf, letf): Move to cl-lib.
11356 (cl--letf*, letf*): Remove.
11357 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
11358 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
11359 (cl-progv): Rewrite.
11360 (cl--letf, cl-letf): Move from cl.el.
11361 (cl-letf*): New macro.
11362 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
11363
11364 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
11365
11366 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
11367
11368 2012-07-11 Chong Yidong <cyd@gnu.org>
11369
11370 * vc/log-edit.el (log-edit-vc-backend): New variable.
11371 (log-edit): Doc fix.
11372
11373 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
11374 argument of log-edit to set up all local variables.
11375 (vc-start-logentry): New optional arg specifying VC backend.
11376
11377 * vc/vc.el (vc-checkin): Use it.
11378 (vc-deduce-fileset): Handle Log Edit buffers.
11379 (vc-diff): Make first argument optional too.
11380
11381 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
11382
11383 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
11384
11385 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
11386 command, just in case. The function is not needed anymore.
11387 (eshell-external-command): Do not call `eshell-remote-command'.
11388
11389 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
11390
11391 Reduce use of (require 'cl).
11392 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
11393 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
11394 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
11395 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
11396 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
11397 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
11398 * battery.el, avoid.el, abbrev.el: Use cl-lib.
11399 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
11400 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
11401 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
11402 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
11403 * calculator.el, autorevert.el, apropos.el: Don't require CL.
11404 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
11405 (byte-compile-unfold-bcf, byte-compile-check-variable):
11406 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
11407 (byte-compile-nilconstp):
11408 * emacs-lisp/autoload.el (make-autoload): Use pcase.
11409 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
11410
11411 * emacs-lisp/gv.el (cond): Make it a valid place.
11412 (if): Simplify slightly.
11413
11414 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
11415 (pcase--self-quoting-p): New function.
11416 (pcase--u1): Use it.
11417
11418 2012-07-10 Glenn Morris <rgm@gnu.org>
11419
11420 * emacs-lisp/authors.el (authors-fixed-entries):
11421 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
11422
11423 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
11424
11425 Rename configure.in to configure.ac (Bug#11603).
11426 * emacs-lisp/authors.el (authors-canonical-file-name):
11427 * progmodes/autoconf.el (autoconf-mode):
11428 Prefer configure.ac to configure.in.
11429
11430 2012-07-08 Chong Yidong <cyd@gnu.org>
11431
11432 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
11433 Implement the mouse-1-click-follows-link handling properly.
11434
11435 * info.el (Info-link-keymap): Use follow-link mechanism for
11436 header-line links (Bug#374).
11437
11438 * simple.el (deactivate-mark): Do not set the primary selection
11439 if another program has acquired it (Bug#11772).
11440
11441 2012-07-07 Kevin Ryde <user42@zip.com.au>
11442
11443 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
11444 (woman-decode-region): Replace escaped-escapes without destroying
11445 bold or underline (Bug#11552).
11446 (woman2-process-escapes): Handle nofill regions (Bug#11591).
11447
11448 2012-07-07 Chong Yidong <cyd@gnu.org>
11449
11450 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
11451 (interprogram-cut-function, interprogram-paste-function):
11452 Mention that we typically mean the clipboard.
11453
11454 2012-07-06 Glenn Morris <rgm@gnu.org>
11455
11456 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
11457
11458 * files.el (toggle-read-only): Restrict message to interactive use.
11459
11460 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
11461
11462 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
11463
11464 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
11465
11466 2012-07-06 Glenn Morris <rgm@gnu.org>
11467
11468 * Makefile.in (compile-one-process): Rename from "recompile".
11469
11470 * Makefile.in (bzr-update): "compile" is the same as "recompile
11471 autoloads", but parallelizable, so use that instead.
11472
11473 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
11474
11475 * window.el (quit-window): Always restore window height when
11476 it's saved in quit-restore parameter (Bug#11810).
11477
11478 2012-07-06 Glenn Morris <rgm@gnu.org>
11479
11480 * simple.el (kill-whole-line): Doc tweak.
11481
11482 2012-07-06 Eli Zaretskii <eliz@gnu.org>
11483
11484 * files.el (file-relative-name): Compare file names
11485 case-insensitively if on MS-Windows or MS-DOS, or if
11486 read-file-name-completion-ignore-case is non-nil. Don't use
11487 case-fold-search for this purpose. (Bug#11827)
11488
11489 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
11490
11491 * calendar/cal-dst.el (calendar-current-time-zone):
11492 Return calendar-current-time-zone-cache if non-nil.
11493
11494 2012-07-17 Masatake YAMATO <yamato@redhat.com>
11495 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11496
11497 * calendar/cal-dst.el (calendar-current-time-zone):
11498 Return calendar-current-time-zone-cache if non-nil.
11499
11500 2012-07-06 Glenn Morris <rgm@gnu.org>
11501
11502 * Makefile.in (cvs-update): Remove old alias.
11503
11504 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
11505
11506 Sync with Tramp 2.2.6-pre.
11507
11508 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
11509 compatible declaration.
11510
11511 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11512 Protect `list-load-path-shadows' call.
11513
11514 * net/tramp-compat.el (top): Require packages, which aren't
11515 autoloaded anymore for XEmacs. Protect call of
11516 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
11517 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
11518 it hurts at least for SXEmacs.
11519 (tramp-compat-temporary-file-directory): In XEmacs, there is no
11520 standard-value for `temporary-file-directory'.
11521
11522 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
11523 Redirect stderr to /dev/null.
11524 (tramp-sh-handle-write-region): uid and gid can be floats.
11525 Reported by Russell Sim <russell.sim@gmail.com>.
11526 (tramp-sh-handle-vc-registered): Hide errors.
11527 (tramp-vc-file-name-handler): Use dummy results for `process-file'
11528 and `start-file-process'.
11529 (tramp-maybe-open-connection): Check also whether `non-essential'
11530 is bound.
11531
11532 2012-07-04 Chong Yidong <cyd@gnu.org>
11533
11534 * xml.el (xml--parse-buffer): Use xml-syntax-table.
11535 (xml-parse-tag): Likewise, and avoid changing entity tables.
11536 (xml-syntax-table): Define from scratch, making sure not to give
11537 x2000 and other Unicode spaces whitespace syntax, since those are
11538 not spaces in XML.
11539 (xml-parse-fragment): Delete unused function.
11540 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
11541 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
11542 (xml-entity-ref, xml-pe-reference-re)
11543 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
11544 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
11545 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
11546 (xml-entity-value-re): Use syntax references in regexps where
11547 possible; no need to define inside a let-binding.
11548 (xml-parse-dtd): Use xml-pe-reference-re.
11549 (xml-entity-or-char-ref-re): New defconst.
11550 (xml-parse-string, xml-substitute-special): Use it.
11551
11552 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11553
11554 * files.el (locate-dominating-file): Allow `name' to be a predicate.
11555 (find-file--read-only): New function.
11556 (find-file-read-only, find-file-read-only-other-window)
11557 (find-file-read-only-other-frame): Use it.
11558 (insert-file-contents-literally): Don't `fset'.
11559 (get-free-disk-space): Use locate-dominating-file.
11560
11561 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
11562 function is already compiled.
11563
11564 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
11565
11566 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
11567
11568 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
11569 files on the same host.
11570
11571 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
11572
11573 * help-fns.el (describe-function-1): Only call
11574 help-fns--autoloaded-p when we have a file name. (Bug#11848)
11575
11576 2012-07-03 Chong Yidong <cyd@gnu.org>
11577
11578 * xml.el: Protect parser against XML bombs.
11579 (xml-entity-expansion-limit): New variable.
11580 (xml-parse-string, xml-substitute-special): Use it.
11581 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
11582
11583 2012-07-03 Glenn Morris <rgm@gnu.org>
11584
11585 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11586 Allow linking to specific messages in debbugs reports (eg 123#5).
11587
11588 2012-07-02 Chong Yidong <cyd@gnu.org>
11589
11590 * xml.el: Fix entity and character reference expansion, allowing
11591 them to expand into markup as per XML spec.
11592 (xml-default-ns): New variable.
11593 (xml-entity-alist): Use XML spec definitions for lt and amp.
11594 (xml-parse-region): Make first two arguments optional.
11595 Discard text properties.
11596 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
11597 All callers changed.
11598 (xml-parse-tag): Call xml-parse-tag-1. For backward
11599 compatibility, this function should not modify buffer contents.
11600 (xml-parse-tag-1): Fix opening-tag regexp.
11601 (xml-parse-string): Rewrite, handling entity and character
11602 references properly.
11603 (xml--entity-replacement-text): Signal an error if a parameter
11604 entity is undefined.
11605
11606 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11607
11608 * comint.el (comint-output-filter): Filter out repeated prompts.
11609
11610 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
11611 and file-name-absolute-p.
11612 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
11613 internal calls.
11614
11615 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
11616
11617 Spelling fixes.
11618 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
11619 Rename from byte-compile--refiy-function. All uses changed.
11620
11621 2012-07-01 Chong Yidong <cyd@gnu.org>
11622
11623 * xml.el (xml--parse-buffer): New function. Move most of
11624 xml-parse-region here.
11625 (xml-parse-region): Copy region into a temporary buffer, since
11626 parameter entity substitution requires changing buffer contents.
11627 Use xml--parse-buffer.
11628 (xml-parse-file): Use xml--parse-buffer.
11629 (xml-parse-dtd): Make parameter entity substitution work right.
11630 Use proper regexps for ELEMENT declarations (Bug#7172).
11631
11632 2012-06-30 Glenn Morris <rgm@gnu.org>
11633
11634 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
11635
11636 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
11637 Remove outdated and unnecessary dbus declarations.
11638
11639 2012-06-30 Eli Zaretskii <eliz@gnu.org>
11640
11641 * emacs-lisp/timer.el (timer-until): Subtract results of
11642 float-time, instead of taking float-time of the result of
11643 time-subtract, since float-time signals an error for negative time
11644 arguments.
11645
11646 2012-06-30 Chong Yidong <cyd@gnu.org>
11647
11648 * xml.el (xml-*-re): Convert defvars into defconsts, and
11649 eval-and-compile them so eval-and-compile works on derivatives.
11650 (xml--entity-replacement-text): Use eval-and-comple.
11651
11652 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
11653
11654 * vc/vc-git.el (vc-git-registered): Use cache property
11655 `git-registered'.
11656 (vc-git-mode-line-string): Call `vc-working-revision' instead of
11657 `vc-git-working-revision' in order to benefit from the cache.
11658 (vc-git-root): Use cache property `git-root'. (Bug#11757)
11659
11660 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
11661
11662 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
11663 removed (likely outside Emacs). (Bug#11757)
11664
11665 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11666
11667 * emacs-lisp/cl-lib.el: Require macroexp.
11668
11669 2012-06-30 Chong Yidong <cyd@gnu.org>
11670
11671 * xml.el: Implement XML parameter entities.
11672 (xml-parameter-entity-alist): New variable.
11673 (xml-parse-region, xml-parse-fragment): Preserve previous values
11674 of xml-entity-alist and xml-parameter-entity-alist, so that
11675 repeated calls on different documents do not change them.
11676 (xml-parse-tag): Fix doctype regexp.
11677 (xml--entity-replacement-text): New function.
11678 (xml-parse-dtd): Use it. Don't handle system entities; doing that
11679 properly requires url retrieval which is unimplemented.
11680 (xml-escape-string): Doc fix.
11681
11682 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11683
11684 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
11685
11686 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
11687
11688 * fringe.el (fringe-mode): Doc fix.
11689
11690 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
11691
11692 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
11693 is non-nil.
11694 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
11695 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
11696
11697 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
11698
11699 * calendar/cal-dst.el (calendar-current-time-zone):
11700 Return calendar-current-time-zone-cache if non-nil.
11701
11702 2012-06-29 Masatake YAMATO <yamato@redhat.com>
11703
11704 * progmodes/which-func.el (which-func-format):
11705 Add mouse-face. (Bug#11698)
11706
11707 2012-06-29 Leo Liu <sdl.web@gmail.com>
11708
11709 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
11710
11711 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11712
11713 * minibuffer.el (minibuffer-confirm-exit-commands):
11714 Add completion-at-point (bug#11725).
11715
11716 2012-06-29 Glenn Morris <rgm@gnu.org>
11717
11718 * progmodes/f90.el (f90-font-lock-keywords-2):
11719 Add some preprocessor elements. (Bug#10499)
11720
11721 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11722
11723 * progmodes/cperl-mode.el (cperl-update-syntaxification):
11724 Use syntax-propertize (bug#11739).
11725
11726 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
11727
11728 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
11729
11730 2012-06-28 Julien Danjou <julien@danjou.info>
11731
11732 * term.el (term-handle-colors-array): Use a set of new faces to
11733 color the terminal. Also uses :inverse-video property.
11734 (term-default-fg-color): Set to nil by default, deprecate in favor
11735 of `term-face'.
11736 (term-default-bg-color): Set to nil by default, deprecate in favor
11737 of `term-face'.
11738 (term-current-face): Use `term-face' by default.
11739 (term-bold-attribute): Variable deleted.
11740
11741 2012-06-28 Glenn Morris <rgm@gnu.org>
11742
11743 * simple.el (completion-list-mode-finish):
11744 Don't use toggle-read-only. (Since completion-list-mode has
11745 a special mode-class, it wasn't doing anything extra anyway.)
11746
11747 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
11748
11749 Make inlining of other-mode interpreted functions work (bug#11799).
11750 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
11751 (byte-compile): Use it to fix compilation of lexical-binding closures.
11752 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
11753 function, if needed.
11754
11755 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11756
11757 * help-mode.el (help-make-xrefs): Don't just withstand
11758 cyclic-variable-indirection but any error in documentation-property.
11759
11760 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
11761 memory use.
11762 * bindings.el (bindings--define-key): New function.
11763 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
11764 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
11765 * bindings.el: Use it to purecopy define-key bindings.
11766
11767 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
11768
11769 * emacs-lisp/cl.el (flet): Mark obsolete.
11770 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
11771 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
11772 * progmodes/js.el (js-c-fill-paragraph):
11773 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
11774 (ebrowse-switch-member-buffer-to-derived-class):
11775 * play/5x5.el (5x5-solver): Use cl-flet.
11776
11777 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
11778 (cl--symbol-function): New macro.
11779 (cl--letf, cl--letf*): Use it.
11780
11781 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
11782 Strip "toggle-" if any.
11783
11784 2012-06-27 Glenn Morris <rgm@gnu.org>
11785
11786 * info.el (Info-default-directory-list): Move here from paths.el.
11787 * paths.el: Remove file, which is now empty.
11788 * loadup.el: No longer load "paths".
11789
11790 * custom.el (custom-initialize-delay): Doc fix.
11791
11792 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11793 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
11794 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
11795 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
11796 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
11797 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
11798 * eshell/eshell.el (eshell-defgroup): Remove alias.
11799
11800 2012-06-27 Chong Yidong <cyd@gnu.org>
11801
11802 * help.el (help-enable-auto-load): New variable.
11803
11804 * help-fns.el (help-fns--autoloaded-p): New function.
11805 (describe-function-1): Refer to a function as "autoloaded" if it
11806 was autoloaded at any time in the past. Perform autoloading if
11807 help-enable-auto-load is non-nil.
11808
11809 2012-06-26 Eli Zaretskii <eliz@gnu.org>
11810
11811 * makefile.w32-in (compile, compile-always): Depend on
11812 update-subdirs, not on subdirs.el. Otherwise, several different
11813 sub-targets of 'bootstrap' running in parallel could
11814 simultaneously write to subdirs.el, producing a garbled file.
11815
11816 2012-06-26 Sam Steingold <sds@gnu.org>
11817
11818 * files.el (file-name-base): New convenience function.
11819 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
11820 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
11821 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
11822 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
11823 * textmodes/ispell.el, textmodes/reftex-ref.el:
11824 * textmodes/tex-mode.el: Use it.
11825 Did not touch cedet and org because they are maintained elsewhere.
11826
11827 2012-06-26 Martin Rudalics <rudalics@gmx.at>
11828
11829 * calendar/calendar.el (calendar-exit): Don't try to delete or
11830 iconify last frame. See:
11831 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
11832
11833 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
11834
11835 * server.el (server-process-filter): Remember dir in the
11836 process's `server-client-directory' properties.
11837
11838 2012-06-24 Chong Yidong <cyd@gnu.org>
11839
11840 * xml.el (xml-parse-tag): Correctly handle comment embedded in
11841 non-tag text.
11842
11843 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
11844
11845 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
11846
11847 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11848
11849 * help-fns.el (describe-variable): Don't croak when doc is not found.
11850 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
11851 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
11852 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
11853 * emacs-lisp/smie.el (smie-next-sexp): CSE.
11854 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
11855 ((lambda ..) ..).
11856 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
11857
11858 2012-06-23 Chong Yidong <cyd@gnu.org>
11859
11860 * info.el (Info-mouse-follow-link): Accept symbol values of
11861 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
11862 (Info-fontify-node): Use Info-link-keymap for all navigation
11863 buttons, with link-args property to perform the desired action.
11864 (Info-link-keymap): Doc fix.
11865 (Info-next-link-keymap, Info-prev-link-keymap)
11866 (Info-up-link-keymap): Delete now-unused keymaps.
11867
11868 2012-06-23 Chong Yidong <cyd@gnu.org>
11869
11870 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
11871
11872 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
11873 system abbrevs.
11874
11875 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
11876
11877 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11878
11879 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
11880 (bug#11719).
11881
11882 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
11883 the requote function doesn't work properly (bug#11714).
11884
11885 2012-06-23 Glenn Morris <rgm@gnu.org>
11886
11887 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
11888
11889 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11890
11891 Further GV/CL cleanups.
11892 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
11893 gv-expander.
11894 (gv--defun-declaration): New function.
11895 (defun-declarations-alist): Use it.
11896 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
11897 (gv-place): Autoload.
11898 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
11899 original definition of dotimes and dolist.
11900 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
11901 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
11902 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
11903 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11904 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
11905 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
11906 to the function's definition.
11907 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
11908 * window.el:
11909 * files.el:
11910 * faces.el:
11911 * env.el: Don't use CL.
11912
11913 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
11914
11915 Support higher-resolution time stamps (Bug#9000).
11916
11917 * calendar/time-date.el (with-decoded-time-value): New arg
11918 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
11919 (encode-time-value): New optional arg PICO. New type 3.
11920 (time-to-seconds) [!float-time]: Support the new picoseconds
11921 component if it's used.
11922 (seconds-to-time, time-subtract, time-add):
11923 Support ps-resolution time stamps as well.
11924
11925 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
11926 (timerp): Timer vectors now have length 9, not 8.
11927 (timer--time): Support new-style (4-part) time stamps.
11928 (timer-next-integral-multiple-of-time): Time stamps now have
11929 picosecond resolution, so take a bit more care about rounding.
11930 (timer-relative-time, timer-inc-time): New optional arg psecs.
11931 (timer-set-time-with-usecs): Set psecs to 0.
11932 (timer--activate): Check psecs component, too.
11933
11934 * proced.el (proced-time-lessp): Support ps-resolution stamps.
11935
11936 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11937
11938 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
11939 Move the non-essential binding to the post/pre-command-hook where it is
11940 more obviously correct.
11941
11942 * subr.el (read-passwd): Don't use a history at all.
11943 * savehist.el (savehist-save): Remove password saved accidentally
11944 because of the above bug.
11945
11946 2012-06-22 Bastien Guerry <bzg@gnu.org>
11947
11948 * files.el (toggle-read-only): Display a message telling whether
11949 the buffer is read-only or not (bug#11726).
11950
11951 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11952
11953 * emacs-lisp/gv.el: New file.
11954 * subr.el (push, pop): Extend to generalized variables.
11955 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
11956 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
11957 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
11958 gv-define-simple-setter, and gv-define-expander.
11959 Remove setf-methods defined in gv. Rename cl-setf -> setf.
11960 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
11961 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
11962 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
11963 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
11964 gv-letplace.
11965 (cl-defstruct): Don't define setf-method any more.
11966 * emacs-lisp/cl.el (flet): Don't autoload.
11967 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
11968 (define-setf-expander, defsetf, define-modify-macro)
11969 (cl-struct-setf-expander): Move from cl-lib.el.
11970 * emacs-lisp/syntax.el:
11971 * emacs-lisp/ewoc.el:
11972 * emacs-lisp/smie.el:
11973 * emacs-lisp/cconv.el:
11974 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
11975 (timer--time): Use gv-define-simple-setter.
11976 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
11977 to avoid coding-system problems in subr.el. Adjust all users.
11978 (macroexp--maxsize, macroexp-small-p): New functions.
11979 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
11980 * scroll-bar.el (scroll-bar-mode):
11981 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11982 (normal-erase-is-backspace-mode): Don't use the `eq' place.
11983 * winner.el (winner-configuration, winner-make-point-alist)
11984 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
11985 * files.el (locate-file-completion-table): Avoid list*.
11986
11987 2012-06-22 Chong Yidong <cyd@gnu.org>
11988
11989 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
11990 (dired-create-files): Doc fix (Bug#11329).
11991 (dired-do-copy): Doc fix (Bug#11334).
11992 (dired-mark-read-string): Doc fix (Bug#11553).
11993
11994 * dired.el (dired-recursive-copies, dired-recursive-deletes):
11995 Doc fix (Bug#11326).
11996 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
11997 (dired-dwim-target): Doc fix.
11998
11999 * wdired.el (wdired-mode): Doc fix.
12000
12001 2012-06-22 Glenn Morris <rgm@gnu.org>
12002
12003 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
12004 (pcmpl-rpm-cache-stamp-file): New constant.
12005 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
12006 (pcmpl-rpm-packages): Optionally cache list of packages.
12007
12008 * pcmpl-rpm.el (pcmpl-rpm): New group.
12009 (pcmpl-rpm-query-options): New option.
12010 (pcmpl-rpm-packages): No need to inline it.
12011 Use pcmpl-rpm-query-options.
12012
12013 * calendar/calendar.el (calendar-in-read-only-buffer):
12014 Avoid some needless mode changes.
12015
12016 2012-06-21 Chong Yidong <cyd@gnu.org>
12017
12018 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
12019 (desktop-path): Remove . from the default value (Bug#10977).
12020 (desktop-read): Use user-emacs-directory if desktop-path is nil.
12021
12022 2012-06-20 Chong Yidong <cyd@gnu.org>
12023
12024 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
12025
12026 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
12027
12028 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
12029 (bug#11201).
12030
12031 2012-06-20 Chong Yidong <cyd@gnu.org>
12032
12033 * term.el (term-window-width): Handle the case of a missing right
12034 fringe (Bug#8837).
12035 (term-check-size): Use window-text-height (Bug#5445).
12036 (term-mode): Use define-derived-mode. Minor cleanups.
12037 Set font-lock-defaults (Bug#7692).
12038 (term-move-columns, term-insert-char, term-emulate-terminal)
12039 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
12040
12041 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
12042
12043 * net/ange-ftp.el (ange-ftp-get-passwd):
12044 Bind `enable-recursive-minibuffers'.
12045 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
12046
12047 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
12048
12049 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
12050
12051 2012-06-19 Glenn Morris <rgm@gnu.org>
12052
12053 * progmodes/python.el (python-mode): Derive from prog-mode.
12054
12055 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
12056
12057 * emulation/edt.el (edt-default-menu-bar-update-buffers)
12058 (edt-user-menu-bar-update-buffers): New functions.
12059 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
12060
12061 2012-06-19 Chong Yidong <cyd@gnu.org>
12062
12063 * subr.el (with-selected-window): Preserve the selected window's
12064 terminal's top-frame (Bug#4702).
12065
12066 * window.el (save-selected-window): Likewise.
12067
12068 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12069
12070 * progmodes/python.el (python-rx-constituents): Move backquote.
12071 (python-skeleton-define, python-define-auxiliary-skeleton):
12072 Use `declare'.
12073
12074 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
12075
12076 * minibuffer.el (read-file-name-default): Revert the patch from
12077 2012-06-17.
12078
12079 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12080
12081 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
12082 (pcase--u1, pcase--q1): Don't use apply-partially.
12083
12084 2012-06-18 Glenn Morris <rgm@gnu.org>
12085
12086 * progmodes/python.el (python-proc, python-buffer)
12087 (python-send-receive, python-send-string): Fix obsolete versions.
12088
12089 2012-06-18 Martin Rudalics <rudalics@gmx.at>
12090
12091 * window.el (special-display-p): Completely remove stringp
12092 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
12093
12094 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
12095
12096 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
12097
12098 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
12099
12100 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
12101 * net/tramp-sh.el (tramp-maybe-open-connection):
12102 Throw if `non-essential' is non-nil.
12103
12104 2012-06-17 Martin Rudalics <rudalics@gmx.at>
12105
12106 * window.el (special-display-p): Signal an error if BUFFER-NAME
12107 is not a string (Bug#11713).
12108
12109 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
12110
12111 * progmodes/python.el (python-info-beginning-of-backslash):
12112 Rename from python-info-beginning-of-backlash, as a spelling fix.
12113
12114 2012-06-17 Chong Yidong <cyd@gnu.org>
12115
12116 * term.el (term-emulate-terminal): If term-check-size is called,
12117 move point to the process mark without resetting point (Bug#4635).
12118
12119 2012-06-17 Glenn Morris <rgm@gnu.org>
12120
12121 * international/mule-cmds.el (mule-menu-keymap)
12122 (set-language-environment, set-locale-environment): Doc tweaks.
12123
12124 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
12125
12126 * cus-face.el (custom-face-attributes): Add wave-style underline
12127 attribute.
12128 * faces.el (set-face-attribute): Update docstring to describe
12129 wave-style underline attribute.
12130
12131 2012-06-16 Chong Yidong <cyd@gnu.org>
12132
12133 * term/xterm.el (terminal-init-xterm): Discard input before
12134 querying background mode (Bug#10959).
12135
12136 2012-06-16 Stefan Merten <smerten@oekonux.de>
12137
12138 * textmodes/rst.el: Added and corrected some comments.
12139 (rst-re-alist-def): Improve symbol syntax.
12140 (rst-mode-syntax-table): Correct syntax entries.
12141 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
12142 (rst-official-version, rst-official-cvs-rev): Update version
12143 information.
12144
12145 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
12146
12147 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
12148 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
12149
12150 2012-06-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12151
12152 * progmodes/python.el: New python.el merge.
12153 (python-guess-indent): Obsolete var.
12154 (python-indent-guess-indent-offset): New defcustom.
12155 (python-indent): Obsolete var.
12156 (python-indent-offset): New defcustom.
12157 (python-python-command, python-jython-command): Delete var.
12158 (python-shell-interpreter): New defcustom.
12159 (python-pdbtrack-do-tracking-p): Delete var.
12160 (python-pdbtrack-activate): New defcustom.
12161 (python-use-skeletons): Obsolete var.
12162 (python-skeleton-autoinsert): New defcustom.
12163 (inferior-python-filter-regexp, python-continuation-offset)
12164 (python-honour-comment-indentation, python-indent-string-contents)
12165 (python-jython-packages, python-mode-hook)
12166 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
12167 (python-shell-prompt-alist)
12168 (python-source-modes): Delete defcustoms.
12169 (python-check-buffer-name, python-eldoc-setup-code)
12170 (python-eldoc-string-code, python-ffap-setup-code)
12171 (python-ffap-string-code, python-fill-comment-function)
12172 (python-fill-decorator-function, python-fill-paren-function)
12173 (python-fill-string-function, python-imenu-include-defun-type)
12174 (python-imenu-make-tree, python-imenu-subtree-root-label)
12175 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
12176 (python-shell-compilation-regexp-alist)
12177 (python-shell-completion-module-string-code)
12178 (python-shell-completion-pdb-string-code)
12179 (python-shell-completion-setup-code)
12180 (python-shell-completion-string-code)
12181 (python-shell-enable-font-lock, python-shell-exec-path)
12182 (python-shell-extra-pythonpaths)
12183 (python-shell-internal-buffer-name, python-shell-interpreter-args)
12184 (python-shell-process-environment)
12185 (python-shell-prompt-block-regexp)
12186 (python-shell-prompt-output-regexp)
12187 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
12188 (python-shell-send-setup-max-wait, python-shell-setup-codes)
12189 (python-shell-virtualenv-path): New defcustoms.
12190 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
12191 (inferior-python-mode-syntax-table, python--prompt-regexp)
12192 (python-buffer, python-command python-python-command)
12193 (python-default-template, python-imports, python-indent-index)
12194 (python-indent-list, python-indent-list-length)
12195 (python-mode-running, python-pdbtrack-is-tracking-p)
12196 (python-preoutput-continuation, python-preoutput-leftover)
12197 (python-preoutput-result, python-preoutput-skip-next-prompt)
12198 (python-prev-dir/file, python-recursing)
12199 (python-saved-check-command, python-version-checked)
12200 (python-which-func-length-limit)
12201 (view-return-to-alist): Delete vars.
12202 (python-check-custom-command, python-dotty-syntax-table)
12203 (python-imenu-index-alist, python-indent-current-level)
12204 (python-indent-dedenters, python-indent-levels)
12205 (python-nav-beginning-of-defun-regexp)
12206 (python-nav-list-defun-positions-cache)
12207 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
12208 (python-shell-internal-buffer)
12209 (python-skeleton-available): New vars.
12210 (def-python-skeleton): Delete macro.
12211 (python-skeleton-define): New macro.
12212 (python-define-auxiliary-skeleton, python-rx): New macros.
12213 (python-insert-class): Delete command.
12214 (python-skeleton-class): New command.
12215 (python-insert-def): Delete command.
12216 (python-skeleton-def): New command.
12217 (python-insert-for): Delete command.
12218 (python-skeleton-for): New command.
12219 (python-insert-if): Delete command.
12220 (python-skeleton-if): New command.
12221 (python-insert-try/except, python-insert-try/finally): Delete commands.
12222 (python-skeleton-try): New command.
12223 (python-insert-while): Delete command.
12224 (python-skeleton-while): New command.
12225 (python-backspace): Delete command.
12226 (python-indent-dedent-line-backspace): New command.
12227 (python-electric-colon): Delete command.
12228 (python-indent-electric-colon): New command.
12229 (python-guess-indent): Delete command.
12230 (python-indent-guess-indent-offset): New command.
12231 (python-shift-left): Delete command.
12232 (python-indent-shift-left): New command.
12233 (python-shift-right): Delete command.
12234 (python-indent-shift-right): New command.
12235 (python-find-function): Delete command.
12236 (python-nav-jump-to-defun): New command.
12237 (python-next-statement): Delete command.
12238 (python-nav-forward-sentence): New command.
12239 (python-previous-statement): Delete command.
12240 (python-nav-backward-sentence): New command.
12241 (python-fill-paragraph): Delete command.
12242 (python-fill-paragraph-function): New command.
12243 (python-send-buffer): Delete command.
12244 (python-shell-send-buffer): New command.
12245 (python-send-defun): Delete command.
12246 (python-shell-send-defun): New command.
12247 (python-send-region, python-send-region-and-go): Delete commands.
12248 (python-shell-send-region)
12249 (python-shell-switch-to-shell): New commands.
12250 (python-send-string): Delete command.
12251 (python-shell-send-string): New command.
12252 (python-switch-to-python): Delete command.
12253 (python-shell-switch-to-shell): New command.
12254 (python-describe-symbol): Delete command.
12255 (python-eldoc-at-point): New command.
12256 (python--set-prompt-regexp, python-args-to-list)
12257 (python-after-info-look, python-check-version)
12258 (python-check-comint-prompt, python-find-imports)
12259 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
12260 (python-unload-function, python-expand-template)
12261 (python-maybe-jython, python-preoutput-filter)
12262 (python-pdbtrack-get-source-buffer)
12263 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
12264 (python-pdbtrack-toggle-stack-tracking)
12265 (python-pdbtrack-track-stack-file, python-initial-text)
12266 (python-first-word, python-comment-line-p, python-send-command)
12267 (python-setup-brm, python-sentinel, python-set-proc)
12268 (python-skip-out, python-input-filter, python-outdent-p)
12269 (python-outline-level, python-backslash-continuation-line-p)
12270 (python-end-of-block, python-end-of-statement, python-mark-block)
12271 (python-beginning-of-block, python-beginning-of-statement)
12272 (python-blank-line-p, python-beginning-of-string)
12273 (python-open-block-statement-p): Delete functions.
12274 (python-indent-line, python-indent-line-1): Delete functions.
12275 (python-indent-line): New function.
12276 (python-indentation-levels): Delete function.
12277 (python-indent-calculate-levels): New function.
12278 (python-proc): Delete function.
12279 (python-shell-get-process): New function.
12280 (python-send-receive): Delete function.
12281 (python-shell-send-string-no-output): New function.
12282 (python-module-path): Delete function.
12283 (python-ffap-module-path): New function.
12284 (python-completion-at-point)
12285 (python-symbol-completions): Delete functions.
12286 (python-completion-complete-at-point): New function.
12287 (python-load-file): Delete function.
12288 (python-shell-send-file): New function.
12289 (python-calculate-indentation): Delete function.
12290 (python-indent-calculate-indentation): New function.
12291 (python-skip-comments/blanks): Delete function.
12292 (python-util-forward-comment): New function.
12293 (python-continuation-line-p): Delete function.
12294 (python-info-continuation-line-p): New function.
12295 (python-which-func, python-current-defun): Delete function.
12296 (python-info-current-defun): New function.
12297 (python-beginning-of-defun): Delete function.
12298 (python-nav-beginning-of-defun): New function.
12299 (python-close-block-statement-p)
12300 (python-block-end-p): Delete function.
12301 (python-info-closing-block): New function.
12302 (python-comint-output-filter-function)
12303 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
12304 (python-fill-comment, python-fill-decorator, python-fill-paren)
12305 (python-fill-string, python-imenu-make-element-tree)
12306 (python-imenu-make-tree, python-imenu-tree-assoc)
12307 (python-indent-context, python-indent-dedent-line)
12308 (python-indent-line-function)
12309 (python-indent-post-self-insert-function)
12310 (python-indent-toggle-levels)
12311 (python-info-assignment-continuation-line-p)
12312 (python-info-beginning-of-backlash)
12313 (python-info-block-continuation-line-p)
12314 (python-info-closing-block-message)
12315 (python-info-line-ends-backslash-p)
12316 (python-info-looking-at-beginning-of-defun)
12317 (python-info-ppss-context, python-info-ppss-context-type)
12318 (python-nav-list-defun-positions, python-nav-read-defun)
12319 (python-nav-sentence-end, python-nav-sentence-start)
12320 (python-pdbtrack-comint-output-filter-function)
12321 (python-pdbtrack-set-tracked-buffer)
12322 (python-shell-calculate-exec-path)
12323 (python-shell-calculate-process-environment)
12324 (python-shell-completion--do-completion-at-point)
12325 (python-shell-completion--get-completions)
12326 (python-shell-completion-complete-at-point)
12327 (python-shell-completion-complete-or-indent)
12328 (python-shell-get-or-create-process)
12329 (python-shell-get-process-name)
12330 (python-shell-internal-get-or-create-process)
12331 (python-shell-internal-get-process-name)
12332 (python-shell-internal-send-string, python-shell-make-comint)
12333 (python-shell-parse-command, python-shell-send-setup-code)
12334 (python-skeleton-add-menu-items)
12335 (python-util-clone-local-variables, python-util-position)
12336 (run-python-internal, python-indentation-levels)
12337 (python-nav-beginning-of-defun)
12338 (python-completion-complete-at-point): New functions.
12339 (run-python): Change arguments. New API requirements.
12340
12341 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12342
12343 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
12344 (bug#11649).
12345
12346 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
12347 (macroexp--expand-all): Use it.
12348
12349 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
12350 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
12351 Use `cl-function' instead.
12352
12353 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
12354
12355 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
12356 Suggested by Stefan Monnier while discussing bug#11657.
12357
12358 2012-06-14 Sam Steingold <sds@gnu.org>
12359
12360 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
12361
12362 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
12363
12364 * play/doctor.el (doctor-doc): Remove parameter and use
12365 doctor-sent instead of sent.
12366 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
12367
12368 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12369
12370 * files.el: Require cl-lib.
12371 (file-name-non-special): Replace case -> cl-case.
12372
12373 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
12374
12375 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
12376 mapping from #' to function*.
12377
12378 2012-06-13 Chong Yidong <cyd@gnu.org>
12379
12380 * mouse.el (mouse-drag-track): Do not set the mark if the user
12381 releases the mouse without selecting anything (Bug#11588).
12382
12383 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12384
12385 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
12386 as well (bug#11646).
12387
12388 * loadup.el: Count byte-code functions as well.
12389
12390 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
12391 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
12392
12393 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
12394 (bug#11649). Add cl-defun and cl-defmacro.
12395
12396 2012-06-13 Drew Adams <drew.adams@oracle.com>
12397
12398 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12399 Fix last change.
12400
12401 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
12402
12403 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
12404 Otherwise, it blocks in batch mode.
12405
12406 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
12407
12408 * help-mode.el (bookmark-make-record-default): Declare.
12409
12410 2012-06-13 Chong Yidong <cyd@gnu.org>
12411
12412 * emacs-lisp/package.el (list-packages): Compute a list of
12413 packages that are newly-available since the last list-packages
12414 invocation.
12415 (package-menu--new-package-list): New var.
12416 (package-menu--generate, package-menu--print-info)
12417 (package-menu--status-predicate, package-menu-mark-install):
12418 Handle new status label "new".
12419
12420 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12421
12422 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
12423 conversion to backquotes.
12424
12425 2012-06-12 Chong Yidong <cyd@gnu.org>
12426
12427 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
12428 Rename from gud-inhibit-global-bindings.
12429
12430 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
12431
12432 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
12433 hook from nxml-glyph-set-hook.
12434
12435 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
12436 declaration.
12437
12438 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
12439
12440 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
12441 Convert to defcustom.
12442
12443 2012-06-12 Drew Adams <drew.adams@oracle.com>
12444
12445 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12446 New functions.
12447 (help-mode): Use them.
12448
12449 2012-06-11 Glenn Morris <rgm@gnu.org>
12450
12451 * progmodes/fortran.el (fortran-font-lock-keywords-3):
12452 Use preprocessor face for directives.
12453 (fortran-directive-re): Doc fix.
12454
12455 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12456
12457 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
12458 conversion to backquotes (bug#11652).
12459
12460 Fix compiler-expansion of CL's cXXr functions (bug#11673).
12461 * emacs-lisp/cl-lib.el (cl--defalias): New function.
12462 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
12463 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
12464 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12465 (cl-ninth, cl-tenth): Mark them as inlinable.
12466 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
12467 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
12468 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
12469 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
12470 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
12471 (cl-list*, cl-adjoin): Don't put an autoload manually.
12472 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
12473 (cl--compiler-macro-list*): Add autoload cookie.
12474 (cl--compiler-macro-cXXr): New function.
12475
12476 * help-fns.el (help-fns--compiler-macro): New function extracted from
12477 describe-function-1; follow aliases and use `compiler-macro' property.
12478 (describe-function-1): Use it.
12479
12480 2012-06-11 Chong Yidong <cyd@gnu.org>
12481
12482 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
12483 is uninstalled, if imagemagick is installed.
12484
12485 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12486
12487 * emacs-lisp/cl-lib.el: Use lexical-binding.
12488 (cl-map-extents, cl-maclisp-member): Remove.
12489 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
12490 (cl--set-substring, cl--block-wrapper, cl--block-throw)
12491 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
12492 * emacs-lisp/cl-extra.el: Use lexical-binding.
12493 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
12494 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
12495 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
12496 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
12497 * emacs-lisp/cl-seq.el: Use lexical-binding.
12498 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
12499 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
12500 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
12501 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
12502 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
12503 CL's internals.
12504
12505 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
12506
12507 Sync with Tramp 2.2.6-pre.
12508
12509 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
12510 `print-length' and `print-level' to nil, in order to avoid
12511 truncation. Reported by Christopher Schmidt
12512 <christopher@ristopher.com>.
12513
12514 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
12515
12516 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
12517 New defmacro.
12518 (tramp-compat-copy-directory): Add optional argument
12519 COPY-CONTENTS. It is not handled yet.
12520
12521 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
12522 (tramp-ftp-file-name-p): Simplify.
12523
12524 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
12525 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
12526 connection vector.
12527
12528 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
12529 (tramp-methods): Do not use `tramp-password-end-of-line'.
12530 (tramp-completion-function-alist-putty): Handle UNIX case.
12531 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
12532 (tramp-do-file-attributes-with-stat)
12533 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
12534 gid as real numbers. They could run out of integer range on cygwin.
12535 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
12536 (tramp-sh-handle-expand-file-name): Handle hops.
12537 (tramp-open-connection-setup-interactive-shell):
12538 Use `tramp-cleanup'. Move check for busyboxes ...
12539 (tramp-find-shell): ... here. Simplify implementation.
12540 Set "remote-shell" property also for alternative shells.
12541 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
12542 If failing, a regular file would be written otherwise.
12543 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
12544 (tramp-find-inline-encoding): Cache the coding commands in the
12545 process cache. Apply test command on the remote side, if defined.
12546 (tramp-find-inline-compress): Cache the compress commands in the
12547 process cache.
12548 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
12549 when requested. Handle hops.
12550 (tramp-current-connection): New defvar.
12551 (tramp-maybe-open-connection): Use `tramp-cleanup'.
12552 Throw `suppress', if there was a failed connection shortly before.
12553 Handle user interrupt. (Bug#10187)
12554 (tramp-get-inline-compress, tramp-get-inline-coding):
12555 Read connection properties from the process cache.
12556
12557 * net/tramp-smb.el (tramp-smb-server-version)
12558 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
12559 New defconsts.
12560 (tramp-smb-prompt): Extend for powershell prompt.
12561 (tramp-smb-file-name-handler-alist): Add handlers for
12562 `process-file', `shell-command' and `start-file-process'.
12563 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
12564 (tramp-smb-winexe-shell-command-switch): New defcustoms.
12565 (tramp-smb-file-name-p): Simplify.
12566 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
12567 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
12568 (tramp-smb-shell-quote-argument): New defuns.
12569 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
12570 Implement using "tar". By this, time-stamps are preserved.
12571 (tramp-smb-handle-copy-file): Handle also the case of directories.
12572 (tramp-smb-do-file-attributes-with-stat)
12573 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
12574 Use `tramp-get-connection-buffer').
12575 (tramp-smb-handle-rename-file): Use "rename", when source and
12576 target are on the same share.
12577 (tramp-smb-maybe-open-connection): Handle wrong passwords.
12578 Use `tramp-smb-server-version'.
12579 (tramp-smb-wait-for-output): Remove prompt.
12580
12581 * net/tramp.el (top): Require 'cl.
12582 (tramp-methods, tramp-rsh-end-of-line):
12583 Remove `tramp-password-end-of-line' from docstring.
12584 (tramp-save-ad-hoc-proxies): New defcustom.
12585 (tramp-completion-function-alist): Adapt docstring.
12586 (tramp-default-password-end-of-line): Remove defcustom.
12587 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
12588 (tramp-user-regexp, tramp-file-name-regexp-unified)
12589 (tramp-file-name-regexp-url): Extend regexp by hop separator.
12590 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
12591 (tramp-remote-file-name-spec-regexp): New defconst.
12592 (tramp-file-name-structure): Extend structure for hops.
12593 (tramp-get-method-parameter): Move up.
12594 (tramp-file-name-p, tramp-dissect-file-name)
12595 (with-parsed-tramp-file-name): Handle hops.
12596 (tramp-file-name-hop): New defun.
12597 (tramp-make-tramp-file-name): New optional arg HOP.
12598 (tramp-message-show-progress-reporter-message): New defvar.
12599 (tramp-with-progress-reporter): Use it. We cannot use
12600 `tramp-message-show-message' here, because this suppresses also
12601 error buffers.
12602 (tramp-error-with-buffer): Suppress buffer view, if
12603 `tramp-message-show-message' is nil.
12604 Use `tramp-get-connection-buffer'.
12605 (tramp-cleanup): New defun.
12606 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
12607 (tramp-file-name-handler): If `debug-on-error' is set, propagate
12608 an error unchanged.
12609 (tramp-completion-handle-file-name-all-completions): Handle hops.
12610 Fix an error when called from ido.
12611 (tramp-completion-dissect-file-name): Use better local variable
12612 name. Add hop to the vector.
12613 (tramp-handle-insert-file-contents): Use progress-reporter for the
12614 whole scenario.
12615 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
12616 to `t'.
12617 (tramp-check-for-regexp): Simplify search.
12618 (tramp-enter-password): Remove it. Move implementation ...
12619 (tramp-action-password): ... here.
12620 (tramp-mode-string-to-int, tramp-local-host-p)
12621 (tramp-make-tramp-temp-file, tramp-read-passwd)
12622 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
12623 Set tramp-autoload cookie.
12624
12625 * net/trampver.el: Update release number.
12626
12627 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12628 Michael Albinus <michael.albinus@gmx.de>
12629
12630 * net/tramp.el (tramp-set-completion-function): Fix docstring.
12631 (tramp-parse-group, tramp-parse-file)
12632 (tramp-parse-shostkeys-sknownhosts): New defuns.
12633 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
12634 (tramp-parse-shosts-group, tramp-parse-sconfig)
12635 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
12636 (tramp-parse-sknownhosts, tramp-parse-hosts)
12637 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
12638 Use them.
12639 (tramp-parse-passwd-group, tramp-parse-netrc-group)
12640 (tramp-parse-putty-group): Don't narrow.
12641 (tramp-parse-putty): Make a loop.
12642 (tramp-file-name-handler): Catch the `suppress' signal.
12643
12644 2012-06-11 Chong Yidong <cyd@gnu.org>
12645
12646 * image.el (imagemagick-register-types): Put the ImageMagick entry
12647 at the end of image-type-file-name-regexps.
12648
12649 2012-06-11 Johan BockgĂ¥rd <bojohan@gnu.org>
12650
12651 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
12652 (pcase, pcase-let*, pcase-dolist): Use them.
12653
12654 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12655
12656 * emacs-lisp/pcase.el (pcase--let*): New function.
12657 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
12658 (pcase--expand): Use macroexp-let².
12659
12660 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
12661
12662 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
12663 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
12664 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
12665 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
12666 * emacs-lisp/derived.el: Use pcase instead of `cl'.
12667 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
12668
12669 2012-06-10 Glenn Morris <rgm@gnu.org>
12670
12671 * mail/rmail.el (rmail-yank-current-message): Leave point at
12672 correct position. (Bug#11660)
12673
12674 2012-06-10 Chong Yidong <cyd@gnu.org>
12675
12676 * allout-widgets.el: Fix code header.
12677
12678 2012-06-10 Chong Yidong <cyd@gnu.org>
12679
12680 * cus-edit.el (customize-changed-options-previous-release):
12681 Bump to 24.1.
12682
12683 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
12684
12685 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
12686
12687 2012-06-09 Chong Yidong <cyd@gnu.org>
12688
12689 * ebuff-menu.el (electric-buffer-list): Preserve header line.
12690
12691 2012-06-09 Martin Rudalics <rudalics@gmx.at>
12692
12693 * window.el (special-display-popup-frame): Don't use
12694 window--display-buffer (Bug#11651).
12695
12696 2012-06-09 Eli Zaretskii <eliz@gnu.org>
12697
12698 Fix parallel builds: make sure loaddefs.el is not being written
12699 while Lisp files are compiled.
12700 (compile): Don't depend on 'mh-autoloads'.
12701 (compile-CMD, compile-SH): Depend on 'autoloads'.
12702 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
12703
12704 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
12705
12706 2012-06-09 Chong Yidong <cyd@gnu.org>
12707
12708 * face-remap.el (face-remap-add-relative, face-remap-set-base)
12709 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
12710 Doc fixes (Bug#11225).
12711
12712 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
12713
12714 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
12715 a function if there's a clear indication that it has a compiler-macro.
12716 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
12717 (macro-declarations-alist): Add arglist to declaration functions.
12718 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
12719 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
12720 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
12721 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
12722 Also add autoload to find the compiler macro.
12723 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
12724 (cl--compiler-macro-member, cl--compiler-macro-assoc)
12725 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
12726 (cl--compiler-macro-get): New functions, replacing calls to
12727 cl-define-compiler-macro.
12728 (cl-typep) [compiler-macro]: Use macroexp-let².
12729
12730 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
12731
12732 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
12733 string properly, fixes Bug#11473.
12734
12735 2012-06-08 Chong Yidong <cyd@gnu.org>
12736
12737 * faces.el (set-face-attribute): Doc fix.
12738 (modify-face): Don't use :bold and :italic.
12739 (error, warning, success): Tweak definitions.
12740
12741 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
12742 (custom-modified, custom-set, custom-changed, custom-themed)
12743 (custom-saved, custom-button, custom-button-mouse)
12744 (custom-button-pressed, custom-state, custom-comment-tag)
12745 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
12746 (custom-group-subtitle): Use new-style face specs.
12747 (custom-invalid-face, custom-rogue-face, custom-modified-face)
12748 (custom-set-face, custom-changed-face, custom-saved-face)
12749 (custom-button-face, custom-button-pressed-face)
12750 (custom-documentation-face, custom-state-face)
12751 (custom-comment-face, custom-comment-tag-face)
12752 (custom-variable-tag-face, custom-variable-button-face)
12753 (custom-face-tag-face, custom-group-tag-face-1)
12754 (custom-group-tag-face): Remove obsolete face alias.
12755
12756 * epa.el (epa-validity-high, epa-validity-medium)
12757 (epa-validity-low, epa-mark, epa-field-name, epa-string)
12758 (epa-field-name, epa-field-body):
12759 * font-lock.el (font-lock-comment-face, font-lock-string-face)
12760 (font-lock-keyword-face, font-lock-builtin-face)
12761 (font-lock-function-name-face, font-lock-variable-name-face)
12762 (font-lock-type-face, font-lock-constant-face):
12763 * ido.el (ido-first-match, ido-only-match, ido-subdir)
12764 (ido-virtual, ido-indicator, ido-incomplete-regexp):
12765 * speedbar.el (speedbar-button-face, speedbar-file-face)
12766 (speedbar-directory-face, speedbar-tag-face)
12767 (speedbar-selected-face, speedbar-highlight-face)
12768 (speedbar-separator-face):
12769 * whitespace.el (whitespace-newline, whitespace-space)
12770 (whitespace-hspace, whitespace-tab, whitespace-trailing)
12771 (whitespace-line, whitespace-space-before-tab)
12772 (whitespace-space-after-tab, whitespace-indentation)
12773 (whitespace-empty):
12774 * emulation/cua-base.el (cua-global-mark):
12775 * eshell/em-prompt.el (eshell-prompt):
12776 * net/newst-plainview.el (newsticker-new-item-face)
12777 (newsticker-old-item-face, newsticker-immortal-item-face)
12778 (newsticker-obsolete-item-face, newsticker-date-face)
12779 (newsticker-statistics-face, newsticker-default-face):
12780 * net/newst-reader.el (newsticker-feed-face)
12781 (newsticker-extra-face, newsticker-enclosure-face):
12782 * net/newst-treeview.el (newsticker-treeview-face)
12783 (newsticker-treeview-new-face, newsticker-treeview-old-face)
12784 (newsticker-treeview-immortal-face)
12785 (newsticker-treeview-obsolete-face)
12786 (newsticker-treeview-selection-face):
12787 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
12788 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
12789 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
12790 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
12791 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
12792 (nxml-outline-active-indicator, nxml-outline-ellipsis):
12793 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
12794 (mpuz-text):
12795 * progmodes/vera-mode.el (vera-font-lock-number)
12796 (vera-font-lock-function, vera-font-lock-interface):
12797 * textmodes/table.el (table-cell): Use new-style face specs, and
12798 don't use the old :bold and :italic attributes.
12799
12800 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
12801 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
12802 (ebrowse-member-class, ebrowse-progress): Likewise.
12803 (ebrowse-tree-mark-face, ebrowse-root-class-face)
12804 (ebrowse-file-name-face, ebrowse-default-face)
12805 (ebrowse-member-attribute-face, ebrowse-member-class-face)
12806 (ebrowse-progress-face): Remove obsolete faces.
12807
12808 * progmodes/flymake.el (flymake-errline, flymake-warnline):
12809 Inherit from error and warning faces respectively.
12810
12811 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
12812 Likewise.
12813 (flyspell-incorrect-face, flyspell-duplicate-face):
12814 Remove obsolete aliases.
12815
12816 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
12817
12818 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12819 Avoid infloop.
12820
12821 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12822
12823 * startup.el (argv, argi): Make lexically scoped.
12824 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
12825 * emacs-lisp/cl-macs.el: Use lexical-binding.
12826 Rename cl-bind-* to cl--bind-*.
12827 * files.el: Don't require `cl' since it doesn't use it.
12828 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
12829
12830 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
12831
12832 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
12833 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
12834 instead of calling external sort utility.
12835 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
12836
12837 2012-06-08 Eli Zaretskii <eliz@gnu.org>
12838
12839 * descr-text.el (describe-char): Mention how to insert the
12840 character, if the current input method doesn't support it.
12841 See the discussion in this thread for the details:
12842 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
12843
12844 2012-06-08 Sam Steingold <sds@gnu.org>
12845
12846 * bindings.el (global-map): Bind XF86Forward to next-buffer and
12847 XF86Back to previous-buffer.
12848 (minibuffer-local-map): Bind them to next-history-element and
12849 previous-history-element respectively.
12850 * help-mode.el (help-mode-map): Bind them to help-go-forward and
12851 help-go-back respectively.
12852 * info.el (Info-mode-map): Bind them to Info-history-forward and
12853 Info-history-back respectively.
12854 These are the keys next to Up on the ThinkPad keyboard.
12855
12856 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12857
12858 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
12859 * emacs-lisp/cl-macs.el: Provide itself.
12860 (cl--labels-convert-cache): New var.
12861 (cl--labels-convert): New function.
12862 (cl-flet, cl-labels): New implementation with new semantics, relying on
12863 lexical-binding.
12864 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
12865 (cl-closure-vars, cl--function-convert-cache)
12866 (cl--function-convert): Move from cl-macs.el.
12867 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
12868 rename by removing the "cl-" prefix.
12869 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
12870
12871 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12872
12873 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
12874 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
12875 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
12876 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
12877 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
12878 (cl-hash-table-count): Add old compatibility aliases.
12879
12880 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
12881 Use macroexpand-all-environment instead.
12882 (cl--old-macroexpand): New var.
12883 (cl--sm-macroexpand): New function.
12884 (cl-symbol-macrolet): Use it during macro expansion.
12885 (cl--function-convert-cache): New var.
12886 (cl--function-convert): New function, extracted from
12887 cl-macroexpand-all.
12888 (cl-lexical-let): Use it.
12889
12890 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
12891 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
12892 (cl-member): Remove old alias.
12893
12894 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
12895 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
12896 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
12897 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
12898 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
12899 (cl-macroexpand-cmacs): Remove var.
12900 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
12901 Use macroexpand-all instead.
12902
12903 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12904
12905 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
12906 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
12907 (macroexp-copyable-p): New functions and macros.
12908 * emacs-lisp/edebug.el (edebug-unwrap):
12909 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
12910 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
12911 (pcase--let*): Remove.
12912 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
12913 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
12914 macroexp-const-p instead.
12915 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
12916
12917 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
12918 instead of "cl-" for internal definitions. Use macroexp-const-p.
12919 (cl-old-bc-file-form): Remove var.
12920 (cl-const-exprs-p): Remove fun.
12921 (cl-labels, cl-macrolet): Use backquote.
12922 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
12923 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
12924 (cl-define-setf-expander): Rename from cl-define-setf-method.
12925 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
12926
12927 * international/mule-cmds.el: Don't require CL.
12928 (view-hello-file): Don't use `letf'.
12929
12930 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12931
12932 * tmm.el (tmm-prompt): Use string-prefix-p.
12933 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
12934 (tmm-add-prompt): Use minibuffer-completion-help.
12935 (tmm-delete-map): Remove.
12936
12937 * subr.el (kbd): Make it its own function.
12938
12939 2012-06-07 Stefan Merten <smerten@oekonux.de>
12940
12941 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
12942 Silence compiler warnings. Fix versions.
12943 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
12944 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
12945 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
12946 (rst-package-emacs-version-alist): Correct Emacs version to
12947 represent major merge with upstream.
12948 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
12949
12950 2012-06-06 Glenn Morris <rgm@gnu.org>
12951
12952 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
12953 Only print environment variables if set.
12954
12955 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12956
12957 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
12958 (macroexp--cons): Rename from maybe-cons.
12959 (macroexp--accumulate): Rename from macroexp-accumulate.
12960 (macroexp--all-forms): Rename from macroexpand-all-forms.
12961 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
12962 (macroexp--expand-all): Rename from macroexpand-all-1.
12963
12964 2012-06-06 Sam Steingold <sds@gnu.org>
12965
12966 * calendar/calendar.el (calendar-in-read-only-buffer):
12967 Call `special-mode' to enable the standard read-only keybindings.
12968
12969 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12970
12971 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
12972 with "loading" messages (bug#11635).
12973
12974 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
12975
12976 * files.el (enable-remote-dir-locals): New option.
12977 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
12978
12979 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12980 Ensure, that the temp directory is local.
12981
12982 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
12983 `temporary-file-directory'.
12984
12985 * progmodes/python.el (python-send-region): Ensure, that the
12986 temporary file is created also in the remote case.
12987
12988 2012-06-06 Glenn Morris <rgm@gnu.org>
12989
12990 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
12991 (vc-rcs-update-changelog): Use it.
12992
12993 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
12994
12995 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
12996 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
12997 (vc-sccs-diff): Replace use of the external vcdiff script.
12998
12999 2012-06-05 Glenn Morris <rgm@gnu.org>
13000
13001 * ledit.el: Move to obsolete/.
13002
13003 2012-06-05 Sam Steingold <sds@gnu.org>
13004
13005 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
13006 patch (Bug#11140).
13007
13008 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13009
13010 * emacs-lisp/cust-print.el: Move to obsolete.
13011
13012 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
13013 compiler-macro expansion.
13014
13015 Add native compiler-macro support.
13016 * emacs-lisp/macroexp.el (macroexpand-all-1):
13017 Support compiler-macros directly. Properly follow aliases and apply
13018 the compiler macros more thoroughly.
13019 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
13020 macroexpand now properly follows aliases.
13021 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
13022 (cl-compiler-macroexpand): Use new prop.
13023 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
13024
13025 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
13026
13027 2012-06-05 Martin Rudalics <rudalics@gmx.at>
13028
13029 * window.el (get-lru-window, get-mru-window, get-largest-window):
13030 New argument NOT-SELECTED to avoid picking the selected window.
13031 (window--display-buffer-1, window--display-buffer-2): Replace by
13032 new function window--display-buffer
13033 (display-buffer-same-window, display-buffer-reuse-window)
13034 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13035 Use window--display-buffer.
13036 (display-buffer-use-some-window): Remove temporary dedication
13037 hack by calling get-lru-window and get-largest-window with
13038 NOT-SELECTED argument non-nil. Call window--display-buffer.
13039
13040 2012-06-05 Glenn Morris <rgm@gnu.org>
13041
13042 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
13043 Replace external vcdiff script.
13044
13045 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13046
13047 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
13048
13049 2012-06-04 Chong Yidong <cyd@gnu.org>
13050
13051 * image.el (imagemagick-types-inhibit): Revert last change.
13052 Add INFO and M.
13053 (imagemagick-enabled-types): Remove CIN and EPS*.
13054
13055 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13056
13057 * emacs-lisp/cl-lib.el: Rename from cl.el.
13058 * emacs-lisp/cl.el: New compatibility file.
13059 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
13060 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
13061 to obey the "cl-" prefix.
13062 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
13063
13064 2012-06-03 Glenn Morris <rgm@gnu.org>
13065
13066 * emacs-lisp/authors.el (authors-aliases): Addition.
13067
13068 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
13069 Fix :version.
13070
13071 2012-06-03 Stefan Merten <smerten@oekonux.de>
13072
13073 * textmodes/rst.el: Add comments.
13074 (rst-transition, rst-adornment): New faces.
13075 (rst-adornment-faces-alist): Make default safe to reevaluate.
13076 Fixes
13077 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
13078 Improve customization tags.
13079 (rst-define-level-faces): Clarify meaning.
13080
13081 2012-06-03 Chong Yidong <cyd@gnu.org>
13082
13083 * progmodes/compile.el (compilation-mode-line-fail)
13084 (compilation-mode-line-run, compilation-mode-line-exit):
13085 New faces.
13086 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
13087
13088 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
13089
13090 * progmodes/which-func.el (which-func-update-ediff-windows):
13091 New function. Use it in ediff-select-hook (Bug#11478).
13092
13093 2012-06-03 Chong Yidong <cyd@gnu.org>
13094
13095 * bindings.el: Remove explicit help text from format-mode-line.
13096 It is now supplied by mode-line-default-help-echo.
13097 (mode-line-front-space, mode-line-end-spaces)
13098 (mode-line-misc-info): New variables.
13099 (mode-line-modes, mode-line-position): Move the default value to
13100 the variable definition.
13101 (mode-line-default-help-echo): New defcustom.
13102 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
13103 (mode-line-modified-help-echo): New functions.
13104 (mode-line-mule-info, mode-line-modified): Use them.
13105 (mode-line-eol-desc, propertized-buffer-identification):
13106 Consistency fixes for help text.
13107 (mode-line-coding-system-map): Allow using mouse-3 to invoke
13108 set-buffer-file-coding-system (Bug#289).
13109 (mode-line-mule-info-help-echo): Update help text.
13110
13111 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13112
13113 * simple.el (execute-extended-command): Set real-this-command
13114 (bug#11506).
13115
13116 2012-06-02 Chong Yidong <cyd@gnu.org>
13117
13118 Remove incorrect uses of "modeline" in comments, docstrings, and
13119 function/variable names (Bug#10329).
13120
13121 * cus-edit.el (mode-line):
13122 * dframe.el (dframe-mouse-hscroll):
13123 * emacs-lisp/re-builder.el:
13124 * emacs-lisp/easy-mmode.el (define-minor-mode):
13125 * frame.el (set-frame-name):
13126 * help.el (lookup-minor-mode-from-indicator):
13127 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
13128 * progmodes/cc-cmds.el (c-toggle-auto-newline)
13129 (c-toggle-hungry-state):
13130 * progmodes/antlr-mode.el (antlr-language-alist):
13131 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
13132 * progmodes/vhdl-mode.el (vhdl-mode):
13133 * progmodes/which-func.el (which-func, which-func-cleanup-function):
13134 * term/ns-win.el (ns-face-at-pos):
13135 * term/sup-mouse.el (sup-mouse-report):
13136 * textmodes/flyspell.el (flyspell-mode-line-string):
13137 * textmodes/ispell.el (ispell-highlight-face):
13138 * textmodes/reftex-global.el:
13139 * vc/vc-arch.el (vc-arch-mode-line-string):
13140 * vc/vc-cvs.el (vc-cvs-mode-line-string):
13141 * vc/vc-git.el (vc-git-mode-line-string):
13142 * vc/vc-hooks.el (vc-display-status)
13143 (vc-default-mode-line-string):
13144 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
13145
13146 * ansi-color.el (ansi-color-faces-vector): Change default faces.
13147
13148 * dired.el (dired-sort-set-mode-line): Rename from
13149 dired-sort-set-modeline. All callers changed.
13150
13151 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
13152 eshell-status-in-modeline.
13153
13154 * foldout.el (foldout-mode-line-string): Rename from
13155 foldout-modeline-string. All callers changed.
13156 (foldout-update-mode-line): Rename from foldout-update-modeline.
13157
13158 * subr.el (redraw-modeline): Make into obsolete alias.
13159
13160 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
13161 timeclock-modeline-display. Make old name an alias.
13162 (timeclock-update-mode-line): Likewise. All callers changed.
13163 (timeclock-mode-line-display): No need to check before using
13164 add-hook.
13165 (timeclock-relative, timeclock-day-over-hook)
13166 (timeclock-use-elapsed, timeclock-mode-string)
13167 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
13168
13169 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
13170 crisp-mode-modeline-string.
13171
13172 * play/solitaire.el (solitaire-build-mode-line): Rename from
13173 solitaire-build-modeline. All callers changed.
13174
13175 * play/zone.el (zone-hiding-mode-line): Rename from
13176 zone-hiding-modeline. All callers changed.
13177 (zone): Remove unusued `modeline-hidden-level' property.
13178
13179 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
13180 xscheme-modeline-initialize. All callers changed.
13181
13182 * strokes.el (strokes-lighter): Rename from
13183 strokes-modeline-string.
13184
13185 * textmodes/sgml-mode.el (html-face-tag-alist)
13186 (html-tag-face-alist): Use mode-line face instead of obsolete
13187 alias modeline.
13188
13189 2012-06-02 Stefan Merten <smerten@oekonux.de>
13190
13191 * textmodes/rst.el: Always require `cl'.
13192 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
13193
13194 2012-06-02 Chong Yidong <cyd@gnu.org>
13195
13196 * image.el (imagemagick-enabled-types): Rename from
13197 imagemagick-types-enable. Add many more types.
13198 (imagemagick-types-inhibit): Change default to nil.
13199 (imagemagick-filter-types): Caller changed.
13200
13201 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13202
13203 * emacs-lisp/cl-macs.el: Use backquotes.
13204 (cl-transform-function-property): Use eval-and-compile rather than
13205 abusing `require'.
13206 (defstruct): Use declare-function instead of with-no-warnings.
13207
13208 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
13209 (byte-compile-output-docform): Re-add the print-circle bindings.
13210 (byte-compile-fix-header): Use #$ just because it's shorter.
13211 (byte-compile-output-file-form): Remove defun/defmacro.
13212
13213 2012-06-01 Martin Rudalics <rudalics@gmx.at>
13214
13215 * simple.el (choose-completion): Remove now obsolete binding for
13216 owindow.
13217
13218 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
13219
13220 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
13221 in order to avoid "Stack overflow in regexp matcher".
13222
13223 2012-05-31 Glenn Morris <rgm@gnu.org>
13224
13225 * image.el: For clarity, call imagemagick-register-types at
13226 top-level, rather than relying on a custom :initialize.
13227 (imagemagick-types-enable): New option. (Bug#11557)
13228 (imagemagick-filter-types): New function. (Bug#7406)
13229 (imagemagick-register-types): Use imagemagick-filter-types.
13230 If disabling support, remove elements altogether rather
13231 than using an impossible regexp.
13232 (imagemagick-types-inhibit): Give it the default init function.
13233
13234 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13235
13236 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
13237 Handle arbitrary file name lengths (Bug#11585).
13238
13239 2012-05-31 Martin Rudalics <rudalics@gmx.at>
13240
13241 * desktop.el (desktop-read): Clear previous and next buffers for
13242 all windows and bury *Messages* buffer (bug#11556).
13243
13244 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13245
13246 Add `declare' for `defun'. Align `defmacro's with it.
13247 * emacs-lisp/easy-mmode.el (define-minor-mode)
13248 (define-globalized-minor-mode): Don't autoload the var definitions.
13249 * emacs-lisp/byte-run.el: Use lexical-binding.
13250 (defun-declarations-alist, macro-declarations-alist): New vars.
13251 (defmacro, defun): Use them.
13252 (make-obsolete, define-obsolete-function-alias)
13253 (make-obsolete-variable, define-obsolete-variable-alias):
13254 Use `declare'.
13255 (macro-declaration-function): Mark obsolete.
13256 * emacs-lisp/autoload.el: Use lexical-binding.
13257 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
13258
13259 2012-05-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13260
13261 * textmodes/ispell.el (ispell-with-no-warnings):
13262 Define as a macro.
13263 (ispell-kill-ispell, ispell-change-dictionary):
13264 Use `called-interactively-p' for Emacs instead of obsolete
13265 `interactive-p'.
13266
13267 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13268
13269 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
13270 (macro-declaration-function): Move var from C code.
13271 (macro-declaration-function): Define function with defalias.
13272 * emacs-lisp/macroexp.el (macroexpand-all-1):
13273 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
13274 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
13275 defun/defmacro any more.
13276 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
13277 Provide fallback for unknown arglist.
13278 (byte-compile-arglist-warn): Change calling convention.
13279 (byte-compile-output-file-form): Move print-vars binding.
13280 (byte-compile-output-docform): Simplify accordingly.
13281 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
13282 (byte-compile-defmacro-declaration): Remove.
13283 (byte-compile-file-form-defmumble): Generalize to defalias.
13284 (byte-compile-output-as-comment): Return byte-positions.
13285 Simplify callers accordingly.
13286 (byte-compile-lambda): Use `assert'.
13287 (byte-compile-defun, byte-compile-defmacro): Remove.
13288 (byte-compile-file-form-defalias):
13289 Use byte-compile-file-form-defmumble.
13290 (byte-compile-defalias-warn): Remove.
13291
13292 2012-05-29 Stefan Merten <smerten@oekonux.de>
13293
13294 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
13295 possible. Fix authors. Improve comments. Improve loading of `cl'.
13296
13297 (rst-mode-abbrev-table): Merge definition.
13298 (rst-mode): Make sure `font-lock-defaults' is buffer local.
13299 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
13300
13301 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
13302
13303 * calendar/icalendar.el
13304 (icalendar-export-region): Export UID properly.
13305
13306 2012-05-29 Leo Liu <sdl.web@gmail.com>
13307 * calendar/icalendar.el (icalendar-import-format):
13308 Add `icalendar-import-format-uid' (Bug#11525).
13309 (icalendar-import-format-uid): New.
13310 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
13311 Export UID.
13312
13313 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13314
13315 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
13316 different alternative patterns.
13317 (pcase-codegen): Be more careful to preserve identity.
13318 (pcase--u1): Don't forget to mark vars as used.
13319
13320 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
13321 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
13322 (byte-compile-from-buffer): ...rather than here.
13323
13324 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
13325 functions from byte-compile-function-environment.
13326
13327 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
13328
13329 * window.el (window-deletable-p): Avoid deleting the root window
13330 of a frame with an active minibuffer.
13331
13332 2012-05-29 Martin Rudalics <rudalics@gmx.at>
13333
13334 * simple.el (choose-completion): Use quit-window (Bug#11567).
13335
13336 2012-05-29 Chong Yidong <cyd@gnu.org>
13337
13338 * whitespace.el (whitespace-cleanup): Fix usage of
13339 whitespace-empty-at-bob-regexp (Bug#11492).
13340
13341 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13342
13343 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
13344 revert (Bug#11488).
13345
13346 2012-05-29 Juri Linkov <juri@jurta.org>
13347
13348 * isearch.el (isearch-mode-map): Bind `M-s _' to
13349 `isearch-toggle-symbol'. Bind `M-s c' to
13350 `isearch-toggle-case-fold'.
13351 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
13352 (isearch-forward): Add `M-s _' to the docstring.
13353 (isearch-forward-symbol, isearch-toggle-case-fold)
13354 (isearch-symbol-regexp): New functions. (Bug#11381)
13355
13356 2012-05-29 Juri Linkov <juri@jurta.org>
13357
13358 * isearch.el (isearch-word): Add docstring. (Bug#11381)
13359 (isearch-occur, isearch-search-and-update): If `isearch-word' is
13360 a function, call it to get the regexp.
13361 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
13362 property `isearch-message-prefix' instead of the string "word ".
13363 (isearch-search-fun-default): For the case of `isearch-word',
13364 return a lambda that calls re-search-forward/re-search-backward
13365 with a regexp returned by `word-search-regexp' or by the function
13366 in `isearch-word'.
13367
13368 2012-05-29 Juri Linkov <juri@jurta.org>
13369
13370 * isearch.el (isearch-search-fun-default): New function.
13371 (isearch-search-fun): Move default part to the new function
13372 `isearch-search-fun-default'.
13373 (isearch-search-fun-function): Set the default value to
13374 `isearch-search-fun-default'. (Bug#11381)
13375
13376 * comint.el (comint-history-isearch-end):
13377 Use `isearch-search-fun-default'.
13378 (comint-history-isearch-search): Use `isearch-search-fun-default'
13379 and remove spacial case for `isearch-word'.
13380 (comint-history-isearch-wrap): Remove spacial case for
13381 `isearch-word'.
13382
13383 * hexl.el (hexl-isearch-search-function):
13384 Use `isearch-search-fun-default'.
13385
13386 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
13387 Use `word-search-regexp' for `isearch-word'.
13388
13389 * misearch.el (multi-isearch-search-fun):
13390 Use `isearch-search-fun-default'.
13391
13392 * simple.el (minibuffer-history-isearch-search):
13393 Use `isearch-search-fun-default' and remove spacial case for
13394 `isearch-word'.
13395 (minibuffer-history-isearch-wrap): Remove spacial case for
13396 `isearch-word'.
13397
13398 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
13399 Remove spacial case for `isearch-word'.
13400 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
13401
13402 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13403
13404 Decrease XEmacs incompatibilities.
13405 * textmodes/flyspell.el (flyspell-check-pre-word-p):
13406 Use `string-match'.
13407 (flyspell-delete-region-overlays): Use alternative definition for
13408 XEmacs.
13409 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
13410 (flyspell-word): Use `process-kill-without-query' if XEmacs.
13411 (flyspell-mode-on): Use `interactive-p' if XEmacs.
13412 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
13413 `define-obsolete-face-alias' under XEmacs, but old method.
13414
13415 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
13416 `with-no-warnings' definition or Emacs alias.
13417 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
13418 (ispell-word): Do not use `region-p' if XEmacs.
13419
13420 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13421
13422 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
13423 Check for `ispell-dictionary-base-alist' instead of full
13424 `ispell-dictionary-alist'.
13425 (ispell-init-process): Show spellchecker when starting new Ispell
13426 process.
13427
13428 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13429
13430 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
13431 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
13432
13433 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
13434
13435 * version.el (motif-version-string, gtk-version-string)
13436 (ns-version-string): Declare.
13437
13438 2012-05-27 Juri Linkov <juri@jurta.org>
13439
13440 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
13441 after the `eval-defun-1' specialcaseing
13442 like in `edebug-eval-defun' (bug#10181).
13443
13444 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
13445 like in `eval-defun-1'.
13446
13447 2012-05-27 Eli Zaretskii <eliz@gnu.org>
13448
13449 * mail/sendmail.el (mail-yank-region):
13450 Recognize rmail-yank-current-message in addition to insert-buffer.
13451 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
13452 a *mail* buffer created through rmail-start-mail with sendmail as
13453 mail-user-agent.
13454
13455 2012-05-27 Chong Yidong <cyd@gnu.org>
13456
13457 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
13458 Default to 256 (Bug#11267).
13459
13460 * help.el (describe-mode): Doc fix.
13461
13462 2012-05-26 Glenn Morris <rgm@gnu.org>
13463
13464 * w32-fns.el (w32-init-info): Remove.
13465 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
13466
13467 * info.el (info-initialize): For self-contained NS builds, put the
13468 included info/ directory at the front. (Bug#2791)
13469
13470 * paths.el (Info-default-directory-list): Make it a defcustom,
13471 mainly so that we can use custom-initialize-delay.
13472
13473 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
13474
13475 * subr.el (buffer-has-markers-at): Mark obsolete.
13476
13477 * subr.el (lambda): Use declare.
13478
13479 * emacs-lisp/lisp-mode.el (lambda):
13480 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
13481
13482 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13483
13484 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
13485
13486 2012-05-26 Glenn Morris <rgm@gnu.org>
13487
13488 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
13489
13490 2012-05-25 Glenn Morris <rgm@gnu.org>
13491
13492 * paths.el: Remove no-byte-compile.
13493 * loadup.el: No need to load paths.el uncompiled.
13494
13495 * image.el (imagemagick-types-inhibit): Doc fix.
13496
13497 * version.el: Remove no-byte-compile and associated formatting.
13498 * loadup.el: No need to load version.el uncompiled. AFAICS, this
13499 is ancient code from when there was an "inc-vers.el".
13500
13501 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13502
13503 * progmodes/gdb-mi.el: Minor style changes.
13504 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
13505 Turn into minor modes.
13506 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
13507 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
13508 (gdb-shell): Remove unneeded let-binding.
13509 (gdb-get-many-fields): Eliminate O(n²) behavior.
13510
13511 2012-05-25 Eli Zaretskii <eliz@gnu.org>
13512
13513 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
13514 platforms that don't link in fontset.c.
13515
13516 2012-05-25 Juri Linkov <juri@jurta.org>
13517
13518 Use the same diff color scheme as in modern VCSes (bug#10181).
13519
13520 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
13521 to avoid confusion with `diff-added' that now uses green colors.
13522 (diff-removed): Use shades of red.
13523 (diff-added): Use shades of green.
13524 (diff-changed): Leave just the yellow color.
13525 (diff-use-changed-face): New variable.
13526 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
13527 how to highlight context diff changes.
13528 (diff-refine-change): Use shades of yellow.
13529 (diff-refine-removed): New face that uses shades of red.
13530 (diff-refine-added): New face that uses shades of green.
13531 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
13532 `diff-refine-removed' in the call to `smerge-refine-subst'
13533 depending on the value of `diff-use-changed-face'.
13534
13535 * vc/smerge-mode.el (smerge-mine): Use shades of red.
13536 (smerge-other): Use shades of green.
13537 (smerge-base): Use shades of yellow.
13538 (smerge-refined-change): Empty face.
13539 (smerge-refined-removed): New face that uses shades of red.
13540 (smerge-refined-added): New face that uses shades of green.
13541 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
13542 args `props-r' and `props-a', and use them. Doc fix.
13543 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
13544 on its value use different faces `smerge-refined-change',
13545 `smerge-refined-removed', `smerge-refined-added' in the call to
13546 `smerge-refine-subst'.
13547
13548 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
13549 Add face condition `min-colors 88' with shades of red.
13550 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
13551 `min-colors 88' with shades of green.
13552 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
13553 `min-colors 88' with shades of yellow.
13554
13555 2012-05-24 Glenn Morris <rgm@gnu.org>
13556
13557 * paths.el (prune-directory-list, remote-shell-program): Move to...
13558 * files.el (prune-directory-list, remote-shell-program): ...here.
13559 For the latter, delay initialization, prefer ssh, just search PATH.
13560
13561 * paths.el (term-file-prefix): Move to faces.el (the only user).
13562 * faces.el (term-file-prefix): Move here, make it a defcustom.
13563
13564 * paths.el (news-directory, news-path, news-inews-program):
13565 Move to gnus/nnspool.el.
13566
13567 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
13568
13569 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
13570 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
13571 Make the latter a defcustom, with a delayed initialization.
13572
13573 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
13574 These were deleted from Gnus itself late 2010.
13575
13576 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
13577
13578 * progmodes/which-func.el (which-func-ff-hook):
13579 Check against user-error, not error.
13580
13581 * emacs-lisp/edebug.el (top): Do not load or set up loading of
13582 cl-specs.el, which no longer exists.
13583
13584 2012-05-22 Glenn Morris <rgm@gnu.org>
13585
13586 * info.el (info-emacs-bug): New command.
13587 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
13588 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
13589
13590 2012-05-21 Glenn Morris <rgm@gnu.org>
13591
13592 * makefile.w32-in (update-subdirs-SH):
13593 * Makefile.in (update-subdirs): Update for moved update-subdirs.
13594
13595 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13596
13597 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
13598
13599 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13600 Simplify Maven regexp, and make sure the file can't start with a space
13601 (bug#11517).
13602
13603 2012-05-21 Glenn Morris <rgm@gnu.org>
13604
13605 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
13606 Scrap superfluous subshells.
13607
13608 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
13609
13610 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
13611 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
13612
13613 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
13614
13615 * calc/calc.el (calc-ensure-consistent-units): New variable.
13616
13617 * calc/calc-units.el (math-consistent-units-p)
13618 (math-check-unit-consistency): New functions.
13619 (calc-quick-units, calc-convert-units):
13620 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
13621 is non-nil.
13622 (calc-extract-units): Fix typo.
13623
13624 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13625
13626 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
13627
13628 * textmodes/flyspell.el: Commenting style, plus code simplifications.
13629 (flyspell-default-deplacement-commands): Don't spell check after
13630 repeated window/frame switches (e.g. triggered by mouse-movement).
13631 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
13632 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
13633 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
13634 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
13635 Remove unused vars.
13636 (flyspell-get-casechars, flyspell-get-not-casechars):
13637 Simplify; Don't bother removing a ] just to add it back.
13638 * textmodes/ispell.el (ispell-program-name): Use executable-find.
13639
13640 2012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
13641
13642 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
13643 New functions.
13644 (math-function-table): Add support for more C functions.
13645
13646 2012-05-18 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13647
13648 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13649 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13650 Protect delay handling for otherchars against empty otherchars.
13651
13652 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13653
13654 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
13655 their respective macro declarations.
13656 * skeleton.el (define-skeleton):
13657 * progmodes/compile.el (define-compilation-mode):
13658 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
13659 (define-ibuffer-filter):
13660 * emacs-lisp/generic.el (define-generic-mode):
13661 * emacs-lisp/easy-mmode.el (define-minor-mode)
13662 (define-globalized-minor-mode):
13663 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
13664 * emacs-lisp/byte-run.el (defsubst):
13665 * custom.el (deftheme): Add doc-string metadata.
13666
13667 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13668
13669 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
13670
13671 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13672
13673 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
13674
13675 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
13676 * emacs-lisp/cl-macs.el: Idem.
13677 * emacs-lisp/cl-specs.el: Remove.
13678
13679 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13680
13681 Minor renaming of internal CL functions and variables.
13682 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
13683 (cl--position): Rename from cl-position.
13684 (cl--delete-duplicates): Rename from cl-delete-duplicates.
13685 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
13686 (cl--random-state): Rename from *random-state*.
13687
13688 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13689
13690 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
13691 parens around the arg list (bug#11499).
13692
13693 2012-05-17 Juri Linkov <juri@jurta.org>
13694
13695 * isearch.el (word-search-regexp, word-search-backward)
13696 (word-search-forward, word-search-backward-lax)
13697 (word-search-forward-lax): Move functions from search.c
13698 (bug#10145, bug#11381).
13699
13700 2012-05-16 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13701
13702 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13703 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13704 Delay for otherchars as for normal word components.
13705
13706 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13707
13708 * minibuffer.el (completion--sifn-requote): Fix last change.
13709 (minibuffer-local-must-match-filename-map):
13710 Move define-obsolete-variable-alias before its var.
13711
13712 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13713
13714 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
13715
13716 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
13717 behavior.
13718 (completion--string-equal-p): New function.
13719 (completion--twq-all): Use it to get better assertion failure data.
13720
13721 Only handle ".." and '..' quoting in shell-mode (bug#11466).
13722 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
13723 (shell--requote-argument): New functions.
13724 (shell-completion-vars): Use them.
13725 (shell--parse-pcomplete-arguments): Rename from
13726 shell-parse-pcomplete-arguments.
13727 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
13728 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
13729 Obey comint-file-name-quote-list.
13730
13731 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
13732 (smie-indent-keyword): Use it.
13733
13734 2012-05-14 Stefan Merten <smerten@oekonux.de>
13735
13736 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
13737
13738 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13739
13740 * net/rlogin.el (rlogin-mode-map): Fix last change.
13741
13742 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
13743
13744 * mail/smtpmail.el (smtpmail-send-command): Send the command and
13745 the following \r\n using a single `process-send-string', since the
13746 Lotus SMTP server refuses to accept any commands if they are sent
13747 with two `process-send-string's (Bug#11444).
13748
13749 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13750
13751 * shell.el (shell-parse-pcomplete-arguments):
13752 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
13753
13754 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13755
13756 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
13757 (image-transform-scale, image-transform-right-angle-fudge): New vars.
13758 (image-transform-width, image-transform-fit-width): New functions.
13759 (image-transform-properties): Use them.
13760 (image-transform-check-size): New function.
13761 (image-toggle-display-image): Use it (for testing).
13762 (image-transform-set-rotation): Reduce angle mod 360.
13763 Delete obsolete comment.
13764
13765 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13766
13767 * image-mode.el: Fix scaling (bug#11399).
13768 (image-transform-resize): Doc fix.
13769 (image-transform-properties): Default scale is 1 and height should
13770 be an integer.
13771
13772 2012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
13773
13774 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
13775 than hard-coding `car', to fix misbehavior when moving forward.
13776
13777 2012-05-13 Chong Yidong <cyd@gnu.org>
13778
13779 * emacs-lisp/tabulated-list.el (tabulated-list-format)
13780 (tabulated-list-entries, tabulated-list-padding)
13781 (tabulated-list-sort-key): Make permanent-local.
13782
13783 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
13784 (electric-buffer-list): Put electric buffer menu
13785 command descriptions in this docstring, instead of the docstring
13786 of electric-buffer-menu-mode. Code cleanups.
13787 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
13788 Electric-buffer-menu-mode.
13789 (electric-buffer-update-highlight): Minor code cleanup.
13790
13791 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
13792
13793 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
13794 (Bug#11447)
13795
13796 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13797
13798 Move define-obsolete-variable-alias before the var's definition.
13799 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
13800 * tooltip.el (tooltip-hook):
13801 * textmodes/reftex-toc.el (reftex-toc-map):
13802 * textmodes/reftex-sel.el (reftex-select-label-map)
13803 (reftex-select-bib-map):
13804 * textmodes/reftex-index.el (reftex-index-map)
13805 (reftex-index-phrases-map):
13806 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
13807 * progmodes/meta-mode.el (meta-mode-map):
13808 * novice.el (disabled-command-hook):
13809 * loadhist.el (unload-hook-features-list):
13810 * frame.el (blink-cursor):
13811 * files.el (find-file-not-found-hooks, write-file-hooks)
13812 (write-contents-hooks):
13813 * emulation/tpu-edt.el (GOLD-map):
13814 * emacs-lock.el (emacs-lock-from-exiting):
13815 * emacs-lisp/generic.el (generic-font-lock-defaults):
13816 * emacs-lisp/chart.el (chart-map):
13817 * dos-fns.el (register-name-alist):
13818 * dired-x.el (dired-omit-files-p):
13819 * desktop.el (desktop-enable):
13820 * cus-edit.el (custom-mode-hook):
13821 * buff-menu.el (buffer-menu-mode-hook):
13822 * bookmark.el (bookmark-read-annotation-text-func)
13823 (bookmark-exit-hooks):
13824 * allout.el (allout-mode-deactivate-hook)
13825 (allout-exposure-change-hook, allout-structure-added-hook)
13826 (allout-structure-deleted-hook, allout-structure-shifted-hook):
13827 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
13828 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
13829 comes before the corresponding variable's definition.
13830
13831 2012-05-12 Chong Yidong <cyd@gnu.org>
13832
13833 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
13834 (Buffer-menu-mouse-select): Restore function (Bug#11459).
13835 (Buffer-menu-mode-map): Bind it.
13836 (Buffer-menu--pretty-name): Add a mouse-face property.
13837
13838 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
13839
13840 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
13841 (prolog-upper-case-string, prolog-lower-case-string)
13842 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
13843 (prolog-use-smie, prolog-smie-grammar): New vars.
13844 (prolog-smie-forward-token, prolog-smie-backward-token)
13845 (prolog-smie-rules): New funs.
13846 (prolog-comment-indent): Remove.
13847 (prolog-mode-variables): Use default comment indentation instead.
13848 Setup SMIE.
13849 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
13850 (prolog-mode): Don't call them any more.
13851 (prolog-electric-colon, prolog-electric-dash)
13852 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
13853
13854 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
13855
13856 * minibuffer.el (completion--twq-all): Again, allow case differences.
13857
13858 * term.el: Move keymap initialization code to be more idiomatic.
13859 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
13860 (term-terminal-menu): Move initialization into declaration.
13861 (term-escape-char): Let the user set it in her .emacs.
13862
13863 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
13864 Provide SMIE-based indentation (not enabled by default yet).
13865 (sh-mode-map): Don't bind electric keys.
13866 Use electric-pair-mode instead of skeleton-pair.
13867 (sh-assignment-regexp): Fit within 80 columns.
13868 (sh-indent-supported): Specify actual shell name instead of boolean.
13869 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
13870 (sh-maybe-here-document): Use it. Make obsolete.
13871 (sh-electric-here-document-mode) New minor mode.
13872 (sh-mode): Use it. Don't set sh-indent-supported-here here.
13873 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
13874 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
13875 (sh-smie-rc-grammar, sh-use-smie): New vars.
13876 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
13877 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
13878 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
13879 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
13880 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
13881 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
13882 (sh-set-shell): Use smie-setup if requested.
13883
13884 * term.el (term-set-escape-char): Properly set term-escape-char.
13885 See http://stackoverflow.com/questions/10524656.
13886
13887 2012-05-10 Chong Yidong <cyd@gnu.org>
13888
13889 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
13890 Use url-generic-parse-url, and handle host names and Windows
13891 filenames properly.
13892 (ffap-url-unwrap-remote): Use url-generic-parse-url.
13893 (ffap-url-unwrap-remote): Accept list values, specifying a list of
13894 URL schemes to work on.
13895 (ffap--toggle-read-only): New function.
13896 (ffap-read-only, ffap-read-only-other-window)
13897 (ffap-read-only-other-frame): Use it.
13898 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
13899 necessary for ffap-url-unwrap-remote.
13900
13901 2012-05-10 Dave Abrahams <dave@boostpro.com>
13902
13903 * cus-start.el (create-lockfiles): Add it.
13904
13905 2012-05-09 Chong Yidong <cyd@gnu.org>
13906
13907 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
13908 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
13909
13910 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13911
13912 * shell.el (shell-completion-vars): Fix last change (bug#11348).
13913
13914 2012-05-09 Chong Yidong <cyd@gnu.org>
13915
13916 * ansi-color.el (ansi-color-process-output): Check for validity of
13917 comint-last-output-start before using it. This avoids a bad
13918 interaction with gdb-mi's input/output buffer.
13919
13920 2012-05-09 Glenn Morris <rgm@gnu.org>
13921
13922 * files.el (dir-locals-read-from-file):
13923 Mention dir-locals in any error message.
13924
13925 2012-05-09 Chong Yidong <cyd@gnu.org>
13926
13927 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
13928 package (Bug#11410).
13929
13930 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
13931 variables into description.
13932
13933 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13934
13935 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
13936 shell-delimiter-argument-list (bug#11348).
13937 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
13938
13939 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
13940
13941 * textmodes/rst.el: Silence byte-compiler warnings.
13942 (rst-re-alist, rst-reset-section-caches): Move around.
13943 (rst-re): Use `characterp', not `char-valid-p'.
13944 (font-lock-beg, font-lock-end): Declare.
13945
13946 * progmodes/idlw-shell.el (specs): Remove reference to deleted
13947 variable `idlwave-shell-activate-alt-keybindings' and simplify.
13948
13949 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
13950
13951 2012-05-08 Glenn Morris <rgm@gnu.org>
13952
13953 * files.el (auto-mode-alist): Treat ".make" like ".mk".
13954
13955 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13956
13957 * vc/log-edit.el: Add GNU coding standards highlighting.
13958 (log-edit-font-lock-gnu-style)
13959 (log-edit-font-lock-gnu-keywords): New vars.
13960 (log-edit-font-lock-keywords): New fun.
13961 (log-edit-mode): Don't fold case in font-lock.
13962 (log-edit-font-lock-keywords): Do not assume case-folding.
13963
13964 * imenu.el: Misc cleanup. Make docstrings out of comments.
13965 Use lexical-binding.
13966 (imenu--index-alist, imenu--last-menubar-index-alist)
13967 (imenu-menubar-modified-tick): Use defvar-local.
13968 (imenu--split-menu): Remove unused var.
13969 (imenu--cleanup-seen): Declare as global.
13970 (imenu--cleanup): Use dolist.
13971
13972 * subr.el (defvar-local): Add debug spec and doc-string position.
13973
13974 2012-05-08 Glenn Morris <rgm@gnu.org>
13975
13976 * language/burmese.el, language/cham.el, language/czech.el:
13977 * language/english.el, language/georgian.el, language/greek.el:
13978 * language/japanese.el, language/khmer.el, language/korean.el:
13979 * language/lao.el, language/misc-lang.el, language/romanian.el:
13980 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
13981 * language/thai.el, language/utf-8-lang.el:
13982 Remove no-byte-compile setting.
13983
13984 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
13985
13986 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13987
13988 * progmodes/make-mode.el (makefile-browse):
13989 Remove unnecessary interactive. (Bug#11324)
13990
13991 2012-05-07 Glenn Morris <rgm@gnu.org>
13992
13993 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
13994
13995 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
13996
13997 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13998
13999 * loadup.el: Preload newcomment.el.
14000 * newcomment.el: Move autoload-only code to toplevel.
14001
14002 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
14003 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
14004 Handle new :right-align column property.
14005 (tabulated-list-print-col): Idem, plus use `display' text-property to
14006 try and preserve alignment for variable pitch fonts.
14007
14008 2012-05-07 Chong Yidong <cyd@gnu.org>
14009
14010 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
14011 (tabulated-list-use-header-line): New var.
14012 (tabulated-list-init-header): Use it.
14013 (tabulated-list-print-fake-header): New function.
14014 (tabulated-list-print): Use it.
14015 (tabulated-list-sort-button-map): Add non-header-line commands.
14016 (tabulated-list-init-header): Add column name property to basic
14017 labels as well.
14018 (tabulated-list-col-sort): Handle non-header-line button case.
14019 (tabulated-list--sort-by-column-name): Fix a corner case.
14020
14021 * buff-menu.el (list-buffers--refresh):
14022 Handle Buffer-menu-use-header-line.
14023
14024 2012-05-06 Chong Yidong <cyd@gnu.org>
14025
14026 * buff-menu.el: Convert to Tabulated List mode.
14027 (Buffer-menu-buffer+size-width): Make obsolete.
14028 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
14029 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
14030 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
14031 documentation into docstring of buffer-menu.
14032 (Buffer-menu-toggle-files-only): Add an informative message.
14033 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
14034 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
14035 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
14036 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
14037 (Buffer-menu-execute, Buffer-menu-select)
14038 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
14039 (Buffer-menu-bury): Use Tabulated List machinery.
14040 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
14041 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
14042 Delete.
14043 (list-buffers--refresh): New function.
14044 (list-buffers-noselect): Use it.
14045 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
14046 (Buffer-menu--pretty-file-name): New helper functions.
14047
14048 * loadup.el: Preload tabulated-list.
14049
14050 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
14051 tabulated-list-sort-column.
14052 (tabulated-list-init-header): Add the initial aligning space even
14053 if tabulated-list-padding is zero.
14054
14055 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
14056
14057 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
14058 whose cdr is not a cons cell correctly (bug#11038).
14059
14060 2012-05-06 Chong Yidong <cyd@gnu.org>
14061
14062 * emacs-lisp/tabulated-list.el (tabulated-list-format):
14063 Accept additional plist in column descriptors.
14064 (tabulated-list-init-header): Obey it.
14065 (tabulated-list-get-entry): New function.
14066 (tabulated-list-put-tag): Use it. Use string-width instead of
14067 length.
14068 (tabulated-list--column-number): New function.
14069 (tabulated-list-print): Use it.
14070 (tabulated-list-print-col): New function.
14071 Set `tabulated-list-column-name' property on each column's text.
14072 (tabulated-list-print-entry): Use it.
14073 (tabulated-list-delete-entry, tabulated-list-set-col):
14074 New functions.
14075 (tabulated-list-sort-column): New command (Bug#11337).
14076
14077 * buff-menu.el (list-buffers): Move C-x C-b binding from
14078 buff-menu.el to bindings.el.
14079
14080 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
14081 :advertised-binding feature.
14082
14083 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
14084
14085 * progmodes/compile.el (compilation-internal-error-properties):
14086 Calculate start position correctly when end-col is set but
14087 end-line is not (Bug#11382).
14088
14089 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
14090
14091 * man.el (Man-unindent): Use text-property-default-nonsticky to
14092 prevent untabify from inheriting face properties (Bug#11408).
14093
14094 2012-05-05 Stefan Merten <smerten@oekonux.de>
14095
14096 * textmodes/rst.el: Major merge with upstream development up to
14097 Docutils SVN r7399 / rst.el V1.2.1.
14098
14099 Clarify maintainership and authors.
14100
14101 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
14102 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
14103 (rst-official-version, rst-official-cvs-rev, rst-version)
14104 (rst-package-emacs-version-alist): New functions and variables
14105 for version information.
14106
14107 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
14108 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
14109 (rst-mode-syntax-table, rst-mode): New and corrected functions
14110 and variables representing reStructuredText features.
14111
14112 (rst-re): New function for reStructuredText regexes. Use in
14113 many places.
14114
14115 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
14116 (rst-mode-map): Rebind keys.
14117
14118 (rst-mode-lazy, rst-font-lock-keywords)
14119 (rst-font-lock-extend-region)
14120 (rst-font-lock-extend-region-internal)
14121 (rst-font-lock-extend-region-extend)
14122 (rst-font-lock-find-unindented-line-limit)
14123 (rst-font-lock-find-unindented-line-match)
14124 (rst-adornment-level, rst-font-lock-adornment-level)
14125 (rst-font-lock-adornment-match)
14126 (rst-font-lock-handle-adornment-pre-match-form)
14127 (rst-font-lock-handle-adornment-matcher): Major revision of
14128 font-locking. Integrate with other code. Use `jit-lock-mode'.
14129
14130 (rst-preferred-adornments, rst-adjust-hook)
14131 (rst-new-adornment-down, rst-preferred-bullets)
14132 (rst-preferred-bullets, rst-indent, rst-indent-width)
14133 (rst-indent-field, rst-indent-literal-normal)
14134 (rst-indent-literal-minimized, rst-indent-comment): Change,
14135 extend and improve customization.
14136
14137 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
14138 (rst-normalize-cursor-position, rst-get-decoration)
14139 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
14140 (rst-rstrip, rst-toc-insert-find-delete-contents)
14141 (rst-shift-fill-region, rst-compute-bullet-tabs)
14142 (rst-debug-print-tabs, rst-debug-mark-found)
14143 (rst-shift-region-guts, rst-shift-region-right)
14144 (rst-shift-region-left, rst-use-char-classes)
14145 (rst-font-lock-keywords-function)
14146 (rst-font-lock-indentation-point)
14147 (rst-font-lock-find-unindented-line-begin)
14148 (rst-font-lock-find-unindented-line-end)
14149 (rst-font-lock-find-unindented-line)
14150 (rst-font-lock-adornment-point, rst-font-lock-level)
14151 (rst-adornment-level-alist): Remove functions and variables.
14152
14153 (rst-compare-adornments, rst-get-adornment-match)
14154 (rst-suggest-new-adornment, rst-get-adornments-around)
14155 (rst-adornment-complete-p, rst-get-next-adornment)
14156 (rst-adjust-adornment, rst-display-adornments-hierarchy)
14157 (rst-straighten-adornments): Standardize function names to
14158 use "adornment" instead of "decoration". Correct callers.
14159 Similar standardizing in many places.
14160
14161 (rst-update-section, rst-adjust, rst-promote-region)
14162 (rst-enumerate-region, rst-bullet-list-region)
14163 (rst-repeat-last-character): Correct use of `interactive'.
14164
14165 (rst-classify-adornment, rst-find-all-adornments)
14166 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
14167 (rst-find-leftmost-column, rst-repeat-last-character):
14168 Refactor functions.
14169
14170 (rst-find-title-line, rst-reset-section-caches)
14171 (rst-get-adornments-around, rst-adjust-adornment-work)
14172 (rst-arabic-to-roman, rst-roman-to-arabic)
14173 (rst-insert-list-pos, rst-insert-list-new-item)
14174 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
14175 New functions.
14176
14177 (rst-all-sections, rst-section-hierarchy)
14178 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
14179 New variables.
14180
14181 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
14182 configuration instead of only buffer. Change where necessary.
14183
14184 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
14185 (rst-shift-region, rst-adaptive-fill): New functions for
14186 indentation and filling.
14187
14188 (rst-comment-line-break, rst-comment-indent)
14189 (rst-comment-insert-comment, rst-comment-region)
14190 (rst-uncomment-region): New functions for handling comments.
14191
14192 (rst-compile): Quote shell arguments.
14193
14194 (rst-compile-pdf-preview, rst-compile-slides-preview):
14195 Delete temporary files after use.
14196
14197 2012-05-05 Glenn Morris <rgm@gnu.org>
14198
14199 * calendar/cal-html.el: Optionally include holidays in the output.
14200 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
14201 (cal-html-holidays): New option.
14202 (cal-html-css-default): Add holiday entry.
14203 (holiday-in-range): Autoload it.
14204 (cal-html-htmlify-entry): Add optional class argument.
14205 (cal-html-htmlify-list): Add optional holidays argument.
14206 (cal-html-insert-agenda-days): Include holidays in the output.
14207 (cal-html-one-month): Maybe include holidays.
14208
14209 * calendar/holidays.el (holiday-in-range):
14210 Move here from cal-tex-list-holidays.
14211 * calendar/cal-tex.el (cal-tex-list-holidays):
14212 Make it an obsolete alias for holiday-in-range. Update all callers.
14213
14214 2012-05-05 Chong Yidong <cyd@gnu.org>
14215
14216 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
14217 Nextstep.
14218
14219 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
14220
14221 * files.el (file-auto-mode-skip): New var.
14222 (set-auto-mode-1): Use it.
14223
14224 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14225
14226 * repeat.el: Use lexical-binding.
14227 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
14228 (repeat-undo-count): Remove.
14229 (repeat):
14230 * progmodes/octave-mod.el (octave-abbrev-start):
14231 * progmodes/f90.el (f90-abbrev-start):
14232 * face-remap.el (text-scale-adjust):
14233 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
14234
14235 * emacs-lisp/pcase.el (pcase--let*): New function.
14236 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
14237 a bit more.
14238 (pcase--split-pred): Be more clever about ruling out overlap between
14239 a predicate and some constant pattern.
14240 (pcase--q1): Use `null' instead of (eq foo nil).
14241
14242 * subr.el (setq-local, defvar-local): New macros.
14243 (kbd): Redefine as an alias.
14244 (with-selected-window): Leave unrelated frames alone.
14245 (set-temporary-overlay-map): New function.
14246
14247 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14248
14249 * subr.el (user-error): New function.
14250 * window.el (switch-to-buffer):
14251 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
14252 (smerge-match-conflict):
14253 * simple.el (previous-matching-history-element)
14254 (next-matching-history-element, goto-history-element, undo-more)
14255 (undo-start):
14256 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
14257 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
14258 (next-file, tags-loop-scan, list-tags, complete-tag):
14259 * progmodes/compile.el (compilation-loop):
14260 * mouse.el (mouse-minibuffer-check):
14261 * man.el (Man-bgproc-sentinel, Man-goto-page):
14262 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
14263 (Info-history-forward, Info-follow-reference, Info-menu)
14264 (Info-extract-menu-item, Info-extract-menu-counting)
14265 (Info-forward-node, Info-backward-node, Info-next-menu-item)
14266 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
14267 (Info-next-reference, Info-prev-reference, Info-index)
14268 (Info-index-next, Info-follow-nearest-node)
14269 (Info-copy-current-node-name):
14270 * imenu.el (imenu--make-index-alist)
14271 (imenu-default-create-index-function, imenu-add-to-menubar):
14272 * files.el (basic-save-buffer, recover-file):
14273 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14274 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
14275 (checkdoc-message-text, checkdoc-defun):
14276 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
14277 * cus-edit.el (customize-changed-options, customize-rogue)
14278 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
14279 (custom-variable-mark-to-reset-standard)
14280 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
14281 (custom-file):
14282 * completion.el (check-completion-length):
14283 * comint.el (comint-search-arg)
14284 (comint-previous-matching-input-string-position)
14285 (comint-previous-matching-input)
14286 (comint-replace-by-expanded-history-before-point, comint-send-input)
14287 (comint-copy-old-input, comint-backward-matching-input)
14288 (comint-goto-process-mark, comint-set-process-mark):
14289 * calendar/calendar.el (calendar-cursor-to-date): Use it.
14290 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
14291
14292 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14293
14294 * dabbrev.el (dabbrev--ignore-case-p): New function.
14295 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
14296 Use it.
14297
14298 * files.el (automount-dir-prefix): Mark as obsolete.
14299
14300 2012-05-04 Glenn Morris <rgm@gnu.org>
14301
14302 * patcomp.el, play/bruce.el: Move to obsolete/.
14303
14304 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
14305
14306 Fix minor Y10k bugs.
14307 * arc-mode.el (archive-unixdate):
14308 * autoinsert.el (auto-insert-alist):
14309 * calc/calc-forms.el (math-this-year):
14310 * emacs-lisp/copyright.el (copyright-current-year)
14311 (copyright-update-year, copyright):
14312 * tar-mode.el (tar-clip-time-string):
14313 * time.el (display-time-update):
14314 Don't assume years have 4 digits.
14315
14316 2012-05-04 Chong Yidong <cyd@gnu.org>
14317
14318 * dos-w32.el (file-name-buffer-file-type-alist)
14319 (direct-print-region-use-command-dot-com):
14320 * ffap.el (ffap-menu-regexp):
14321 * find-file.el (ff-special-constructs):
14322 * follow.el (follow-debug):
14323 * forms.el (forms--debug):
14324 * iswitchb.el (iswitchb-all-frames):
14325 * ido.el (ido-all-frames):
14326 * emacs-lisp/timer.el (timer-max-repeats):
14327 * mail/feedmail.el (feedmail-mail-send-hook)
14328 (feedmail-mail-send-hook-queued):
14329 * mail/footnote.el (footnote-signature-separator):
14330 * mail/mailabbrev.el (mail-alias-separator-string)
14331 (mail-abbrev-mode-regexp):
14332 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
14333 * progmodes/idlwave.el (idlwave-libinfo-file)
14334 (idlwave-default-completion-case-is-down)
14335 (idlwave-library-routines): Convert defvars to defcustoms.
14336
14337 * mail/rmail.el (rmail-decode-mime-charset):
14338 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
14339 (idlwave-shell-fix-inserted-breaks)
14340 (idlwave-shell-activate-alt-keybindings)
14341 (idlwave-shell-use-breakpoint-glyph):
14342 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
14343
14344 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14345
14346 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
14347
14348 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
14349
14350 * progmodes/verilog-mode.el (font-lock-keywords):
14351 Fix mis-highligting auto. Reported by Craig Barner.
14352 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
14353 defines from global name space. Reported by Dan Dever.
14354 (verilog-auto-reset, verilog-auto-reset-widths)
14355 (verilog-auto-tieoff): Support using unbased numbers for
14356 AUTORESET and AUTOTIEOFF.
14357 (verilog-submit-bug-report): Update variable list.
14358 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
14359 parenthesis from not matching. Reported by Michael Rytting.
14360 (verilog-auto-template-lint): Fix hash error when linting modules
14361 with no used templates.
14362 (verilog-warn, verilog-warn-error)
14363 (verilog-warn-fatal): When non-interactive report multiple
14364 warnings before exiting. Suggested by Brad Dobbie.
14365 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
14366 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
14367 to report unused template errors. Reported by Brad Dobbie.
14368 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
14369 nets, bug438. Reported by Vns Blore.
14370 (verilog-auto-inout-module, verilog-auto-reg)
14371 (verilog-read-decls, verilog-read-sub-decls-sig)
14372 (verilog-signals-edit-wire-reg, verilog-signals-with):
14373 Fix passing of Verilog data types in ANSI input/output ports
14374 such as "output logic" into the AUTOs. Special case "wire" and
14375 "reg" for backwards compatibility presuming Verilog 2001.
14376 (verilog-auto-ascii-enum): Add "auto enum" as alias.
14377 (verilog-preprocess): Fix replication of preprocess output.
14378 Reported by Brad Dobbie.
14379 (verilog-auto-inst-interfaced-ports):
14380 Create verilog-auto-inst-interfaced-ports, bug429.
14381 Reported by Julian Gorfajn.
14382 (verilog-after-save-font-hook)
14383 (verilog-before-save-font-hook): New variable.
14384 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
14385 (verilog-save-font-mods): Wrap disabling fontification, reported
14386 by David Rogoff.
14387 (verilog-do-indent, verilog-pretty-declarations-auto)
14388 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
14389 Reported by Pierre-David Pfister.
14390 (verilog-set-auto-endcomments): Fix endtask auto comments outside
14391 of class declarations, bug292. Reported by Kevin Heilman.
14392 (verilog-read-decls): Fix 'parameter type' not appearing in
14393 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
14394 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
14395 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
14396 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
14397 Reported by David Kravitz.
14398
14399 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
14400
14401 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
14402 assignment with tests in ifs and for loops.
14403 (verilog-extended-complete-re, verilog-complete-reg): Change so
14404 that DPI inport functions don't look like fuction declarations.
14405 (verilog-pretty-expr): Don't line up assignment
14406 operations to the test and increment in if and for loops
14407 (verilog-extended-complete-re, verilog-complete-reg): Change so
14408 that DPI inport functions don't look like fuction declarations.
14409
14410 2012-05-03 Kenichi Handa <handa@m17n.org>
14411
14412 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
14413 decoding, and show a warning message without signaling an error
14414 (Bug#11282).
14415
14416 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14417
14418 * emacs-lisp/bytecomp.el
14419 (byte-compile-file-form-custom-declare-variable): Compile all elements,
14420 since cconv.el might have introduced :fun-body, internal-make-closure,
14421 and friends for bytecomp to handle (bug#11391).
14422 * custom.el (defcustom): Avoid ((λ ..) ..).
14423
14424 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
14425
14426 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
14427
14428 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
14429
14430 * notifications.el (dbus-debug):
14431 * term/linux.el (gpm-mouse-enable):
14432 * term/screen.el (xterm-register-default-colors): Declare.
14433
14434 2012-05-02 Chong Yidong <cyd@gnu.org>
14435
14436 * cus-start.el (gc-cons-percentage, exec-suffixes)
14437 (dos-display-scancodes, dos-hyper-key, dos-super-key)
14438 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
14439 (make-cursor-line-fully-visible, void-text-area-pointer)
14440 (font-list-limit): Add customization data.
14441
14442 * allout.el (allout-exposure-change-functions)
14443 (allout-structure-added-functions)
14444 (allout-structure-deleted-functions)
14445 (allout-structure-shifted-functions): Rename abnormal hooks from
14446 *-hook, and convert to defcustoms.
14447 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
14448 Convert to defcustoms.
14449 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
14450
14451 * allout-widgets.el: Hook callers changed.
14452
14453 2012-05-02 Eli Zaretskii <eliz@gnu.org>
14454
14455 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
14456 the yanked message in preference to the default value of
14457 buffer-file-coding-system.
14458
14459 2012-05-02 Martin Rudalics <rudalics@gmx.at>
14460
14461 * window.el (display-buffer--action-function-custom-type):
14462 Fix entry.
14463
14464 2012-05-02 Alan Mackenzie <acm@muc.de>
14465
14466 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
14467
14468 2012-05-01 Glenn Morris <rgm@gnu.org>
14469
14470 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
14471
14472 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
14473
14474 * cus-edit.el (custom-variable-documentation): Simplify with format.
14475
14476 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14477 Stefan Monnier <monnier@iro.umontreal.ca>
14478
14479 * simple.el (suggest-key-bindings, execute-extended-command):
14480 Move from keyboard.c.
14481
14482 2012-05-01 Chong Yidong <cyd@gnu.org>
14483
14484 * follow.el: Eliminate advice.
14485 (set-process-filter, process-filter, sit-for): Advice deleted.
14486 (follow-mode-off-hook): Obsolete hook removed.
14487 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
14488 Vars deleted.
14489 (follow-auto): Use a :set function.
14490 (follow-mode): Rewritten. Don't advise process filters.
14491 (follow-switch-to-current-buffer-all, follow-scroll-up)
14492 (follow-scroll-down): Assume follow-mode is bound.
14493 (follow-comint-scroll-to-bottom)
14494 (follow-align-compilation-windows): New functions.
14495 (follow--window-sorter): New function.
14496 (follow-all-followers): Use it to explicitly sort windows by their
14497 positions; don't make assumptions about next-window order.
14498 (follow-windows-start-end, follow-delete-other-windows-and-split)
14499 (follow-calc-win-start): Doc fix.
14500 (follow-windows-aligned-p, follow-select-if-visible): Don't call
14501 vertical-motion unnecessarily.
14502 (follow-adjust-window): New function.
14503 (follow-post-command-hook): Use it.
14504 (follow-call-set-process-filter, follow-call-process-filter)
14505 (follow-intercept-process-output, follow-tidy-process-filter-alist)
14506 (follow-stop-intercept-process-output, follow-generic-filter):
14507 Functions deleted.
14508 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
14509 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
14510 New functions, replacing advice on scroll-bar-* commands.
14511 (follow-mwheel-scroll): New function (Bug#4112).
14512
14513 * comint.el (comint-adjust-point): New function.
14514 (comint-postoutput-scroll-to-bottom): Use it.
14515 Call follow-comint-scroll-to-bottom for Follow mode buffers.
14516
14517 2012-05-01 Glenn Morris <rgm@gnu.org>
14518
14519 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
14520 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
14521 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
14522 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
14523 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
14524 Remove no-byte-compile setting.
14525
14526 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
14527
14528 * minibuffer.el (completion-table-with-quoting): Fix compatibility
14529 all-completions code to not return a number in the last cdr.
14530
14531 2012-04-30 Leo Liu <sdl.web@gmail.com>
14532
14533 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
14534 read-only error.
14535
14536 2012-04-29 Chong Yidong <cyd@gnu.org>
14537
14538 * follow.el (follow-calc-win-end): Rewrite to handle partial
14539 screen lines correctly (Bug#8390).
14540 (follow-avoid-tail-recenter): Minor cleanup.
14541
14542 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14543
14544 Avoid the obsolete `assoc' package.
14545 * speedbar.el (speedbar-refresh): Avoid adelete.
14546 (speedbar-file-lists): Simplify and avoid aput.
14547 * man.el (Man--sections, Man--refpages): New vars, replacing
14548 Man-sections-alist and Man-refpages-alist.
14549 (Man-build-section-alist, Man-build-references-alist):
14550 Use them; avoid aput.
14551 (Man--last-section, Man--last-refpage): New vars.
14552 (Man-follow-manual-reference): Use them.
14553 Use the `default' arg of completing-read.
14554 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
14555
14556 2012-04-27 Chong Yidong <cyd@gnu.org>
14557
14558 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
14559
14560 * startup.el (x-apply-session-resources): New function.
14561
14562 * term/ns-win.el (ns-initialize-window-system):
14563 * term/w32-win.el (w32-initialize-window-system):
14564 * term/x-win.el (x-initialize-window-system): Use it to properly
14565 set menu-bar-mode and other vars from X resources, even if the
14566 initial frame is not a window-system frame (Bug#2299).
14567
14568 * subr.el (read-key): Avoid running filter function when setting
14569 up temporary tool bar entries (Bug#9922).
14570
14571 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14572
14573 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
14574 (Bug#11344)
14575
14576 2012-04-27 Chong Yidong <cyd@gnu.org>
14577
14578 * select.el (xselect--encode-string): New function, split from
14579 xselect-convert-to-string.
14580 (xselect-convert-to-string): Use it.
14581 (xselect-convert-to-filename, xselect-convert-to-os)
14582 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
14583 returned strings are properly encoded (Bug#11315).
14584
14585 2012-04-27 Chong Yidong <cyd@gnu.org>
14586
14587 * simple.el (delete-active-region): Move to killing custom group.
14588
14589 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14590
14591 * progmodes/which-func.el (which-func-current): Quote %
14592 characters for mode-line processing.
14593
14594 2012-04-27 Chong Yidong <cyd@gnu.org>
14595
14596 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
14597 reaching eob (Bug#11286).
14598
14599 2012-04-27 Eli Zaretskii <eliz@gnu.org>
14600
14601 * progmodes/gdb-mi.el (gdb-control-level): New variable.
14602 (gdb): Make it buffer-local and init to zero.
14603 (gdb-control-commands-regexp): New variable.
14604 (gdb-send): Don't wrap in "-interpreter-exec console" if
14605 gdb-control-level is positive. Increment gdb-control-level
14606 whenever the command matches gdb-control-commands-regexp, and
14607 decrement it each time the command is "end". (Bug#11279)
14608
14609 2012-04-27 Martin Rudalics <rudalics@gmx.at>
14610
14611 * window.el (adjust-window-trailing-edge, enlarge-window)
14612 (shrink-window, window-resize):
14613 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
14614 windows (Bug#11276).
14615
14616 2012-04-27 Chong Yidong <cyd@gnu.org>
14617
14618 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
14619 fix "missing prefix" warning. All callers changed.
14620
14621 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14622
14623 * emacs-lisp/assoc.el: Move to obsolete/.
14624
14625 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14626
14627 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
14628
14629 * term/ns-win.el (ns-define-service):
14630 * progmodes/pascal.el (pascal-goto-defun):
14631 * progmodes/js.el (js--read-tab):
14632 * progmodes/etags.el (tags-lazy-completion-table):
14633 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
14634 * emacs-lisp/ewoc.el (ewoc--wrap):
14635 * emacs-lisp/assoc.el (aput, adelete, amake):
14636 * doc-view.el (doc-view-convert-current-doc):
14637 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
14638
14639 2012-04-26 Chong Yidong <cyd@gnu.org>
14640
14641 * image.el (image-type-from-buffer): Only return supported image
14642 type (Bug#9045).
14643
14644 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
14645 value, for symmetry with diff-end-of-hunk.
14646 (diff-split-hunk, diff-find-source-location)
14647 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
14648 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
14649 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
14650 compute the relevant hunk or file properly (Bug#6005).
14651 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
14652
14653 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14654
14655 * vc/vc-mtn.el:
14656 * vc/vc-hg.el:
14657 * vc/vc-git.el:
14658 * vc/vc-dir.el:
14659 * vc/vc-cvs.el:
14660 * vc/vc-bzr.el:
14661 * vc/vc-arch.el:
14662 * vc/vc.el: Replace lexical-let by lexical-binding.
14663 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
14664 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
14665 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
14666
14667 2012-04-26 Chong Yidong <cyd@gnu.org>
14668
14669 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
14670 (diff-mode-shared-map): Bind it to / and [remap undo].
14671
14672 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
14673 (ediff-window-setup-function): Use it as the default, to set up
14674 windows based on whether the current frame is graphical (Bug#2138).
14675 (ediff-choose-window-setup-function-automatically): Make obsolete.
14676
14677 * vc/ediff-init.el: Always define ediff-pixel-width/height.
14678
14679 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14680
14681 * ffap.el: Remove old code for obsolete package.
14682 (ffap-complete-as-file-p): Remove.
14683
14684 Use completion-table-with-quoting for comint and pcomplete.
14685 * comint.el (comint--unquote&requote-argument)
14686 (comint--unquote-argument, comint--requote-argument): New functions.
14687 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
14688 (comint-quote-filename): Use regexp-opt-charset.
14689 (comint--common-suffix, comint--common-quoted-suffix)
14690 (comint--table-subvert): Remove.
14691 (comint-unquote-function, comint-requote-function): New vars.
14692 (comint--complete-file-name-data): Use them with
14693 completion-table-with-quoting.
14694 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
14695 * pcomplete.el (pcomplete-arg-quote-list)
14696 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
14697 (pcomplete-unquote-argument-function): Default to non-nil.
14698 (pcomplete-unquote-argument): Simplify.
14699 (pcomplete--common-quoted-suffix): Remove.
14700 (pcomplete-requote-argument-function): New var.
14701 (pcomplete--common-suffix): New function.
14702 (pcomplete-completions-at-point): Use completion-table-with-quoting
14703 and completion-table-subvert.
14704
14705 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
14706 (minibuffer--double-dollars): Preserve properties.
14707 (completion--sifn-requote): New function.
14708 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
14709
14710 * minibuffer.el: Add support for completion of quoted/escaped data.
14711 (completion-table-with-quoting, completion-table-subvert): New funs.
14712 (completion--twq-try, completion--twq-all): New functions.
14713 (completion--nth-completion): New function.
14714 (completion-try-completion, completion-all-completions): Use it.
14715
14716 2012-04-25 Leo Liu <sdl.web@gmail.com>
14717
14718 * progmodes/python.el (python-pdbtrack-get-source-buffer):
14719 Use compilation-message if available to find real filename.
14720
14721 2012-04-25 Chong Yidong <cyd@gnu.org>
14722
14723 * vc/diff-mode.el (diff-setup-whitespace): New function.
14724 (diff-mode): Use it.
14725
14726 * vc/diff.el (diff-sentinel):
14727 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
14728 Whitespace mode variables based on diff style (Bug#8612).
14729
14730 2012-04-25 Leo Liu <sdl.web@gmail.com>
14731
14732 * progmodes/python.el (python-send-region): Add suffix .py to the
14733 temp file.
14734
14735 * files.el (auto-mode-alist): Use javascript-mode instead.
14736
14737 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
14738
14739 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
14740
14741 * net/soap-client.el (soap-resolve-references-for-sequence-type)
14742 (soap-resolve-references-for-array-type): Hack to prevent self
14743 references, see Bug#9.
14744 (soap-parse-envelope): Report the contents of the 'detail' node
14745 when receiving a fault reply.
14746 (soap-parse-envelope): Report the contents of the entire 'detail' node.
14747
14748 * net/soap-inspect.el (soap-sample-value-for-simple-type)
14749 (soap-inspect-simple-type): New function.
14750
14751 * net/soap-client.el (soap-simple-type): New struct.
14752 (soap-default-xsd-types, soap-default-soapenc-types)
14753 (soap-decode-basic-type, soap-encode-basic-type):
14754 support unsignedInt and double basic types.
14755 (soap-resolve-references-for-simple-type)
14756 (soap-parse-simple-type, soap-encode-simple-type): New function.
14757 (soap-parse-schema): Parse xsd:simpleType declarations.
14758
14759 * net/soap-client.el (soap-default-xsd-types)
14760 (soap-default-soapenc-types): Add integer, byte and anyURI types.
14761 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
14762 the local name of "soapenc:Array".
14763 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
14764 decoding integer, byte and anyURI xsd types.
14765
14766 2012-04-25 Chong Yidong <cyd@gnu.org>
14767
14768 * cus-edit.el (custom-buffer-create-internal): Update header text.
14769
14770 2012-04-25 Eli Zaretskii <eliz@gnu.org>
14771
14772 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
14773 settings on 'system-type', not on 'window-system'. On MS-Windows,
14774 set interactive-mode on in GDB.
14775
14776 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14777
14778 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
14779 (ruby-syntax-propertize-regexp): Remove.
14780 (ruby-syntax-propertize-function): Split regexp into chunks.
14781 Match following code directly.
14782
14783 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
14784
14785 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
14786 (ruby-syntax-propertize-regexp): New function.
14787 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
14788 by a special keyword.
14789
14790 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
14791 (ruby-syntax-general-delimiters-goto-beg)
14792 (ruby-syntax-propertize-general-delimiters): New functions.
14793 (ruby-syntax-propertize-function): Use them to handle GDL.
14794 (ruby-font-lock-keywords): Move old handling of GDL...
14795 (ruby-font-lock-syntactic-keywords): .. to here.
14796 (ruby-calculate-indent): Adjust indentation for GDL.
14797
14798 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
14799
14800 * notifications.el (top): Remove unneeded declarations.
14801 (notifications-specification-version): Change to "1.2".
14802 (notifications-interface, notifications-notify-method)
14803 (notifications-close-notification-method): Fix docstring.
14804 (notifications-get-capabilities-method): New defconst.
14805 (notifications-notify): Add :action-items, :resident and
14806 :transient hints. Change "image_data" to "image-data" and
14807 "image_path" to "image-path".
14808 (notifications-get-capabilities): New defun.
14809
14810 2012-04-24 Leo Liu <sdl.web@gmail.com>
14811
14812 * progmodes/python.el: Move hideshow setup to the end.
14813
14814 2012-04-24 Martin Rudalics <rudalics@gmx.at>
14815
14816 * window.el (handle-select-window): Clear echo area since this is
14817 no more done by read_char (Bug#11304).
14818
14819 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14820
14821 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
14822 and `/ M' to filter-derived-mode.
14823 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
14824 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
14825 (ibuffer-mark-by-mode): Use default rather than initial-input.
14826 (ibuffer-filter-by-derived-mode): Autoload and require-match.
14827
14828 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
14829
14830 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
14831 (ibuffer-filter-by-derived-mode): New filter.
14832 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
14833
14834 2012-04-23 Andreas Politz <politza@fh-trier.de>
14835
14836 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
14837
14838 2012-04-23 Chong Yidong <cyd@gnu.org>
14839
14840 * cus-edit.el (customize-apropos, customize-apropos-options):
14841 Disable matching of non-option variables (Bug#11176).
14842 (customize-option, customize-option-other-window)
14843 (customize-changed-options): Doc fix.
14844 (customize-apropos-options, customize-apropos-faces)
14845 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
14846
14847 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
14848 Fix word list splitting (Bug#11132).
14849 (apropos-symbol, apropos-keybinding, apropos-label)
14850 (apropos-property, apropos-function-button)
14851 (apropos-variable-button, apropos-misc-button): New faces.
14852 (apropos-symbol-face, apropos-keybinding-face)
14853 (apropos-label-face, apropos-property-face, apropos-match-face):
14854 Variables removed (Bug#8396).
14855 (apropos-library-button, apropos-format-plist, apropos-print)
14856 (apropos-print-doc, apropos-describe-plist): Callers changed.
14857
14858 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
14859
14860 * net/xesam.el (xesam-mode-map): Use let-bound map in
14861 initialization. (Bug#11292)
14862
14863 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14864
14865 Preserve ispell session localwords when switching back to
14866 original buffer.
14867
14868 * textmodes/ispell.el (ispell-buffer-session-localwords):
14869 New buffer-local variable to hold buffer session localwords.
14870 (ispell-kill-ispell): Add option 'clear to delete session
14871 localwords.
14872 (ispell-command-loop, ispell-change-dictionary)
14873 (ispell-buffer-local-words): Preserve session localwords when
14874 needed.
14875
14876 * textmodes/flyspell.el (flyspell-process-localwords)
14877 (flyspell-do-correct): Preserve session localwords when needed.
14878
14879 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14880
14881 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
14882 using obsolete `translation-table-for-input'.
14883 (ispell-word, ispell-process-line, ispell-complete-word):
14884 Use plain `insert' instead of removed `ispell-insert-word'.
14885
14886 2012-04-22 Chong Yidong <cyd@gnu.org>
14887
14888 * cus-edit.el (custom-variable-menu)
14889 (custom-variable-reset-saved, custom-face-menu)
14890 (custom-face-reset-saved): If there is no saved value, make the
14891 "reset-saved" operation bring back the default (Bug#9509).
14892 (custom-face-state): Properly detect themed faces.
14893
14894 * faces.el (face-spec-set): Stop supporting deprecated form of
14895 third arg.
14896
14897 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
14898
14899 Move functions from C to Lisp. Make non-blocking method calls
14900 the default. Implement further D-Bus standard interfaces.
14901
14902 * net/dbus.el (dbus-message-internal): Declare function.
14903 Remove unneeded function declarations.
14904 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
14905 (dbus-message-type-method-return, dbus-message-type-error)
14906 (dbus-message-type-signal): Declare variables. Remove local
14907 definitions.
14908 (dbus-interface-dbus, dbus-interface-peer)
14909 (dbus-interface-introspectable, dbus-interface-properties)
14910 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
14911 Adapt docstring.
14912 (dbus-interface-objectmanager): New defconst.
14913 (dbus-call-method, dbus-call-method-asynchronously)
14914 (dbus-send-signal, dbus-method-return-internal)
14915 (dbus-method-error-internal, dbus-register-service)
14916 (dbus-register-signal, dbus-register-method): New defuns, moved
14917 from dbusbind.c
14918 (dbus-call-method-handler, dbus-setenv)
14919 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
14920 New defuns.
14921 (dbus-call-method-non-blocking): Make it an obsolete function.
14922 (dbus-unregister-object, dbus-unregister-service)
14923 (dbus-handle-event, dbus-register-property)
14924 (dbus-property-handler): Obey the new structure of
14925 `bus-registered-objects'.
14926 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
14927 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14928 Use `dbus-call-method'.
14929
14930 2012-04-22 Chong Yidong <cyd@gnu.org>
14931
14932 * cus-edit.el (custom-commands, custom-reset-menu)
14933 (Custom-reset-standard): Tweak labels.
14934 (custom-reset-button-menu): Change default to t.
14935 (custom-buffer-create-internal): For the custom-reset-button-menu
14936 case, put the revert button first.
14937 (custom-group-subtitle): New face.
14938 (custom-group-value-create): Align docstring to a specific column.
14939
14940 * wid-edit.el (widget-documentation-link-add): Don't handle
14941 indentation in this function.
14942 (widget-documentation-string-indent-to): New function.
14943 (widget-documentation-string-value-create): Use it.
14944
14945 * autorevert.el (auto-revert):
14946 * epg-config.el (epg):
14947 * ibuffer.el (ibuffer):
14948 * mpc.el (mpc):
14949 * ses.el (ses):
14950 * eshell/eshell.el (eshell):
14951 * net/ange-ftp.el (ange-ftp):
14952 * progmodes/ebnf2ps.el (postscript):
14953 * progmodes/flymake.el (flymake):
14954 * progmodes/prolog.el (prolog):
14955 * progmodes/verilog-mode.el (verilog-mode):
14956 * progmodes/which-func.el (which-func):
14957 * term/xterm.el (xterm):
14958 * textmodes/picture.el (picture):
14959 * textmodes/tildify.el (tildify):
14960 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
14961 customization buffers.
14962
14963 2012-04-22 Alan Mackenzie <acm@muc.de>
14964
14965 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14966 Adding a ) can hide the resulting (..) from searches. Fix it.
14967 Bound the backward search to the position of the existing (.
14968
14969 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
14970
14971 * progmodes/verilog-mode.el (verilog-mode): Check whether
14972 which-func-modes is t before adding verilog-mode.
14973 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
14974
14975 2012-04-21 Leo Liu <sdl.web@gmail.com>
14976
14977 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
14978
14979 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
14980
14981 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
14982 filling of the last column of a table (Bug#5635).
14983 (woman-find-next-control-line): New arg, specifying an additional
14984 regexp component for the control line.
14985 (woman2-roff-buffer): Use it.
14986 (woman-break-table): New function.
14987 (woman2-TS): Use it.
14988
14989 2012-04-21 Chong Yidong <cyd@gnu.org>
14990
14991 * woman.el (woman-set-buffer-display-table, woman-decode-region)
14992 (woman-horizontal-escapes, woman-negative-vertical-space)
14993 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
14994 (WoMan-warn-ignored): Use ?\s instead of ?\ .
14995
14996 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14997
14998 * minibuffer.el (completion-file-name-table): Complete user names.
14999
15000 2012-04-20 Leo Liu <sdl.web@gmail.com>
15001
15002 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
15003 and pcase-let*.
15004
15005 2012-04-20 Chong Yidong <cyd@gnu.org>
15006
15007 * server.el (server-execute): Respect initial-buffer-choice if it
15008 is a string and there are no files to open (Bug#2825).
15009 (server-create-window-system-frame, server-create-tty-frame):
15010 Don't switch buffers here.
15011 (server-process-filter): Only try to open a window system frame if
15012 compiled with graphical support (Bug#8314).
15013
15014 2012-04-20 Dan Nicolaescu <dann@gnu.org>
15015
15016 * battery.el (battery-echo-area-format): Display remaining time
15017 for sysfs backend too (Bug#11269).
15018 (battery-linux-sysfs): Fix conditional for the charge.
15019
15020 2012-04-20 Chong Yidong <cyd@gnu.org>
15021
15022 * progmodes/gdb-mi.el (gdb): Revert previous change.
15023 (gdb-inferior-io--init-proc): New function.
15024 (gdb-init-1): Use it.
15025 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
15026 responsible for allocating a new pty and hooking it to gdb when
15027 the old pty gets an EIO due to process exit.
15028 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
15029 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
15030 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
15031
15032 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15033
15034 * window.el (window-min-size, window-sizable, window-min-delta)
15035 (window-max-delta, window--resizable, window-resizable)
15036 (window-total-size, window-full-height-p, window-full-width-p)
15037 (window-in-direction, window--resize-mini-window, window-resize)
15038 (window--resize-child-windows-normal)
15039 (window--resize-child-windows, window--resize-siblings)
15040 (window--resize-this-window, adjust-window-trailing-edge)
15041 (enlarge-window, shrink-window): Doc fixes.
15042
15043 2012-04-20 Chong Yidong <cyd@gnu.org>
15044
15045 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
15046 New function to call delete-process on the gdb-inferior buffer's pty.
15047 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
15048 pty process (Bug#11273).
15049 (gdb-update): New arg to suppress talking to the gdb process.
15050 (gdb-done-or-error): Use it.
15051 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
15052 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
15053 sentinel not being called.
15054
15055 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
15056
15057 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
15058
15059 2012-04-20 Glenn Morris <rgm@gnu.org>
15060
15061 * net/network-stream.el (open-network-stream): Doc fix.
15062
15063 2012-04-20 Chong Yidong <cyd@gnu.org>
15064
15065 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
15066
15067 2012-04-20 Alan Mackenzie <acm@muc.de>
15068
15069 Ensure searching for keywords is case sensitive.
15070
15071 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
15072 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
15073 (c-defun-name, c-mark-function, c-cpp-define-name)
15074 (c-comment-indent, c-scan-conditionals, c-indent-defun)
15075 (c-context-line-break): Bind case-fold-search to nil.
15076
15077 * progmodes/cc-mode.el (c-font-lock-fontify-region):
15078 Bind case-fold-search to nil.
15079
15080 2012-04-20 Chong Yidong <cyd@gnu.org>
15081
15082 * mail/sendmail.el (mail-bury): Call return action with the right
15083 Rmail buffer (Bug#11242).
15084
15085 * server.el (server-process-filter): Handle corner case where both
15086 tty and nowait options are present (Bug#11102).
15087
15088 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15089
15090 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
15091 (top level): Put into the executable the ident-style '$Id:' tag on
15092 windows-nt as well.
15093
15094 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15095
15096 * electric.el (electric-indent-post-self-insert-function): Check that
15097 electric-indent-mode is enabled in current buffer.
15098
15099 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15100
15101 * imenu.el (imenu-progress-message): Restore; it is "used" in
15102 erc/erc-imenu.el and net/snmp-mode.el.
15103
15104 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15105
15106 * avoid.el (mouse-avoidance-mode): Mark unused arg.
15107 (mouse-avoidance-nudge-mouse): Remove unused binding.
15108
15109 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
15110
15111 * descr-text.el (describe-char):
15112 * progmodes/python.el (python-describe-symbol):
15113 Don't call `toggle-read-only', set `buffer-read-only'.
15114
15115 * imenu.el (imenu-default-goto-function): Mark unused args.
15116 (imenu-progress-message): Remove obsolete macro; all callers changed.
15117
15118 * subr.el (keymap-canonicalize): Remove unused binding.
15119 (read-passwd): Mark unused arg.
15120
15121 * tutorial.el (tutorial--display-changes): Remove unused binding.
15122 (tutorial--save-tutorial-to): Remove unused variable.
15123
15124 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
15125 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
15126 (package-generate-autoloads, package-menu--generate)
15127 (package-menu--find-upgrades): Remove unused bindings.
15128
15129 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
15130 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
15131 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
15132 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
15133 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
15134 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
15135 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
15136 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
15137 (cua-delete-char-rectangle): Mark unused args.
15138 (cua-align-rectangle): Remove unused binding.
15139
15140 * mail/rmail.el (compilation--message->loc)
15141 (epa--find-coding-system-for-mime-charset): Declare.
15142
15143 * net/dbus.el (dbus-register-service): Declare.
15144 (dbus-name-owner-changed-handler): Remove unused binding.
15145
15146 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
15147 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
15148 (nxml-scan-backward-within): Mark unused arg.
15149 (nxml-dynamic-markup-word): Remove unused binding.
15150
15151 * mouse.el (mouse-menu-major-mode-map):
15152 * emacs-lisp/authors.el (authors-scan-change-log)
15153 (authors-add-to-author-list):
15154 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
15155 * emacs-lisp/smie.el (smie-auto-fill):
15156 * mail/sendmail.el (mail-bury):
15157 * mail/unrmail.el (unrmail):
15158 * net/tls.el (open-tls-stream):
15159 * textmodes/picture.el (picture-mouse-set-point):
15160 Remove unused bindings.
15161
15162 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
15163
15164 * net/tramp.el (tramp-action-password): Let-bind
15165 `enable-recursive-minibuffers' to t.
15166
15167 2012-04-18 Sam Steingold <sds@gnu.org>
15168
15169 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
15170 instead of 'string to accommodate values like [f11].
15171 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
15172 * progmodes/gdb-mi.el: Likewise.
15173
15174 2012-04-18 Leo Liu <sdl.web@gmail.com>
15175
15176 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
15177 current buffer.
15178 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
15179 LOCAL is nil.
15180
15181 2012-04-18 Chong Yidong <cyd@gnu.org>
15182
15183 * simple.el (line-move): Use forward-line if in batch mode
15184 (Bug#11053).
15185
15186 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
15187
15188 * files.el (after-find-file): Do not try to add a final newline if
15189 the buffer is read-only (Bug#11156).
15190
15191 2012-04-17 Richard Stallman <rms@gnu.org>
15192
15193 * mail/rmail.el (rmail-start-mail):
15194 Pass (rmail-mail-return...) for the return-action.
15195 Pass (rmail-yank-current-message...) for the yank-action.
15196 (rmail-yank-current-message): New function.
15197 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
15198 (rmail-reply): Likewise.
15199 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
15200
15201 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
15202 buffer, not the last. Reject temp buffers. Use the rmail-mode
15203 buffer, not newbuf.
15204
15205 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
15206
15207 * server.el (server-ensure-safe-dir): Simplify.
15208
15209 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15210
15211 * emacs-lisp/smie.el: Provide smarter auto-filling.
15212 (smie-auto-fill): New function.
15213 (smie-setup): Use it.
15214
15215 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
15216
15217 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
15218
15219 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
15220 (comment-indent): Use it.
15221
15222 2012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
15223
15224 * ses.el: The overall change is to add cell renaming, that is
15225 setting fancy names for cell symbols other than name matching
15226 "\\`[A-Z]+[0-9]+\\'" regexp .
15227 (ses-localvars): Add ses--renamed-cell-symb-list.
15228 (ses-create-cell-variable): New defun.
15229 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
15230 (ses-relocate-formula): Relocate formulas only for cells the
15231 symbols of which are not renamed, i.e. symbols whose names do not
15232 match regexp "\\`[A-Z]+[0-9]+\\'".
15233 (ses-relocate-all): Relocate values only for cells the symbols of
15234 which are not renamed.
15235 (ses-load): Create cells variables as the (ses-cell ...) are read,
15236 in order to check row col consistency with cell symbol name only
15237 for cells that are not renamed.
15238 (ses-replace-name-in-formula): New defun.
15239 (ses-rename-cell): New defun.
15240
15241 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
15242
15243 * progmodes/perl-mode.el (perl-indent-parens-as-block):
15244 New option (bug#11118).
15245 (perl-calculate-indent): Respect it.
15246
15247 2012-04-17 Glenn Morris <rgm@gnu.org>
15248
15249 * dired-aux.el (dired-mark-read-string): Doc fix.
15250
15251 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
15252
15253 * dired-aux.el (dired-mark-read-string): Offer optional completion.
15254 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
15255
15256 2012-04-17 Glenn Morris <rgm@gnu.org>
15257
15258 * mouse.el (mouse-drag-track):
15259 * speedbar.el (speedbar-frame-mode):
15260 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
15261
15262 2012-04-16 Leo Liu <sdl.web@gmail.com>
15263
15264 * progmodes/python.el: Trivial cleanup.
15265
15266 2012-04-16 Glenn Morris <rgm@gnu.org>
15267
15268 * vc/vc.el (vc-string-prefix-p):
15269 * vc/pcvs-util.el (cvs-string-prefix-p):
15270 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
15271 * mpc.el (mpc-string-prefix-p):
15272 Make all of these into obsolete aliases for string-prefix-p.
15273 Update callers.
15274 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
15275
15276 * textmodes/two-column.el: Move custom options to the start.
15277 (frame-width): Remove compat definition.
15278 (2C-associate-buffer, 2C-dissociate):
15279 Use with-current-buffer rather than save-excursion.
15280 (2C-dissociate): Force a mode-line update.
15281 (2C-autoscroll): Use ignore-errors.
15282
15283 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
15284 Autoload trivia.
15285
15286 * emacs-lisp/cl-extra.el (*random-state*):
15287 Remove unnecessary declaration.
15288
15289 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
15290
15291 * play/cookie1.el (cookie-snarf):
15292 Give an explicit error if input file cannot be read.
15293
15294 * play/yow.el (yow-file): Use expand-file-name rather than concat.
15295
15296 * progmodes/perl-mode.el (c-macro-expand):
15297 Remove unnecessary autoload (it is in loaddefs.el).
15298
15299 * textmodes/picture.el (picture-desired-column)
15300 (picture-update-desired-column): Convert comments to doc-strings.
15301 (picture-substitute): Remove function.
15302 (picture-mode-map): Initialize in the defvar.
15303
15304 * woman.el: Remove eval-after-load for tar-mode.
15305 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
15306 (woman-tar-extract-file): Autoload it.
15307
15308 * frame.el (automatic-hscrolling): Make this alias obsolete.
15309
15310 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15311
15312 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
15313 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
15314 (ispell-dictionary-base-alist): Revert to original XEmacs
15315 friendly version for default. [:alpha:] will be added in
15316 `ispell-set-spellchecker-params' if needed.
15317
15318 2012-04-16 Chong Yidong <cyd@gnu.org>
15319
15320 * image.el (imagemagick--file-regexp): New variable.
15321 (imagemagick-register-types): Use it.
15322 (imagemagick-types-inhibit): Add :set function. Allow new value
15323 of t to inhibit all types.
15324
15325 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
15326 so we can preload it.
15327
15328 * loadup.el (fboundp): Preload regexp-opt, needed by
15329 imagemagick-register-types.
15330
15331 2012-04-15 Chong Yidong <cyd@gnu.org>
15332
15333 * frame.el (scrolling): Remove nearly unused customization group.
15334
15335 * scroll-all.el (scroll-all-mode): Move to windows group.
15336
15337 2012-04-15 Chong Yidong <cyd@gnu.org>
15338
15339 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
15340
15341 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15342
15343 Avoid the use of ((lambda ...) ...) in lexical-binding code.
15344 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
15345
15346 2012-04-15 Glenn Morris <rgm@gnu.org>
15347
15348 * simple.el (process-file-side-effects): Doc fix.
15349
15350 2012-04-15 Glenn Morris <rgm@gnu.org>
15351
15352 * international/mule-cmds.el (set-language-environment): Doc fix.
15353
15354 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15355
15356 * server.el (server-auth-key, server-generate-key): Doc fixes.
15357 (server-get-auth-key): Doc fix. Use `string-match-p'.
15358 (server-start): Reflow docstring.
15359
15360 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
15361
15362 * server.el (server-generate-key): `called-interactively-p'
15363 requires a parameter.
15364
15365 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
15366
15367 * server.el (server-auth-key): New variable.
15368 (server-generate-key, server-get-auth-key): New function.
15369 (server-start): Use the new variable and functions to allow
15370 setting a permanent server key (bug#9423).
15371
15372 2012-04-14 Leo Liu <sdl.web@gmail.com>
15373
15374 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
15375
15376 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
15377
15378 Spelling fixes.
15379 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
15380 Emacs uses American spelling.
15381
15382 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15383
15384 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
15385 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
15386 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
15387 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
15388
15389 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15390
15391 * progmodes/which-func.el (which-func-modes): Change default.
15392
15393 2012-04-14 Kim F. Storm <storm@cua.dk>
15394
15395 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
15396 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
15397
15398 2012-04-14 Chong Yidong <cyd@gnu.org>
15399
15400 * custom.el (custom-theme-set-variables): Doc fix.
15401
15402 2012-04-14 Glenn Morris <rgm@gnu.org>
15403
15404 * international/mule.el (set-auto-coding-for-load): Doc fix.
15405
15406 2012-04-14 Alan Mackenzie <acm@muc.de>
15407
15408 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
15409 imenu work again for Objective C Mode. Correct the *-index values,
15410 these having been disturbed by a previous change in 2011-08.
15411
15412 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
15413 Correct two search limits.
15414
15415 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15416
15417 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
15418
15419 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
15420
15421 * international/characters.el: Fix sorting.
15422
15423 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15424
15425 * international/characters.el: Add more missing Latin case pairs.
15426
15427 2012-04-14 Glenn Morris <rgm@gnu.org>
15428
15429 * files.el (dir-locals-set-class-variables): Doc fix.
15430
15431 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15432
15433 * international/characters.el: Add set-case-syntax-pair call for
15434 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
15435 counterpart. (Bug#11209)
15436
15437 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
15438
15439 2012-04-14 Glenn Morris <rgm@gnu.org>
15440
15441 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15442
15443 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15444
15445 * textmodes/ispell.el (ispell-dictionary-base-alist):
15446 Add data for Hebrew.
15447
15448 2012-04-14 Chong Yidong <cyd@gnu.org>
15449
15450 * net/rcirc.el (rcirc-cmd-quit):
15451 Revert 2012-03-18 change (Bug#11192).
15452
15453 2012-04-14 Glenn Morris <rgm@gnu.org>
15454
15455 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
15456
15457 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15458
15459 * minibuffer.el (completion-in-region-mode-map):
15460 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
15461
15462 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
15463
15464 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
15465
15466 2012-04-13 Masatake YAMATO <yamato@redhat.com>
15467
15468 * minibuffer.el (minibuffer-local-filename-syntax): New variable
15469 to allow `C-M-f' and `C-M-b' to move to the nearest path
15470 separator (bug#9511).
15471
15472 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
15473
15474 * avoid.el: Require cl when compiling. And also move the
15475 `provide' to the end.
15476
15477 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15478
15479 * avoid.el (mouse-avoidance-banish-position): New variable.
15480 (mouse-avoidance-banish-destination): Use it (bug#10165).
15481
15482 2012-04-13 Leo Liu <sdl.web@gmail.com>
15483
15484 * progmodes/which-func.el (which-func-modes): Add objc-mode.
15485
15486 2012-04-13 Ken Brown <kbrown@cornell.edu>
15487
15488 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
15489 this is no longer needed now that cygstart understands file:// URLs.
15490 (browse-url-filename-alist): For the same reason, don't modify
15491 file:// URLs on Cygwin.
15492
15493 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
15494
15495 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
15496 the region on shift if the binding is already shifted (bug#11221).
15497
15498 2012-04-12 Glenn Morris <rgm@gnu.org>
15499
15500 * mail/mailpost.el: Move to obsolete/.
15501
15502 2012-04-12 Drew Adams <drew.adams@oracle.com>
15503
15504 * imenu.el (imenu--generic-function): Ignore invisible definitions
15505 (bug#10123).
15506
15507 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
15508
15509 * hexl.el (hexl-bits): New variable.
15510 (hexl-options): Mention the variable in the doc string.
15511 (hexl-rulerise, hexl-line-displen): New functions.
15512 (hexl-mode): Mention the new variable.
15513 (hexl-mode, hexl-current-address, hexl-current-address):
15514 Use the displen.
15515 (hexl-ascii-start-column): New function.
15516 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
15517 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
15518
15519 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15520
15521 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
15522 '("-i" ENCODING), in 2 separate command-line arguments, to specify
15523 the encoding, as expected by hunspell.
15524
15525 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
15526
15527 * battery.el (battery--linux-sysfs-regexp): New const.
15528 (battery-status-function): Use it. Remove yeeloong special case.
15529 (battery-yeeloong-sysfs): Remove.
15530 (battery-echo-area-format): Remove yeeloong special case.
15531
15532 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15533
15534 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
15535 Reported by Noah Friedman.
15536
15537 * subr.el (read-passwd): Use read-string.
15538
15539 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15540
15541 * vcursor.el (vcursor-move): Increase the priority of the overlay
15542 (bug#9663).
15543
15544 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15545
15546 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
15547 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
15548
15549 2012-04-11 William Stevenson <yhvh2000@gmail.com>
15550
15551 * textmodes/artist.el (artist-mode): Convert artist-mode to use
15552 define-minor-mode (bug#10760).
15553
15554 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15555
15556 * progmodes/grep.el (rgrep): Tweak the find command line so
15557 that directories matching `grep-find-ignored-files' won't be
15558 pruned (bug#10351).
15559
15560 2012-04-11 Chong Yidong <cyd@gnu.org>
15561
15562 * startup.el (command-line): Remove support for long-obsolete
15563 variable font-lock-face-attributes.
15564
15565 2012-04-11 Glenn Morris <rgm@gnu.org>
15566
15567 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
15568
15569 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15570
15571 * window.el (window--state-get-1): Obey window-point-insertion-type.
15572
15573 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
15574
15575 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
15576 to previous function when point is on the first character of a
15577 function. Take care of that in `narrow-to-defun' (bug#6157).
15578
15579 2012-04-11 Glenn Morris <rgm@gnu.org>
15580
15581 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
15582 not just file-errors.
15583
15584 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
15585 (vc-bzr-sha1): Use internal sha1.
15586
15587 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15588
15589 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
15590
15591 2012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
15592
15593 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
15594 that start in the middle of the line (bug#10496).
15595
15596 2012-04-10 Dan Nicolaescu <dann@gnu.org>
15597
15598 * battery.el (battery-linux-proc-acpi): Only one battery is
15599 discharged at a time, but that seems to confuse battery.el when
15600 computing `rate-type' for the battery not being discharged
15601 (bug#10332).
15602
15603 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15604
15605 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
15606
15607 * international/quail.el: Use dolist and simplify.
15608 (quail-define-package, quail-update-keyboard-layout)
15609 (quail-define-rules): Use dolist.
15610 (quail-insert-kbd-layout, quail-get-translation): CSE.
15611
15612 * tmm.el: Use dolist, remove left over hook.
15613 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
15614 Use dolist.
15615 (calendar-load-hook): Don't mess with it.
15616
15617 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
15618 Use derived-mode-p. Run the diff asynchronously.
15619
15620 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15621
15622 * obsolete/mouse-sel.el: Add an Obsolete-since header.
15623
15624 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
15625
15626 * misc.el: Display absolute path of loaded DLLs (bug#10424).
15627 (list-dynamic-libraries--loaded): New function.
15628 (list-dynamic-libraries--refresh): Use it.
15629
15630 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
15631
15632 * progmodes/python.el (python-fill-paragraph):
15633 Make python-fill-region in a multiline string work when font-lock is
15634 disabled (bug#7018).
15635
15636 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
15637
15638 * language/european.el (cp775): Add oem/legacy (en)coding on
15639 DOS/MS Windows for the Baltic languages. There are still plenty
15640 of texts written in this encoding/codepage (bug#6519).
15641
15642 2012-04-10 Glenn Morris <rgm@gnu.org>
15643
15644 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
15645 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
15646
15647 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
15648
15649 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
15650 next-line "n" and previous-line "p" in order to make recentf more
15651 consistent with ibuffer, dired or org-mode (bug#9387).
15652
15653 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15654
15655 * image.el (put-image): Return the overlay created instead of the
15656 optional input string (bug#7834). Note that this may break code
15657 that is (for some reason or other) depending on `put-image'
15658 returning the string.
15659
15660 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
15661
15662 * simple.el (zap-to-char): Allow zapping using input methods
15663 (bug#1580).
15664
15665 * textmodes/fill.el (fill-region): Leave point and mark where they
15666 were before filling (bug#5399).
15667
15668 2012-04-09 Glenn Morris <rgm@gnu.org>
15669
15670 * version.el (emacs-bzr-get-version):
15671 Handle lightweight checkouts of local branches.
15672
15673 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
15674
15675 * international/characters.el: Recover lost case pairs. (Bug#11209)
15676
15677 2012-04-09 Chong Yidong <cyd@gnu.org>
15678
15679 * custom.el (custom-variable-p): Return nil for non-symbol
15680 arguments instead of signaling an error.
15681 (user-variable-p): Obsolete alias for custom-variable-p.
15682
15683 * apropos.el (apropos-variable):
15684 * files-x.el (read-file-local-variable):
15685 * simple.el (set-variable):
15686 * woman.el (woman-mini-help):
15687 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
15688
15689 2012-04-09 Glenn Morris <rgm@gnu.org>
15690
15691 * startup.el (normal-top-level): Don't look for leim-list.el
15692 in places where it will not be found. (Bug#910)
15693
15694 * international/mule-cmds.el (set-default-coding-systems):
15695 * files.el (normal-mode):
15696 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
15697 This function was removed with ucs-tables.el in 2008.
15698
15699 2012-04-08 Eli Zaretskii <eliz@gnu.org>
15700
15701 * textmodes/ispell.el (ispell-check-version): For hunspell, set
15702 ispell-encoding8-command to "-i", without a trailing space.
15703 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
15704 separate command-line arguments, to specify the encoding, since
15705 that's how hunspell expects it.
15706
15707 2012-04-08 Glenn Morris <rgm@gnu.org>
15708
15709 * loadup.el: Load bindings before cus-start.
15710 This reduces somewhat the number of "rogue" settings in emacs -Q.
15711
15712 2012-04-07 Glenn Morris <rgm@gnu.org>
15713
15714 * version.el (emacs-bzr-get-version): New function.
15715 (emacs-bzr-version): New variable.
15716 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
15717 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
15718
15719 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15720
15721 * international/uni-bidi.el, international/uni-category.el:
15722 * international/uni-combining.el, international/uni-decimal.el:
15723 * international/uni-decomposition.el, international/uni-digit.el:
15724 * international/uni-lowercase.el, international/uni-mirrored.el:
15725 * international/uni-name.el, international/uni-numeric.el:
15726 * international/uni-titlecase.el, international/uni-uppercase.el:
15727 Update for Unicode 6.1.
15728
15729 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15730
15731 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
15732
15733 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
15734
15735 * window.el (shrink-window): Mention the `window-min-height'
15736 variable in the doc string.
15737
15738 2012-04-05 Bastien Guerry <bzg@altern.org>
15739
15740 * color.el (color-lighten-name): Fix typo.
15741
15742 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15743
15744 * server.el (server--on-display-p): New function.
15745 (server--on-display-p): Use it.
15746
15747 2012-04-04 GĂ¡bor Vida <vidagabor@gmail.com> (tiny change)
15748
15749 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
15750 (bug#11145).
15751
15752 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15753
15754 * comint.el (comint--common-quoted-suffix): Check string boundary
15755 before comparing (bug#11158).
15756 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
15757
15758 2012-04-04 Chong Yidong <cyd@gnu.org>
15759
15760 * minibuffer.el (completion-extra-properties): Doc fix.
15761
15762 * subr.el (delayed-warnings-hook): Doc fix.
15763
15764 2012-04-04 Daiki Ueno <ueno@unixuser.org>
15765
15766 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
15767 selection (Bug#11159).
15768 (epa-insert-keys): Inform that the default public key will be
15769 exported if no key is selected.
15770
15771 2012-04-04 Richard Stallman <rms@gnu.org>
15772
15773 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
15774
15775 2012-04-03 Chong Yidong <cyd@gnu.org>
15776
15777 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
15778 mail-insert-file, not its obsolete alias mail-attach-file.
15779
15780 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
15781
15782 * notifications.el (notifications-notify): Fix docstring.
15783
15784 2012-04-02 Glenn Morris <rgm@gnu.org>
15785
15786 * emacs-lisp/authors.el (authors-aliases): Another addition.
15787
15788 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
15789
15790 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
15791 `tramp-compat-call-process' instead of `tramp-local-call-process'.
15792 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
15793
15794 2012-04-01 Chong Yidong <cyd@gnu.org>
15795
15796 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
15797 Handle root directory properly.
15798 (copy-directory): Caller changed.
15799
15800 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15801 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
15802
15803 2012-03-31 Glenn Morris <rgm@gnu.org>
15804
15805 * term/xterm.el (xterm-extra-capabilities): Doc fix.
15806
15807 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
15808
15809 * calendar/calendar.el (calendar-window-list)
15810 (calendar-hide-window): Restore. (Bug#11140)
15811 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
15812
15813 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
15814
15815 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15816
15817 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15818 Check if file is a symlink (Bug#10489).
15819
15820 * files.el (copy-directory): Likewise.
15821
15822 2012-03-30 Chong Yidong <cyd@gnu.org>
15823
15824 * image.el (imagemagick-types-inhibit)
15825 (imagemagick-register-types): Doc fix.
15826
15827 2012-03-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15828
15829 * textmodes/ispell.el (ispell-get-extended-character-mode):
15830 Disable extended-char-mode for hunspell. hunspell does not support it
15831 and treats ~word as ordinary words in pipe mode.
15832
15833 2012-03-30 Glenn Morris <rgm@gnu.org>
15834
15835 * tutorial.el (help-with-tutorial): Ensure local variables don't
15836 happen to make the buffer read-only. (Bug#11127)
15837
15838 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15839
15840 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
15841 (perl-calculate-indent): Return `noindent' in strings.
15842
15843 2012-03-28 Sam Steingold <sds@gnu.org>
15844
15845 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
15846 instead of the broken adhockery which does not prevent calendar
15847 buffers from being displayed at random after exit.
15848 (calendar-window-list, calendar-hide-window): Remove the broken
15849 adhockery.
15850
15851 2012-03-28 Glenn Morris <rgm@gnu.org>
15852
15853 * replace.el (query-replace-map): Doc fix.
15854
15855 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
15856
15857 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
15858 contents. (Bug#11109)
15859
15860 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15861
15862 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
15863 (bug#11077).
15864 (avl-tree--check, avl-tree--check-node): New funs.
15865
15866 2012-03-27 Martin Rudalics <rudalics@gmx.at>
15867
15868 * window.el (switch-to-visible-buffer): New option.
15869 (switch-to-prev-buffer, switch-to-next-buffer):
15870 Observe switch-to-visible-buffer. Make sure that checking for a window
15871 showing a buffer already is done on the same frame.
15872
15873 2012-03-27 Glenn Morris <rgm@gnu.org>
15874
15875 * startup.el (mail-host-address): Doc fix.
15876
15877 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15878
15879 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
15880 than 197 variables.
15881
15882 2012-03-26 Ami Fischman <ami@fischman.org>
15883
15884 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
15885
15886 2012-03-26 Glenn Morris <rgm@gnu.org>
15887
15888 * files.el (save-buffers-kill-emacs): Doc fix.
15889
15890 * startup.el (normal-top-level, command-line, command-line-1):
15891 Give them doc strings.
15892
15893 2012-03-25 Eli Zaretskii <eliz@gnu.org>
15894
15895 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
15896 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
15897
15898 2012-03-25 Chong Yidong <cyd@gnu.org>
15899
15900 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
15901 theme if it was previously enabled before (Bug#11031).
15902
15903 * cus-theme.el (custom-theme-write-faces): Retrieve current face
15904 spec with custom-face-get-current-spec if its :shown-value is not
15905 determined yet (Bug#9337).
15906 (customize-create-theme, custom-theme-revert): Doc fixes.
15907
15908 * button.el (button-at): Minor addition to docstring.
15909
15910 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
15911
15912 * vc/vc.el (vc-merge): Fix a prompt.
15913
15914 2012-03-24 Chong Yidong <cyd@gnu.org>
15915
15916 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
15917 point (Bug#9623).
15918
15919 * button.el (button-at): Minor addition to docstring.
15920
15921 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
15922
15923 * newcomment.el (comment-choose-indent): No space after BOL.
15924
15925 2012-03-22 Sam Steingold <sds@gnu.org>
15926
15927 * window.el (switch-to-prev-buffer): Revert last patch because the
15928 bug turned out to be an advertised feature (Elisp manual 28.14).
15929
15930 2012-03-22 Glenn Morris <rgm@gnu.org>
15931
15932 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
15933 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
15934
15935 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15936
15937 * net/network-stream.el (network-stream-open-starttls): Make error
15938 message under Windows be less misleading.
15939
15940 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
15941
15942 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
15943 understands (bug#9942).
15944
15945 2012-03-22 Chong Yidong <cyd@gnu.org>
15946
15947 * simple.el (end-of-visible-line): Handle return value of
15948 next-single-property-change properly (Bug#9371).
15949
15950 2012-03-22 Kenichi Handa <handa@m17n.org>
15951
15952 * international/quail.el (quail-insert-kbd-layout): Fix previous
15953 change. To avoid unwanted bidi reordering, use
15954 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
15955
15956 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
15957
15958 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
15959 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
15960 (ruby-beginning-of-indent): Be more careful with the difference
15961 between word-boundary and symbol boundary.
15962 (ruby-mode-syntax-table): Make : a symbol constituent.
15963
15964 2012-03-21 Andreas Politz <politza@fh-trier.de>
15965
15966 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
15967
15968 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15969
15970 * progmodes/etags.el (tags-completion-at-point-function):
15971 Improve last fix.
15972
15973 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
15974
15975 2012-03-21 Sam Steingold <sds@gnu.org>
15976
15977 * progmodes/etags.el (tags-completion-at-point-function):
15978 Avoid the error when point is inside the pattern.
15979
15980 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
15981
15982 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
15983 line (Bug#10855).
15984
15985 2012-03-21 Drew Adams <drew.adams@oracle.com>
15986
15987 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
15988
15989 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
15990
15991 * ido.el (ido-set-current-directory, ido-read-internal)
15992 (ido-choose-completion-string, ido-completion-help): Handle nil
15993 value of ido-completion-buffer (Bug#11008).
15994
15995 2012-03-21 Sam Steingold <sds@gnu.org>
15996
15997 * window.el (switch-to-prev-buffer): Do not switch to a visible
15998 window previous buffer, just like with the frame previous buffers.
15999
16000 2012-03-21 Chong Yidong <cyd@gnu.org>
16001
16002 * faces.el (make-face, make-empty-face, copy-face):
16003 * face-remap.el (face-remap-add-relative, face-remap-set-base):
16004 Doc fixes.
16005
16006 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16007
16008 * wid-edit.el (widget-complete-field): Remove (bug#11051).
16009 (widget-complete): Remove broken use of it.
16010
16011 2012-03-20 Chong Yidong <cyd@gnu.org>
16012
16013 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16014 Use string-width and truncate-string-width to handle arbitrary
16015 characters.
16016
16017 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
16018
16019 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
16020 to draw rectangles, not squares. (Regression introduced by revno
16021 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
16022
16023 2012-03-18 Chong Yidong <cyd@gnu.org>
16024
16025 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
16026 it is not yet defined (for temacs).
16027
16028 2012-03-18 Leo Liu <sdl.web@gmail.com>
16029
16030 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
16031 prefix.
16032
16033 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16034
16035 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
16036 (ispell-choices-win-default-height, ispell-silently-savep)
16037 (ispell-dictionary-alist, ispell-encoding8-command)
16038 (ispell-check-version, ispell-aspell-find-dictionary)
16039 (ispell-valid-dictionary-list, ispell-words-keyword)
16040 (ispell-get-word, ispell-internal-change-dictionary)
16041 (ispell-region, ispell-skip-region-list)
16042 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
16043 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
16044 (ispell-message-text-end, ispell-message)
16045 (ispell-buffer-local-parsing): Doc fix.
16046
16047 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
16048
16049 * htmlfontify.el: Add support for code block fontification for ODT
16050 export (Bug #9914).
16051 (hfy-optimisations): Define new option
16052 `body-text-only'
16053 (hfy-fontify-buffer): Honor above setting.
16054 (hfy-begin-span, hfy-end-span): New routines factored out form
16055 `hfy-fontify-buffer'.
16056 (hfy-begin-span-handler, hfy-end-span-handler): New variables
16057 that permit insertion of custom tags.
16058 (hfy-fontify-buffer): Use above handlers.
16059 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
16060 (hfy-face-to-css): Re-defined to be a variable.
16061 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
16062 over multiple runs. This is made possible by having the caller let
16063 bind a special variable `hfy-user-sheet-assoc'.
16064 (htmlfontify-string): New defun.
16065 (hfy-compile-face-map): Make sure that the last char in the
16066 buffer is correctly fontified.
16067 (hfy-face-resolve-face): Whitespace only change.
16068
16069 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16070
16071 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
16072 message more clear.
16073
16074 2012-03-16 Leo Liu <sdl.web@gmail.com>
16075
16076 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
16077
16078 2012-03-16 Alan Mackenzie <acm@muc.de>
16079
16080 Further optimize the handling of large macros.
16081
16082 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
16083 limit to a call of `c-literal-limits'.
16084 (c-determine-+ve-limit): New function.
16085 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
16086 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
16087 In CASE 5B, restrict a search limit to 500.
16088 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
16089
16090 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
16091 Restrict macro bounds to +-500 from after-change's BEG END.
16092
16093 2012-03-16 Leo Liu <sdl.web@gmail.com>
16094
16095 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
16096
16097 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
16098
16099 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
16100 `special-mode' setting of `buffer-read-only'. (Bug#11010)
16101
16102 2012-03-16 Glenn Morris <rgm@gnu.org>
16103
16104 * view.el (view-buffer, view-buffer-other-window)
16105 (view-buffer-other-frame): Doc fixes re special mode-class.
16106
16107 * subr.el (eval-after-load): If named feature is provided not from
16108 a file, run after-load forms. (Bug#10946)
16109
16110 * calendar/calendar.el (calendar-insert-at-column):
16111 Handle non-unit-width characters a bit better. (Bug#10978)
16112
16113 2012-03-15 Chong Yidong <cyd@gnu.org>
16114
16115 * emacs-lisp/ring.el (ring-extend): New function.
16116 (ring-insert+extend): Extend the ring correctly (Bug#11019).
16117
16118 * comint.el (comint-read-input-ring)
16119 (comint-add-to-input-history): Grow comint-input-ring lazily.
16120
16121 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16122
16123 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
16124 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
16125
16126 * imenu.el: Fix multiple inheritance breakage (bug#9199).
16127 (imenu-add-to-menubar): Don't add a redundant index.
16128 (imenu-update-menubar): Handle a dynamically composed keymap.
16129
16130 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
16131
16132 * mail/sendmail.el (mail-encode-header):
16133 Bind rfc2047-encode-encoded-words to nil.
16134
16135 2012-03-13 Glenn Morris <rgm@gnu.org>
16136
16137 * calendar/calendar.el (calendar-string-spread):
16138 Handle non-unit-width characters a bit better. (Bug#10978)
16139
16140 2012-03-13 Leo Liu <sdl.web@gmail.com>
16141
16142 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
16143 directory and file as argument (Bug#10822).
16144
16145 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16146
16147 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
16148 For dynamically generated code, follow $PC.
16149 (gdb-disassembly-handler-custom): Handle no function name case.
16150
16151 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
16152
16153 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
16154 * emulation/ws-mode.el (ws-query-replace):
16155 * sort.el (sort-regexp-fields):
16156 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
16157
16158 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16159
16160 * dabbrev.el: Fix cycle completion order (bug#10963).
16161 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
16162 (dabbrev-completion): Don't use an obarray; provide
16163 a cycle-sort-function.
16164
16165 2012-03-12 Leo Liu <sdl.web@gmail.com>
16166
16167 * simple.el (kill-new): Use equal-including-properties for comparison.
16168 (kill-do-not-save-duplicates): Doc fix.
16169
16170 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16171
16172 * dabbrev.el: Fix cycle completion (bug#10963).
16173 Use lexical binding and wrap to 80 columns.
16174 (dabbrev-completion): Delay computing the list of completions.
16175
16176 2012-03-12 Kenichi Handa <handa@m17n.org>
16177
16178 * international/quail.el (quail-insert-kbd-layout): Surround each
16179 row by LRO and PDF instead of inserting many LRMs. Pad the left
16180 and right of each non-spacing marks. Insert invisible space
16181 between lower and upper characters to prevent composition.
16182
16183 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16184
16185 * minibuffer.el (minibuffer-complete): Don't get confused when the
16186 function is run twice via different commands (bug#10958).
16187 (complete-with-action): Fix docstring.
16188
16189 2012-03-12 Chong Yidong <cyd@gnu.org>
16190
16191 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
16192 (nxml-completion-at-point-function): New function.
16193 (nxml-mode): Use it.
16194 (nxml-bind-meta-tab-to-complete-flag): Default to t.
16195
16196 * emacs-lisp/package.el (package-unpack, package-unpack-single):
16197 Load generated autoloads file before byte compiling (Bug#10970).
16198 (package--make-autoloads-and-compile): New helper fun.
16199
16200 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
16201
16202 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
16203
16204 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
16205
16206 * autorevert.el (auto-revert-handler): Ensure, that
16207 file-readable-p is applied only for local files or in
16208 auto-revert-tail-mode.
16209
16210 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
16211
16212 * server.el (server-eval-at): Handle non-tcp connections.
16213 Decode result string.
16214
16215 * server.el (server-msg-size): New constant.
16216 (server-reply-print): New function.
16217 (server-eval-and-print): Use it.
16218 (server-eval-at): Use server-quote-arg and server-unquote-arg.
16219 Handle -print-nonl.
16220
16221 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
16222
16223 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
16224 (Bug#10987).
16225
16226 2012-03-11 Chong Yidong <cyd@gnu.org>
16227
16228 * simple.el (goto-line): Doc fix (Bug#9938).
16229
16230 * subr.el (save-window-excursion): Doc fix (Bug#9979).
16231
16232 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
16233 when finished (Bug#10963).
16234
16235 2012-03-11 Martin Rudalics <rudalics@gmx.at>
16236
16237 * window.el (split-window-below): Fix bug in case where
16238 split-window-keep-point is nil (Bug#10971).
16239
16240 2012-03-11 Juri Linkov <juri@jurta.org>
16241
16242 * replace.el (replace-highlight): Set isearch-word to nil
16243 unconditionally. (Bug#10887)
16244
16245 2012-03-10 Eli Zaretskii <eliz@gnu.org>
16246
16247 * net/mairix.el (mairix-replace-invalid-chars): Rename from
16248 mairix-replace-illegal-chars; all callers changed. Don't remove
16249 ^, ~, and = characters: they are meaningful in mairix search specs.
16250 (mairix-widget-create-query): Add usage information about mairix
16251 search forms: negating words, searching for substrings, etc.
16252
16253 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
16254
16255 * international/fontset.el (font-encoding-alist): Add an entry for
16256 ksx1001 (Bug#5667).
16257
16258 2012-03-10 Richard Stallman <rms@gnu.org>
16259
16260 * mail/sendmail.el (mail-encode-header):
16261 Set rfc2047-encode-encoded-words.
16262
16263 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
16264
16265 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
16266 view buffer means not swapped.
16267 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
16268 (rmail-write-region-annotate): Error if real text has disappeared.
16269
16270 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
16271
16272 2012-03-10 Chong Yidong <cyd@gnu.org>
16273
16274 * emulation/cua-rect.el (cua--init-rectangles):
16275 * emulation/cua-base.el (cua--init-keymaps):
16276 Add delete-forward-char to remappings (Bug#9666).
16277
16278 2012-03-10 Martin Rudalics <rudalics@gmx.at>
16279
16280 * speedbar.el (speedbar-unhighlight-one-tag-line):
16281 Avoid unhighlighting due to frame switching (Bug#10275).
16282
16283 2012-03-10 Chong Yidong <cyd@gnu.org>
16284
16285 * minibuffer.el (completion-in-region, completion-help-at-point):
16286 Give the completion field overlay a high priority (Bug#6830).
16287
16288 * dired.el (dired-goto-file): Recognize absolute file name
16289 listings (Bug#7126).
16290 (dired-goto-file-1): New helper function.
16291 (dired-toggle-read-only): Inhibit warnings.
16292
16293 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
16294
16295 * net/dbus.el (dbus-property-handler): Return empty array if
16296 there are no properties.
16297
16298 2012-03-09 Leo Liu <sdl.web@gmail.com>
16299
16300 * savehist.el (savehist-printable): Stricter check for string
16301 value (Bug#10937).
16302
16303 2012-03-09 Eli Zaretskii <eliz@gnu.org>
16304
16305 * mail/smtpmail.el (smtpmail-send-it):
16306 Bind coding-system-for-write to *-unix, so that FCC files are kept in
16307 valid mbox format.
16308
16309 2012-03-09 Glenn Morris <rgm@gnu.org>
16310
16311 * files.el (dir-locals-find-file):
16312 Don't check result is regular, readable.
16313 (dir-locals-read-from-file): Demote errors.
16314
16315 2012-03-08 Eli Zaretskii <eliz@gnu.org>
16316
16317 * international/quail.el (quail-insert-kbd-layout):
16318 Insert invisible LRM characters before each character in a keyboard
16319 layout cell, to prevent their reordering by bidi display engine.
16320 For details, see the discussion in
16321 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
16322
16323 2012-03-08 Alan Mackenzie <acm@muc.de>
16324
16325 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
16326 the starting position; make it extend the marked region when
16327 invoked repeatedly - all under appropriate circumstances.
16328 Fixes bugs #5525, #10906.
16329
16330 2012-03-08 Glenn Morris <rgm@gnu.org>
16331
16332 * files.el (locate-dominating-file, dir-locals-find-file):
16333 Undo 2012-03-06 change.
16334
16335 2012-03-07 Eli Zaretskii <eliz@gnu.org>
16336
16337 * international/quail.el (quail-help):
16338 Force bidi-paragraph-direction be left-to-right. See discussion in
16339 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
16340 for the reason.
16341
16342 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
16343
16344 Avoid superfluous registering of signals. (Bug#10807)
16345
16346 * notifications.el (notifications-on-action-object)
16347 (notifications-on-close-object): New defvars.
16348 (notifications-on-action-signal, notifications-on-closed-signal):
16349 Unregister the signal if not needed any longer.
16350 (notifications-notify): Register `notifications-action-signal' or
16351 `notifications-closed-signal', if :on-action or :on-close has been
16352 passed as argument.
16353
16354 2012-03-07 Chong Yidong <cyd@gnu.org>
16355
16356 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
16357 non-X platforms.
16358
16359 2012-03-06 Glenn Morris <rgm@gnu.org>
16360
16361 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16362 (x-disown-selection-internal, x-get-selection-internal):
16363 Doc fix (add arglist signatures). (Bug#10783)
16364
16365 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16366
16367 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16368 Handle breakpoints with no "type".
16369
16370 2012-03-06 Glenn Morris <rgm@gnu.org>
16371
16372 * files.el (locate-dominating-file): Add optional predicate argument.
16373 (dir-locals-find-file): Make use of above change.
16374
16375 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
16376
16377 * info.el (Info-insert-dir): Also try "dir.gz".
16378
16379 2012-03-06 Glenn Morris <rgm@gnu.org>
16380
16381 * files.el (dir-locals-find-file):
16382 Ignore non-readable or non-regular files. (Bug#10928)
16383
16384 * files.el (locate-dominating-file): Doc fix.
16385
16386 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
16387
16388 * calendar/calendar.el (calendar-set-mode-line):
16389 `getenv' returns a string. (Bug#10951)
16390
16391 2012-03-05 Leo Liu <sdl.web@gmail.com>
16392
16393 * simple.el (backward-delete-char-untabify): Constrain point to
16394 field (Bug#10939).
16395
16396 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
16397
16398 2012-03-05 Chong Yidong <cyd@gnu.org>
16399
16400 * simple.el (count-words): If called from Lisp, return the word
16401 count, for symmetry with `count-lines'. Arglist changed.
16402 (count-words--message): Args changed. Consolidate counting code
16403 from count-words and count-words-region.
16404 (count-words-region): Caller changed.
16405 (count-lines-region): Make it an obsolete alias.
16406
16407 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
16408
16409 * saveplace.el (save-place-to-alist)
16410 (save-place-ignore-files-regexp): Allow value nil to disable this
16411 feature.
16412
16413 2012-03-04 Chong Yidong <cyd@gnu.org>
16414
16415 * faces.el (face-spec-reset-face): For the default face, reset the
16416 attributes to default values (Bug#10748).
16417
16418 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16419
16420 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
16421 previous patch: Check `message-send-mail-function', and not the
16422 default function (bug#10897).
16423
16424 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
16425
16426 * notifications.el (notifications-on-action-signal)
16427 (notifications-on-closed-signal): Check for unique service name of
16428 incoming event. Fix error in removing entry.
16429 (top): Register for signals with wildcard service name.
16430 (notifications-notify): Use daemon unique service name for map entries.
16431
16432 2012-03-04 Chong Yidong <cyd@gnu.org>
16433
16434 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
16435
16436 2012-03-04 Glenn Morris <rgm@gnu.org>
16437
16438 * abbrev.el (copy-abbrev-table, abbrev-table-p)
16439 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
16440 (expand-abbrev, define-abbrev-table): Doc fixes.
16441
16442 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16443
16444 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
16445 `message-default-send-mail-function' and not `send-mail-function'
16446 when doing the prompting for `sendmail-query-once' before sending
16447 in Message buffers (bug#10897).
16448
16449 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
16450 This is inconsistent with all the other stream functions, which leave
16451 the setting up to the higher levels (if so wanted) (bug#10931).
16452
16453 2012-03-02 Alan Mackenzie <acm@muc.de>
16454
16455 Depessimize the handling of very large macros.
16456
16457 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
16458 (c-macro-cache-syntactic): New variables to implement a one
16459 element macro cache.
16460 (c-invalidate-macro-cache): New function.
16461 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
16462 Adapt to use the new cache.
16463 (c-state-safe-place): Use better the cache of safe positions.
16464 (c-state-semi-nonlit-pos-cache)
16465 (c-state-semi-nonlit-pos-cache-limit):
16466 New variables for...
16467 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
16468 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
16469 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
16470 Use c-state-semi-safe-place.
16471
16472 * progmodes/cc-langs.el (c-get-state-before-change-functions):
16473 Add c-invalidate-macro-cache to the C, C++, Obj entries.
16474
16475 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
16476
16477 * jka-compr.el (jka-compr-call-process):
16478 Apply `file-accessible-directory-p' only when the default directory is
16479 not remote.
16480
16481 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
16482
16483 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
16484 access of FILE2, if FILE1 does not exist.
16485
16486 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
16487 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
16488
16489 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
16490 Add "PAGER=" to `process-environment'.
16491
16492 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
16493
16494 * progmodes/sql.el: Bug fix
16495 (sql-get-login-ext): Save login values in globals.
16496 (sql-get-login): Use new version of `sql-get-login-ext'.
16497 (sql-interactive-mode): Set global `sql-connection' to nil.
16498 (sql-connect): Set global values for connection.
16499 (sql-product-interactive): Save global values as buffer local.
16500
16501 2012-02-29 Leo Liu <sdl.web@gmail.com>
16502
16503 * abbrev.el (define-abbrevs): Reset sys to nil.
16504
16505 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16506
16507 * files.el (file-equal-p): Rename from `files-equal-p'.
16508 Return nil when one or both files don't exist.
16509 (file-subdir-of-p): Now only top directory must exists,
16510 return nil if it doesn't.
16511 (copy-directory): No need to test with `file-subdir-of-p' after
16512 creating dir.
16513 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
16514 to `file-equal-p'.
16515
16516 2012-02-28 Glenn Morris <rgm@gnu.org>
16517
16518 * shell.el (shell-mode):
16519 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
16520 * play/landmark.el (landmark-font-lock-face-O):
16521 * play/handwrite.el (handwrite):
16522 * play/gomoku.el (gomoku-O):
16523 * net/browse-url.el (browse-url-browser-display):
16524 * international/mule.el (define-charset):
16525 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
16526 * filesets.el (filesets-find-file-delay):
16527 * eshell/em-xtra.el (eshell-xtra):
16528 * eshell/em-unix.el (eshell-grep):
16529 * emulation/viper.el (viper-mode):
16530 * emacs-lisp/regexp-opt.el (regexp-opt-group):
16531 * emacs-lisp/easymenu.el (easy-menu-define):
16532 * calendar/timeclock.el (timeclock-use-display-time):
16533 * bs.el (bs-mode):
16534 * bookmark.el (bookmark-save-flag):
16535 Doc fix (standardize possessive apostrophe usage).
16536
16537 2012-02-27 Chong Yidong <cyd@gnu.org>
16538
16539 * emulation/viper-cmd.el (viper-intercept-ESC-key):
16540 Fix key-binding lookup for ESC key (Bug#9146).
16541
16542 * font-lock.el (font-lock-specified-p): Rename from
16543 font-lock-spec-present. Callers changed.
16544
16545 2012-02-27 Daniel Hackney <dan@haxney.org>
16546
16547 * emacs-lisp/package.el (package-compute-transaction):
16548 Handle holding a package version to t in package-load-list.
16549
16550 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
16551
16552 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
16553 (tramp-get-inode, tramp-get-device): Use cached values.
16554
16555 2012-02-26 Alan Mackenzie <acm@muc.de>
16556
16557 Check there is a font-lock specification before doing initial
16558 fontification.
16559
16560 * font-core.el (font-lock-mode): Move the conditional from
16561 :after-hook to font-lock-initial-fontify.
16562 (font-lock-default-function): Move the check for a specification
16563 to font-lock-spec-present.
16564
16565 * font-lock.el (font-lock-initial-fontify): Call ...
16566 (font-lock-spec-present): New function.
16567
16568 2012-02-26 Jim Blandy <jimb@red-bean.com>
16569
16570 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
16571 (gdb-send): Apply it to the operand of the '-interpreter-exec
16572 console' command, so that we can pass arguments with (say) quotes
16573 in them. Store exact string sent in gdb-debug-log (Bug#10765).
16574
16575 2012-02-26 Chong Yidong <cyd@gnu.org>
16576
16577 * help-fns.el (describe-function-1): Clarify description of
16578 remapping (Bug#10844).
16579
16580 * files.el (files-equal-p): Doc fix.
16581 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
16582 and quit the loop once a mismatch is found.
16583
16584 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
16585
16586 * bs.el (bs--show-with-configuration): Don't throw an error
16587 if the window cannot be split; otherwise, subsequent calls to
16588 bs-show fail, restoring a stale window config. (Bug#10882)
16589
16590 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
16591
16592 * term/ns-win.el (global-map): Bind ns-drag-file to
16593 ns-find-file (Bug#5855, Bug#10050).
16594
16595 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
16596
16597 * calendar/parse-time.el (parse-time-string): Allow extractor to
16598 return nil.
16599
16600 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
16601
16602 * net/tramp.el (tramp-file-name-for-operation):
16603 Add `files-equal-p' and `file-subdir-of-p'.
16604
16605 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16606 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16607 Add COPY-CONTENTS argument.
16608
16609 2012-02-25 Chong Yidong <cyd@gnu.org>
16610
16611 Add custom groups for VC backends, for consistency with vc-bzr.
16612
16613 * vc/vc-arch.el (vc-arch):
16614 * vc/vc-cvs.el (vc-cvs):
16615 * vc/vc-git.el (vc-git):
16616 * vc/vc-hg.el (vc-hg):
16617 * vc/vc-mtn.el (vc-mtn):
16618 * vc/vc-rcs.el (vc-rcs):
16619 * vc/vc-sccs.el (vc-sccs):
16620 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
16621 All relevant defcustoms reassigned.
16622
16623 2012-02-25 Chong Yidong <cyd@gnu.org>
16624
16625 * newcomment.el (comment-styles): Add autoload (Bug#10868).
16626
16627 * term/x-win.el (x-initialize-window-system): Reduce default for
16628 x-selection-timeout to 5 seconds (Bug#8869).
16629
16630 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16631
16632 * files.el (files-equal-p, file-subdir-of-p): New functions.
16633 (copy-directory): Error when trying to copy a directory on itself.
16634 Add missing copy-contents arg to tramp handler.
16635 * dired-aux.el (dired-copy-file-recursive): Same.
16636 (dired-create-files): Modify destination when source is equal to
16637 dest when copying files.
16638 Return also when dest is a subdir of source. (Bug#10489)
16639
16640 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
16641
16642 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
16643 (Bug#10874)
16644
16645 2012-02-23 Alan Mackenzie <acm@muc.de>
16646
16647 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
16648 parameter "after-hook:" to allow the expansion to run code after
16649 the execution of the mode hooks.
16650
16651 * font-lock.el (font-lock-initial-fontify): New function extracted
16652 from font-lock-mode-internal.
16653
16654 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
16655 :after-hook.
16656
16657 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16658
16659 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
16660 (completion--cache-all-sorted-completions): New function.
16661 (completion-all-sorted-completions): Use it.
16662 (completion--do-completion, minibuffer-force-complete):
16663 Use it to re-instate the flush hook.
16664
16665 * icomplete.el (icomplete-completions): Replace last fix with a better
16666 one (bug#10850).
16667
16668 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
16669
16670 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
16671 when it might call us back infinitely (bug#10797).
16672
16673 2012-02-23 Glenn Morris <rgm@gnu.org>
16674
16675 * minibuffer.el (completion-category-overrides): Doc fix.
16676
16677 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16678
16679 * minibuffer.el (completion-table-with-context): Fix inf-loop.
16680 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
16681
16682 2012-02-23 Glenn Morris <rgm@gnu.org>
16683
16684 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
16685 (authors-obsolete-files-regexps, authors-ignored-files)
16686 (authors-ambiguous-files, authors-renamed-files-alist):
16687 Add more entries.
16688
16689 2012-02-23 Juri Linkov <juri@jurta.org>
16690
16691 * isearch.el (isearch-occur): Sync interactive spec with occur's
16692 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
16693
16694 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
16695
16696 2012-02-22 Juri Linkov <juri@jurta.org>
16697
16698 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
16699 (ucs-insert): Doc fix. Check for hex digits in the string.
16700 Don't display `nil' in the error message. (Bug#10857)
16701
16702 2012-02-22 Alan Mackenzie <acm@muc.de>
16703
16704 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
16705
16706 2012-02-22 Glenn Morris <rgm@gnu.org>
16707
16708 * ffap.el (ffap-c-path):
16709 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
16710
16711 2012-02-22 Chong Yidong <cyd@gnu.org>
16712
16713 * custom.el (load-theme): Doc fix.
16714
16715 2012-02-22 Glenn Morris <rgm@gnu.org>
16716
16717 * dired-x.el (dired-guess-shell-alist-default):
16718 Remove escape sequences from nroff output. (Bug#172)
16719
16720 2012-02-21 Glenn Morris <rgm@gnu.org>
16721
16722 * vc/emerge.el (emerge-defvar-local):
16723 Set `permanent-local' property rather than unused `preserved'.
16724
16725 * textmodes/picture.el (picture-delete-char): New alias.
16726 (picture-mode-map): Use it. (Bug#10860)
16727 (picture-mode): Doc fix.
16728
16729 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
16730
16731 * newcomment.el (uncomment-region-default): Remove unused binding.
16732
16733 2012-02-21 Glenn Morris <rgm@gnu.org>
16734
16735 * textmodes/picture.el (picture-motion, picture-motion-reverse)
16736 (picture-self-insert, picture-tab-chars): Doc fix.
16737 (picture-mode-map): Fix C-a, C-e.
16738
16739 2012-02-20 Glenn Morris <rgm@gnu.org>
16740
16741 * emacs-lisp/authors.el (authors-aliases): Add another entry.
16742
16743 2012-02-20 Leo Liu <sdl.web@gmail.com>
16744
16745 * icomplete.el (icomplete-completions): Check FROM arg before
16746 passing to substring (Bug#10850).
16747
16748 2012-02-19 Chong Yidong <cyd@gnu.org>
16749
16750 * comint.el: Require ansi-color.
16751 (comint-output-filter-functions): Add ansi-color-process-output.
16752
16753 * ansi-color.el: Don't set comint-output-filter-functions; it is
16754 now in the initial value defined in comint.el.
16755 (ansi-color-apply-face-function): New variable.
16756 (ansi-color-apply-on-region): Use it.
16757 (ansi-color-apply-overlay-face): New function.
16758
16759 * shell.el (shell): No need to require ansi-color.
16760 (shell-mode): Use ansi-color-apply-face-function to highlight
16761 color escapes using font-lock-face property (Bug#10835).
16762
16763 2012-02-19 Chong Yidong <cyd@gnu.org>
16764
16765 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
16766 mode-line formats (Bug#10839).
16767
16768 2012-02-18 Glenn Morris <rgm@gnu.org>
16769
16770 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
16771
16772 * mail/undigest.el (unforward-rmail-message): Doc fix.
16773
16774 * saveplace.el (save-place-ignore-files-regexp): Add :version.
16775
16776 2012-02-18 Eli Zaretskii <eliz@gnu.org>
16777
16778 * international/characters.el (script-list): Sync with the latest
16779 Unicode Character Database.
16780
16781 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
16782
16783 * international/titdic-cnv.el: Remove duplicate coding tag.
16784 * language/cham.el: Likewise.
16785 * language/tai-viet.el: Likewise.
16786
16787 2012-02-18 Glenn Morris <rgm@gnu.org>
16788
16789 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
16790 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
16791 (calendar-bahai-all-holidays-flag, calendar-other-dates):
16792 * calendar/diary-lib.el (diary-abbreviated-year-flag):
16793 * calendar/holidays.el (holiday-bahai-holidays)
16794 (calendar-holidays, list-holidays):
16795 Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
16796
16797 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
16798
16799 * saveplace.el (save-place-ignore-files-regexp): New variable
16800 allowing for excluding files from saving their location of point.
16801 The default value matches the temporary commit message editing
16802 files from Git, SVN, Bazaar, and Mercurial.
16803 (save-place-to-alist): Use it.
16804
16805 2012-02-17 Lawrence Mitchell <wence@gmx.li>
16806 Stefan Monnier <monnier@iro.umontreal.ca>
16807
16808 * newcomment.el (uncomment-region-default): Don't leave extra space
16809 when an arg is provided (bug#8150).
16810
16811 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
16812
16813 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
16814
16815 2012-02-17 Glenn Morris <rgm@gnu.org>
16816
16817 * net/socks.el: Require network-stream. (Bug#10599)
16818
16819 2012-02-17 Kenichi Handa <handa@m17n.org>
16820
16821 * international/charprop.el:
16822 * international/uni-name.el:
16823 * international/uni-old-name.el:
16824 * international/uni-comment.el: Regenerate.
16825
16826 2012-02-16 Glenn Morris <rgm@gnu.org>
16827
16828 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
16829 Interactively in calendar buffer, give an error if not on a date.
16830
16831 2012-02-15 Glenn Morris <rgm@gnu.org>
16832
16833 * shell.el (shell-delimiter-argument-list):
16834 Revert 2011-02-17 change. (Bug#8027)
16835
16836 2012-02-15 Chong Yidong <cyd@gnu.org>
16837
16838 * minibuffer.el (completion-at-point-functions): Doc fix.
16839
16840 * custom.el (defcustom): Doc fix; note use of defvar.
16841
16842 2012-02-15 Glenn Morris <rgm@gnu.org>
16843
16844 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
16845 Doc fixes.
16846
16847 2012-02-14 Glenn Morris <rgm@gnu.org>
16848
16849 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
16850
16851 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
16852
16853 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
16854 way the ports list is computed.
16855 (smtpmail-query-smtp-server): Prompt the user for a port number if
16856 we can't connect to any of the standard ports (bug#10810).
16857
16858 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
16859
16860 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
16861
16862 2012-02-13 Glenn Morris <rgm@gnu.org>
16863
16864 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
16865
16866 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
16867
16868 * net/gnutls.el (gnutls-trustfiles): New variable.
16869 (gnutls-negotiate): Use it.
16870
16871 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
16872
16873 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
16874 does its stuff if Gnus is running.
16875
16876 2012-02-13 Alan Mackenzie <acm@muc.de>
16877
16878 Fix a loop in c-set-fl-decl-start.
16879
16880 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
16881 c-backward-syntactic-ws actually moves backwards.
16882
16883 2012-02-13 Leo Liu <sdl.web@gmail.com>
16884
16885 * net/rcirc.el (rcirc-markup-attributes): Move point to the
16886 beginning so that all \C-o chars are removed.
16887
16888 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
16889
16890 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
16891
16892 2012-02-12 Alan Mackenzie <acm@muc.de>
16893
16894 Fix infinite loop with long macros.
16895 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
16896
16897 2012-02-12 Chong Yidong <cyd@gnu.org>
16898
16899 * window.el (display-buffer): Doc fix (Bug#10785).
16900
16901 2012-02-12 Glenn Morris <rgm@gnu.org>
16902
16903 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16904 (x-disown-selection-internal, x-get-selection-internal):
16905 Sync docs with the xselect.c versions.
16906
16907 * allout-widgets.el: Add missing license notice.
16908
16909 2012-02-11 Glenn Morris <rgm@gnu.org>
16910
16911 * select.el (x-get-selection-internal, x-own-selection-internal)
16912 (x-disown-selection-internal):
16913 * x-dnd.el (x-get-selection-internal): Update declarations.
16914
16915 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
16916
16917 * window.el (window-sides-slots):
16918 * tool-bar.el (tool-bar-position):
16919 * term/xterm.el (xterm-extra-capabilities):
16920 * ses.el (ses-self-reference-early-detection):
16921 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
16922 (verilog-auto-wire-type)
16923 (verilog-auto-delete-trailing-whitespace)
16924 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
16925 (verilog-auto-tieoff-declaration):
16926 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
16927 (sql-oracle-statement-starters, sql-oracle-scan-on):
16928 * progmodes/prolog.el (prolog-align-comments-flag)
16929 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
16930 (prolog-left-indent-regexp, prolog-paren-indent-p)
16931 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
16932 (prolog-types, prolog-mode-specificators)
16933 (prolog-determinism-specificators, prolog-directives)
16934 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
16935 (prolog-electric-dot-flag)
16936 (prolog-electric-dot-full-predicate-template)
16937 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
16938 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
16939 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
16940 (prolog-program-switches, prolog-prompt-regexp)
16941 (prolog-debug-on-string, prolog-debug-off-string)
16942 (prolog-trace-on-string, prolog-trace-off-string)
16943 (prolog-zip-on-string, prolog-zip-off-string)
16944 (prolog-use-standard-consult-compile-method-flag)
16945 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
16946 (prolog-imenu-max-lines, prolog-info-predicate-index)
16947 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
16948 (prolog-char-quote-workaround):
16949 * progmodes/cc-vars.el (c-defun-tactic):
16950 * net/tramp.el (tramp-encoding-command-interactive)
16951 (tramp-local-end-of-line):
16952 * net/soap-client.el (soap-client):
16953 * net/netrc.el (netrc-file):
16954 * net/gnutls.el (gnutls):
16955 * minibuffer.el (completion-category-overrides)
16956 (completion-cycle-threshold)
16957 (completion-pcm-complete-word-inserts-delimiters):
16958 * man.el (Man-name-local-regexp):
16959 * mail/feedmail.el (feedmail-display-full-frame):
16960 * international/characters.el (glyphless-char-display-control):
16961 * eshell/em-ls.el (eshell-ls-date-format):
16962 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
16963 (lisp-lambda-list-keyword-parameter-indentation)
16964 (lisp-lambda-list-keyword-parameter-alignment):
16965 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
16966 * dired-x.el (dired-omit-verbose):
16967 * cus-theme.el (custom-theme-allow-multiple-selections):
16968 * calc/calc.el (calc-highlight-selections-with-faces)
16969 (calc-lu-field-reference, calc-lu-power-reference)
16970 (calc-note-threshold):
16971 * battery.el (battery-mode-line-limit):
16972 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
16973 (archive-7z-update):
16974 * allout.el (allout-prefixed-keybindings)
16975 (allout-unprefixed-keybindings)
16976 (allout-inhibit-auto-fill-on-headline)
16977 (allout-flattened-numbering-abbreviation):
16978 * allout-widgets.el (allout-widgets-auto-activation)
16979 (allout-widgets-icons-dark-subdir)
16980 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
16981 (allout-widgets-theme-dark-background)
16982 (allout-widgets-theme-light-background)
16983 (allout-widgets-item-image-properties-emacs)
16984 (allout-widgets-item-image-properties-xemacs)
16985 (allout-widgets-run-unit-tests-on-load)
16986 (allout-widgets-time-decoration-activity)
16987 (allout-widgets-hook-error-post-time)
16988 (allout-widgets-track-decoration):
16989 Add missing :version tags to new defcustoms and defgroups.
16990
16991 * progmodes/sql.el (sql-ansi-statement-starters)
16992 (sql-oracle-statement-starters): Add custom type.
16993
16994 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
16995 (prolog-system-version): Give it a type.
16996
16997 2012-02-11 Eli Zaretskii <eliz@gnu.org>
16998
16999 * term/pc-win.el (x-select-text, x-selection-owner-p)
17000 (x-own-selection-internal, x-disown-selection-internal)
17001 (x-get-selection-internal): Sync doc strings and argument lists
17002 with xselect.c, common-win.el and x-win.el. (Bug#10783)
17003
17004 2012-02-11 Leo Liu <sdl.web@gmail.com>
17005
17006 * progmodes/python.el (python-end-of-statement): Fix infinite
17007 loop. (Bug#10788)
17008
17009 2012-02-10 Glenn Morris <rgm@gnu.org>
17010
17011 * international/mule-cmds.el (unify-8859-on-encoding-mode)
17012 (unify-8859-on-decoding-mode): Properly mark as obsolete.
17013
17014 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
17015
17016 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
17017 about SMTP before checking the From header.
17018
17019 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
17020 into own function for reuse by emacsbug.el.
17021
17022 2012-02-10 Leo Liu <sdl.web@gmail.com>
17023
17024 * subr.el (condition-case-unless-debug): Rename from
17025 condition-case-no-debug. All callers changed.
17026 (with-demoted-errors): Fix caller.
17027
17028 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
17029 * nxml/rng-valid.el (rng-do-some-validation):
17030 * emacs-lisp/package.el (package-refresh-contents)
17031 (package-menu-execute):
17032 * desktop.el (desktop-create-buffer):
17033 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
17034
17035 2012-02-10 Glenn Morris <rgm@gnu.org>
17036
17037 * textmodes/bibtex.el:
17038 Add missing :version tags for new/changed defcustoms.
17039
17040 * files.el (remote-file-name-inhibit-cache): Doc fixes.
17041
17042 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
17043
17044 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
17045 (smtpmail-via-smtp): Use it, or fall back on the From address.
17046 (smtpmail-send-it): Ditto.
17047
17048 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
17049
17050 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
17051 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
17052 (byte-compile-tmp-var): New const.
17053 (byte-compile-defvar): Use it to minimize .elc size.
17054 Just use `defvar' rather than simulate it (bug#10761).
17055
17056 2012-02-09 Glenn Morris <rgm@gnu.org>
17057
17058 * files.el (rename-uniquely): Doc fix. (Bug#3806)
17059
17060 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
17061 Add :version tags.
17062
17063 * progmodes/compile.el (compilation-error-screen-columns)
17064 (compilation-first-column, compilation-filter-start): Doc fixes.
17065
17066 * vc/log-view.el (log-view-toggle-entry-display):
17067 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
17068
17069 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
17070 (report-emacs-bug-can-use-xdg-email):
17071 (report-emacs-bug-insert-to-mailer): Doc fixes.
17072 (report-emacs-bug): Message fix.
17073
17074 * net/browse-url.el (browse-url-can-use-xdg-open)
17075 (browse-url-xdg-open): Doc fixes.
17076
17077 * electric.el (electric-indent-mode, electric-pair-mode)
17078 (electric-layout-rules, electric-layout-mode): Doc fixes.
17079 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
17080
17081 2012-02-08 Martin Rudalics <rudalics@gmx.at>
17082
17083 * server.el (server-unselect-display): Don't inadvertently kill
17084 the current buffer. (Bug#10729)
17085
17086 2012-02-08 Glenn Morris <rgm@gnu.org>
17087
17088 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
17089 (sql-list-table): Doc fixes.
17090
17091 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
17092 Comment out (does nothing).
17093
17094 * completion.el (dynamic-completion-mode):
17095 * dirtrack.el (dirtrack-debug-mode):
17096 * electric.el (electric-layout-mode):
17097 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
17098 * face-remap.el (text-scale-mode, buffer-face-mode):
17099 * iimage.el (iimage-mode):
17100 * image-mode.el (image-transform-mode):
17101 * minibuffer.el (completion-in-region-mode):
17102 * scroll-lock.el (scroll-lock-mode):
17103 * simple.el (next-error-follow-minor-mode):
17104 * tar-mode.el (tar-subfile-mode):
17105 * tooltip.el (tooltip-mode):
17106 * vcursor.el (vcursor-use-vcursor-map):
17107 * wid-browse.el (widget-minor-mode):
17108 * emulation/tpu-edt.el (tpu-edt-mode):
17109 * emulation/tpu-extras.el (tpu-cursor-free-mode):
17110 * international/iso-ascii.el (iso-ascii-mode):
17111 * language/thai-util.el (thai-word-mode):
17112 * mail/supercite.el (sc-minor-mode):
17113 * net/goto-addr.el (goto-address-mode):
17114 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
17115 * progmodes/cwarn.el (cwarn-mode):
17116 * progmodes/flymake.el (flymake-mode):
17117 * progmodes/glasses.el (glasses-mode):
17118 * progmodes/hideshow.el (hs-minor-mode):
17119 * progmodes/pascal.el (pascal-outline-mode):
17120 * textmodes/enriched.el (enriched-mode):
17121 * vc/smerge-mode.el (smerge-mode):
17122 Doc fixes (minor mode argument).
17123
17124 2012-02-07 Eli Zaretskii <eliz@gnu.org>
17125
17126 * ls-lisp.el (ls-lisp-sanitize): New function.
17127 (ls-lisp-insert-directory): Use it to fix or remove any elements
17128 in file-alist with missing attributes. (Bug#4673)
17129
17130 2012-02-07 Alan Mackenzie <acm@muc.de>
17131
17132 Fix spurious recognition of c-in-knr-argdecl.
17133
17134 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
17135 putative K&R region.
17136
17137 2012-02-07 Alan Mackenzie <acm@muc.de>
17138
17139 * progmodes/cc-engine.el (c-forward-objc-directive):
17140 Prevent looping in "#pragma mark @implementation".
17141
17142 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
17143
17144 * notifications.el (notifications-on-closed-signal): Make `reason'
17145 optional. (Bug#10744)
17146
17147 2012-02-07 Glenn Morris <rgm@gnu.org>
17148
17149 * emacs-lisp/easy-mmode.el (define-minor-mode):
17150 Doc fixes for the macro and the mode it defines.
17151
17152 * image.el (imagemagick-types-inhibit): Doc fix.
17153
17154 * cus-start.el (imagemagick-render-type): Add it.
17155
17156 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
17157
17158 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
17159 Set the default at load time, too, so that `font-lock-fontify-buffer'
17160 can be called without setting up the entire mode first. This fixes
17161 a bug in `mm-inline-text' with C MIME parts.
17162
17163 2012-02-06 Chong Yidong <cyd@gnu.org>
17164
17165 * simple.el (list-processes--refresh): Delete exited processes
17166 (Bug#8094).
17167
17168 * comint.el (comint-next-prompt): next-single-char-property-change
17169 and prev-single-char-property-change never return nil (Bug#8657).
17170
17171 * custom.el (defcustom): Doc fix (Bug#9711).
17172
17173 2012-02-05 Chong Yidong <cyd@gnu.org>
17174
17175 * cus-edit.el (custom-variable-reset-backup): Quote the value
17176 before storing it in the customized-value property (Bug#6712).
17177 (custom-display): Add a customization type tag.
17178 (custom-buffer-create-internal): Improve tooltip message.
17179
17180 * wid-edit.el (widget-field-value-get): New optional arg to
17181 suppress trailing whitespace truncation.
17182 (character): Use it (Bug#2689).
17183
17184 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
17185
17186 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
17187 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
17188
17189 2012-02-05 Chong Yidong <cyd@gnu.org>
17190
17191 * cus-edit.el (custom-variable-value-create): For mismatched
17192 types, show the current value (Bug#7600).
17193
17194 * custom.el (defcustom): Doc fix.
17195
17196 2012-02-05 Glenn Morris <rgm@gnu.org>
17197
17198 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
17199
17200 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
17201
17202 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
17203 (pp-buffer): Use `ignore-errors', `looking-at-p'.
17204 (pp-last-sexp): Use `looking-at-p'.
17205
17206 2012-02-04 Glenn Morris <rgm@gnu.org>
17207
17208 * files.el (revert-buffer):
17209 Doc fix (mention revert-buffer-in-progress-p).
17210
17211 * emacs-lisp/ert-x.el (ert-simulate-command):
17212 Check deferred-action-list (which is obsolete) is bound.
17213
17214 * subr.el (with-wrapper-hook): Doc fixes.
17215
17216 * simple.el (filter-buffer-substring-functions)
17217 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
17218
17219 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
17220
17221 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
17222 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
17223
17224 2012-02-04 Leo Liu <sdl.web@gmail.com>
17225
17226 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
17227
17228 2012-02-04 Glenn Morris <rgm@gnu.org>
17229
17230 * image.el (image-extension-data): Add obsolete alias.
17231
17232 * isearch.el (isearch-update): Doc fix.
17233
17234 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
17235
17236 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
17237
17238 2012-02-03 Glenn Morris <rgm@gnu.org>
17239
17240 * image.el (image-animated-p): Doc fix. Use image-animated-types.
17241 (image-animate-timeout): Doc fix.
17242
17243 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
17244
17245 2012-02-02 Glenn Morris <rgm@gnu.org>
17246
17247 * server.el (server-auth-dir): Doc fix.
17248 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
17249
17250 * subr.el (run-mode-hooks): Doc fix.
17251
17252 2012-02-02 Juri Linkov <juri@jurta.org>
17253
17254 * image-mode.el (image-toggle-display-image): Remove tautological
17255 `major-mode' from the `derived-mode-p' test.
17256
17257 2012-02-02 Kenichi Handa <handa@m17n.org>
17258
17259 * composite.el (compose-region): Cancel previous change.
17260
17261 2012-02-02 Kenichi Handa <handa@m17n.org>
17262
17263 * composite.el (compose-region, compose-string): Signal error for
17264 a null string component (Bug#6988).
17265
17266 2012-02-01 Chong Yidong <cyd@gnu.org>
17267
17268 * view.el (view-buffer-other-window, view-buffer-other-frame):
17269 Handle special modes like view-buffer (Bug#10650).
17270 (view-buffer): Simplify.
17271
17272 * frame.el (set-frame-font): Tweak meaning of third argument.
17273
17274 * dynamic-setting.el (font-setting-change-default-font):
17275 Use set-frame-font (Bug#9982).
17276
17277 2012-02-01 Glenn Morris <rgm@gnu.org>
17278
17279 * progmodes/compile.el (compilation-internal-error-properties):
17280 Respect compilation-first-column in the "*compilation*" buffer.
17281
17282 * emacs-lisp/easy-mmode.el (define-minor-mode):
17283 Relax :variable's test for a named function.
17284
17285 2012-01-31 Alan Mackenzie <acm@muc.de>
17286
17287 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
17288 off by one error.
17289
17290 2012-01-31 Chong Yidong <cyd@gnu.org>
17291
17292 * frame.el (set-frame-font): New arg ALL-FRAMES.
17293
17294 * menu-bar.el (menu-set-font): Use set-frame-font.
17295
17296 * faces.el (face-spec-reset-face): Don't apply unspecified
17297 attribute values to the default face.
17298
17299 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
17300
17301 * progmodes/cwarn.el (cwarn): Remove dead link.
17302 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
17303 Remove * from defcustom docstrings.
17304 (turn-on-cwarn-mode): Make obsolete.
17305 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
17306 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
17307
17308 2012-01-31 Glenn Morris <rgm@gnu.org>
17309
17310 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
17311 Fix :variable handling of mode a symbol not equal to modefun.
17312 Allow named functions to be used as the cdr of :variable.
17313
17314 2012-01-30 Glenn Morris <rgm@gnu.org>
17315
17316 * emacs-lisp/authors.el (authors-fixed-entries):
17317 Remove reference to deleted file rnewspost.el.
17318
17319 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
17320
17321 * window.el (window-with-parameter): Remove unused variable `windows'.
17322 (window--side-check): Remove unused variable `code'.
17323 (window--resize-siblings): Remove unused variable `first'.
17324 (adjust-window-trailing-edge): Remove unused variable `failed'.
17325 (window-deletable-p, window--delete): Remove unused variable `buffer'.
17326 Use `let', not `let*'.
17327 (balance-windows-2): Remove unused variable `found'.
17328 (window--state-put-2): Remove unused variable `splits'.
17329 (window-state-put): Remove unused variable `selected'.
17330 (same-window-p): Use `string-match-p'.
17331 (display-buffer-assq-regexp): Remove unused variable `value'.
17332 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17333 Mark argument ALIST as ignored.
17334 (pop-to-buffer): Remove unused variable `old-window'.
17335
17336 2012-01-29 Eli Zaretskii <eliz@gnu.org>
17337
17338 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
17339 and .lzma compressed files.
17340
17341 2012-01-29 Chong Yidong <cyd@gnu.org>
17342
17343 * frame.el (window-system-default-frame-alist): Doc fix.
17344
17345 * dynamic-setting.el (font-setting-change-default-font): Don't
17346 change the default face if SET-FONT argument is non-nil (Bug#9982).
17347
17348 2012-01-29 Samuel Bronson <naesten@gmail.com>
17349
17350 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
17351
17352 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
17353
17354 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
17355 breakpoints in files outside current directory (Bug#6098).
17356
17357 2012-01-29 Chong Yidong <cyd@gnu.org>
17358
17359 * progmodes/python.el: Require ansi-color at top-level.
17360
17361 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
17362 Define and use in Emacs Lisp mode (Bug#9360).
17363 (lisp-mode-abbrev-table): Add doc.
17364 (lisp-mode-variables): Don't set local-abbrev-table.
17365 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
17366
17367 2012-01-28 Roland Winkler <winkler@gnu.org>
17368
17369 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
17370
17371 2012-01-28 Roland Winkler <winkler@gnu.org>
17372
17373 * textmodes/bibtex.el (bibtex-entry-alist): New function.
17374 (bibtex-set-dialect): Use it. Either set global values of
17375 dialect-dependent variables or bind these variables buffer-locally
17376 (Bug#10254).
17377 (bibtex-mode): Call bibtex-set-dialect via
17378 hack-local-variables-hook.
17379 (bibtex-dialect): Update docstring.
17380 Add safe-local-variable predicate.
17381 (bibtex-entry-alist, bibtex-field-alist): Initialize via
17382 bibtex-set-dialect.
17383 (bibtex-mode-map): Define menu for each dialect.
17384 (bibtex-entry): Fix docstring.
17385
17386 2012-01-28 Chong Yidong <cyd@gnu.org>
17387
17388 * eshell/esh-arg.el (eshell-quote-argument): New function.
17389
17390 * eshell/esh-ext.el (eshell-invoke-batch-file):
17391 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
17392 first arg to eshell-parse-command (Bug#10523).
17393
17394 2012-01-28 Drew Adams <drew.adams@oracle.com>
17395
17396 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
17397 `default-directory' is non-nil.
17398
17399 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17400
17401 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
17402 line that displays system-configuration-options. (Bug#9924)
17403
17404 2012-01-28 Drew Adams <drew.adams@oracle.com>
17405
17406 * descr-text.el (describe-char): Show information about POS, in
17407 addition to information about the character at POS. Improve and
17408 update the doc string. Change "code point" to "code point in
17409 charset", to avoid confusion with the character's Unicode code
17410 point shown above that. (Bug#10129)
17411
17412 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17413
17414 * descr-text.el (describe-char): Show the raw character, not only
17415 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
17416 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
17417 for the reasons.
17418
17419 2012-01-28 Phil Hagelberg <phil@hagelb.org>
17420
17421 * emacs-lisp/package.el (package-install):
17422 Run package-refresh-contents if there is no archive yet (Bug#9798).
17423
17424 2012-01-28 Chong Yidong <cyd@gnu.org>
17425
17426 * emacs-lisp/package.el (package-maybe-load-descriptor):
17427 New function, split from package-maybe-load-descriptor.
17428 (package-maybe-load-descriptor): Use it.
17429 (package-download-transaction): Fully load required packages
17430 inside the loop, so that `require' calls work (Bug#10593).
17431 (package-install): No need to call package-initialize now.
17432
17433 2012-01-28 Chong Yidong <cyd@gnu.org>
17434
17435 * simple.el (deactivate-mark): Doc fix (Bug#8614).
17436
17437 * tooltip.el (tooltip-mode): Doc fix.
17438 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
17439
17440 * frame.el (set-cursor-color): Doc fix (Bug#352).
17441
17442 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
17443 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
17444
17445 * cus-edit.el (custom-buffer-create-internal): Fix search button
17446 action (Bug#10542).
17447 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
17448
17449 2012-01-27 Eduard Wiebe <usenet@pusto.de>
17450
17451 * dired.el (dired-mark-files-regexp):
17452 Include any subdirectory components. (Bug#10445)
17453
17454 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
17455
17456 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
17457 Handle [host]:port syntax. (Bug#10533)
17458
17459 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
17460
17461 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
17462
17463 2012-01-26 Glenn Morris <rgm@gnu.org>
17464
17465 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
17466 * term.el (term-raw-escape-map): Use Control-X-prefix.
17467 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
17468
17469 2012-01-25 Martin Rudalics <rudalics@gmx.at>
17470
17471 * window.el (window-state-get, window--state-get-1): Don't deal
17472 with fixed-sizeness of windows. Simplify code.
17473
17474 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
17475
17476 * window.el (window--state-get-1, window--state-put-2):
17477 Don't save and restore the mark.
17478
17479 2012-01-25 Chong Yidong <cyd@gnu.org>
17480
17481 * custom.el (custom-variable-p): Doc fix.
17482
17483 2012-01-25 Glenn Morris <rgm@gnu.org>
17484
17485 * dired.el (dired-goto-file): Handle some of the more common
17486 characters that `ls -b' escapes. (Bug#10596)
17487
17488 * progmodes/compile.el (compilation-next-error-function):
17489 Respect compilation-first-column in the "*compilation*" buffer.
17490 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
17491
17492 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
17493
17494 2012-01-24 Glenn Morris <rgm@gnu.org>
17495
17496 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
17497
17498 2012-01-24 Julien Danjou <julien@danjou.info>
17499
17500 * color.el (color-rgb-to-hsl): Fix value computing.
17501 (color-hue-to-rgb): New function.
17502 (color-hsl-to-rgb): New function.
17503 (color-clamp, color-saturate-hsl, color-saturate-name)
17504 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
17505 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
17506
17507 2012-01-24 Glenn Morris <rgm@gnu.org>
17508
17509 * vc/vc-rcs.el (vc-rcs-create-tag):
17510 * vc/vc-sccs.el (vc-sccs-create-tag):
17511 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
17512
17513 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
17514
17515 * eshell/esh-util.el (eshell-read-hosts-file):
17516 Skip comment lines. (Bug#10549)
17517
17518 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
17519
17520 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
17521
17522 * subr.el (display-delayed-warnings): Doc fix.
17523 (collapse-delayed-warnings): New function to collapse identical
17524 adjacent warnings.
17525 (delayed-warnings-hook): Add it.
17526
17527 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
17528
17529 * net/tramp.el (tramp-action-login): Set connection property "login-as".
17530
17531 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
17532 (tramp-default-user-alist): Don't add "pscp".
17533 (tramp-do-copy-or-rename-file-out-of-band): Use connection
17534 property "login-as", if set. (Bug#10530)
17535
17536 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
17537
17538 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
17539 "plink1" and "psftp". (Bug#10530)
17540
17541 2012-01-21 Kenichi Handa <handa@m17n.org>
17542
17543 * international/mule-cmds.el (prefer-coding-system): Show a
17544 warning message if the default value of file-name-coding-system
17545 was not changed.
17546
17547 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17548
17549 * windmove.el (windmove-reference-loc):
17550 Fix windmove-reference-loc miscalculation.
17551
17552 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
17553
17554 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
17555 default unit.
17556
17557 2012-01-21 Glenn Morris <rgm@gnu.org>
17558
17559 * international/mule.el (auto-coding-alist): Add .tbz.
17560
17561 * files.el (local-enable-local-variables): Doc fix.
17562 (inhibit-local-variables-regexps): Rename from
17563 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
17564 Doc fix. Add some extensions from auto-coding-alist.
17565 (inhibit-local-variables-suffixes):
17566 Rename from inhibit-first-line-modes-suffixes. Doc fix.
17567 (inhibit-local-variables-p):
17568 New function, extracted from set-auto-mode-1.
17569 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
17570 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
17571 (hack-local-variables): Doc fix. Make the mode-only case
17572 respect enable-local-variables and friends.
17573 Respect inhibit-local-variables-regexps for file-locals, but
17574 not for directory-locals.
17575 (set-visited-file-name):
17576 Take account of inhibit-local-variables-regexps.
17577 Whether it applies may change as the file name is changed.
17578 * jka-cmpr-hook.el (jka-compr-install):
17579 * jka-compr.el (jka-compr-uninstall):
17580 Update for inhibit-first-line-modes-suffixes name change.
17581
17582 2012-01-20 Martin Rudalics <rudalics@gmx.at>
17583
17584 * help-macro.el (make-help-screen): Temporarily restore original
17585 binding for minor-mode-map-alist (Bug#10454).
17586
17587 2012-01-19 Julien Danjou <julien@danjou.info>
17588
17589 * color.el (color-name-to-rgb): Use the white color to find the max
17590 color component value and return correctly computed values.
17591 (color-name-to-rgb): Add missing float conversion for max value.
17592
17593 2012-01-19 Martin Rudalics <rudalics@gmx.at>
17594
17595 * window.el (window--state-get-1, window-state-get): Do not use
17596 special state value for window-persistent-parameters.
17597 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
17598 (window--state-put-2): Reset all window parameters to nil before
17599 assigning values of persistent parameters.
17600
17601 2012-01-18 Alan Mackenzie <acm@muc.de>
17602
17603 Eliminate sluggishness and hangs in fontification of "semicolon
17604 deserts".
17605
17606 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
17607 Change value 10000 -> 3000.
17608 (c-state-safe-place): Reformulate so it doesn't stack up an
17609 infinite number of wrong entries in c-state-nonlit-pos-cache.
17610 (c-determine-limit-get-base, c-determine-limit): New functions to
17611 determine backward search limits disregarding literals.
17612 (c-find-decl-spots): Amend commenting.
17613 (c-cheap-inside-bracelist-p): New function which detects "={".
17614
17615 * progmodes/cc-fonts.el
17616 (c-make-font-lock-BO-decl-search-function): Give a limit to a
17617 backward search.
17618 (c-font-lock-declarations): Fix an occurrence of point being
17619 undefined. Check additionally for point being in a bracelist or
17620 near a macro invocation without a semicolon so as to avoid a
17621 fruitless time consuming search for a declarator. Give a more
17622 precise search limit for declarators using the new
17623 c-determine-limit.
17624
17625 2012-01-18 Glenn Morris <rgm@gnu.org>
17626
17627 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
17628 (set-auto-mode): Doc fixes.
17629
17630 2012-01-17 Glenn Morris <rgm@gnu.org>
17631
17632 * isearch.el (search-nonincremental-instead): Fix doc typo.
17633
17634 * dired.el (dired-insert-directory): Handle newlines in directory name.
17635 (dired-build-subdir-alist): Unescape newlines in directory name.
17636
17637 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
17638
17639 * net/tramp.el (tramp-local-end-of-line): New defcustom.
17640 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
17641 (tramp-action-terminal): Use it. (Bug#10530)
17642
17643 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
17644
17645 * minibuffer.el (completion--replace): Strip properties (bug#10062).
17646
17647 2012-01-16 Martin Rudalics <rudalics@gmx.at>
17648
17649 * window.el (window-state-ignored-parameters): Remove variable.
17650 (window--state-get-1): Rename argument MARKERS to IGNORE.
17651 Handle persistent window parameters. Make copy of clone-of
17652 parameter only if requested. (Bug#10348)
17653 (window--state-put-2): Install a window parameter only if it has
17654 a non-nil value or an existing parameter shall be overwritten.
17655
17656 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
17657
17658 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
17659
17660 2012-01-14 Eli Zaretskii <eliz@gnu.org>
17661
17662 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
17663 don't pass the (nil) value of `upnode' to string-match.
17664
17665 2012-01-14 Chong Yidong <cyd@gnu.org>
17666
17667 * startup.el (command-line): Fix X resource class for cursorColor.
17668 Fix values recognized by the cursorBlink resource.
17669
17670 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
17671
17672 * epg.el (epg--make-temp-file): Avoid permission race condition
17673 when running on old Emacs versions (bug#10403).
17674
17675 2012-01-14 Glenn Morris <rgm@gnu.org>
17676
17677 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
17678
17679 2012-01-13 Alan Mackenzie <acm@muc.de>
17680
17681 Fix filling for when filladapt mode is enabled.
17682
17683 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
17684 c-mask-paragraph, pass in `fill-paragraph' rather than
17685 `fill-region-as-paragraph'. (This is a reversion of a previous
17686 change.)
17687 * progmodes/cc-mode.el (c-basic-common-init):
17688 Make fill-paragraph-handle-comment buffer local and set it to nil.
17689
17690 2012-01-13 Glenn Morris <rgm@gnu.org>
17691
17692 * dired.el (dired-switches-escape-p): New function.
17693 (dired-insert-directory): Use dired-switches-escape-p.
17694 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
17695
17696 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
17697
17698 2012-01-12 Glenn Morris <rgm@gnu.org>
17699
17700 * mail/sendmail.el (mail-mode): Update paragraph-separate for
17701 changes in adaptive-fill-regexp. (Bug#10276)
17702
17703 2012-01-11 Alan Mackenzie <acm@muc.de>
17704
17705 Fix Emacs bug #10463 - put `widen's around the critical spots.
17706
17707 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
17708 widen around each invocation of c-state-pp-to-literal. Remove an
17709 unused let variable.
17710
17711 2012-01-11 Glenn Morris <rgm@gnu.org>
17712
17713 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
17714 Doc fix.
17715
17716 2012-01-10 Chong Yidong <cyd@gnu.org>
17717
17718 * net/network-stream.el (network-stream-open-starttls):
17719 Avoid emitting a confusing error message when the server gives a bad
17720 response to the capability command.
17721
17722 2012-01-10 Glenn Morris <rgm@gnu.org>
17723
17724 * mail/unrmail.el (unrmail): Tweak previous change.
17725
17726 2012-01-09 Chong Yidong <cyd@gnu.org>
17727
17728 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
17729
17730 2012-01-08 Alan Mackenzie <acm@muc.de>
17731
17732 Optimize font locking in long enum definitions.
17733
17734 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
17735 arm to a cond form to handle enums.
17736 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
17737 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
17738
17739 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
17740
17741 * files.el (move-file-to-trash): Preserve default file modes on error.
17742 (Bug#10401)
17743
17744 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17745
17746 * faces.el (set-face-attribute): Clarify the meaning of the nil
17747 frame (bug#10294).
17748
17749 * subr.el (with-selected-frame): Mention that the selected frame
17750 is restored (bug#9980).
17751
17752 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
17753 (bug#9759).
17754
17755 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
17756 (password-read): Don't autoload unused function.
17757
17758 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
17759
17760 * progmodes/which-func.el (which-func-mode): Turn into a
17761 non-interactive function and mark as obsolete (bug#10428).
17762
17763 2012-01-06 Chong Yidong <cyd@gnu.org>
17764
17765 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
17766 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
17767 functions, along with 1 and -1.
17768
17769 2012-01-06 Eli Zaretskii <eliz@gnu.org>
17770
17771 * time.el (display-time-load-average)
17772 (display-time-default-load-average): Doc fixes. See the thread
17773 starting at
17774 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
17775 for the details.
17776
17777 2012-01-06 Glenn Morris <rgm@gnu.org>
17778
17779 * mail/unrmail.el (unrmail): Give an explicit error if the input file
17780 has no messages. (Bug#10377)
17781
17782 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
17783 than Info-edit. (Bug#10385)
17784
17785 * time.el (display-time-load-average, display-time-next-load-average):
17786 Doc fixes.
17787
17788 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
17789 local setting of buffer-read-only to the input buffer. (Bug#10419)
17790
17791 * calendar/calendar.el (calendar-mode):
17792 Locally set scroll-margin to 0. (Bug#10379)
17793
17794 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
17795
17796 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
17797
17798 2012-01-05 Glenn Morris <rgm@gnu.org>
17799
17800 * eshell/em-unix.el (diff-no-select): Autoload it.
17801 (eshell/diff): Use diff-no-select. (Bug#10420)
17802
17803 2012-01-05 Chong Yidong <cyd@gnu.org>
17804
17805 * shell.el (shell-dynamic-complete-functions): Revert last change.
17806 (shell-command-completion-function): New function.
17807 (shell-completion-vars): Use it to implement
17808 shell-completion-execonly (Bug#10417).
17809
17810 * custom.el (enable-theme): Don't set custom-safe-themes.
17811
17812 * cus-theme.el (custom-theme-merge-theme):
17813 Ignore custom-enabled-themes and custom-safe-themes.
17814
17815 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
17816
17817 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
17818 first prompt in `sql-interacive-mode'.
17819 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
17820 keywords.
17821 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
17822 (sql-product-interactive): Bug fix: Set `sql-buffer' in
17823 context of original buffer. Invoke `sql-login-hook'.
17824
17825 2012-01-04 Eli Zaretskii <eliz@gnu.org>
17826
17827 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
17828 letters in cite-prefix.
17829
17830 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17831
17832 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
17833
17834 2012-01-03 Chong Yidong <cyd@gnu.org>
17835
17836 * shell.el (shell-dynamic-complete-functions):
17837 Put pcomplete-completions-at-point, so as to try
17838 comint-filename-completion first (Bug#10417).
17839
17840 2012-01-02 Richard Stallman <rms@gnu.org>
17841
17842 * battery.el (battery-status-function):
17843 Detect when to use battery-yeeloong-sysfs.
17844 (battery-echo-area-format): Add string for Yeeloong.
17845 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
17846 (battery-yeeloong-sysfs): New function.
17847
17848 2012-01-02 Chong Yidong <cyd@gnu.org>
17849
17850 * dirtrack.el (dirtrack-list): Eliminate unused third element.
17851 (dirtrack): Merge code for handling relative filenames in prompt
17852 from shell-dir-cookie-watcher.
17853 (dirtrack-debug-message): New arg to avoid excess format calls.
17854
17855 * shell.el (shell-dir-cookie-re): Variable deleted.
17856 (shell-dir-cookie-watcher): Function deleted.
17857 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
17858 with dirtrack-mode.
17859
17860 2012-01-01 Eli Zaretskii <eliz@gnu.org>
17861
17862 * term/w32-win.el (dynamic-library-alist) <gnutls>:
17863 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
17864 libgnutls-26.dll.
17865
17866 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
17867
17868 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
17869
17870 2011-12-31 Eli Zaretskii <eliz@gnu.org>
17871
17872 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
17873 headers of non-MIME messages, when rmail-enable-mime is non-nil.
17874
17875 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
17876
17877 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
17878 also for alternative shells.
17879 (tramp-open-connection-setup-interactive-shell): Check, whether
17880 the shell is a busybox.
17881 (tramp-send-command): Don't suppress multiple prompts for
17882 busyboxes, it hurts.
17883
17884 2011-12-28 Chong Yidong <cyd@gnu.org>
17885
17886 * progmodes/gdb-mi.el (gdb-get-source-file-list)
17887 (gdb-get-source-file): Move mode line update to
17888 gdb-get-source-file (Bug#10087).
17889
17890 2011-12-25 Chong Yidong <cyd@gnu.org>
17891
17892 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
17893 gud-gdb-marker-filter without taking it as an argument.
17894 (gud-gdb-run-command-fetch-lines): Caller changed.
17895 (gud-gdb-completion-function): New variable.
17896 (gud-gdb-completion-at-point): Use it.
17897 (gud-gdb-completions-1): Split from gud-gdb-completions.
17898
17899 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
17900 function as separate arguments.
17901 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
17902 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
17903 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
17904 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
17905 (gdb-stopped, def-gdb-auto-update-trigger)
17906 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
17907 (gdb-get-changed-registers, gdb-get-main-selected-frame):
17908 Callers changed.
17909 (gud-gdbmi-completions): New function.
17910 (gdb): Use it for generating the completion table.
17911
17912 2011-12-24 Alan Mackenzie <acm@muc.de>
17913
17914 Introduce a mechanism to widen the region used in context font
17915 locking. Use this to protect declarations from losing their contexts.
17916
17917 * progmodes/cc-langs.el (c-before-font-lock-functions):
17918 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
17919 (c-before-context-fontification-functions): New defvar, a list of
17920 functions to be run just before context (etc.) font locking.
17921
17922 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
17923 New, functionality extracted from
17924 c-neutralize-syntax-in-and-mark-CPP.
17925 (c-in-after-change-fontification): New variable.
17926 (c-after-change): Set c-in-after-change-fontification.
17927 (c-set-fl-decl-start): Rejig its interface, so it can be called
17928 from both after-change and context fontifying.
17929 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
17930 New functions.
17931 (c-standard-font-lock-fontify-region-function): New variable.
17932 (c-font-lock-fontify-region): New function.
17933
17934 2011-12-24 Juri Linkov <juri@jurta.org>
17935
17936 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
17937 (Bug#10348)
17938
17939 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
17940
17941 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
17942 existence of source file. (Bug#10325)
17943
17944 2011-12-23 Alan Mackenzie <acm@muc.de>
17945
17946 Fix unstable fontification inside templates.
17947
17948 * progmodes/cc-langs.el (c-before-font-lock-functions):
17949 Newly created from the singular version. The (c c++ objc) entry now
17950 additionally has c-set-fl-decl-start. The other languages (apart
17951 from AWK) have that as a single entry.
17952
17953 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17954 The functionality for "local" declarations has been extracted to
17955 c-set-fl-decl-start.
17956
17957 * progmodes/cc-mode.el (c-common-init, c-after-change):
17958 Changes due to pluralisation of c-before-font-lock-functions.
17959 (c-set-fl-decl-start): New function, extracted from
17960 c-font-lock-enclosing-decls and enhanced.
17961
17962 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
17963
17964 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
17965
17966 2011-12-22 Juri Linkov <juri@jurta.org>
17967
17968 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
17969
17970 2011-12-22 Chong Yidong <cyd@gnu.org>
17971
17972 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
17973
17974 2011-12-21 Drew Adams <drew.adams@oracle.com>
17975
17976 * files.el (file-remote-p): Fix docstring. (Bug#10319)
17977
17978 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17979
17980 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
17981
17982 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
17983
17984 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
17985 highlighting and support. Fix up comments for capitalization.
17986 (cfengine-mode-debug): New var.
17987 (cfengine3-mode): Change the modeline indicator to "CFE3".
17988 (cfengine3-font-lock-keywords): Improve defun highlighting.
17989 (cfengine2-actions): Rename from `cfengine-actions'.
17990 (cfengine2-font-lock-keywords): Rename from
17991 `cfengine-font-lock-keywords'.
17992 (cfengine2-imenu-expression): Rename from
17993 `cfengine-imenu-expression'.
17994 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
17995 (cfengine2-beginning-of-defun): Rename from
17996 `cfengine-beginning-of-defun'.
17997 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
17998 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
17999 (cfengine2-mode): Rename from `cfengine-mode'. Change the
18000 modeline indicator to "CFE2".
18001 (cfengine-mode): Defalias to `cfengine-auto-mode'.
18002 (cfengine-mode-abbrevs): Mark obsolete.
18003
18004 2011-12-21 Chong Yidong <cyd@gnu.org>
18005
18006 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
18007 filename argument.
18008
18009 2011-12-20 Martin Rudalics <rudalics@gmx.at>
18010
18011 * window.el (window-normalize-buffer-to-display): Remove.
18012 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
18013
18014 2011-12-19 Chong Yidong <cyd@gnu.org>
18015
18016 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
18017 Don't signal an error in a predicate function; return non-nil.
18018 (vc-dir-mark-file): Move the error here.
18019 (vc-dir-mark-unmark): If acting on the region, keep going if one
18020 of the entries cannot be marked/unmarked.
18021 (vc-dir-mark-all-files): If current entry is a directory, mark
18022 only child files, as documented.
18023
18024 2011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
18025
18026 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
18027 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
18028 addition.
18029
18030 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
18031
18032 * term/ns-win.el (ns-get-selection-internal)
18033 (ns-store-selection-internal): Declare.
18034 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
18035 Declare as obsolete.
18036 (ns-get-pasteboard, ns-paste-secondary):
18037 Use ns-get-selection-internal.
18038 (ns-set-pasteboard, ns-copy-including-secondary):
18039 Use ns-store-selection-internal.
18040
18041 2011-12-17 Chong Yidong <cyd@gnu.org>
18042
18043 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
18044 (vc-deduce-fileset): Doc fix.
18045
18046 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
18047
18048 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
18049
18050 2011-12-13 Sam Steingold <sds@gnu.org>
18051
18052 * man.el (Man-getpage-in-background): When running under a
18053 window-system, ignore $MANWIDTH and $COLUMNS.
18054
18055 2011-12-15 Kenichi Handa <handa@m17n.org>
18056
18057 * language/ethio-util.el: Change coding tag to utf-8-emacs.
18058 (setup-ethiopic-environment-internal): Comment out key-binding for
18059 ethio-toggle-punctuation.
18060
18061 2011-12-13 Alan Mackenzie <acm@muc.de>
18062
18063 Add the switch statement to AWK Mode.
18064
18065 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
18066 "default" to the keywords regexp.
18067
18068 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
18069 expression as the rest.
18070 (c-nonlabel-token-key): Allow string literals for AWK.
18071 Refactor for the other modes.
18072
18073 Large brace-block initialisation makes CC Mode slow: Fix.
18074 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
18075 routines. Limit backward searching in c-font-lock-enclosing.decl.
18076
18077 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
18078 pp-state and literal type in addition to the limits.
18079 (c-state-safe-place): New defun, extracted from c-state-literal-at.
18080 (c-state-literal-at): Use the above new defun.
18081 (c-slow-in-literal, c-fast-in-literal): Remove.
18082 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
18083
18084 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
18085 being in a literal. Add a limit for backward searching.
18086
18087 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
18088 c-slow-in-literal.
18089
18090 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
18091
18092 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
18093
18094 2011-12-13 Martin Rudalics <rudalics@gmx.at>
18095
18096 * window.el (delete-other-windows): Use correct frame in call to
18097 window-with-parameter.
18098
18099 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
18100
18101 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
18102 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
18103 (makefile-gmake-statements, makefile-makepp-statements):
18104 Use it and add new makepp keywords.
18105 (makefile-makepp-font-lock-keywords): Add new patterns.
18106 (makefile-match-function-end): Match new [...] and [[...]].
18107
18108 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
18109
18110 * ses.el (ses-call-printer-return, ses-cell-property-get)
18111 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
18112 (ses-create-cell-variable, ses-reset-header-string)
18113 (ses-cell-set-formula, ses-repair-cell-reference-all)
18114 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
18115 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
18116 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
18117 (ses-aset-with-undo, ses-load, ses-truncate-cell)
18118 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
18119 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
18120 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
18121 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
18122 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
18123 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
18124 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
18125 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
18126
18127 2011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
18128
18129 * ses.el: The overall change is to add cell renaming, that is
18130 setting fancy names for cell symbols other than name matching
18131 "\\`[A-Z]+[0-9]+\\'" regexp .
18132 (ses-create-cell-variable): New defun.
18133 (ses-relocate-formula): Relocate formulas only for cells the
18134 symbols of which are not renamed, i.e. symbols whose names do not
18135 match regexp "\\`[A-Z]+[0-9]+\\'".
18136 (ses-relocate-all): Relocate values only for cells the symbols of
18137 which are not renamed.
18138 (ses-load): Create cells variables as the (ses-cell ...) are read,
18139 in order to check row col consistency with cell symbol name only
18140 for cells that are not renamed.
18141 (ses-replace-name-in-formula): New defun.
18142 (ses-rename-cell): New defun.
18143
18144 2011-12-11 Chong Yidong <cyd@gnu.org>
18145
18146 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
18147 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
18148
18149 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
18150
18151 * window.el (other-window): Fix docstring.
18152
18153 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18154
18155 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
18156 `from' or `to' address before taking its substring.
18157 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
18158 encoded name is chopped in the middle of the encoded string, and
18159 thus displayed encoded.
18160
18161 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
18162
18163 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
18164
18165 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18166
18167 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
18168 to use texinfo-update-node and commands that call it if the
18169 Texinfo file uses @node lines without next/prev/up pointers.
18170 Correct outdated description about texinfo-master-menu.
18171 (texinfo-all-menus-update, texinfo-master-menu)
18172 (texinfo-update-node, texinfo-every-node-update)
18173 (texinfo-multiple-files-update): Doc fix. Warn against updating
18174 all the @node lines.
18175 (texinfo-master-menu): Only call texinfo-update-node if the prefix
18176 argument is numeric. Explain better in the doc string what the
18177 function really does.
18178 (texinfo-insert-master-menu-list): Improve the error message
18179 displayed if there's no menu in the Top node.
18180 (Bug#2975) See also this thread:
18181 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
18182
18183 2011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
18184
18185 * speedbar.el (speedbar-supported-extension-expressions):
18186 Add .adb and .ads, commonly used for Ada source code (bug#10256).
18187
18188 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
18189
18190 * printing.el (pr-mode-alist):
18191 * simple.el (filter-buffer-substring-functions)
18192 (completion-list-insert-choice-function):
18193 * window.el (window-with-parameter, window-atom-root)
18194 (window-sides-slots, window-size-fixed, window-min-delta)
18195 (window-max-delta, window--resize-mini-window)
18196 (window--resize-child-windows-normal, window-tree)
18197 (delete-other-windows, quit-window, split-window)
18198 (display-buffer-record-window, special-display-buffer-names)
18199 (special-display-regexps, special-display-popup-frame)
18200 (same-window-p, split-window-sensibly)
18201 (display-buffer-overriding-action, display-buffer-alist)
18202 (display-buffer-base-action, display-buffer, switch-to-buffer)
18203 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
18204 (fit-window-to-buffer, recenter-positions)
18205 (mouse-autoselect-window-state, mouse-autoselect-window-select):
18206 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
18207 and remove unneeded backslashes in docstrings.
18208
18209 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
18210
18211 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
18212
18213 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
18214 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
18215 end in ".mk".
18216 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
18217 when reading the makefile (bug#10116).
18218
18219 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
18220
18221 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
18222 (bug#10116).
18223
18224 2011-12-06 Glenn Morris <rgm@gnu.org>
18225
18226 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
18227
18228 2011-12-06 Chong Yidong <cyd@gnu.org>
18229
18230 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
18231
18232 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
18233
18234 * textmodes/table.el (table-shorten-cell): Fix typo.
18235
18236 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
18237
18238 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
18239
18240 2011-12-05 Eli Zaretskii <eliz@gnu.org>
18241
18242 * descr-text.el (describe-char): Fix display of strong
18243 right-to-left characters and directional embeddings and overrides.
18244
18245 * simple.el (what-cursor-position): Fix display of codepoints of
18246 strong right-to-left characters.
18247
18248 2011-12-05 Chong Yidong <cyd@gnu.org>
18249
18250 * faces.el (read-color): Doc fix.
18251
18252 2011-12-05 Glenn Morris <rgm@gnu.org>
18253
18254 * align.el (align--set-marker): Add doc-string.
18255 Don't try to move something that is not a marker. (Bug#10216)
18256
18257 2011-12-04 Glenn Morris <rgm@gnu.org>
18258
18259 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
18260 overly zealous deletion of trailing whitespace.
18261
18262 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
18263
18264 * server.el (server-delete-client): On Windows, do not try to delete
18265 the only terminal.
18266 (server-process-filter): On Windows, treat requests for a tty frame as
18267 if they were for a GUI frame if the running server is in GUI mode.
18268
18269 2011-12-03 Glenn Morris <rgm@gnu.org>
18270
18271 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
18272
18273 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
18274
18275 * electric.el: Streamline electric-indent's hook.
18276 (electric-indent-chars): Revert to simple list.
18277 (electric-indent-functions): New var.
18278 (electric-indent-post-self-insert-function): Use it.
18279
18280 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
18281 there's no inferior buffer (bug#10196).
18282 (prolog-consult-compile): Don't use toggle-read-only.
18283
18284 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
18285
18286 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
18287 interrupt. (Bug#10187)
18288
18289 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
18290
18291 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
18292 (bug#9160).
18293
18294 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
18295 (bug#10191).
18296
18297 2011-12-02 Juri Linkov <juri@jurta.org>
18298
18299 * info.el (Info-search): Display "end of manual" when Isearch
18300 reaches the end of single-file Info manual. (Bug#9918)
18301
18302 2011-12-02 Eli Zaretskii <eliz@gnu.org>
18303
18304 * isearch.el (isearch-message-prefix): Run the input method part
18305 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
18306
18307 2011-12-02 Juri Linkov <juri@jurta.org>
18308
18309 * isearch.el (isearch-occur): Use `word-search-regexp' for
18310 `isearch-word'.
18311 (isearch-search-and-update): Add condition for `isearch-word' and
18312 call `word-search-regexp'. (Bug#10145)
18313
18314 2011-12-01 Glenn Morris <rgm@gnu.org>
18315
18316 * eshell/em-hist.el (eshell-hist-initialize):
18317 Handle eshell-history-size nil and HISTSIZE set or unset.
18318 (eshell-history-file-name, eshell-history-size): Fix custom type.
18319
18320 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
18321
18322 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
18323
18324 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
18325
18326 * progmodes/verilog-mode.el (verilog-pretty-expr):
18327 Rework verilog-pretty-expr to handle new assignment operators in system
18328 verilog, such as += *= and the like.
18329 (verilog-assignment-operator-re): Regular expression to find the
18330 assigment operator in a verilog assignment.
18331 (verilog-assignment-operation-re): Regular expression to find an
18332 assignment statement for pretty-expr.
18333 (verilog-in-attribute-p): Query returns true if point is in an
18334 attribute context; used to skip these for expression line up from
18335 pretty-expr.
18336 (verilog-in-parameter-p): Query returns true if point is in an
18337 parameter definition context; used to skip these for expression
18338 line up from pretty-expr.
18339 (verilog-in-parenthesis-p): Query returns true if point is in a
18340 parenthetical expression, specifically ( ) but not [ ] or { };
18341 used by pretty-expr.
18342 (verilog-just-one-space): If there is no space, don't add one.
18343 (verilog-get-lineup-indent-2): Specifically skip just attribute
18344 contexts for expression lineup, rather than skipping all
18345 parenthetical expressions.
18346 (verilog-calculate-indent): Fix comment, and fix indent.
18347 (verilog-do-indent): Indent declarations in lists (suggested by
18348 Joachim Lechner).
18349 (verilog-mode-abbrev-table): Populate abbrev mode with the various
18350 skeleton items.
18351 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
18352 by Alain Mellan).
18353
18354 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
18355
18356 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
18357 parameters with embedded comments. Reported by Ray Stevens.
18358 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
18359 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
18360 Reported by Tim Holt.
18361 (verilog-auto): Fix AUTOing a upper module then AUTOing module
18362 instantiated by upper module causing wrong expansion until AUTOed a
18363 second time. Reported by K C Buckenmaier.
18364 (verilog-diff-auto): Fix showing .* as a difference when
18365 `verilog-auto-star-save' off. Reported by Dan Dever.
18366 (verilog-auto-reset, verilog-read-always-signals)
18367 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
18368 temporary signals in reset list if
18369 verilog-auto-reset-blocking-in-non is nil, and match assignment
18370 style to each signal's assignment type, bug381.
18371 Reported by Thomas Esposito.
18372 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
18373 (verilog-uvm-statement-re): Support UVM indentation and
18374 highlighting, with old OVM keywords only.
18375 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
18376 Support AUTOTIEOFF creating non-wire data types.
18377 Suggested by Jonathan Greenlaw.
18378 (verilog-auto-insert-lisp, verilog-delete-to-paren)
18379 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
18380 (verilog-inject-sense, verilog-read-inst-pins)
18381 (verilog-read-sub-decls, verilog-read-sub-decls-line):
18382 Fix mismatching parenthesis inside commented out code when deleting
18383 AUTOINST, bug383. Reported by Jonathan Greenlaw.
18384 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
18385 non-numeric vector width. Reported by Alex Reed.
18386 (verilog-auto-ascii-enum): Add "onehot" option to work around not
18387 detecting signals with parameter widths. Reported by Alex Reed.
18388 (verilog-auto-delete-trailing-whitespace):
18389 With `verilog-auto-delete-trailing-whitespace' remove trailing
18390 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
18391 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
18392 Fix verilog-scan-cache corruption when running user AUTO expansion
18393 hooks that call indentation routines.
18394 (verilog-simplify-range-expression): Fix typo ignoring lower case
18395 identifiers.
18396 (verilog-delete-auto): Fix delete-autos to also remove user created
18397 automatics, as long as they start with AUTO.
18398 (verilog-batch-diff-auto, verilog-diff-auto)
18399 (verilog-diff-function): Add `verilog-diff-auto' and bind to
18400 "C-c?" to report differences in AUTO expansion, ignoring spaces.
18401 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
18402 (verilog-in-paren-quick, verilog-re-search-backward-quick)
18403 (verilog-re-search-forward-quick, verilog-syntax-ppss):
18404 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
18405 is disabled and its cache will get corrupt, causing AUTOS not to
18406 expand. Instead use only -quick functions.
18407 (verilog-scan-region): Fix scanning over escaped quotes.
18408 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
18409 (verilog-re-search-backward-quick)
18410 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
18411 related functions now ignore strings, to fix misparsing of strings
18412 with magic comments embedded in them.
18413 (verilog-read-auto-template):
18414 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
18415 Reported by Brad Dobbie.
18416 (verilog-read-auto-template):
18417 Fix 'verilog-auto-inst-template-numbers' with comments.
18418 Reported by Brad Dobbie.
18419 (verilog-auto-inst, verilog-auto-inst-param)
18420 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
18421 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
18422 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
18423 debugging templates without merge conflicts, bug357.
18424 Reported by Brad Dobbie.
18425 (verilog-read-auto-template):
18426 Fix verilog-auto-inst-template-numbers with multiple templates.
18427 Reported by Brad Dobbie.
18428 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
18429 abbrevs so user won't be asked to save.
18430 (verilog-read-auto-lisp-present): Fix to start at beginning of
18431 buffer in case called outside of verilog-auto.
18432 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
18433 to "X-2". Reported by Matthew Myers.
18434 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
18435 all inputs from module templates. Reported by Leith Johnson.
18436 (verilog-module-inside-filename-p): Fix locating programs as with
18437 modules.
18438 (verilog-auto-inst-port): Fix vl-width expressions when using
18439 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
18440 (verilog-decls-get-regs, verilog-decls-get-signals,
18441 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
18442 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
18443 verilog-read-decls): Combine reg and wire structures into one var
18444 structure to represent SystemVerilog concepts.
18445 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
18446 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
18447 (verilog-auto-wire-type, verilog-insert-definition):
18448 Add verilog-auto-wire-type and AUTOLOGIC to support using
18449 SystemVerilog "logic" keyword instead of "wire"/"reg".
18450 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
18451 to declares outputs that also have assignments (presumably in an
18452 ifdef or generate if so there's not a driver conflict).
18453 Reported by Matthew Myers.
18454 (verilog-auto-declare-nettype, verilog-insert-definition):
18455 Add verilog-auto-declare-nettype to fix declarations using
18456 `default_nettype none. Reported by Julian Gorfajn.
18457 (verilog-read-always-signals-recurse, verilog-read-decls)
18458 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
18459 malformed end statement, bug325. Reported by Joshua Wise and
18460 Andrew Drake.
18461 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
18462 (verilog-inst-comment-re): Fix not deleting Interfaced comment
18463 when expanding .* in interfaces, bug320.
18464 Reported by Pierre-David Pfister.
18465 (verilog-read-module-name): Fix import statements between module
18466 name and open parenthesis, bug317.
18467 Reported by Pierre-David Pfister.
18468 (verilog-simplify-range-expression): Fix simplification of
18469 multiplications inside AUTOWIRE connections, bug303.
18470 (verilog-auto-inst-port): Support parameter expansion in
18471 multidimensional arrays.
18472 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
18473 after "assert property". Reported by Julian Gorfajn.
18474 (verilog-simplify-range-expression): Fix "couldn't merge" errors
18475 with multiplication, bug303.
18476 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
18477 Reported by Jan Frode Lonnum.
18478
18479 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
18480
18481 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
18482 (hfy-shell-file-name, hfy-shell):
18483 * international/fontset.el (x-decompose-font-name): Fix typos.
18484
18485 2011-11-29 Ken Brown <kbrown@cornell.edu>
18486
18487 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
18488 (gdb-version): Remove defvar.
18489 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
18490 (gdb-gud-context-command, gdb-non-stop-handler)
18491 (gdb-current-context-command, gdb-stopped): Use it.
18492 (gdb-init-1): Enable pretty printing here.
18493 (gdb-non-stop-handler): Don't enable pretty-printing here.
18494 Check to see if the target supports non-stop mode; if not, turn off
18495 non-stop mode. Use the following.
18496 (gdb-check-target-async): New defun.
18497 (gud-watch, gdb-stopped): Fix whitespace.
18498 (gdb-get-source-file): Don't try to display the source file if
18499 `gdb-main-file' is nil.
18500
18501 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18502
18503 * align.el: Try to generate fewer markers (bug#10047).
18504 (align--set-marker): New macro.
18505 (align-region): Use it.
18506
18507 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18508
18509 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
18510
18511 2011-11-29 Chong Yidong <cyd@gnu.org>
18512
18513 * indent.el (indent-for-tab-command, indent-according-to-mode):
18514 Doc fix.
18515 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
18516
18517 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
18518
18519 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
18520 aware of remote file names. (Bug#10124)
18521
18522 2011-11-29 Chong Yidong <cyd@gnu.org>
18523
18524 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
18525
18526 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
18527
18528 * files.el (find-file): Don't use force-same-window (bug#10144).
18529 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
18530 use pop-to-buffer if the selected window can't be used.
18531 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
18532
18533 2011-11-28 Eli Zaretskii <eliz@gnu.org>
18534
18535 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
18536 special-mode-map.
18537
18538 2011-11-28 Chong Yidong <cyd@gnu.org>
18539
18540 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
18541
18542 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
18543
18544 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
18545 gdb-get-source-file-list on gdb-create-source-file-list.
18546
18547 2011-11-26 Eli Zaretskii <eliz@gnu.org>
18548
18549 * whitespace.el (whitespace-newline): Use a different foreground
18550 color for 16-color light-background displays.
18551
18552 2011-11-24 Chong Yidong <cyd@gnu.org>
18553
18554 * window.el (display-buffer--special-action): Doc fix.
18555
18556 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
18557
18558 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
18559 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
18560 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
18561 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
18562 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
18563 (avl-tree-stack-first):
18564 * emacs-lisp/cconv.el (cconv--analyse-use):
18565 * net/gnutls.el (gnutls-negotiate): Fix typos.
18566
18567 2011-11-24 Glenn Morris <rgm@gnu.org>
18568
18569 * lpr.el (lpr-windows-system, lpr-lp-system):
18570 * mail/binhex.el (binhex-begin-line):
18571 * progmodes/grep.el (grep-history, grep-find-history):
18572 * textmodes/flyspell.el:
18573 * vc/pcvs-defs.el (cvs-global-menu):
18574 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
18575 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
18576 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
18577
18578 * net/tls.el: Fix case of "GnuTLS".
18579
18580 * paths.el (rmail-file-name): Format doc-string for make-docfile.
18581
18582 * version.el (emacs-build-system): Give it a doc-string.
18583
18584 2011-11-24 Juri Linkov <juri@jurta.org>
18585
18586 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
18587
18588 2011-11-24 Glenn Morris <rgm@gnu.org>
18589
18590 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
18591 if called on a non-mime message just toggle the headers. (Bug#8006)
18592
18593 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
18594
18595 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
18596 (allout-lead-with-comment-string, allout-structure-deleted-hook)
18597 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
18598 (allout-rebullet-heading, allout-open-sibtopic)
18599 (allout-toggle-current-subtree-encryption)
18600 (allout-toggle-subtree-encryption, allout-encrypt-string)
18601 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
18602 (allout-distinctive-bullets-string, allout-auto-activation):
18603 * window.el (window-normalize-buffer-to-display):
18604 * progmodes/verilog-mode.el (verilog-batch-indent):
18605 * textmodes/bibtex.el (bibtex-field-braces-opt)
18606 (bibtex-field-strings-opt):
18607 * vc/cvs-status.el (cvs-tree-merge):
18608 Fix typos.
18609
18610 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
18611
18612 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
18613 `non-essential' to t, in order to avoid remote connections.
18614
18615 2011-11-23 Eli Zaretskii <eliz@gnu.org>
18616
18617 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18618 On MS-DOS and MS-Windows, compare with loaddefs.el
18619 case-insensitively.
18620
18621 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18622
18623 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
18624
18625 2011-11-23 Glenn Morris <rgm@gnu.org>
18626
18627 * paths.el (rmail-file-name): Reformat the doc-string so that it
18628 is picked up.
18629
18630 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
18631 (rmail-auto-file): Ignore case in the "special" field names,
18632 as mail-fetch-field does for all others.
18633
18634 * mail/rmail.el (rmail-forward):
18635 * mail/rmailkwd.el (rmail-set-label):
18636 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
18637 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
18638
18639 * mail/rmail.el (rmail-current-message): Doc fix.
18640
18641 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
18642
18643 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
18644
18645 * server.el (server-eval-and-print): Allow C-g (bug#6585).
18646
18647 2011-11-22 Glenn Morris <rgm@gnu.org>
18648
18649 * mail/rmailmm.el (test-rmail-mime-handler)
18650 (test-rmail-mime-bulk-handler)
18651 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
18652
18653 2011-11-21 Juri Linkov <juri@jurta.org>
18654
18655 * calc/calc.el (calc-read-key-sequence):
18656 Let-bind `input-method-function' to nil. (Bug#10018)
18657
18658 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18659
18660 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
18661 Tell the caller that the next line needs recomputation, even
18662 though it doesn't start a sexp (bug#10094).
18663
18664 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
18665
18666 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
18667
18668 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18669
18670 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18671 Use force-same-window.
18672
18673 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18674
18675 * descr-text.el (describe-char-unicode-data):
18676 * json.el (json-string-escape):
18677 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
18678 (Footnote-unicode, Footnote-style-p):
18679 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
18680
18681 2011-11-20 Chong Yidong <cyd@gnu.org>
18682
18683 * window.el (replace-buffer-in-windows): Restore interactive spec.
18684
18685 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18686
18687 * electric.el (electric-indent-mode): Fix last change (too optimistic).
18688
18689 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
18690 (byte-compile-global-not-obsolete-vars): New var.
18691 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
18692 Use it.
18693 (byte-compile-warn-obsolete): Align text with the one in *Help*.
18694
18695 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18696
18697 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
18698 * progmodes/pascal.el (electric-pascal-equal):
18699 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
18700 * xml.el (xml-substitute-special): Fix typos.
18701
18702 2011-11-20 Glenn Morris <rgm@gnu.org>
18703
18704 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
18705 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
18706 Doc fixes.
18707 (rmail-decode-mime-charset): Mark as obsolete.
18708
18709 * mail/rmailsum.el (rmail-message-regexp-p-1):
18710 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
18711 Before using mime functions, check they are set. (Bug#10077)
18712
18713 2011-11-19 Juri Linkov <juri@jurta.org>
18714
18715 * info.el (Info-finder-find-node): Use `package--builtins' instead
18716 of `package-alist'. Use node names formed by the pattern "Keyword "
18717 and the keyword name.
18718
18719 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18720
18721 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
18722
18723 2011-11-19 Juri Linkov <juri@jurta.org>
18724
18725 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
18726 that calls `revert-buffer' on all Info buffers. (Bug#9915)
18727 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
18728 `old-history', `old-history-forward'. Add let-binding
18729 `window-selected'. Remove calls to `kill-buffer',
18730 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
18731 before calling `Info-find-node', so `Info-find-node-2' will reread
18732 the Info file. Restore window positions only when `window-selected'
18733 is non-nil.
18734
18735 2011-11-19 Juri Linkov <juri@jurta.org>
18736
18737 * isearch.el (isearch-lazy-highlight-new-loop):
18738 Remove condition `(not isearch-error)'. (Bug#9918)
18739
18740 * misearch.el (multi-isearch-search-fun): Add condition
18741 `(not bound)' to ignore lazy-highlighting search.
18742 Add the search-failed message "end of multi" when the end of
18743 multi-sequence is reached. Uncapitalize the search-failed
18744 message "Repeat for next buffer".
18745
18746 * info.el (Info-search): Add the search-failed message
18747 "end of the manual" when the end of the manual is reached
18748 in Isearch mode.
18749
18750 2011-11-19 Juri Linkov <juri@jurta.org>
18751
18752 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
18753 Use non-destructive `remove' instead of `delete' because
18754 `Info-history-list' stored to `Info-isearch-initial-history-list' in
18755 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
18756
18757 2011-11-19 Juri Linkov <juri@jurta.org>
18758
18759 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
18760 to nil instead of binding `search-ring' and `regexp-search-ring'.
18761 (Bug#9185)
18762
18763 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18764
18765 * simple.el (line-move): Force movement by logical lines for any
18766 hscrolled window, not only when auto-hscroll-mode is on.
18767 (line-move-visual): Update doc string to that effect. (Bug#10076)
18768
18769 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18770
18771 * language/european.el (macintosh): Define as alias for mac-roman.
18772
18773 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18774
18775 * mail/rmailmm.el (rmail-mime-display-header)
18776 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
18777 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
18778 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
18779 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
18780 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
18781 of a raw aref.
18782 (rmail-mime-entity-segment): To get past the tagline, move forward
18783 2 more lines, to account for the 2 empty lines that precede and
18784 follow the line with the buttons.
18785 (rmail-mime-update-tagline): Move one more line, to get past the
18786 empty line that follows the buttons in the tagline. (Bug#9520)
18787
18788 2011-11-19 Martin Rudalics <rudalics@gmx.at>
18789
18790 * window.el (window-max-delta-1, window-min-delta-1)
18791 (window-min-size-1, window-state-get-1, window-state-put-1)
18792 (window-state-put-2): Use "window--" prefix.
18793
18794 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
18795
18796 * emacs-lisp/smie.el: Improve warnings and conflict detection.
18797 (smie-warning-count): New var.
18798 (smie-set-prec2tab): Use it.
18799 (smie-bnf->prec2): Improve warnings. Add docstring.
18800 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
18801 (smie-bnf--set-class): New function.
18802 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
18803 corner case.
18804
18805 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
18806 (compilation-error-properties, compilation-move-to-column):
18807 Handle compilation-first-column while in the target buffer.
18808
18809 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
18810 Don't hardcode point-min==1.
18811
18812 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
18813 (eshell-rewrite-for-command): Remove workaround.
18814 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
18815 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
18816 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
18817
18818 * files-x.el (modify-file-local-variable): Obey commenting conventions.
18819
18820 2011-11-17 Glenn Morris <rgm@gnu.org>
18821
18822 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18823 Ignore buffer-local generated-autoload-file if it is the same
18824 as the global value. (Bug#10049)
18825
18826 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
18827
18828 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
18829 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
18830 (reftex-toc-previous-heading, reftex-toc-max-level)
18831 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
18832 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
18833 (reftex-toc-do-promote, reftex-toc-promote-prepare)
18834 (reftex-toc-promote-action, reftex-toc-extract-section-number)
18835 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
18836 (reftex-toc-rename-label, reftex-toc-visit-location)
18837 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
18838 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
18839 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
18840 leaving "*toc*" only for references to the buffer.
18841
18842 2011-11-17 Martin Rudalics <rudalics@gmx.at>
18843
18844 * window.el (window-resize, delete-window, split-window):
18845 Replace window-splits by window-combination-resize.
18846 * cus-start.el (window-splits): Replace by window-combination-resize.
18847
18848 2011-11-17 Glenn Morris <rgm@gnu.org>
18849
18850 * progmodes/sh-script.el (sh-font-lock-keywords-var):
18851 Make bash entry derive from sh entry, not shell entry.
18852
18853 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
18854
18855 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
18856 local file name.
18857
18858 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18859
18860 * menu-bar.el (menu-bar-file-menu):
18861 * printing.el (pr-ps-utility):
18862 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
18863 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
18864 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
18865 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
18866 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
18867 (icalendar--convert-cyclic-to-ical)
18868 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
18869 (icalendar--convert-ical-to-diary)
18870 (icalendar--convert-recurring-to-diary)
18871 (icalendar--convert-non-recurring-all-day-to-diary)
18872 (icalendar-import-format-sample):
18873 * progmodes/idlw-shell.el (idlwave-shell-mode):
18874 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
18875 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
18876 (vhdl-ps-print-init): Fix typos.
18877
18878 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
18879
18880 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
18881 FSF and collapse date sequence, obscure author/maintainer email address
18882 better, remove extra version line, track relocation of author's webpage.
18883
18884 * progmodes/python.el (python-pdbtrack-input-prompt)
18885 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
18886 regular python pdb prompts. Adjustments shamelessly taken exactly as
18887 suggested in EmacsWiki page (tiny change):
18888 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
18889
18890 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18891
18892 * expand.el (expand-pos, expand-index, expand-point):
18893 Remove redundant info from docstring.
18894 (expand-add-abbrevs): Doc fix.
18895 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
18896 (expand-sample-perl-mode-expand-list): Fix typos.
18897
18898 * net/dbus.el (dbus-event-member-name):
18899 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
18900 * term/pc-win.el (msdos-create-frame-with-faces):
18901 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
18902
18903 2011-11-16 Martin Rudalics <rudalics@gmx.at>
18904
18905 * window.el (split-window, window-state-get-1)
18906 (window-state-put-1, window-state-put-2): Rename occurrences of
18907 window-nest to window-combination-limit.
18908 * cus-start.el (window-nest): Rename to window-combination-limit.
18909
18910 2011-11-16 Chong Yidong <cyd@gnu.org>
18911
18912 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
18913 regexp (Bug#10033).
18914
18915 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
18916
18917 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
18918 `completing-read' will remove *Completions* and will preserve
18919 current-buffer for us.
18920 (tmm-add-prompt): Users of *Completions* will always (re)set its
18921 major mode.
18922 (tmm-old-comp-map): Remove.
18923
18924 2011-11-16 Glenn Morris <rgm@gnu.org>
18925
18926 * mail/rmailedit.el: Require rmailmm when compiling.
18927 (rmail-old-mime-state): New declaration.
18928 (rmail-edit-current-message): If editing a mime message,
18929 edit the "raw" message from the mbox buffer.
18930 (rmail-cease-edit): Handle mime messages. (Bug#9840)
18931
18932 2011-11-15 Glenn Morris <rgm@gnu.org>
18933
18934 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
18935 which wasn't being used. Add optional arg to force given state.
18936 (rmail-mime): Add optional arg to force given state.
18937
18938 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
18939
18940 * allout.el (allout-encryption-plaintext-sanitization-regexps):
18941 * frame.el (display-mm-dimensions-alist):
18942 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
18943 (outline-move-subtree-down):
18944 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
18945 (newsticker--treeview-do-get-node):
18946 * net/quickurl.el (quickurl-list-buffer-name):
18947 * progmodes/dcl-mode.el (dcl-mode):
18948 * progmodes/gdb-mi.el (gdb-mapcar*):
18949 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
18950
18951 2011-11-15 Glenn Morris <rgm@gnu.org>
18952
18953 * mail/rmail.el (rmail-file-coding-system): It's only ever used
18954 in a boolean sense, so just make it a boolean, and fix the doc.
18955 (rmail-show-mime-function, rmail-mime-feature)
18956 (rmail-require-mime-maybe): Doc fixes.
18957 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
18958
18959 * mail/rmailmm.el (rmail-show-mime): Doc fix.
18960
18961 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
18962
18963 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
18964 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
18965 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
18966 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
18967
18968 2011-11-15 Glenn Morris <rgm@gnu.org>
18969
18970 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
18971 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
18972 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
18973 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
18974 (rmail-mime, rmail-show-mime): Doc fixes.
18975
18976 * term/ns-win.el (mode-line-frame-identification):
18977 Leave it alone. (Bug#10051)
18978
18979 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
18980
18981 * mail/rmailout.el (rmail-output-to-rmail-buffer):
18982 Handle empty buffers. (Bug#9978)
18983
18984 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
18985
18986 * international/mule.el (define-charset):
18987 * mail/rmailmm.el (rmail-mime-find-header-encoding):
18988 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
18989 * progmodes/verilog-mode.el (verilog-backward-token):
18990 * textmodes/ispell.el (lookup-words):
18991 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
18992
18993 2011-11-14 Glenn Morris <rgm@gnu.org>
18994
18995 * progmodes/executable.el
18996 (executable-make-buffer-file-executable-if-script-p):
18997 Handle file-modes returning nil.
18998
18999 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
19000 message - not necessary, and causes problems. (Bug#9831)
19001
19002 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
19003
19004 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
19005
19006 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
19007 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
19008 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
19009
19010 2011-11-12 Martin Rudalics <rudalics@gmx.at>
19011
19012 * window.el (window-resize, delete-window): Use window-splits
19013 variable instead of function.
19014 (window-state-get-1, window-state-put-2, window-state-put):
19015 Don't deal with windows' splits status.
19016
19017 2011-11-12 Glenn Morris <rgm@gnu.org>
19018
19019 * apropos.el (apropos-do-all, apropos-library, apropos-value)
19020 (apropos-documentation): Doc fixes.
19021
19022 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
19023
19024 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
19025 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
19026
19027 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
19028
19029 * electric.el (electric-indent-post-self-insert-function): Make it
19030 possible for a char to only indent in some circumstances.
19031 (electric-indent-mode): Simplify.
19032
19033 2011-11-11 Martin Rudalics <rudalics@gmx.at>
19034
19035 * window.el (windows-with-parameter): Remove unused function.
19036 (windows-at-side): Rename to window-at-side-list.
19037 (window-check, window-atom-check, window-atom-check-1)
19038 (window-side-check, window-size-ignore, window-size-fixed-1)
19039 (window-in-direction-2): Prefix with "window--".
19040 (window-tree-1): Rename to window--subtree, fix doc-string.
19041
19042 2011-11-11 Glenn Morris <rgm@gnu.org>
19043
19044 * subr.el (eval-after-load): If FILE is already loaded,
19045 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
19046
19047 2011-11-10 Glenn Morris <rgm@gnu.org>
19048
19049 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
19050 Call svn via vc-svn-command rather than vc-do-command.
19051 (vc-svn-command): Add --non-interactive. (Bug#9993)
19052 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
19053
19054 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19055 Add toggle-read-only. (Bug#7292)
19056 * files.el (toggle-read-only): Mention that it should only
19057 be used interactively. (Bug#10006)
19058
19059 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
19060
19061 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19062 Adjust regexp for OCaml warnings.
19063
19064 * electric.el (electric-pair-post-self-insert-function): Let user
19065 turn it off buffer-locally (bug#9932).
19066
19067 * progmodes/python.el (python-beginning-of-statement):
19068 Rewrite (bug#2703).
19069
19070 * progmodes/compile.el: Better handle TABs (bug#9749).
19071 (compilation-internal-error-properties)
19072 (compilation-next-error-function): Obey the target buffer's
19073 compilation-error-screen-columns.
19074
19075 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
19076
19077 * progmodes/meta-mode.el: Remove obsolete comments.
19078 (meta-right-comment-regexp, meta-ignore-comment-regexp):
19079 Fix typos in docstrings.
19080
19081 2011-11-09 Martin Rudalics <rudalics@gmx.at>
19082
19083 * window.el (window-size-fixed-p): Rewrite doc-string.
19084 (window-resizable-p): Rename to window--resizable-p. Update callers.
19085 (window--resizable): New function. Make all callers of
19086 window-resizable call window--resizable instead.
19087 (window-resizable): Rewrite in terms of window--resizable.
19088
19089 2011-11-08 Glenn Morris <rgm@gnu.org>
19090
19091 * progmodes/delphi.el (delphi-mode-syntax-table):
19092 Let define-derived-mode define a proper syntax table. (Bug#9994)
19093
19094 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19095
19096 * window.el: Stay away from defsubst.
19097 (window-list-no-nils): Remove.
19098 (window-state-get-1, window-state-get): Use backquote instead.
19099
19100 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19101
19102 * emacs-lisp/find-func.el (find-function-read):
19103 Fix incorrect use of default argument in `completing-read'.
19104
19105 2011-11-08 Martin Rudalics <rudalics@gmx.at>
19106
19107 * window.el (display-buffer-function, special-display-function):
19108 Mention display-buffer-record-window but do not mention
19109 help-setup parameter in doc-strings.
19110 (window-min-delta): Fix doc-string typo.
19111
19112 2011-11-08 Chong Yidong <cyd@gnu.org>
19113
19114 * window.el (window-total-height, window-total-width): Doc fix.
19115 (window-body-size): Move from C.
19116 (window-body-height, window-body-width): Move to C.
19117
19118 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19119
19120 * window.el: Make special-display like display-buffer-alist (bug#9532).
19121 (display-buffer--special-action): New function, morphed
19122 from display-buffer--special.
19123 (display-buffer): Use it to handle special-display-buffers at higher
19124 priority (just after display-buffer-alist).
19125 (display-buffer-fallback-action, display-buffer--other-frame-action)
19126 (pop-to-buffer-same-window): Remove display-buffer--special.
19127
19128 2011-11-07 Glenn Morris <rgm@gnu.org>
19129
19130 * calendar/cal-menu.el (cal-menu-set-date-title):
19131 Do nothing if not in a calendar. (Bug#9976)
19132
19133 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
19134
19135 * files.el (find-file): Always use selected-window.
19136
19137 2011-11-07 Martin Rudalics <rudalics@gmx.at>
19138
19139 * window.el (window-combinations): Make WINDOW argument
19140 mandatory. Rewrite doc-string.
19141 (walk-window-subtree, window-atom-check, window-min-delta)
19142 (window-max-delta, window--resize-this-window)
19143 (window--resize-root-window-vertically, window-tree)
19144 (balance-windows, window-state-put): Rewrite doc-strings as to
19145 not mention the term "subwindow".
19146 (window--resize-subwindows-skip-p): Rename to
19147 window--resize-child-windows-skip-p.
19148 (window--resize-subwindows-normal): Rename to
19149 window--resize-child-windows-normal.
19150 (window--resize-subwindows): Rename to
19151 window--resize-child-windows.
19152 (window-or-subwindow-p): Rename to window--in-subtree-p.
19153
19154 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19155
19156 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
19157 Ensure that mbox format messages end in two newlines (Bug#9974).
19158
19159 2011-11-06 Chong Yidong <cyd@gnu.org>
19160
19161 * window.el (window-combination-p): Function deleted; its
19162 side-effect is not used in any existing code.
19163 (window-combinations, window-combined-p): Call window-*-child
19164 directly.
19165
19166 2011-11-05 Chong Yidong <cyd@gnu.org>
19167
19168 * window.el (window-valid-p): Rename from window-any-p.
19169 (window-size-ignore, window-state-get): Callers changed.
19170 (window-normalize-window): Rename from window-normalize-any-window.
19171 New arg LIVE-ONLY, replacing window-normalize-live-window.
19172 (window-normalize-live-window): Delete.
19173 (window-combination-p, window-combined-p, window-combinations)
19174 (walk-window-subtree, window-atom-root, window-min-size)
19175 (window-sizable, window-sizable-p, window-size-fixed-p)
19176 (window-min-delta, window-max-delta, window-resizable)
19177 (window-resizable-p, window-full-height-p, window-full-width-p)
19178 (window-current-scroll-bars, window-point-1, set-window-point-1)
19179 (window-at-side-p, window-in-direction, window-resize)
19180 (adjust-window-trailing-edge, maximize-window, minimize-window)
19181 (window-deletable-p, delete-window, delete-other-windows)
19182 (record-window-buffer, unrecord-window-buffer)
19183 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
19184 (quit-window, split-window, window-state-put)
19185 (set-window-text-height, fit-window-to-buffer)
19186 (shrink-window-if-larger-than-buffer): Callers changed.
19187
19188 2011-11-04 Eli Zaretskii <eliz@gnu.org>
19189
19190 * mail/rmail.el (rmail-simplified-subject): Decode subject with
19191 rfc2047-decode-string.
19192 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
19193 warnings.
19194
19195 * window.el (window-body-height, window-body-width): Mention in
19196 the doc string that the return values are in frame's canonical
19197 units. (Bug#9949)
19198
19199 2011-11-03 Alan Mackenzie <acm@muc.de>
19200
19201 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
19202 change in cc-engine.el.
19203
19204 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
19205
19206 * window.el (switch-to-buffer): Use `force-same-window' interactively.
19207
19208 2011-11-02 Martin Rudalics <rudalics@gmx.at>
19209
19210 * window.el (quit-window): Call unrecord-window-buffer after
19211 showing another buffer in the window. (Bug#9937)
19212 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
19213
19214 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
19215
19216 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
19217 Accept status with more than 9 shelves. (Bug#9935)
19218 Reported by Colin D Bennett <colin@gibibit.com>.
19219
19220 2011-11-01 Martin Rudalics <rudalics@gmx.at>
19221
19222 * help.el (with-help-window): Don't reference
19223 temp-buffer-show-specifiers in doc-string.
19224
19225 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
19226
19227 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
19228 menu-item.
19229
19230 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19231
19232 * whitespace.el: New version 13.2.2.
19233 (whitespace-newline-mode): Disable properly. Reported by Sarah
19234 <EmacsWiki>.
19235
19236 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
19237
19238 * net/newst-treeview.el: Remove "Time-stamp".
19239 (newsticker--group-manage-orphan-feeds): Do not call
19240 newsticker--treeview-tree-update.
19241 (newsticker-treeview-update, newsticker-treeview):
19242 Call newsticker--treeview-tree-update if necessary.
19243
19244 2011-10-30 Martin Rudalics <rudalics@gmx.at>
19245
19246 * window.el (window-iso-combination-p, window-iso-combined-p)
19247 (window-iso-combinations): Remove "iso-" infix.
19248 Suggested by Chong Yidong.
19249 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
19250 (window-max-delta-1, window-resize, window--resize-siblings)
19251 (window--resize-this-window, adjust-window-trailing-edge)
19252 (split-window, balance-windows-1)
19253 (shrink-window-if-larger-than-buffer):
19254 * calendar/calendar.el (calendar-generate-window):
19255 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
19256
19257 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
19258
19259 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
19260 in place (bug#9907).
19261 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
19262 (eshell-rewrite-if-command, eshell-rewrite-for-command)
19263 (eshell-structure-basic-command, eshell-rewrite-while-command)
19264 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
19265 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
19266 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
19267 (eshell-do-pipelines-synchronously, eshell-eval-command):
19268 Use backquotes and prefer setq to set.
19269 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
19270 (eshell-macrop): Use functionp.
19271 (eshell-do-eval): Handle multiple expressions in `while' body.
19272
19273 2011-10-30 Chong Yidong <cyd@gnu.org>
19274
19275 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
19276 instead of set-mark (Bug#9810).
19277
19278 2011-10-30 Chong Yidong <cyd@gnu.org>
19279
19280 * window.el (split-window-below, split-window-right): Rename from
19281 split-window-above-each-other and split-window-side-by-side
19282 respectively. All callers changed.
19283 (split-window-sensibly, split-window-sensibly): Use them.
19284 (split-window-keep-point): Doc fix.
19285
19286 * isearch.el: Add isearch-scroll property to split-window-below
19287 and split-window-right.
19288
19289 * follow.el (follow-mode):
19290 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19291 * progmodes/ada-xref.el (ada-gdb-application):
19292 * emulation/vip.el (vip-buffer-in-two-windows):
19293 * image-dired.el (image-dired-dired-with-window-configuration):
19294 * dired-x.el (dired-do-find-marked-files):
19295 * dired.el (dired-pop-to-buffer):
19296 * bs.el (bs--show-with-configuration):
19297 * vc/emerge.el (emerge-setup-windows):
19298 * textmodes/two-column.el (2C-two-columns):
19299 * textmodes/reftex-toc.el (reftex-toc):
19300 * progmodes/gdb-mi.el (gdb-setup-windows):
19301 * progmodes/fortran.el (fortran-window-create):
19302 * net/newst-treeview.el (newsticker--treeview-window-init):
19303 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
19304 * emulation/tpu-edt.el (tpu-gold-map):
19305 * emulation/crisp.el (crisp-mode-map):
19306 * calendar/calendar.el (calendar-basic-setup): Callers changed.
19307
19308 2011-10-29 Chong Yidong <cyd@gnu.org>
19309
19310 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
19311
19312 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
19313
19314 * textmodes/flyspell.el (flyspell-word): Fix char offset for
19315 forged Ispell output (Bug#7904).
19316
19317 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
19318
19319 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19320
19321 * doc-view.el: Avoid ugly errors about not finding nil.
19322 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
19323 (doc-view-dvipdf-program, doc-view-unoconv-program)
19324 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
19325 Avoid nil or absolute file name as default value.
19326 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
19327
19328 2011-10-28 Alan Mackenzie <acm@muc.de>
19329
19330 * progmodes/cc-defs.el (c-version): -> 5.32.2.
19331
19332 2011-10-28 Alan Mackenzie <acm@muc.de>
19333
19334 Amend the handling of c-beginning/end-of-defun in nested declaration
19335 scopes.
19336
19337 * progmodes/cc-vars.el (c-defun-tactic): Move here from
19338 cc-langs.el. Change it to a defcustom.
19339
19340 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
19341 cc-vars.el.
19342
19343 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19344 Prevent "class foo : bar" being spuriously recognized as a label.
19345
19346 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
19347 Add parameter `inclusive' (to include enclosing braces in the region).
19348 (c-widen-to-enclosing-decl-scope): New function.
19349 (c-while-widening-to-decl-block): New macro.
19350 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
19351 outward for defun boundaries, and correspondingly change symbol
19352 `respect-enclosure' to `go-outward'.
19353 (c-declaration-limits): Change algorithm to report only the "innermost"
19354 defun's boundaries.
19355
19356 2011-10-28 Deniz Dogan <deniz@dogan.se>
19357
19358 * net/rcirc.el (rcirc-mode): Use hard newlines.
19359
19360 2011-10-28 Alan Mackenzie <acm@muc.de>
19361
19362 Amend to indent and fontify macros "which include their own semicolon"
19363 correctly, using the "virtual semicolon" mechanism.
19364
19365 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
19366
19367 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
19368 Recode to scan one line at a time rather than having \n and \r
19369 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
19370 (c-forward-label): Amend for virtual semicolons.
19371 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
19372
19373 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
19374 of the new C macros.
19375
19376 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
19377 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
19378 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
19379 (c-opt-cpp-macro-define): Make into a full language variable.
19380 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
19381 AWK Mode (including \n, \r) removed, no longer needed.
19382
19383 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
19384 Invoke c-make-macro-with-semi-re.
19385
19386 * progmodes/cc-vars.el (c-macro-with-semi-re):
19387 (c-macro-names-with-semicolon): New variables.
19388 (c-make-macro-with-semi-re): New function.
19389
19390 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19391
19392 * vc/log-edit.el: Fill empty field rather than adding new one.
19393 (log-edit-add-field): New function.
19394 (log-edit-insert-changelog): Use it.
19395
19396 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19397
19398 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
19399
19400 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19401
19402 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
19403 (gdb--check-interpreter): New function.
19404 (gdb): Use it.
19405
19406 2011-10-27 Glenn Morris <rgm@gnu.org>
19407
19408 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
19409 (least-positive-float, least-negative-float)
19410 (least-positive-normalized-float, least-negative-normalized-float)
19411 (float-epsilon, float-negative-epsilon):
19412 Remove unnecessary declarations.
19413
19414 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
19415 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
19416 (least-positive-float, least-negative-float)
19417 (least-positive-normalized-float, least-negative-normalized-float)
19418 (float-epsilon, float-negative-epsilon): Add doc-strings,
19419 based on those in cl.texi.
19420
19421 * files.el (set-visited-file-name): If the major-mode changed,
19422 reload the local variables. (Bug#9796)
19423
19424 2011-10-27 Chong Yidong <cyd@gnu.org>
19425
19426 * subr.el (change-major-mode-after-body-hook): New hook.
19427 (run-mode-hooks): Run it.
19428
19429 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19430 Use change-major-mode-before-body-hook.
19431
19432 * simple.el (fundamental-mode):
19433 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
19434 change introducing fundamental-mode-hook.
19435
19436 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
19437
19438 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
19439
19440 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
19441
19442 * ido.el (ido-file-name-all-completions-1): Do not require
19443 tramp.el explicitly. (Bug#7583)
19444
19445 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
19446
19447 * progmodes/octave-mod.el:
19448 * progmodes/octave-inf.el: Update maintainer.
19449
19450 2011-10-26 Chong Yidong <cyd@gnu.org>
19451
19452 * subr.el (with-wrapper-hook): Rewrite doc.
19453
19454 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
19455
19456 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
19457 filenames "/method:foo:". (Bug#9793)
19458
19459 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
19460
19461 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
19462 (bug#9865).
19463
19464 2011-10-24 Glenn Morris <rgm@gnu.org>
19465
19466 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
19467
19468 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
19469
19470 * notifications.el: Add the requirement of a running D-Bus session
19471 bus to the Commentary.
19472
19473 2011-10-24 Juri Linkov <juri@jurta.org>
19474
19475 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19476 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
19477 (Bug#9364)
19478
19479 2011-10-24 Juri Linkov <juri@jurta.org>
19480
19481 * info.el (Info-following-node-name-re): Add newline to the list
19482 of allowed characters for leading space. (Bug#9824)
19483
19484 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
19485
19486 * progmodes/octave-inf.el (inferior-octave-mode-map):
19487 Fix C-c C-h binding.
19488 * progmodes/octave-mod.el (octave-help): Remove.
19489
19490 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
19491
19492 Sync with Tramp 2.2.3.
19493
19494 * net/tramp-cache.el (top): Pacify byte-compiler using
19495 `init-file-user' and `site-run-file'.
19496
19497 * net/trampver.el: Update release number.
19498
19499 2011-10-23 Chong Yidong <cyd@gnu.org>
19500
19501 * files.el (toggle-read-only): Remove obsolete comment about
19502 version control.
19503
19504 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
19505 for toggle-read-only. Note that this hasn't called vc-next-action
19506 since 2008-05-02, though it wasn't documented at the time.
19507
19508 * vc/ediff-init.el (ediff-toggle-read-only-function):
19509 Use toggle-read-only.
19510
19511 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
19512
19513 Fix bug #9560, sporadic wrong indentation; improve instrumentation
19514 of c-parse-state.
19515
19516 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
19517 correct faulty logical expression.
19518 (c-parse-state-state, c-record-parse-state-state):
19519 (c-replay-parse-state-state): New defvar/defuns.
19520 (c-debug-parse-state): Use new functions.
19521
19522 2011-10-22 Martin Rudalics <rudalics@gmx.at>
19523
19524 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
19525 last fix. Use window-in-direction correctly.
19526
19527 2011-10-21 Chong Yidong <cyd@gnu.org>
19528
19529 * progmodes/idlwave.el (idlwave-mode):
19530 * progmodes/vera-mode.el (vera-mode): No need to set
19531 require-final-newline; that's done in prog-mode.
19532 Suggested by Stefan Monnier.
19533
19534 2011-10-21 Martin Rudalics <rudalics@gmx.at>
19535
19536 * mouse.el (mouse-drag-window-above)
19537 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
19538 (mouse-drag-mode-line-1, mouse-drag-header-line)
19539 (mouse-drag-vertical-line-rightward-window): Remove.
19540 (mouse-drag-line): New function.
19541 (mouse-drag-mode-line, mouse-drag-header-line)
19542 (mouse-drag-vertical-line): Call mouse-drag-line.
19543 * window.el (window-at-side-p, windows-at-side): New functions.
19544
19545 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
19546
19547 * tar-mode.el (tar-grind-file-mode):
19548 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
19549
19550 2011-10-21 Chong Yidong <cyd@gnu.org>
19551
19552 * progmodes/idlwave.el (idlwave-mode):
19553 * progmodes/vera-mode.el (vera-mode):
19554 Use mode-require-final-newline.
19555
19556 2011-10-20 Glenn Morris <rgm@gnu.org>
19557
19558 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
19559
19560 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
19561
19562 * emulation/cua-base.el (cua-set-mark): Fix case of string.
19563
19564 2011-10-20 Chong Yidong <cyd@gnu.org>
19565
19566 * emulation/cua-base.el (cua-mode):
19567 * mail/footnote.el (footnote-mode):
19568 * mail/mailabbrev.el (mail-abbrevs-mode):
19569 * net/xesam.el (xesam-minor-mode):
19570 * progmodes/bug-reference.el (bug-reference-mode):
19571 * progmodes/cap-words.el (capitalized-words-mode):
19572 * progmodes/compile.el (compilation-minor-mode)
19573 (compilation-shell-minor-mode):
19574 * progmodes/gud.el (gud-tooltip-mode):
19575 * progmodes/hideif.el (hide-ifdef-mode):
19576 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
19577 * progmodes/subword.el (subword-mode):
19578 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
19579 * progmodes/which-func.el (which-function-mode):
19580 * term/tvi970.el (tvi970-set-keypad-mode):
19581 * term/vt100.el (vt100-wide-mode):
19582 * textmodes/flyspell.el (flyspell-mode):
19583 * textmodes/ispell.el (ispell-minor-mode):
19584 * textmodes/nroff-mode.el (nroff-electric-mode):
19585 * textmodes/paragraphs.el (use-hard-newlines):
19586 * textmodes/refill.el (refill-mode):
19587 * textmodes/reftex.el (reftex-mode):
19588 * textmodes/rst.el (rst-minor-mode):
19589 * textmodes/sgml-mode.el (html-autoview-mode)
19590 (sgml-electric-tag-pair-mode):
19591 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
19592 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
19593 * emulation/crisp.el (crisp-mode):
19594 * emacs-lisp/eldoc.el (eldoc-mode):
19595 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
19596 minor mode behavior.
19597
19598 2011-10-19 Juri Linkov <juri@jurta.org>
19599
19600 * descr-text.el (describe-char): Add #x2010 and #x2011 to
19601 the list of hard-coded chars with escape-glyph face.
19602
19603 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
19604
19605 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
19606
19607 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
19608
19609 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
19610 running process.
19611
19612 2011-10-19 Glenn Morris <rgm@gnu.org>
19613
19614 * vc/vc-bzr.el (vc-bzr-after-dir-status):
19615 Ignore ignored files. (Bug#9726)
19616
19617 2011-10-19 Chong Yidong <cyd@gnu.org>
19618
19619 Doc fix for minor modes, stating that an omitted argument enables
19620 the mode unconditionally when called from Lisp.
19621
19622 * abbrev.el (abbrev-mode):
19623 * allout.el (allout-mode):
19624 * autoinsert.el (auto-insert-mode):
19625 * autoarg.el (autoarg-mode, autoarg-kp-mode):
19626 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
19627 (global-auto-revert-mode):
19628 * battery.el (display-battery-mode):
19629 * composite.el (global-auto-composition-mode)
19630 (auto-composition-mode):
19631 * delsel.el (delete-selection-mode):
19632 * desktop.el (desktop-save-mode):
19633 * dired-x.el (dired-omit-mode):
19634 * dirtrack.el (dirtrack-mode):
19635 * doc-view.el (doc-view-minor-mode):
19636 * double.el (double-mode):
19637 * electric.el (electric-indent-mode, electric-pair-mode):
19638 * emacs-lock.el (emacs-lock-mode):
19639 * epa-hook.el (auto-encryption-mode):
19640 * follow.el (follow-mode):
19641 * font-core.el (font-lock-mode):
19642 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
19643 * help.el (temp-buffer-resize-mode):
19644 * hilit-chg.el (highlight-changes-mode)
19645 (highlight-changes-visible-mode):
19646 * hi-lock.el (hi-lock-mode):
19647 * hl-line.el (hl-line-mode, global-hl-line-mode):
19648 * icomplete.el (icomplete-mode):
19649 * ido.el (ido-everywhere):
19650 * image-file.el (auto-image-file-mode):
19651 * image-mode.el (image-minor-mode):
19652 * iswitchb.el (iswitchb-mode):
19653 * jka-cmpr-hook.el (auto-compression-mode):
19654 * linum.el (linum-mode):
19655 * longlines.el (longlines-mode):
19656 * master.el (master-mode):
19657 * mb-depth.el (minibuffer-depth-indicate-mode):
19658 * menu-bar.el (menu-bar-mode):
19659 * minibuf-eldef.el (minibuffer-electric-default-mode):
19660 * mouse-sel.el (mouse-sel-mode):
19661 * msb.el (msb-mode):
19662 * mwheel.el (mouse-wheel-mode):
19663 * outline.el (outline-minor-mode):
19664 * paren.el (show-paren-mode):
19665 * recentf.el (recentf-mode):
19666 * reveal.el (reveal-mode, global-reveal-mode):
19667 * rfn-eshadow.el (file-name-shadow-mode):
19668 * ruler-mode.el (ruler-mode):
19669 * savehist.el (savehist-mode):
19670 * scroll-all.el (scroll-all-mode):
19671 * scroll-bar.el (scroll-bar-mode):
19672 * server.el (server-mode):
19673 * shell.el (shell-dirtrack-mode):
19674 * simple.el (auto-fill-mode, transient-mark-mode)
19675 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
19676 (line-number-mode, column-number-mode, size-indication-mode)
19677 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
19678 * strokes.el (strokes-mode):
19679 * time.el (display-time-mode):
19680 * t-mouse.el (gpm-mouse-mode):
19681 * tool-bar.el (tool-bar-mode):
19682 * tooltip.el (tooltip-mode):
19683 * type-break.el (type-break-mode-line-message-mode)
19684 (type-break-query-mode):
19685 * view.el (view-mode):
19686 * whitespace.el (whitespace-mode, whitespace-newline-mode)
19687 (global-whitespace-mode, global-whitespace-newline-mode):
19688 * xt-mouse.el (xterm-mouse-mode): Doc fix.
19689
19690 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19691 Fix autogenerated docstring.
19692
19693 2011-10-19 Juri Linkov <juri@jurta.org>
19694
19695 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
19696 by checking environment variables "DESKTOP_SESSION" and
19697 "XDG_CURRENT_DESKTOP". (Bug#9779)
19698
19699 2011-10-19 Juri Linkov <juri@jurta.org>
19700
19701 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
19702 (browse-url-chromium-program, browse-url-chromium-arguments):
19703 New defcustoms.
19704 (browse-url-default-browser): Check for `browse-url-chromium' and
19705 call `browse-url-chromium-program'.
19706 (browse-url-chromium): New command. (Bug#9779)
19707
19708 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
19709
19710 * facemenu.el (list-colors-duplicates): On Windows, detect more
19711 duplicates by assuming that only colors matching "^System" are
19712 special "system colors". (Bug#9722)
19713
19714 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
19715
19716 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
19717 to distinguish the author from the committer.
19718
19719 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
19720
19721 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
19722
19723 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
19724
19725 * international/mule.el (sgml-html-meta-auto-coding-function):
19726 Add support for detecting encoding in HTML5 specified only as
19727 <meta charset="UTF-8">. Implementation just makes http-equiv and
19728 content-type parts from HTML4 encoding string optional. (Bug#9716)
19729
19730 2011-10-18 Glenn Morris <rgm@gnu.org>
19731
19732 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
19733
19734 2011-10-18 Chong Yidong <cyd@gnu.org>
19735
19736 * faces.el (cursor): Doc fix.
19737
19738 2011-10-17 Chong Yidong <cyd@gnu.org>
19739
19740 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
19741
19742 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
19743
19744 * dirtrack.el (dirtrack): Support shell buffers with path
19745 prefixes, e.g. tramp-based remote shells. (Bug#9647)
19746
19747 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
19748
19749 * json.el: Bump version to 1.3 and note change in History.
19750 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
19751
19752 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
19753
19754 * comint.el (comint-insert-input, comint-send-input)
19755 (comint-get-old-input-default, comint-backward-matching-input)
19756 (comint-next-prompt): Use nil instead of `input' for field property of
19757 past user input (bug#114).
19758
19759 * minibuffer.el (completion--replace): Inherit surrounding properties
19760 (bug#114).
19761 (minibuffer-complete-and-exit): Use it.
19762
19763 * comint.el (comint--table-subvert): Quote the all-completions output
19764 (bug#9160).
19765
19766 2011-10-17 Martin Rudalics <rudalics@gmx.at>
19767
19768 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
19769
19770 * menu-bar.el (menu-bar-file-menu): Add entry for making new
19771 window on right of selected. (Bug#9350) Reword other window
19772 entries and separate them from frame entries.
19773
19774 2011-10-15 Glenn Morris <rgm@gnu.org>
19775
19776 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
19777 Doc fixes.
19778
19779 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
19780
19781 * net/network-stream.el (network-stream-open-starttls):
19782 Improve detection of failure due to lack of TLS support.
19783
19784 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
19785 putting the input text in front and in bold.
19786
19787 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
19788
19789 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
19790
19791 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
19792 empty buffer.
19793
19794 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
19795 unread-command-events rather than pushing yet-another event.
19796
19797 2011-10-14 Eli Zaretskii <eliz@gnu.org>
19798
19799 * mail/sendmail.el (sendmail-query-once): Improve the wording of
19800 the explanation of the possible choices. Make the options passed
19801 to completing-read shorter.
19802
19803 2011-10-13 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
19804
19805 * textmodes/flyspell.el (flyspell-large-region): Make sure
19806 extended character mode is used if defined (Bug#1339).
19807
19808 2011-10-13 Eli Zaretskii <eliz@gnu.org>
19809
19810 * simple.el (what-cursor-position): Fix the display of the
19811 character info for LRE, LRO, RLE, and RLO characters by appending
19812 an invisible PDF.
19813
19814 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
19815
19816 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
19817 even in case of error; add debug spec; simplify data flow.
19818 (with-timeout-handler): Remove.
19819
19820 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
19821
19822 Fix Bug#6019, Bug#9315.
19823
19824 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
19825 complete `buffer-file-name', the local file name part could look
19826 remotely (for example on VMS).
19827
19828 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
19829 `tramp-run-real-handler'.
19830 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
19831 already quoted by '"'.
19832
19833 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
19834 Let `file-name-handler-alist' be nil, the local file name part
19835 could look remotely (for example on VMS).
19836
19837 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
19838
19839 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
19840 from here...
19841 (flyspell-post-command-hook): ...to here.
19842
19843 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19844
19845 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
19846 if not needed.
19847 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
19848 using completion. Protect against "slow" callers.
19849 Remove the "message hack".
19850
19851 2011-10-11 Juri Linkov <juri@jurta.org>
19852
19853 * isearch.el (isearch-lazy-highlight-word): New variable.
19854 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
19855 Use it. (Bug#9727)
19856
19857 2011-10-11 Glenn Morris <rgm@gnu.org>
19858
19859 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
19860 like f90-previous-statement does.
19861
19862 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19863
19864 * eshell/eshell.el (eshell-command): History should be saved
19865 only in interactive use, to avoid error.
19866
19867 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19868
19869 * minibuffer.el (completion-file-name-table): Fix last change,
19870 i.e. ignore normal errors but not the other ones.
19871
19872 2011-10-10 Martin Rudalics <rudalics@gmx.at>
19873
19874 * window.el (special-display-buffer-names)
19875 (special-display-regexps): Remove some remnants of earlier
19876 changes from doc-strings.
19877 (quit-windows-on): New function.
19878
19879 * vc/vc.el (vc-revert, vc-rollback):
19880 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
19881 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
19882 (Bug#6183) (Bug#7074) (Bug#7447)
19883
19884 2011-10-09 Martin Rudalics <rudalics@gmx.at>
19885
19886 * window.el (frame-auto-hide-function): Add version tag.
19887 (Bug#9699)
19888
19889 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
19890
19891 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
19892 condition.
19893
19894 2011-10-09 Leo Liu <sdl.web@gmail.com>
19895
19896 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
19897 (Bug#9701)
19898
19899 2011-10-08 Glenn Morris <rgm@gnu.org>
19900
19901 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
19902 before the first code statement zero indent. (Bug#9690)
19903
19904 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
19905
19906 * simple.el (count-words-region): Always count in the region.
19907 Report the number of lines and characters too.
19908 (count-words): New command, which counts in the buffer if the
19909 region is inactive, as count-words-region used to.
19910 (count-words--message): New function. Handle plurals.
19911 (count-lines-region): Make it an alias for count-words-region.
19912
19913 * bindings.el (esc-map): Replace count-lines-region with
19914 count-words-region.
19915
19916 2011-10-08 Martin Rudalics <rudalics@gmx.at>
19917
19918 * window.el (window--delete): Delete dedicated frame
19919 unconditionally when argument KILL is non-nil. (Bug#9699)
19920 (switch-to-buffer): Fix doc-string typo.
19921
19922 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19923
19924 * eshell/eshell.el (eshell-command): Avoid using hooks.
19925
19926 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
19927
19928 * bindings.el ([M-left],[M-right]): Bind to left-word and
19929 right-word respectively.
19930
19931 2011-10-07 Glenn Morris <rgm@gnu.org>
19932
19933 * cus-start.el (debug-on-quit): Fix custom type.
19934
19935 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19936
19937 * subr.el (define-key-after): Clarify that the function is not
19938 useful for non-menu keymaps.
19939
19940 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
19941
19942 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19943
19944 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
19945 in current minibuffer (Fix bug with recursive minibuffers).
19946
19947 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
19948
19949 * progmodes/gdb-mi.el (gdb): Doc fix.
19950
19951 2011-10-05 Martin Rudalics <rudalics@gmx.at>
19952
19953 * window.el (frame-auto-hide-function): New option replacing
19954 frame-auto-delete. Suggested by Stefan Monnier.
19955 (window--delete): Call frame-auto-hide-function instead of
19956 investigating frame-auto-delete.
19957 (window-point-1, set-window-point-1): New functions.
19958 (window-in-direction, record-window-buffer, window-state-get-1)
19959 (display-buffer-record-window): Use window-point-1 instead of
19960 window-point.
19961 (set-window-buffer-start-and-point): Use set-window-point-1.
19962
19963 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19964
19965 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
19966
19967 2011-10-05 Glenn Morris <rgm@gnu.org>
19968
19969 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
19970 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
19971
19972 2011-10-05 Leo Liu <sdl.web@gmail.com>
19973
19974 * subr.el (read-char-choice): Fix argument to buffer-live-p which
19975 works with buffer object.
19976
19977 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19978
19979 * mpc.el (mpc-tool-bar-map): Add labels.
19980
19981 2011-10-04 Glenn Morris <rgm@gnu.org>
19982
19983 * calendar/holidays.el (calendar-check-holidays): Doc fix.
19984
19985 2011-10-04 Martin Rudalics <rudalics@gmx.at>
19986
19987 * window.el (window--delete): New function.
19988 (frame-auto-delete): Resuscitate option.
19989 (bury-buffer, replace-buffer-in-windows)
19990 (quit-window): Rewrite using window--delete.
19991 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19992 Pass display-buffer-mark-dedicated to window--display-buffer-2
19993 (Bug#9639).
19994
19995 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19996
19997 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
19998 returns a list (bug#9554). Add remote file name completion.
19999 * comint.el (comint--table-subvert): Curry and get quote&unquote
20000 functions as arguments.
20001 (comint--complete-file-name-data): Adjust call accordingly.
20002 * pcomplete.el (pcomplete--table-subvert): Remove.
20003 (pcomplete-completions-at-point): Use comint--table-subvert instead.
20004
20005 * minibuffer.el (completion-table-case-fold): Use currying.
20006 (completion--styles-type, completion--cycling-threshold-type):
20007 New constants.
20008 (completion-styles, completion-category-overrides)
20009 (completion-cycle-threshold): Use them.
20010 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
20011 completion-table-case-fold.
20012
20013 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
20014
20015 * minibuffer.el (completion-category-overrides): Fix type of styles
20016 and add more user friendly tags (bug#9660).
20017
20018 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20019
20020 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
20021 (mule-input-method-string): New widget.
20022 (default-input-method, language-info-custom-alist): Use it.
20023
20024 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
20025
20026 * pcomplete.el: Require comint.
20027 (pcomplete--common-suffix): Remove.
20028 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
20029 (pcomplete--table-subvert): Sync with comint--table-subvert.
20030 (pcomplete--entries): Use comint-completion-file-name-table.
20031 * comint.el (comint-unquote-filename): Simplify.
20032 (comint-completion-file-name-table): New function (bug#9616).
20033 (comint--complete-file-name-data): Use it.
20034
20035 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
20036 (pcmpl-gnu-tar-buffer): Remove.
20037 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
20038 around. Make sure pcomplete-suffix-list is only changed temporarily.
20039 Don't look inside the tar's file if it's too large.
20040
20041 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
20042
20043 * cus-edit.el (custom-mode-map):
20044 * epa.el (epa-key-list-mode-map):
20045 * man.el (Man-mode-map):
20046 * startup.el (splash-screen-keymap):
20047 * simple.el (special-mode-map): Use scroll-up-command and
20048 scroll-down-command.
20049
20050 * progmodes/idlw-help.el (idlwave-help-mode-map):
20051 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
20052 * net/newst-plainview.el (newsticker-mode-map):
20053 * emulation/ws-mode.el (wordstar-mode-map):
20054 * emulation/vi.el (vi-com-map):
20055 * calc/calc-graph.el (calc-graph-show-dumb):
20056 * term/sun.el (terminal-init-sun):
20057 * term/ns-win.el (global-map):
20058 * progmodes/grep.el (grep-mode-map):
20059 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
20060 * mail/rmail.el (rmail-mode-map):
20061 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
20062
20063 * custom.el (custom-safe-themes, load-theme): Treat value of t for
20064 custom-safe-themes as special.
20065
20066 2011-10-01 Julien Danjou <julien@danjou.info>
20067
20068 * notifications.el (notifications-notify): Fix docstring.
20069
20070 2011-10-01 Per Starbäck <per@starback.se>
20071
20072 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
20073
20074 2011-09-30 Martin Rudalics <rudalics@gmx.at>
20075
20076 * startup.el (command-line-1): Fix last fix by inserting
20077 initial-scratch-message into *scratch* before displaying it.
20078 (Bug#9605) and (Bug#9636)
20079
20080 2011-09-29 Eli Zaretskii <eliz@gnu.org>
20081
20082 * simple.el (line-move): If auto-hscroll-mode is disabled and the
20083 window is hscrolled, move by logical lines. (Bug#9607)
20084 (line-move-visual): Update the doc string to the above effect.
20085
20086 2011-09-29 Martin Rudalics <rudalics@gmx.at>
20087
20088 * window.el (display-buffer-record-window): When WINDOW is the
20089 selected window use `point' instead of `window-point'. (Bug#9626)
20090
20091 * startup.el (command-line-1): Use insert-before-markers when
20092 inserting initial-scratch-message. (Bug#9605)
20093
20094 * help.el (help-window): Remove variable.
20095
20096 2011-09-29 Glenn Morris <rgm@gnu.org>
20097
20098 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
20099
20100 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
20101
20102 * descr-text.el (describe-char-categories): Accept category
20103 descriptions more than one line long.
20104
20105 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
20106
20107 * simple.el (delete-trailing-whitespace): Fix last change.
20108
20109 * progmodes/perl-mode.el (perl-syntax-propertize-function):
20110 Don't confuse "y => 3" as the beginning of a `y' operation.
20111
20112 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
20113 object has more than 4 slots (bug#9613).
20114
20115 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
20116
20117 * subr.el (with-output-to-temp-buffer):
20118 * net/quickurl.el (quickurl, quickurl-browse-url):
20119 Fix typos in docstrings.
20120
20121 2011-09-27 Eli Zaretskii <eliz@gnu.org>
20122
20123 * minibuffer.el (completion-styles)
20124 (completion-category-overrides): Cross reference each other in doc
20125 strings.
20126
20127 2011-09-27 Glenn Morris <rgm@gnu.org>
20128
20129 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
20130 to split-string. (Bug#9606)
20131
20132 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20133
20134 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
20135 (bug#9615).
20136
20137 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
20138
20139 * emacs-lisp/package.el (list-packages): Fix echo area message.
20140
20141 2011-09-27 Leo Liu <sdl.web@gmail.com>
20142
20143 * ido.el (ido-read-internal): Accept cons cell HIST arg.
20144
20145 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
20146
20147 * net/dbus.el (dbus-unregister-object): Don't release services for
20148 registered signals. (Bug#9581)
20149
20150 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
20151
20152 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
20153 function that picks between cfengine 2 and 3 support
20154 automatically. Update docs accordingly.
20155
20156 2011-09-22 Kenichi Handa <handa@m17n.org>
20157
20158 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
20159 ZERO.
20160 (indian-itrans-v5-table-for-tamil): New variable.
20161 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
20162
20163 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
20164
20165 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
20166 that's true if the current command involved collapsing of text.
20167 It's reset to false at the beginning of the next command.
20168 (allout-post-command-business): Move the cursor to the beginning
20169 of entry if the cursor is hidden and collapsing activity just
20170 happened.
20171
20172 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
20173
20174 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
20175 tracking (Bug#9541).
20176
20177 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
20178
20179 * net/newst-reader.el (newsticker-html-renderer)
20180 (newsticker-show-news): Automatically load html rendering package
20181 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
20182 because w3m-fill-column is let-bound" and the error "Symbol's value
20183 as variable is void: w3m-fill-column".
20184
20185 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
20186
20187 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
20188 Release services only if they are defined. (Bug#9581)
20189
20190 2011-09-23 Richard Stallman <rms@gnu.org>
20191
20192 * textmodes/paragraphs.el (forward-sentence): For backwards case,
20193 distinguish start of paragraph from start of its text.
20194
20195 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
20196
20197 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
20198 (rmail-generate-viewer-buffer): Put that hook on view buffer.
20199 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
20200
20201 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
20202
20203 * international/mule-diag.el (mule-diag): Insert a newline after
20204 each fontset description.
20205
20206 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20207
20208 * simple.el (delete-trailing-whitespace):
20209 Document last change; simplify.
20210
20211 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
20212
20213 * simple.el (delete-trailing-whitespace): Also delete
20214 extra newlines at the end of the buffer.
20215
20216 * textmodes/picture.el: Make motion commands obey shift-select-mode.
20217 (picture-newline): Use forward-line so as to ignore fields.
20218
20219 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20220
20221 * subr.el (with-wrapper-hook): Fix edebug spec.
20222
20223 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
20224
20225 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
20226 (bug#4538).
20227
20228 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
20229
20230 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
20231 Fix nasty bug using wrong cached values.
20232
20233 2011-09-23 Alan Mackenzie <acm@muc.de>
20234
20235 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
20236
20237 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
20238
20239 * window.el (pop-to-buffer): Ensure right window is selected if we
20240 chose another frame.
20241
20242 2011-09-22 Eli Zaretskii <eliz@gnu.org>
20243
20244 * simple.el (what-cursor-position): Use get-char-property-change
20245 and next-single-char-property-change, to be able to show display
20246 properties that come from overlays as well as text properties.
20247
20248 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
20249
20250 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
20251
20252 * cmuscheme.el (run-scheme, switch-to-scheme):
20253 * cus-edit.el (customize-group, custom-buffer-create)
20254 (customize-browse):
20255 * info.el (info):
20256 * shell.el (shell):
20257 * mail/sendmail.el (mail):
20258 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
20259
20260 2011-09-22 Richard Stallman <rms@gnu.org>
20261
20262 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
20263 move back only to line beg, don't move back over blank lines.
20264
20265 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
20266
20267 * files.el (copy-directory): Set directory attributes only in case
20268 they could be retrieved from the source directory. (Bug#9565)
20269
20270 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
20271
20272 * progmodes/hideshow.el (hs-looking-at-block-start-p)
20273 (hs-find-block-beginning, hs-hide-level-recursive):
20274 Ignore strings as well as comments. (Bug#9502)
20275
20276 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
20277
20278 * progmodes/sql.el (sql-comint-postgres):
20279 Convert port number to a string. (Bug#9566)
20280
20281 2011-09-22 Martin Rudalics <rudalics@gmx.at>
20282
20283 * window.el (quit-window): Undedicate window when switching to
20284 previous buffer. Reported by Thierry Volpiatto
20285 <thierry.volpiatto@gmail.com>.
20286 (special-display-popup-frame): When popping up a new frame reset
20287 its previous buffers to nil. Simplify code.
20288
20289 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
20290
20291 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
20292 and process filter, as done also in `shell-command'.
20293
20294 2011-09-21 Martin Rudalics <rudalics@gmx.at>
20295
20296 * window.el (set-window-buffer-start-and-point):
20297 Call set-window-start with NOFORCE argument t.
20298 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20299 (quit-window): Reword doc-string. Handle new format of
20300 quit-restore parameter. Don't delete window if it has a
20301 previous buffer we can show instead of the present one.
20302 (display-buffer-record-window): Rewrite using a new format for
20303 the quit-restore window parameter
20304 (special-display-popup-frame, display-buffer-same-window)
20305 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20306 (display-buffer-pop-up-window, display-buffer-use-some-window):
20307 Adapt symbol passed to display-buffer-record-window.
20308 * help.el (help-window-setup): Handle new format of quit-restore
20309 parameter.
20310
20311 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
20312
20313 * faces.el (face-list): Fix docstring (bug#9564).
20314
20315 * window.el (display-buffer--action-function-custom-type):
20316 Don't include internal functions in the Custom interface.
20317
20318 2011-09-20 Juri Linkov <juri@jurta.org>
20319
20320 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
20321 (Info-forward-node, Info-backward-node, Info-next-preorder)
20322 (Info-last-preorder): Use it. (Bug#9528)
20323
20324 2011-09-20 Juri Linkov <juri@jurta.org>
20325
20326 * info.el (Info-last-preorder): Visit last menu item only when
20327 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
20328
20329 2011-09-20 Julien Danjou <julien@danjou.info>
20330
20331 * password-cache.el (password-cache-remove): Remove entries even if the
20332 value is nil, so that password with a nil value (negative caching) is
20333 possible to invalidate.
20334
20335 2011-09-20 Lawrence Mitchell <wence@gmx.li>
20336
20337 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
20338 all whitespace around breakpoint. (Bug#9553)
20339 (f90-find-breakpoint): Only break at whitespace inside a comment.
20340
20341 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
20342
20343 * minibuffer.el (completion-file-name-table): Keep track of errors.
20344 (completion-table-with-predicate): Handle the case where pred1 is nil.
20345 * pcomplete.el (pcomplete-completions-at-point): Simplify.
20346
20347 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20348
20349 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
20350 (debugger-return-value): Signal an error if the debugging context does
20351 not await any return value.
20352
20353 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
20354 * image-mode.el (image-toggle-display-text)
20355 (image-toggle-display-image): Stay away from evil `intangible'.
20356
20357 2011-09-19 Leo Liu <sdl.web@gmail.com>
20358
20359 * replace.el (occur-revert-arguments): Make it permanent-local.
20360 (occur-mode): Don't call font-lock-defontify.
20361
20362 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
20363
20364 * net/ldap.el (ldap-search-internal): Don't push empty search
20365 result (Bug#9508).
20366
20367 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20368
20369 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
20370
20371 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
20372
20373 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
20374 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
20375
20376 2011-09-18 Juri Linkov <juri@jurta.org>
20377
20378 * buff-menu.el (Buffer-menu-mode-map):
20379 * dired.el (dired-mode-map):
20380 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
20381 (lisp-interaction-mode-map):
20382 * emacs-lisp/package.el (package-menu-mode-map):
20383 * epa.el (epa-key-list-mode-map):
20384 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
20385 (menu-bar-options-menu):
20386 * outline.el (outline-mode-menu-bar-map):
20387 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
20388 * vc/vc-dir.el (vc-dir-menu-map):
20389 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
20390 Capitalize non-function content words in menu item strings.
20391
20392 * dired.el (dired-mode-map): Add menu item for
20393 `image-dired-dired-toggle-marked-thumbs'.
20394
20395 2011-09-18 Juri Linkov <juri@jurta.org>
20396
20397 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
20398 to `isearch-case-fold-search' and restore its original value
20399 after the `isearch-mode' call.
20400
20401 2011-09-18 Juri Linkov <juri@jurta.org>
20402
20403 * progmodes/grep.el (grep-process-setup): Don't check code for 1
20404 because `zgrep' returns 1 for successful matches (bug#9226).
20405
20406 2011-09-18 Juri Linkov <juri@jurta.org>
20407
20408 * info.el (Info-extract-menu-node-name): Check the second match
20409 for empty string (second test-case of bug#9528).
20410 (Info-last-preorder): Let-bind `Info-history' to nil to not add
20411 intermediate nodes to the history (first test-case of bug#9528).
20412
20413 2011-09-18 Juri Linkov <juri@jurta.org>
20414
20415 * info.el (Info-mode-syntax-table): New variable.
20416 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
20417
20418 2011-09-18 Juri Linkov <juri@jurta.org>
20419
20420 * info.el (Info-file-supports-index-cookies):
20421 Increment line-beginning-position's arg from 3 to 4 because makeinfo
20422 outputs one more line for long file names (bug#4142).
20423
20424 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20425
20426 * newcomment.el (comment-normalize-vars): If prompting for
20427 comment-start, set comment-start-skip too (Bug#8424).
20428
20429 2011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
20430
20431 * icomplete.el: Fix previous fix of Bug#5849.
20432 (icomplete-mode): Don't set completion-show-inline-help.
20433 (icomplete-minibuffer-setup): Set completion-show-inline-help
20434 locally during icompletion.
20435
20436 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20437
20438 * woman.el (woman2-process-escapes): Don't delete unrecognized
20439 escapes (Bug#7843).
20440
20441 * files.el (inhibit-first-line-modes-regexps): Add image files.
20442 (hack-local-variables-prop-line): Return nil for malformed
20443 prop-lines (Bug#9044).
20444
20445 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
20446
20447 * net/tramp.el (top): Don't require 'shell.
20448 (tramp-methods): Fix docstring.
20449 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
20450 Return complete remote file name. Handle "smb" case.
20451 Use `tramp-tmpdir', if defined for the respective method.
20452 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
20453
20454 * net/tramp-compat.el (top): Require 'shell.
20455
20456 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20457 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
20458 `tramp-current-host'.
20459 (tramp-get-remote-tmpdir): Remove.
20460
20461 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
20462 `tramp-tmpdir' entries.
20463 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
20464 (tramp-smb-handle-file-attributes): Ignore errors.
20465 (tramp-smb-wait-for-output): Check also for process end.
20466
20467 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
20468
20469 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
20470 when sending QUIT (bug#9312).
20471
20472 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
20473
20474 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
20475 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
20476 occur-mode-display-occurrence.
20477 (occur-edit-mode): Add usage message.
20478 (occur-cease-edit): New command.
20479 (occur-after-change-function): Use text properties to find the
20480 position of the prefix text.
20481 (occur-engine): Set stickiness of prefix text properties.
20482
20483 2011-09-17 Glenn Morris <rgm@gnu.org>
20484
20485 * progmodes/etags.el (complete-tag):
20486 Fix call to completion-in-region. (Bug#9526)
20487
20488 2011-09-17 Juri Linkov <juri@jurta.org>
20489
20490 * textmodes/ispell.el (ispell-word): Add to the error message
20491 the word, ispell program name and current dictionary (bug#9121).
20492 (ispell-tex-arg-end): Capitalize "error" in the error message.
20493
20494 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
20495
20496 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
20497 check. (Bug#4251)
20498
20499 2011-09-17 Juri Linkov <juri@jurta.org>
20500
20501 * window.el (window-safe-min-height, window-safe-min-width):
20502 Fix typos (followup to bug#9522).
20503
20504 2011-09-17 Sven Joachim <svenjoac@gmx.de>
20505
20506 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
20507
20508 2011-09-16 Eli Zaretskii <eliz@gnu.org>
20509
20510 * simple.el (line-move): If goal-column is set, move by logical
20511 lines, not by display lines. (Bug#971)
20512 (next-line, previous-line, goal-column, line-move-visual): Doc fix
20513 to reflect the above change.
20514
20515 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
20516
20517 * image.el (imagemagick-register-types): Use regexp-opt.
20518
20519 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20520
20521 * window.el (display-buffer-base-action): Rename from
20522 display-buffer-default-action. Make default value empty.
20523 (display-buffer-overriding-action): Convert to defvar.
20524 (display-buffer-fallback-action): New var.
20525
20526 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20527
20528 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
20529 declaration.
20530 (package--add-to-archive-contents): If there is a duplicate entry
20531 with an older version, remove it.
20532 (package-menu-mark-delete, package-menu-mark-install)
20533 (package-menu-mark-unmark): Make unused args optional.
20534 (package-menu-mark-obsolete-for-deletion):
20535 Use package-menu-get-status instead of a regexp search.
20536 (package-menu-get-status): Use tabulated-list-entry.
20537 (package-menu-mark-upgrades): New command.
20538 (package-menu-mode-map): Bind it to U. Add it to menu bar.
20539 (package-menu-execute): Do installation before deletion.
20540 (package-menu-refresh, package-menu-execute): Use derived-mode-p
20541 instead of checking major-mode.
20542 (package-menu--find-upgrades): New function.
20543
20544 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20545
20546 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
20547 passwords in the log buffer.
20548 (smtpmail-process-filter): Update the process marker so that the
20549 "broken by peer" status message is inserted in the right place.
20550
20551 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
20552
20553 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
20554 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
20555 bibtex-completion-at-point-function.
20556 (bibtex-completion-at-point-function): Use them.
20557
20558 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
20559
20560 * mpc.el (mpc-constraints-tag-lookup): New function.
20561 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
20562 also to browser "album|playlist".
20563
20564 2011-09-14 Juri Linkov <juri@jurta.org>
20565
20566 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
20567 (isearch-edit-string): Use length of `isearch-string' when
20568 `isearch-fail-pos' returns nil.
20569 (isearch-message): Remove duplicate code and call
20570 `isearch-fail-pos' with arg `t'.
20571
20572 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
20573
20574 * replace.el (occur-mode-goto-occurrence): Don't force using other
20575 window (Bug#9499).
20576
20577 * dired-aux.el (dired-do-chmod): Don't provide initial input.
20578
20579 2011-09-14 Martin Rudalics <rudalics@gmx.at>
20580
20581 * window.el (display-buffer-window): Remove.
20582 (display-buffer-record-window): Use help-setup window parameter
20583 instead of variable display-buffer-window.
20584 (display-buffer-function, special-display-buffer-names)
20585 (special-display-function): Mention help-setup parameter instead
20586 of display-buffer-window in doc-string.
20587 * help.el (help-window-setup): New argument help-window.
20588 Use help-window-setup parameter instead of display-buffer-window.
20589 Reword some messages.
20590 (with-help-window): Pass window used for displaying the buffer
20591 to help-window-setup. Don't set display-buffer-window.
20592
20593 2011-09-13 Glenn Morris <rgm@gnu.org>
20594
20595 * emacs-lisp/debug.el (debugger-make-xrefs):
20596 Preserve point. (Bug#9462)
20597
20598 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20599
20600 * window.el (window-deletable-p): Use next-frame.
20601
20602 2011-09-13 Martin Rudalics <rudalics@gmx.at>
20603
20604 * window.el (window-auto-delete): Remove.
20605 (window-deletable-p): Remove argument FORCE. Don't deal with
20606 dedication and previous buffers.
20607 (switch-to-prev-buffer): Don't delete window.
20608 (delete-windows-on): Delete a window's frame if and only if the
20609 window is dedicated.
20610 (replace-buffer-in-windows): Delete buffer's window or frame if
20611 and only if window is dedicated.
20612 (quit-window): Handle quit-restore as before last change.
20613 (bury-buffer): Delete window only if window-deletable-p returns t.
20614
20615 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20616
20617 * window.el (window-deletable-p): Never delete the last frame on a
20618 given terminal.
20619
20620 2011-09-13 Glenn Morris <rgm@gnu.org>
20621
20622 * help.el (describe-key-briefly): Copy previous standard-output change.
20623
20624 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
20625
20626 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
20627
20628 2011-09-13 Glenn Morris <rgm@gnu.org>
20629
20630 * emacs-lisp/lisp-mode.el (lisp-indent-function):
20631 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
20632
20633 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
20634
20635 * dired-aux.el (dired-mark-read-string): Don't return default
20636 value on empty input (Bug#9361).
20637 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
20638 Omit initial minibuffer contents.
20639 (dired-do-chmod): Signal an error on empty input.
20640 (dired-mark-read-string): Don't return default on empty input.
20641
20642 * files.el (file-modes-symbolic-to-number): Doc fix.
20643
20644 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20645
20646 * international/mule-cmds.el (ucs-completions): Remove.
20647 (read-char-by-name): Use complete-with-action instead; add metadata.
20648
20649 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20650
20651 * window.el (display-buffer--action-function-custom-type)
20652 (display-buffer--action-custom-type): New vars.
20653 (display-buffer-alist, display-buffer-default-action)
20654 (display-buffer-overriding-action): Add defcustom types.
20655
20656 * frame.el (delete-other-frames): Doc fix (Bug#276).
20657
20658 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20659
20660 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
20661
20662 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20663
20664 Change modes that used same-window-* vars to use switch-to-buffer.
20665
20666 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
20667 Use switch-to-buffer.
20668
20669 * cus-edit.el (customize-group, custom-buffer-create)
20670 (customize-browse, custom-buffer-create-other-window):
20671 Use switch-to-buffer or switch-to-buffer-other-window.
20672
20673 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
20674 (Info-prev, Info-up, Info-speedbar-goto-node)
20675 (info-display-manual): Use switch-to-buffer.
20676 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
20677
20678 * mail/sendmail.el (mail): Use switch-to-buffer.
20679 (mail-recover): Use switch-to-buffer-other-window.
20680
20681 * cmuscheme.el (run-scheme, switch-to-scheme):
20682 * ielm.el (ielm):
20683 * shell.el (shell):
20684 * net/rlogin.el (rlogin):
20685 * net/telnet.el (telnet, rsh):
20686 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
20687
20688 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20689
20690 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
20691
20692 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20693
20694 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
20695 so don't mention it (bug#9301).
20696 (dired-sort-toggle-or-edit): Clarify string further.
20697
20698 * faces.el (face-spec-set-match-display): Make `(type graphic)'
20699 match `x', `w32' and `ns', like the manual says (bug#9029).
20700
20701 * subr.el (eval-after-load): Doc string clarification (bug#9125).
20702 (process-kill-buffer-query-function): Mention the buffer name in
20703 the query.
20704
20705 * image-mode.el (image-next-line): The line parameter is mandatory
20706 (bug#9258).
20707
20708 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
20709 which can be useful (bug#9301).
20710
20711 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
20712
20713 * subr.el (match-string): Mention that the current buffer should
20714 be the same as the search was done in (bug#9282).
20715
20716 * facemenu.el: Disable the remove-* commands if the mark isn't
20717 active (bug#9162).
20718
20719 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20720
20721 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
20722 of display-buffer.
20723 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
20724
20725 * replace.el (occur-mode-goto-occurrence)
20726 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
20727 and display-buffer.
20728
20729 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
20730 display-buffer.
20731
20732 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
20733 special-display and same-window variables.
20734 (mail-other-window): Use switch-to-buffer-other-window.
20735 (mail-other-frame): USe switch-to-buffer-other-frame.
20736
20737 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
20738 Use display-buffer-other-frame.
20739 (gdb-display-gdb-buffer): Use pop-to-buffer.
20740
20741 * progmodes/gud.el (gud-goto-info): Use info-other-window.
20742
20743 * progmodes/python.el: Don't set same-window-buffer-names.
20744
20745 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
20746
20747 * window.el (display-buffer-alist): Add *Python*.
20748
20749 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20750
20751 * window.el (display-buffer-alist): Add entry for buffers
20752 previously handled same-window-*.
20753 (display-buffer-alist, display-buffer-default-action)
20754 (display-buffer-overriding-action): Mark as risky.
20755 (display-buffer-alist): Document action function changes.
20756 (display-buffer--same-window-action)
20757 (display-buffer--other-frame-action): New variables.
20758 (switch-to-buffer, display-buffer-other-frame): Use them.
20759 (display-buffer): Rename reuse-frame entry to reusable-frames.
20760 (display-buffer-reuse-selected-window): Function deleted.
20761 (display-buffer-reuse-window): Handle reusable-frames alist entry.
20762 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
20763 (display-buffer-special): New function.
20764 (display-buffer--maybe-pop-up-frame-or-window): Rename from
20765 display-buffer-reuse-or-pop-window. Split off special-display
20766 part into display-buffer-special.
20767 (display-buffer-use-some-window): Don't perform any special
20768 pop-up-frames handling.
20769 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
20770 (display-buffer--maybe-same-window): Rename from
20771 display-buffer-maybe-same-window.
20772
20773 * info.el: Don't set same-window-regexps.
20774 (info-setup): New function.
20775 (info-other-window, info): Call it.
20776
20777 * cus-edit.el: Don't set same-window-regexps.
20778 (customize-group): New argument.
20779 (customize-group-other-window): Use it.
20780 (customize-face, customize-face-other-window): Likewise.
20781 (custom-buffer-create-other-window): Use pop-to-buffer directly.
20782
20783 * net/rlogin.el:
20784 * net/telnet.el:
20785 * progmodes/gud.el: Don't set same-window-regexps.
20786
20787 * cmuscheme.el:
20788 * ielm.el:
20789 * shell.el:
20790 * mail/sendmail.el:
20791 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
20792
20793 2011-09-10 Juri Linkov <juri@jurta.org>
20794
20795 * isearch.el (isearch-edit-string): Remove obsolete mention of
20796 `C-w' (`isearch-yank-word-or-char') from docstring.
20797 (isearch-query-replace): Fix typo in docstring (bug#9466).
20798
20799 2011-09-10 Juri Linkov <juri@jurta.org>
20800
20801 * paren.el (show-paren-function): Don't show escaped parens.
20802 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
20803
20804 2011-09-10 Eli Zaretskii <eliz@gnu.org>
20805
20806 * mail/sendmail.el (mml-to-mime, mml-attach-file)
20807 (mm-default-file-encoding): Remove autoload forms, they are
20808 replaced with autoload cookies in mml.el and mm-encode.el.
20809 (mail-add-attachment): New command.
20810 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
20811 (mail-mode): Mention mail-insert-file and mail-add-attachment in
20812 the doc string.
20813 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
20814
20815 2011-09-10 Reuben Thomas <rrt@sc3d.org>
20816
20817 * simple.el (count-words-region): Use buffer if there's no region
20818 (bug#9429).
20819
20820 2011-09-09 Juri Linkov <juri@jurta.org>
20821
20822 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
20823 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
20824 (wdired-isearch-filter-read-only): New function. (Bug#6362)
20825
20826 2011-09-09 Alan Mackenzie <acm@muc.de>
20827
20828 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
20829 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
20830
20831 2011-09-09 Eli Zaretskii <eliz@gnu.org>
20832
20833 Fix for Savannah bug#9392.
20834 * simple.el (mail-encode-mml): New defvar.
20835
20836 * mail/rmail.el (mail-encode-mml): Add a defvar.
20837 (rmail-enable-mime-composing): Default to t.
20838 (rmail-forward): Use MIME method of forwarding only if both
20839 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
20840 Set mail-encode-mml non-nil if the MIME method was used.
20841
20842 * mail/sendmail.el (mml-to-mime): Add autoload form.
20843 (mail-encode-mml): Add a defvar.
20844 (mail-mode): Make mail-encode-mml buffer-local and initialize it
20845 to nil.
20846 (mail-send): If mail-encode-mml is non-nil, run the outgoing
20847 message through mml-to-mime, and reset mail-encode-mml to nil.
20848
20849 2011-09-09 Glenn Morris <rgm@gnu.org>
20850
20851 * woman.el (woman-if-body): When processing an .el block,
20852 do not delete the next .el block as well. (Bug#9447)
20853 (woman-special-characters): Add oq, cq, and hy characters.
20854
20855 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20856
20857 * window.el (window-deletable-p): Make sure window is live before
20858 invoking window-prev-buffers.
20859
20860 2011-09-08 Leo Liu <sdl.web@gmail.com>
20861
20862 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
20863
20864 2011-09-08 Juri Linkov <juri@jurta.org>
20865
20866 * progmodes/compile.el (compilation-environment): Make it
20867 a defcustom (bug#8340).
20868
20869 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20870
20871 * window.el (frame-auto-delete): Rename to window-auto-delete.
20872 Make it control auto-deletion of windows and/or frames.
20873 (window-deletable-p): New argument FORCE. Rewrite conditions
20874 for deleting window/frame. (Bug#9419)
20875 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
20876 Rewrite handling of case when window/frame can be deleted.
20877 (delete-windows-on): Call window-deletable-p with new FORCE
20878 argument t. (Bug#9456)
20879
20880 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
20881
20882 * help-mode.el (help-mode): Restore autoload.
20883
20884 2011-09-07 Juri Linkov <juri@jurta.org>
20885
20886 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
20887 `compilation-environment'. Set buffer-local
20888 `compilation-environment' to `thisenv' later after (funcall mode).
20889 (Bug#8340)
20890
20891 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
20892 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
20893 instead of replacing its value. (Bug#8340)
20894
20895 2011-09-07 Juri Linkov <juri@jurta.org>
20896
20897 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
20898 based on text properties put by `grep-filter' instead of matching
20899 escape sequences.
20900 (grep-mode): Set buffer-local `compilation-error-screen-columns'
20901 to the value of `grep-error-screen-columns' (bug#9438).
20902
20903 2011-09-07 Juri Linkov <juri@jurta.org>
20904
20905 * simple.el (next-error-highlight, next-error-highlight-no-select):
20906 Doc fix (bug#9432).
20907
20908 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
20909
20910 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20911 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
20912
20913 2011-09-07 Leo Liu <sdl.web@gmail.com>
20914
20915 * net/rcirc.el (rcirc-mode): Conditionally initialize
20916 rcirc-input-ring.
20917
20918 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
20919
20920 * emacs-lisp/find-func.el (find-function-C-source): Only set
20921 find-function-C-source-directory after checking that we found a source
20922 file there (bug#9440).
20923
20924 2011-09-06 Alan Mackenzie <acm@muc.de>
20925
20926 * isearch.el (isearch-other-meta-char): Wherever a key list is
20927 unread, "unread" the prefix arg, too. This fixes bug #8901.
20928
20929 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
20930
20931 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
20932
20933 2011-09-05 Juri Linkov <juri@jurta.org>
20934
20935 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
20936
20937 2011-09-05 Juri Linkov <juri@jurta.org>
20938
20939 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
20940 keeping point where processing of grep matches begins, and
20941 continue to delete remaining escape sequences from the same point.
20942 (grep-filter): Make leading zero optional in "0?1;31m" because
20943 git-grep emits "\033[1;31m" escape sequences unlike expected
20944 "\033[01;31m" as GNU Grep does (bug#9408).
20945 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
20946
20947 2011-09-05 Juri Linkov <juri@jurta.org>
20948
20949 * subr.el (y-or-n-p): Capitalize "yes".
20950
20951 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
20952
20953 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
20954 `tramp-cache-unload-hook' where appropriate.
20955 (tramp-methods): Rename `tramp-remote-sh' to
20956 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
20957 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
20958
20959 * net/tramp-sh.el (top): Don't require 'shell.
20960 (tramp-methods): Add `tramp-remote-shell' and
20961 `tramp-remote-shell-args' entries.
20962 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
20963 (tramp-sh-handle-shell-command): Remove.
20964 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20965 Use `tramp-remote-shell'.
20966
20967 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
20968
20969 * mail/sendmail.el (sendmail-query-once-function): Delete.
20970 (sendmail-query-once): Save directly to send-mail-function.
20971 Update message-send-mail-function too.
20972
20973 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
20974
20975 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20976
20977 * progmodes/python.el (python-mode-map): Use correct function to
20978 start python interpreter from menu-bar (as reported by Geert
20979 Kloosterman).
20980 (inferior-python-mode-map): Fix typo.
20981 (python-shell-map): Remove.
20982
20983 2011-09-03 Deniz Dogan <deniz@dogan.se>
20984
20985 * net/rcirc.el (rcirc-print): Simplify code for
20986 rcirc-scroll-show-maximum-output. There is no need to walk
20987 through all windows to find the right one.
20988
20989 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20990
20991 * help.el (help-return-method): Doc fix.
20992
20993 2011-09-03 Martin Rudalics <rudalics@gmx.at>
20994
20995 * window.el (window-deletable-p): Don't return a non-nil value
20996 when there's a buffer that was shown in the window before.
20997 (Bug#9419)
20998 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20999 Set window's previous buffers to nil.
21000
21001 2011-09-03 Eli Zaretskii <eliz@gnu.org>
21002
21003 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
21004 newline before and after the tag line, so it doesn't interfere
21005 with determining the paragraph direction of bidirectional text.
21006
21007 2011-09-03 Leo Liu <sdl.web@gmail.com>
21008
21009 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
21010
21011 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21012
21013 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
21014 (pop-to-buffer): Change interactive spec. Pass second argument
21015 directly to display-buffer.
21016 (display-buffer): Fix interactive spec. Use functionp to
21017 distinguish between a function and a list of functions.
21018
21019 * abbrev.el (edit-abbrevs):
21020 * arc-mode.el (archive-extract):
21021 * autoinsert.el (auto-insert):
21022 * bookmark.el (bookmark-bmenu-list):
21023 * files.el (find-file):
21024 * view.el (view-buffer):
21025 * progmodes/compile.el (compilation-goto-locus):
21026 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
21027
21028 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21029
21030 * window.el (display-buffer-alist): Doc fix.
21031 (display-buffer): Add docstring. Don't treat
21032 display-buffer-default specially.
21033 (display-buffer-reuse-selected-window)
21034 (display-buffer-same-window, display-buffer-maybe-same-window)
21035 (display-buffer-reuse-window, display-buffer-pop-up-frame)
21036 (display-buffer-pop-up-window)
21037 (display-buffer-reuse-or-pop-window)
21038 (display-buffer-use-some-window): New functions.
21039 (display-buffer-default-action): Use them.
21040 (display-buffer-default): Delete.
21041 (pop-to-buffer-1): Fix choice of actions.
21042
21043 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
21044
21045 * minibuffer.el (completion--insert-strings): Don't get confused by
21046 completion entries that end with an LF char.
21047
21048 2011-09-01 Eli Zaretskii <eliz@gnu.org>
21049
21050 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
21051
21052 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
21053
21054 * window.el (display-buffer): Restore interactive spec.
21055 (display-buffer-same-window, display-buffer-other-window):
21056 New functions.
21057 (pop-to-buffer-1): New function. Use the above.
21058 (pop-to-buffer, pop-to-buffer-same-window): Use it.
21059 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
21060
21061 * view.el (view-buffer-other-window, view-buffer-other-frame):
21062 Just use pop-to-buffer.
21063
21064 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
21065
21066 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
21067
21068 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
21069
21070 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
21071
21072 2011-08-31 Richard Stallman <rms@gnu.org>
21073
21074 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
21075 of the separation of rmail-view-buffer from rmail-buffer.
21076 If you say no to "replace original", the decrypt is in the
21077 view buffer. If you say yes, the decrypt goes into the
21078 rmail buffer also.
21079
21080 2011-08-31 Martin Rudalics <rudalics@gmx.at>
21081
21082 * window.el (display-buffer-window): Rewrite doc-string.
21083 (display-buffer-record-window): New function.
21084 (display-buffer-macro-specifiers)
21085 (display-buffer-even-window-sizes, display-buffer-set-height)
21086 (display-buffer-set-width, display-buffer-in-window)
21087 (display-buffer-reuse-window, display-buffer-split-specifiers)
21088 (display-buffer-side-specifiers, display-buffer-split-window-1)
21089 (display-buffer-split-window, display-buffer-split-atom-window)
21090 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21091 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
21092 (display-buffer-other-window-means-other-frame)
21093 (display-buffer-normalize-special)
21094 (display-buffer-normalize-default)
21095 (display-buffer-normalize-argument)
21096 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
21097 (display-buffer-normalize-specifiers, display-buffer-frame)
21098 (display-buffer-same-window, display-buffer-same-frame)
21099 (display-buffer-other-window)
21100 (display-buffer-same-frame-other-window)
21101 (display-buffer-other-frame, pop-to-buffer-same-window)
21102 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
21103 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
21104 (switch-to-buffer-same-frame)
21105 (switch-to-buffer-other-window-same-frame)
21106 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
21107 (display-buffer-alist-set-1, display-buffer-alist-set-2)
21108 (display-buffer-alist-set): Remove.
21109 (display-buffer-function, special-display-buffer-names)
21110 (special-display-regexps, special-display-function):
21111 In doc-string refer to display-buffer-window and quit-restore
21112 parameter.
21113 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
21114 (special-display-frame-alist, special-display-popup-frame)
21115 (same-window-buffer-names, same-window-regexps, same-window-p)
21116 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21117 (split-window-preferred-function, split-height-threshold)
21118 (split-width-threshold, window-splittable-p)
21119 (split-window-sensibly, window--try-to-split-window)
21120 (window--frame-usable-p, even-window-heights)
21121 (window--even-window-heights, window--display-buffer-1)
21122 (window--display-buffer-2, display-buffer-other-frame):
21123 Restore old Emacs 23 code, order and doc-strings where applicable.
21124 (display-buffer-default, display-buffer-assq-regexp): New functions.
21125 (display-buffer-alist): Rewrite doc-string.
21126 (display-buffer-default-action)
21127 (display-buffer-overriding-action): New variables.
21128 (display-buffer, switch-to-buffer): Rewrite.
21129 (pop-to-buffer): Restore Emacs 23 behavior but use
21130 window-normalize-buffer-to-display.
21131 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
21132 Restore Emacs 23 behavior but use
21133 window-normalize-buffer-to-switch-to.
21134 (pop-to-buffer-same-window): Rewrite.
21135 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
21136 Rewrite using Emacs 23 options.
21137
21138 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
21139
21140 * net/tramp.el (tramp-root-regexp): Remove.
21141 (tramp-completion-file-name-regexp-unified)
21142 (tramp-completion-file-name-regexp-separate)
21143 (tramp-completion-file-name-regexp-url): Don't use leading volume
21144 letter on w32 systems. (Bug#5303, Bug#9311)
21145 (tramp-drop-volume-letter): Simplify definition.
21146 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
21147
21148 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
21149
21150 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
21151 (bug#9356).
21152
21153 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
21154
21155 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
21156
21157 2011-08-29 Juri Linkov <juri@jurta.org>
21158
21159 * isearch.el (isearch-done): Don't display message "Mark saved"
21160 when arg `edit' is non-nil to prevent its flicker in the echo area.
21161
21162 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21163
21164 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
21165 obsolete packages for deletion.
21166
21167 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
21168
21169 * help-mode.el (help-mode-map): Add special-mode-map to parent.
21170 (help-mode): Derive help-mode from special-mode. Don't invoke
21171 view-mode from help-mode.
21172 (help-xref-override-view-map): Remove.
21173 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
21174 view-mode is not used anymore.
21175
21176 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21177
21178 * server.el (server-port): Doc fix.
21179
21180 * cus-theme.el (custom-theme-choose-mode): Inherit from
21181 special-mode (Bug#9124).
21182 (custom-theme-choose-mode-map): Add special-mode to parent.
21183
21184 2011-08-28 Alan Mackenzie <acm@muc.de>
21185
21186 * progmodes/cc-fonts.el
21187 (c-make-font-lock-BO-decl-search-function): New function.
21188 (c-basic-matchers-after - "Fontify the clauses after various
21189 keywords"): Extract the three keyword lists for the 3 erroneous
21190 constructs from the list of four, and use the new function above
21191 in place of an old one.
21192
21193 2011-08-28 Deniz Dogan <deniz@dogan.se>
21194
21195 * net/rcirc.el (rcirc-insert-prev-input)
21196 (rcirc-insert-next-input): Remove unused argument.
21197
21198 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21199
21200 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
21201
21202 2011-08-27 Alan Mackenzie <acm@muc.de>
21203
21204 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
21205 handle function pointer parameters properly.
21206
21207 2011-08-27 Martin Rudalics <rudalics@gmx.at>
21208
21209 * window.el (display-buffer-reuse-window): Fix case where
21210 selected window was reused with non-nil OTHER-WINDOW argument.
21211 (Bug#9381)
21212
21213 2011-08-27 Deniz Dogan <deniz@dogan.se>
21214
21215 * net/rcirc.el (rcirc-check-auth-status): Adding support for
21216 oftc's NickServ messages.
21217
21218 2011-08-27 Glenn Morris <rgm@gnu.org>
21219
21220 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
21221
21222 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
21223
21224 * emacs-lisp/package.el (package-install): Call package-initialize
21225 if called interactively.
21226
21227 2011-08-26 Leo Liu <sdl.web@gmail.com>
21228
21229 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
21230
21231 2011-08-25 Juri Linkov <juri@jurta.org>
21232
21233 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
21234 `search-whitespace-regexp' (bug#9364).
21235
21236 2011-08-25 Juri Linkov <juri@jurta.org>
21237
21238 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
21239 `regexp-search-ring' to their global values to protect from
21240 updating by `read-from-minibuffer' (bug#9185).
21241
21242 2011-08-25 Juri Linkov <juri@jurta.org>
21243
21244 * textmodes/ispell.el (ispell-command-loop): Add newline
21245 at the end of the "Use option `i'..." line.
21246
21247 2011-08-25 Juri Linkov <juri@jurta.org>
21248
21249 * battery.el (display-battery-mode): If `battery-status-function'
21250 or `battery-mode-line-format' is nil, display the message and set
21251 `display-battery-mode' to nil (bug#9363).
21252
21253 2011-08-25 Eli Zaretskii <eliz@gnu.org>
21254
21255 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
21256 bidi-string-mark-left-to-right; they are unnecessary now.
21257
21258 2011-08-25 Deniz Dogan <deniz@dogan.se>
21259
21260 * net/quickurl.el: Documentation typo fixes.
21261
21262 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
21263
21264 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
21265
21266 2011-08-25 Glenn Morris <rgm@gnu.org>
21267
21268 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
21269
21270 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
21271 (smtpmail-via-smtp): Handle nil response from smtp.
21272
21273 2011-08-24 Juri Linkov <juri@jurta.org>
21274
21275 * proced.el (proced-marked): Inherit from `error' instead of
21276 `font-lock-warning-face'.
21277
21278 * ibuffer.el (ibuffer-marked-face): Change default face from
21279 `font-lock-warning-face' to `warning'.
21280 (ibuffer-deletion-face): Change default face from
21281 `font-lock-type-face' to `error'.
21282
21283 * battery.el (battery-update): Use the face `error' instead of
21284 `font-lock-warning-face' (bug#6117).
21285
21286 2011-08-24 Juri Linkov <juri@jurta.org>
21287
21288 * faces.el (success): Change face color from "Green3" to
21289 "ForestGreen" on light background (bug#9353).
21290
21291 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
21292
21293 * window.el (quit-window): Rename from quit-restore-window.
21294 Use same arglist as old quit-window.
21295 (frame-auto-delete): Doc fix.
21296
21297 * view.el (view-mode-exit): Use quit-window.
21298
21299 2011-08-24 Juri Linkov <juri@jurta.org>
21300
21301 * isearch.el (isearch-ring-adjust1): Start visiting previous
21302 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
21303 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
21304 for empty search string (when the last search string is reused
21305 automatically) to adjust the isearch ring to the last element and
21306 prepare the correct index for further M-p commands (bug#9185).
21307
21308 2011-08-24 Kenichi Handa <handa@m17n.org>
21309
21310 * international/ucs-normalize.el: If decomposition property of
21311 CHAR is the default one (i.e. a list of CHAR itself), treat it as
21312 nil.
21313 (nfd, nfkd): Likewise.
21314
21315 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21316
21317 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
21318 from process filters aren't reliably transmitted to the surrounding
21319 accept-process-output.
21320 (mpc-proc-check): New function.
21321 (mpc-proc-sync): Use it (bug#8293)
21322
21323 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21324
21325 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
21326 Add compatibility functions (bug#9313).
21327
21328 2011-08-23 Eli Zaretskii <eliz@gnu.org>
21329
21330 * cus-start.el (all): Add entry for bidi-paragraph-direction.
21331
21332 * international/uni-bidi.el: Regenerate.
21333
21334 2011-08-23 Kenichi Handa <handa@m17n.org>
21335
21336 * international/charprop.el:
21337 * international/uni-bidi.el:
21338 * international/uni-category.el:
21339 * international/uni-combining.el:
21340 * international/uni-comment.el:
21341 * international/uni-decimal.el:
21342 * international/uni-decomposition.el:
21343 * international/uni-digit.el:
21344 * international/uni-lowercase.el:
21345 * international/uni-mirrored.el:
21346 * international/uni-name.el:
21347 * international/uni-numeric.el:
21348 * international/uni-old-name.el:
21349 * international/uni-titlecase.el:
21350 * international/uni-uppercase.el: Regenerate.
21351
21352 2011-08-23 Martin Rudalics <rudalics@gmx.at>
21353
21354 * help.el (help-window-setup): Fix message displayed when other
21355 window is reused. (Bug#9341)
21356
21357 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21358
21359 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
21360 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
21361
21362 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
21363 Mark obsolete.
21364 * shell.el (shell-parse-pcomplete-arguments): New function.
21365 (shell-completion-vars): Use it instead (bug#9160).
21366
21367 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
21368
21369 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
21370 strings and comments (bug#9333).
21371
21372 * emacs-lisp/debug.el (debug-arglist): New function.
21373 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
21374 (debug-on-entry-1): Handle interpreted closures (bug#9120).
21375
21376 2011-08-22 Juri Linkov <juri@jurta.org>
21377
21378 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21379 Revert regexp that highlights output switches to its old
21380 pre-2010-10-28 value and remove one `?' from it (bug#9319).
21381
21382 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
21383 to check for empty output (bug#9226).
21384
21385 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
21386
21387 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
21388 symbol-constituent as the default, as that stops font-lock from
21389 working properly (Bug#8843).
21390
21391 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21392
21393 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
21394 `coding-system-for-*' around the process open call to avoid
21395 auth-source side effects.
21396 (smtpmail-try-auth-methods): Expand the secret password.
21397 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
21398 probe hangs.
21399
21400 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21401
21402 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
21403
21404 * emacs-lisp/find-func.el (find-function-noselect): New arg
21405 lisp-only.
21406
21407 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
21408 signal an error for built-in functions (Bug#6664).
21409
21410 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21411
21412 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
21413 (smtpmail-try-auth-methods): Use it.
21414
21415 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21416
21417 * font-lock.el (font-lock-fontify-region)
21418 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
21419 (font-lock-default-unfontify-buffer)
21420 (font-lock-default-fontify-region)
21421 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
21422
21423 * progmodes/compile.el (compilation-error-properties):
21424 Fix confusion between file struct and message struct (Bug#9319).
21425 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
21426 `ant' regexp.
21427
21428 * net/browse-url.el (browse-url-firefox): Don't call
21429 browse-url-firefox-sentinel unless using -remote (Bug#9328).
21430
21431 2011-08-20 Glenn Morris <rgm@gnu.org>
21432
21433 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
21434
21435 * tutorial.el (tutorial--default-keys): Update some default bindings.
21436
21437 * files.el (hack-local-variables): Fully ignore case for "mode:".
21438
21439 2011-08-20 Alan Mackenzie <acm@muc.de>
21440
21441 Resolve invalid use of a regexp in regexp-opt.
21442
21443 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
21444 detection for a java annotation.
21445
21446 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
21447 detection for a java annotation.
21448
21449 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
21450 handling for java.
21451 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
21452
21453 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
21454
21455 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
21456 (Bug#9274).
21457
21458 2011-08-20 Alan Mackenzie <acm@muc.de>
21459
21460 Fontify CPP expressions correctly when starting in the middle of
21461 such a construct. Mainly for when jit-lock etc. starts a chunk
21462 here.
21463
21464 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
21465 variable.
21466 (c-make-font-lock-search-form): New function, extracted from
21467 c-make-font-lock-search-function.
21468 (c-make-font-lock-search-function): Use the above function.
21469 (c-make-font-lock-context-search-function): New function.
21470 (c-cpp-matchers): Enhance the preprocessor expression case with
21471 the above function
21472 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
21473 which takes an expression.
21474
21475 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
21476
21477 2011-08-20 Martin Rudalics <rudalics@gmx.at>
21478
21479 * window.el (display-buffer-reuse-window)
21480 (display-buffer-pop-up-window): Don't reuse or split a side
21481 window.
21482
21483 2011-08-19 Glenn Morris <rgm@gnu.org>
21484
21485 * files.el (hack-local-variables-prop-line, hack-local-variables):
21486 Downcase "Mode:". (Bug#9331)
21487
21488 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
21489
21490 * international/characters.el: Add L and R categories.
21491
21492 * subr.el (bidi-string-mark-left-to-right): Rename from
21493 string-mark-left-to-right. Use category search.
21494
21495 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
21496
21497 2011-08-18 Juri Linkov <juri@jurta.org>
21498
21499 * faces.el (error, warning, success): New faces with definitions
21500 copied from old default values of `font-lock-warning-face',
21501 `compilation-warning', `compilation-info' (bug#6117).
21502
21503 * font-lock.el (font-lock-warning-face): Inherit from `error'.
21504
21505 * progmodes/compile.el (compilation-error): Inherit from `error'.
21506 (compilation-warning): Inherit from `warning'.
21507 (compilation-info): Inherit from `success'.
21508
21509 * dired.el (dired-marked): Inherit from `warning'.
21510 (dired-flagged): Inherit from `error'.
21511
21512 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21513
21514 * mail/smtpmail.el (auth-source): Require to avoid problems with
21515 binding variables (bug#9298). Also clean up some unused
21516 autoloads.
21517
21518 * net/network-stream.el (network-stream-open-starttls):
21519 Support using starttls.el without using gnutls-cli.
21520
21521 2011-08-17 Juri Linkov <juri@jurta.org>
21522
21523 * progmodes/grep.el (rgrep): Handle the case when
21524 `grep-find-command' is a cons cell (bug#9278).
21525
21526 2011-08-17 Martin Rudalics <rudalics@gmx.at>
21527
21528 * window.el (display-buffer-pop-up-frame): Run frame creation
21529 function with BUFFER current (as special-display-popup-frame
21530 does). Reported by Drew Adams.
21531
21532 2011-08-17 Daiki Ueno <ueno@unixuser.org>
21533
21534 * epa-mail.el: Simplify GnuPG group expansion using
21535 epg-expand-group.
21536 (epa-mail-group-alist, epa-mail-group-modtime)
21537 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
21538 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
21539 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
21540 Remove.
21541
21542 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
21543
21544 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
21545
21546 2011-08-16 Alan Mackenzie <acm@muc.de>
21547
21548 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
21549 Correct, to avoid the inside of macros.
21550
21551 2011-08-16 Richard Stallman <rms@gnu.org>
21552
21553 * epa-mail.el: Handle GnuPG group definitions.
21554 (epa-mail-group-alist, epa-mail-group-modtime)
21555 (epa-mail-gnupg-conf-file): New variables.
21556 (epa-mail-parse-groups, epa-mail-sync-groups)
21557 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
21558 (epa-mail-expand-recipients): New functions.
21559 (epa-mail-encrypt): Call epa-mail-expand-recipients.
21560
21561 * mail/rmail.el (rmail-epa-decrypt): New command.
21562
21563 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
21564 Don't bind buffer-read-only, just inhibit-read-only.
21565 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
21566 (epa-decrypt-armor-in-region): Make error message clearer.
21567
21568 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
21569
21570 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
21571 and "a2b" to "ab" for `prefix'.
21572
21573 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
21574
21575 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
21576 filter groups.
21577 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
21578 Fourquet (Bug#8804).
21579
21580 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
21581
21582 * startup.el (argi): Declare as global variable (bug#9275).
21583
21584 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
21585
21586 * subr.el (string-mark-left-to-right): Search the entire string
21587 for RTL script, not just the terminating character. Doc fix.
21588
21589 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
21590
21591 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
21592 New function.
21593 (js--regexp-literal, js-syntax-propertize-function): Remove.
21594 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
21595 (js-mode-map): Don't rebind electric keys.
21596 (js-insert-and-indent): Remove.
21597 (js-mode): Setup electric-layout and electric-indent instead.
21598
21599 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
21600
21601 2011-08-12 Daiki Ueno <ueno@unixuser.org>
21602
21603 * epa.el (epa-progress-callback-function): Fix the logic of
21604 displaying progress.
21605 * epa-file.el (epa-file-insert-file-contents): Make progress
21606 display more user-friendly.
21607 (epa-file-write-region): Ditto.
21608
21609 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
21610
21611 * subr.el (string-mark-left-to-right): New function.
21612
21613 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
21614 Use string-mark-left-to-right.
21615 (list-buffers-noselect): Caller changed.
21616
21617 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21618 Use string-mark-left-to-right.
21619 (tabulated-list-print): Recenter after moving point.
21620
21621 2011-08-10 Juri Linkov <juri@jurta.org>
21622
21623 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
21624 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
21625 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
21626
21627 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
21628
21629 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
21630 (Bug#7554).
21631
21632 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
21633
21634 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
21635 character. (Bug#6594)
21636
21637 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
21638
21639 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
21640 (image-dired--with-db-file): New macro.
21641 (image-dired-write-tags, image-dired-remove-tag)
21642 (image-dired-create-gallery-lists, image-dired-write-comments)
21643 (image-dired-get-comment, image-dired-mark-tagged-files)
21644 (image-dired-list-tags, image-dired-gallery-generate): Use it.
21645 (image-dired-gallery-generate): Use insert-file-contents.
21646
21647 * time.el (display-time-world-list, display-time-world-display):
21648 * time-stamp.el (time-stamp-string):
21649 * vc/add-log.el (add-change-log-entry): Use setenv instead of
21650 set-time-zone-rule (Bug#7337).
21651
21652 2011-08-08 Daiki Ueno <ueno@unixuser.org>
21653
21654 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
21655 (epg-error-to-string, epg-errors-to-string): New function.
21656 (epg-wait-for-completion): Reverse errors list.
21657 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
21658 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
21659 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
21660 (epg-sign-keys, epg-generate-key-from-file)
21661 (epg-generate-key-from-string): Format errors by using
21662 epg-errors-to-string (bug#9255).
21663 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
21664
21665 2011-08-07 Juri Linkov <juri@jurta.org>
21666
21667 * faces.el (list-faces-display): Remove extra angle bracket
21668 from `help-mode-map'.
21669
21670 * info.el (Info-history-toc-nodes): Doc fix.
21671
21672 * longlines.el (longlines-mode): Doc fix.
21673
21674 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
21675
21676 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
21677 of statements and in a few more cases (bug#9183).
21678
21679 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
21680 New functions.
21681 (cl-transform-lambda): Use them (bug#9239).
21682
21683 2011-08-05 Martin Rudalics <rudalics@gmx.at>
21684
21685 * window.el (display-buffer-same-window)
21686 (display-buffer-same-frame, display-buffer-other-window)
21687 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21688 (pop-to-buffer-other-window)
21689 (pop-to-buffer-same-frame-other-window)
21690 (pop-to-buffer-other-frame): Make them defuns.
21691 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
21692
21693 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21694
21695 * subr.el (make-composed-keymap): Move from C. Change calling
21696 convention, and improve docstring to bring attention to a subtle point.
21697 * minibuffer.el (completing-read-default): Adjust accordingly.
21698
21699 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
21700
21701 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
21702 (tramp-open-shell): Use `tramp-shell-quote-argument'.
21703
21704 * net/trampver.el: Update release number.
21705
21706 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21707
21708 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
21709 "in" (bug#9190).
21710
21711 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21712
21713 * mail/sendmail.el (sendmail-query-once): Restore the current
21714 buffer after querying (bug#9074).
21715
21716 * dired.el (dired-flagged): Use different faces for marked and
21717 flagged files (bug#6117).
21718
21719 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
21720 (bug#4433).
21721
21722 * ido.el (ido-mode): Switch off the message if called
21723 non-interactively.
21724
21725 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
21726 before 587, since it appears that that's more likely to work for
21727 more people.
21728
21729 * cus-edit.el (custom-file): When running under emacs -q, always
21730 refuse to save the customizations, even if the .emacs file doesn't
21731 exist.
21732
21733 * info.el: Remove the `Info-beginning-of-buffer' function
21734 (bug#8325).
21735
21736 * net/network-stream.el (network-stream-open-starttls):
21737 Use `starttls-available-p' to see whether starttls.el can be used.
21738
21739 2011-08-01 Martin Rudalics <rudalics@gmx.at>
21740
21741 * window.el (display-buffer-in-window): Don't set dedicated status
21742 of window here (Bug#9215).
21743 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21744 (display-buffer-pop-up-side-window)
21745 (display-buffer-in-side-window): Set dedicated status of window here.
21746
21747 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
21748
21749 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
21750 before binding generated-autoload-file.
21751
21752 2011-08-01 Deniz Dogan <deniz@dogan.se>
21753
21754 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
21755
21756 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
21757
21758 Sync with Tramp 2.2.2.
21759
21760 * net/trampver.el: Update release number.
21761
21762 2011-07-30 Juri Linkov <juri@jurta.org>
21763
21764 * dired-aux.el (dired-touch-initial): Remove function.
21765 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
21766 current time, and `default' to the last modification time of the
21767 current marked file (bug#6887).
21768
21769 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
21770
21771 * simple.el (goto-line): Use string-to-number to provide a
21772 numeric argument to read-number (bug#9163).
21773
21774 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
21775
21776 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
21777 connection process, it could be nil.
21778
21779 2011-07-27 Leo Liu <sdl.web@gmail.com>
21780
21781 Simplify url handling in rcirc-mode.
21782
21783 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
21784 (rcirc-browse-url-at-mouse): Remove.
21785 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
21786
21787 2011-07-26 Alan Mackenzie <acm@muc.de>
21788
21789 Fontify bitfield declarations properly.
21790
21791 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
21792 (c-symbol-chars): Now exported as a lang variable.
21793 (c-not-primitive-type-keywords): New lang variable.
21794
21795 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
21796 QT keyword "more" to prevent "more slots: ...." being spuriously
21797 parsed as a bitfield declaration.
21798
21799 * progmodes/cc-engine.el (c-beginning-of-statement-1):
21800 Refactor and enhance to handle bitfield declarations.
21801 (c-punctuation-in): New function.
21802 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
21803 declarations properly.
21804
21805 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
21806
21807 * calendar/icalendar.el (icalendar--all-events): Take care of
21808 multiple vcalendars in a single file.
21809 (icalendar--convert-float-to-ical): Checkdoc fixes.
21810
21811 2011-07-25 Deniz Dogan <deniz@dogan.se>
21812
21813 * image.el (insert-image): Clarifying docstring.
21814
21815 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
21816
21817 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
21818 `tramp-send-command-and-check' if there is no error.
21819 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
21820
21821 2011-07-22 Alan Mackenzie <acm@muc.de>
21822
21823 Prevent cc-langs.elc being loaded at run time.
21824
21825 * progmodes/cc-mode.el: Remove two autoload forms which loaded
21826 cc-langs.
21827
21828 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
21829 "(require 'cc-langs)". Quote a form so it will evaluate at
21830 (cc-mode's) compilation time.
21831
21832 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
21833
21834 * net/tramp.el (tramp-file-name-handler): Avoid recursive
21835 loading. (Bug#9114)
21836
21837 2011-07-21 Martin Rudalics <rudalics@gmx.at>
21838
21839 * window.el (display-buffer-pop-up-window)
21840 (display-buffer-pop-up-side-window)
21841 (display-buffer-in-side-window): Call display-buffer-set-height
21842 and display-buffer-set-width after setting the new window's
21843 buffer so `fit-window-to-buffer' and friends work on the right buffer.
21844
21845 2011-07-20 Sam Steingold <sds@gnu.org>
21846
21847 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
21848 (etags-tags-included-tables): Call `convert-standard-filename' on
21849 the file names contained in TAGS so that windows Emacs can handle
21850 TAGS files created by cygwin ctags.
21851
21852 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
21853
21854 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
21855 which apparently didn't work.
21856
21857 2011-07-19 Roland Winkler <winkler@gnu.org>
21858
21859 * proced.el (proced-send-signal): For *Marked Processes* buffer
21860 put point at beginning of buffer.
21861
21862 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
21863
21864 * proced.el (proced-format): Make header lines align with the text
21865 (bug#1779).
21866
21867 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21868
21869 * view.el (view-buffer): Allow running in `special' modes if we're
21870 visiting a file (bug#8615).
21871
21872 2011-07-19 Martin Rudalics <rudalics@gmx.at>
21873
21874 * window.el (display-buffer-alist-of-strings-p)
21875 (display-buffer-alist-set-1, display-buffer-alist-set-2):
21876 New functions.
21877 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
21878 more accurately.
21879
21880 2011-07-18 Alan Mackenzie <acm@muc.de>
21881
21882 Fontify declarators properly when, e.g., a jit-lock chunk begins
21883 inside a declaration.
21884
21885 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
21886
21887 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21888 New function.
21889 (c-complex-decl-matchers): Insert reference to
21890 c-font-lock-enclosing-decls.
21891
21892 * progmodes/cc-engine.el (c-backward-single-comment):
21893 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
21894 to nil around calls to (forward-comment -1).
21895
21896 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21897
21898 * image.el (put-image): Doc typo fix.
21899
21900 * progmodes/etags.el (tags-search): Doc typo fix.
21901
21902 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
21903 password if we get errors 550 to 554.
21904
21905 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
21906
21907 * net/gnutls.el (gnutls-log-level): Remove.
21908
21909 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
21910 indentation character (bug#6380).
21911
21912 * files.el (buffer-offer-save): Made permanently local (bug#6241).
21913
21914 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
21915 to clarify what the problem is (bug#4291).
21916
21917 * simple.el (current-kill): Clarify what
21918 `interprogram-paste-function' does (bug#7500).
21919 (auto-fill-mode): Document `auto-fill-function' in relation to
21920 `auto-fill-mode' (bug#2470).
21921
21922 2011-07-16 Lawrence Mitchell <wence@gmx.li>
21923
21924 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
21925 method if slot is read-only (bug#9035).
21926
21927 2011-07-16 Martin Rudalics <rudalics@gmx.at>
21928
21929 * frame.el (select-frame-set-input-focus): New argument NORECORD.
21930 * window.el (pop-to-buffer): Select window used even if it was
21931 selected before, see discussion of (Bug#8615), (Bug#6954).
21932 Pass argument NORECORD on to select-frame-set-input-focus.
21933
21934 2011-07-15 Glenn Morris <rgm@gnu.org>
21935
21936 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
21937 Respect help-form.
21938
21939 2011-07-09 Lawrence Mitchell <wence@gmx.li>
21940
21941 * net/gnutls.el (gnutls-min-prime-bits): New variable.
21942 (gnutls-negotiate): Use it.
21943
21944 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21945
21946 * net/gnutls.el (gnutls-negotiate):
21947 Upcase `gnutls-algorithm-priority'.
21948
21949 2011-07-15 Glenn Morris <rgm@gnu.org>
21950
21951 * jka-compr.el (jka-compr-verbose): Move from here...
21952 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
21953 Add missing :version tag.
21954 * info.el: No need to require jka-compr when compiling.
21955
21956 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21957
21958 * net/gnutls.el (gnutls-algorithm-priority): New variable.
21959 (gnutls-negotiate): Use it.
21960
21961 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
21962
21963 * info.el (Info-beginning-of-buffer): New command.
21964 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
21965 announcing `b' as the key (bug#8325).
21966 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
21967
21968 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
21969
21970 * international/mule-cmds.el
21971 (describe-specified-language-support): Make the error message
21972 clearer (bug#8905).
21973
21974 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
21975
21976 * isearch.el (isearch-barrier): Add a doc string, since it's
21977 mentioned in a function doc string (bug#8678).
21978
21979 2011-07-15 Martin Rudalics <rudalics@gmx.at>
21980
21981 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
21982 buffer argument (Bug#9083) and self-identifying label argument.
21983
21984 2011-07-15 Glenn Morris <rgm@gnu.org>
21985
21986 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
21987
21988 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21989
21990 * man.el (Man-fontify-manpage): Fix message when formatting the
21991 man page (bug#7929).
21992
21993 2011-07-14 Eli Zaretskii <eliz@gnu.org>
21994
21995 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
21996 argument LRM; if non-nil, append an invisible LRM character to the
21997 buffer name.
21998 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
21999 last argument non-nil, when formatting buffer names.
22000 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
22001 paragraph direction.
22002
22003 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22004
22005 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
22006 the man page name (bug#7929).
22007
22008 * image.el (put-image): Mention the `put-image' overlay property
22009 (bug#7834).
22010
22011 * scroll-bar.el (set-scroll-bar-mode): Mention that
22012 `scroll-bar-mode' lists the values (bug#7772).
22013
22014 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
22015 command (bug#7729).
22016
22017 * rect.el (apply-on-rectangle): Return the point after the last
22018 operation.
22019 (string-rectangle): Go to the point after the last operation
22020 (bug#7522).
22021
22022 * printing.el (pr-toggle-region): Clarify the documentation
22023 slightly (bug#7493).
22024
22025 * time.el (display-time-update):
22026 Allow `display-time-mail-function' to return nil (bug#7158).
22027 Fix suggested by Detlev Zundel.
22028
22029 * vc/diff.el (diff): Clarify the order the file names are read
22030 (bug#7111).
22031
22032 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
22033 the doc string (bug#7015).
22034
22035 * font-lock.el (font-lock-maximum-decoration): Mention what
22036 numeric levels mean (bug#6935).
22037
22038 * startup.el (initial-buffer-choice): Don't mention the `none'
22039 selection, which is against policy.
22040
22041 2011-07-14 Martin Rudalics <rudalics@gmx.at>
22042
22043 * window.el (display-buffer-normalize-special):
22044 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
22045
22046 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22047
22048 * subr.el (version<, version<=, version=): Mention "-CVS" and
22049 "-12345" alpha version numbers.
22050
22051 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22052
22053 * bindings.el: Add advertised binding for set-mark-command
22054 (Bug#5772).
22055
22056 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22057
22058 * bindings.el (mode-line-other-buffer):
22059 * bookmark.el (bookmark-bmenu-2-window):
22060 * bs.el (bs-cycle-next, bs-cycle-previous):
22061 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
22062 switch-to-buffer.
22063
22064 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22065 Delete.
22066
22067 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
22068
22069 * follow.el (follow-debug-message, follow-redisplay):
22070 * jka-cmpr-hook.el (with-auto-compression-mode):
22071 Fix typos in docstrings.
22072
22073 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22074
22075 * subr.el (with-silent-modifications): Clarify somewhat what the
22076 macro inhibits (bug#6525).
22077
22078 * simple.el (eval-expression): Note what it does if called
22079 interactively (bug#6495).
22080
22081 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22082
22083 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
22084 Use pop-to-buffer buffer-or-name if it is nil.
22085
22086 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22087 Remove switch-to-buffer.
22088
22089 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22090
22091 * files.el (make-directory): Clarify that an error will be raised
22092 if there's an error (bug#6397).
22093
22094 * startup.el (initial-buffer-choice): Add `none' as a choice
22095 (bug#6234).
22096
22097 * subr.el (add-hook): Clarify section about buffer-local hooks
22098 (bug#6218).
22099
22100 * dired.el (dired-flagged): Clarify doc string (bug#6117).
22101
22102 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22103
22104 * tabify.el (untabify): Preserve the current column so that point
22105 doesn't move (bug#6032).
22106
22107 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22108
22109 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
22110 Rewrite to avoid awkward possessive "s" (bug#5986).
22111
22112 2011-07-13 Glenn Morris <rgm@gnu.org>
22113
22114 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
22115 (dired-insert-directory): Give a message the first time
22116 if ls is found not to support --dired.
22117
22118 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22119
22120 * simple.el (toggle-truncate-lines): Clarify what is toggled
22121 (bug#5580). Text by Drew Adams.
22122
22123 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22124
22125 * simple.el (blink-matching-open): Make the error message from the
22126 last change less verbose.
22127
22128 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
22129
22130 * font-lock.el (font-lock-comment-face): Use the high contrast
22131 "yellow" color for font-lock-comment-face on low color terminals
22132 using a dark background color (bug#4221).
22133
22134 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22135
22136 * dired.el (dired-insert-set-properties): Make the doc string
22137 reflect what it does now (bug#5325).
22138
22139 * simple.el (blink-matching-open): Say that we were unable to find
22140 the match within the limit, if we're limited (bug#5122).
22141
22142 * international/mule-cmds.el (prefer-coding-system): Add an
22143 example (bug#4869).
22144
22145 * progmodes/etags.el (tags-search): Document `file-list-form'
22146 (bug#4731).
22147
22148 2011-07-13 Lawrence Mitchell <wence@gmx.li>
22149
22150 * net/browse-url.el (browse-url-default-browser)
22151 (browse-url-browser-function): Make the default browser choice a
22152 bit more logical (bug#4300). Also clean up the doc string.
22153
22154 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22155
22156 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
22157 binary endings (bug#4440).
22158
22159 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22160
22161 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
22162 which can be pretty annoying (bug#8971).
22163
22164 * jka-compr.el (jka-compr-verbose): New variable, and use
22165 throughout (bug#8971).
22166
22167 * info.el (Info-find-file): Fall back on the installation
22168 directory if we can't find the info node anywhere else.
22169
22170 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
22171
22172 * vc/vc.el (vc-revert-file):
22173 Don't set file time-stamp in the past. (Bug#5181)
22174
22175 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22176
22177 * files.el (after-find-file): Give a better error message when
22178 trying to find a symlink that points to a file that doesn't exist
22179 (bug#4398).
22180
22181 * progmodes/cc-vars.el: Remove (probably) misleading comment
22182 (bug#4396).
22183
22184 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
22185
22186 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
22187
22188 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22189
22190 * mouse-sel.el: Hack restoring functionality, while keeping
22191 compatibility with 2010-07-03 changes to mouse selection.
22192 (mouse-sel-primary-overlay): New var.
22193 (mouse-sel-selection-alist): Use it.
22194 (mouse-sel-mode): Doc fix; remove points that are default features
22195 of mouse.el.
22196
22197 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
22198
22199 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22200 Fix previous fix (bug#2490).
22201
22202 2011-07-12 Roland Winkler <winkler@gnu.org>
22203
22204 * textmodes/bibtex.el (bibtex-initialize):
22205 Use pop-to-buffer-same-window.
22206 (bibtex-search-entries): Fix interactive call.
22207
22208 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22209
22210 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22211 Fontise bytecomp Error lines more correctly (bug#2490).
22212 Fix suggested by Johan BockgĂ¥rd.
22213
22214 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
22215
22216 * dired-x.el (dired-guess-default): Use `delete-dups'.
22217
22218 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22219
22220 * dired.el (dired-mark-prompt):
22221 * dired-aux.el (dired-read-shell-command): Doc fix.
22222
22223 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22224
22225 * mail/sendmail.el (sendmail-query-once):
22226 Use `customize-save-variable' unconditionally, now that it works under
22227 emacs -Q.
22228
22229 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22230
22231 * cus-edit.el (custom-file): Take an optional no-error variable.
22232 (customize-save-variable): Set the variable, and give a warning if
22233 running under "emacs -q".
22234
22235 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
22236
22237 * loadhist.el (unload-feature-special-hooks):
22238 Add `auto-coding-functions', `fill-nobreak-predicate' and
22239 `find-directory-functions' (bug#5327).
22240
22241 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22242
22243 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
22244
22245 * cus-edit.el (custom-guess-name-alist): -alist variables should
22246 use the `alist' type (bug#3120). Suggested by Drew Adams.
22247
22248 * printing.el: Add documentation to all the `pr-toggle-' commands.
22249
22250 2011-07-11 Leo Liu <sdl.web@gmail.com>
22251
22252 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
22253 backends where it makes sense (bug#2623).
22254
22255 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22256
22257 * dired-x.el (dired-guess-default): Remove duplicate shell command
22258 entries (bug#2028).
22259 (dired-guess-default): Fix grammar in doc string (bug#2028).
22260 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
22261
22262 * subr.el (remove-duplicates): New conveniency function.
22263
22264 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
22265
22266 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
22267 (bug#1526).
22268
22269 2011-07-10 Martin Rudalics <rudalics@gmx.at>
22270
22271 * window.el (display-buffer-normalize-default): Don't invert
22272 meaning of even-window-heights. Reported by Eli Zaretskii
22273 <eliz@gnu.org>.
22274
22275 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
22276
22277 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
22278
22279 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
22280
22281 * window.el (display-buffer): Fix arguments to
22282 display-buffer-reuse-window in last change.
22283
22284 * faces.el (link): Use a less saturated blue on light backgrounds.
22285
22286 * startup.el (fancy-startup-text, fancy-about-text)
22287 (fancy-startup-tail): Use font-lock faces, for background safety.
22288
22289 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
22290
22291 * emulation/viper-cmd.el (viper-change-state-to-vi):
22292 Limit triggering of abbrev expansion (Bug#9038).
22293
22294 2011-07-09 Martin Rudalics <rudalics@gmx.at>
22295
22296 * window.el (display-buffer-default-specifiers): Remove.
22297 (display-buffer-macro-specifiers): Remove default specifiers.
22298 (display-buffer-alist): Default to nil.
22299 (display-buffer-reuse-window): New optional argument other-window.
22300 (display-buffer-pop-up-window): Allow splitting internal
22301 windows. Check whether a live window was created.
22302 (display-buffer-other-window-means-other-frame)
22303 (display-buffer-normalize-arguments): Rename to
22304 display-buffer-normalize-argument and rewrite. Set the
22305 other-window specifier.
22306 (display-buffer-normalize-special): New function.
22307 (display-buffer-normalize-options): Rename to
22308 display-buffer-normalize-default and rewrite.
22309 (display-buffer-normalize-options-inhibit): Remove.
22310 (display-buffer-normalize-specifiers): Rewrite.
22311 (display-buffer): Process other-window specifier and call
22312 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
22313 more faithfully.
22314 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
22315 (display-buffer-alist-set): Don't handle 'unset default values.
22316 (display-buffer-in-window, display-buffer-alist-set):
22317 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
22318 <tassilo@member.fsf.org>.
22319
22320 2011-07-09 Leo Liu <sdl.web@gmail.com>
22321
22322 * register.el (insert-register): Restore accidental change on
22323 2011-06-26. (Bug#9028)
22324
22325 2011-07-09 Glenn Morris <rgm@gnu.org>
22326
22327 * subr.el (remq): Handle the empty list. (Bug#9024)
22328
22329 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
22330
22331 * mail/sendmail.el (send-mail-function): No longer delay custom
22332 initialization.
22333 * custom.el (custom-initialize-delay): Doc fix.
22334
22335 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22336
22337 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
22338
22339 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
22340
22341 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
22342 human-friendly prompt.
22343
22344 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22345
22346 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
22347 provided by a particular plugin.
22348
22349 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
22350
22351 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
22352 save customizations (with "emacs -Q"), just set the variable
22353 instead of erroring out.
22354
22355 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22356
22357 2011-07-08 Juri Linkov <juri@jurta.org>
22358
22359 * arc-mode.el (archive-zip-expunge, archive-zip-update)
22360 (archive-zip-update-case): Use 7z if found by `executable-find'.
22361 The order of searching the available programs is the same as in
22362 `archive-zip-extract' (bug#8968).
22363
22364 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22365
22366 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
22367 (menu-bar-options-menu): Tweak descriptions.
22368
22369 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22370
22371 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
22372 menu items into verb phrases (bug#1421). Also refill to fit under
22373 80 columns.
22374
22375 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22376
22377 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
22378 (Info-read-node-name): Doc fix (Bug#1084).
22379
22380 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
22381 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
22382 (end-of-sexp, beginning-of-sexp)
22383 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
22384 (forward-symbol, forward-same-syntax, word-at-point)
22385 (sentence-at-point): Doc fix (Bug#1144).
22386
22387 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22388
22389 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
22390 should cover it (bug#1281).
22391
22392 * cus-edit.el (custom-show): Mark as obsolete.
22393
22394 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
22395 negotiation fails, then possibly try again with a non-encrypted
22396 connection (bug#9017).
22397
22398 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
22399 be used.
22400
22401 2011-07-07 Richard Stallman <rms@gnu.org>
22402
22403 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
22404 property, and handle its changed format.
22405 Look for the correct line number.
22406 Use file's line contents (but not past first =) to find
22407 correct line in message.
22408
22409 2011-07-07 Kenichi Handa <handa@m17n.org>
22410
22411 * international/characters.el (build-unicode-category-table):
22412 Delete it.
22413 (unicode-category-table): Set it by unicode-property-table-internal.
22414
22415 * international/mule-cmds.el (char-code-property-alist): Move to
22416 to src/chartab.c.
22417 (get-char-code-property): Call unicode-property-table-internal to
22418 load a file. Call get-unicode-property-internal where necessary.
22419 (put-char-code-property): Call unicode-property-table-internal to
22420 load a file. Call put-unicode-property-internal where necessary.
22421 put-unicode-property-internal where necessary.
22422 (char-code-property-description):
22423 Call unicode-property-table-internal to load a file.
22424
22425 * international/charprop.el:
22426 * international/uni-bidi.el:
22427 * international/uni-category.el:
22428 * international/uni-combining.el:
22429 * international/uni-comment.el:
22430 * international/uni-decimal.el:
22431 * international/uni-decomposition.el:
22432 * international/uni-digit.el:
22433 * international/uni-lowercase.el:
22434 * international/uni-mirrored.el:
22435 * international/uni-name.el:
22436 * international/uni-numeric.el:
22437 * international/uni-old-name.el:
22438 * international/uni-titlecase.el:
22439 * international/uni-uppercase.el: Regenerate.
22440
22441 * loadup.el: Load international/charprop.el before
22442 international/characters.
22443
22444 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22445
22446 * window.el (next-buffer, previous-buffer): Signal an error if
22447 called from a minibuffer window.
22448
22449 * bindings.el: Revert 2011-07-04 change.
22450
22451 2011-07-06 Richard Stallman <rms@gnu.org>
22452
22453 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
22454 (rmail-mime-insert-bulk, rmail-mime-insert-text):
22455 Treat markers like ints.
22456 (rmail-mime-entity): Doc fix.
22457
22458 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22459
22460 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
22461 defcustom again for backwards compatibility.
22462
22463 * simple.el (shell-command-on-region): Fill.
22464
22465 * dired-aux.el (dired-kill-line): Add a doc string.
22466
22467 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
22468 to "\\sw\\|\\s_" (bug#358).
22469
22470 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
22471 (dired-unmark-backward): Ditto.
22472 (dired-flag-backup-files): Ditto.
22473
22474 * dired-x.el (dired-mark-sexp): Ditto.
22475
22476 2011-07-06 Richard Stallman <rms@gnu.org>
22477
22478 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
22479 (rmail-mime-entity): New arg TRUNCATED.
22480 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
22481 New functions.
22482 (rmail-mime-save): Warn if entity is truncated.
22483 (rmail-mime-toggle-hidden): Likewise, for showing.
22484 (rmail-mime-process-multipart): Record when an entity is truncated.
22485
22486 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
22487 if ENTITY is a string.
22488
22489 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22490
22491 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
22492 of faces when `M-C-x'-ing their definitions (bug#8378).
22493 Also clean up the code slightly.
22494
22495 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
22496 because that makes the colors go away.
22497
22498 * mail/sendmail.el (send-mail-function): Change the default to
22499 `sendmail-query-once'.
22500 (sendmail-query-once): Add an autoload cookie.
22501
22502 * net/network-stream.el (network-stream-open-starttls): Try using
22503 a plain connection even if the server offered STARTTLS, and we
22504 kinda wanted to use it, if Emacs doesn't have any STARTTLS
22505 capability. This should make smtpmail.el work in slightly more
22506 configurations.
22507
22508 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
22509
22510 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22511 New defun.
22512 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
22513
22514 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
22515
22516 * progmodes/sql.el: Version 3.0
22517 (sql-product-alist): Add product :completion-object,
22518 :completion-column, and :statement attributes.
22519 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
22520 (sql-mode-syntax-table): Mark all punctuation.
22521 (sql-font-lock-keywords-builder): Temporarily remove fallback on
22522 ansi keywords.
22523 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
22524 (sql-mode-oracle-font-lock-keywords): Improve.
22525 (sql-oracle-show-reserved-words): New function for development.
22526 (sql-product-font-lock): Simplify for source code buffers.
22527 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
22528 New functions.
22529 (sql-highlight-product): Set product specific syntax table.
22530 (sql-mode-map): Add statement movement functions.
22531 (sql-ansi-statement-starters, sql-oracle-statement-starters):
22532 New variable.
22533 (sql-statement-regexp, sql-beginning-of-statement)
22534 (sql-end-of-statement, sql-signum): New functions.
22535 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
22536 (sql-show-sqli-buffer): Bug fix.
22537 (sql-interactive-mode): Store connection data as buffer local.
22538 (sql-connect): Add NEW-NAME parameter. Redesign interaction
22539 with sql-interactive-mode.
22540 (sql-save-connection): Save buffer local settings.
22541 (sql-connection-menu-filter): Change menu entry name.
22542 (sql-product-interactive): Bug fix.
22543 (sql-preoutput-hold): New variable.
22544 (sql-interactive-remove-continuation-prompt): Bug fixes.
22545 (sql-debug-redirect): New variable.
22546 (sql-str-literal): New function.
22547 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
22548 Redesign.
22549 (sql-oracle-save-settings, sql-oracle-restore-settings)
22550 (sql-oracle-list-all, sql-oracle-list-table): New functions.
22551 (sql-completion-object, sql-completion-column)
22552 (sql-completion-sqlbuf): New variables.
22553 (sql-build-completions-1, sql-build-completions)
22554 (sql-try-completion): New functions.
22555 (sql-read-table-name): Use them.
22556 (sql-contains-names): New buffer local variable.
22557 (sql-list-all, sql-list-table): Use it.
22558 (sql-oracle-completion-types): New variable.
22559 (sql-oracle-completion-object, sql-sqlite-completion-object)
22560 (sql-postgres-completion-object): New functions.
22561
22562 2011-07-06 Glenn Morris <rgm@gnu.org>
22563
22564 * window.el (pop-to-buffer): Doc fix.
22565
22566 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
22567
22568 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
22569
22570 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
22571
22572 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
22573
22574 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
22575
22576 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
22577
22578 * button.el (button): Inherit from link face. Suggested by Dan
22579 Nicolaescu.
22580
22581 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22582
22583 * progmodes/gdb-mi.el: Fit in 80 columns.
22584 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
22585 switch-to-buffer.
22586
22587 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
22588 if imenu is simply not configured (bug#8941).
22589
22590 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
22591
22592 * allout.el (allout-post-undo-hook): New allout outline-change
22593 event hook to signal undo activity.
22594 (allout-post-command-business): Run allout-post-undo-hook if an
22595 undo just occurred.
22596 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
22597 * allout-widgets.el (allout-widgets-after-undo-function):
22598 Ensure the integrity of the current item's decoration after it has been
22599 in the vicinity of an undo.
22600 (allout-widgets-mode): Include allout-widgets-after-undo-function
22601 on the new allout-post-undo-hook.
22602
22603 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22604
22605 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
22606 Let define-derived-mode define it.
22607 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
22608 cycles of abbrev-table inheritance (bug#8998).
22609
22610 2011-07-05 Roland Winkler <winkler@gnu.org>
22611
22612 * textmodes/bibtex.el: Add support for biblatex.
22613 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
22614 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
22615 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
22616 (bibtex-entry-alist, bibtex-field-alist): New variables.
22617 (bibtex-entry-field-alist): Obsolete alias for
22618 bibtex-BibTeX-entry-alist.
22619 (bibtex-entry-alist, bibtex-field-alist): New widgets.
22620 (bibtex-set-dialect): New command.
22621 (bibtex-entry-type, bibtex-entry-head)
22622 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
22623 Bind via bibtex-set-dialect.
22624 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
22625 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
22626 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
22627 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
22628 Define via bibtex-set-dialect.
22629 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
22630 Obey bibtex-no-opt-remove-re.
22631 (bibtex-vec-push, bibtex-vec-incr): New functions.
22632 (bibtex-format-entry, bibtex-field-list)
22633 (bibtex-print-help-message, bibtex-validate)
22634 (bibtex-search-entries): Use new format of bibtex-entry-alist.
22635
22636 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22637
22638 * progmodes/compile.el (compilation-goto-locus):
22639 * net/tramp-cmds.el (tramp-append-tramp-buffers):
22640 * bs.el (bs-cycle-next, bs-cycle-previous):
22641 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
22642 * bindings.el (mode-line-other-buffer):
22643 * autoinsert.el (auto-insert):
22644 * arc-mode.el (archive-extract):
22645 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
22646
22647 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22648
22649 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
22650 Fix check of `emacs-lock-unlockable-modes'.
22651 Coerce true values of `emacs-lock--try-unlocking' to t.
22652
22653 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22654
22655 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
22656 * emacs-lock.el: New file.
22657
22658 2011-07-05 Julien Danjou <julien@danjou.info>
22659
22660 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
22661 than `boundp' to check if face is set.
22662
22663 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22664
22665 * register.el (registerv-make):
22666 * window.el (window-min-height): Fix typos in docstrings.
22667
22668 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
22669
22670 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
22671 Update doc string.
22672
22673 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22674
22675 * server.el (server-execute): Catch quit and call
22676 `server-return-error' to pass the error back to emacsclient and
22677 close the connection (bug#8942).
22678
22679 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
22680
22681 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
22682 insecure exception for current topic. Also note that auto-saves
22683 are handled differently.
22684
22685 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
22686 State variables for tracking auto-save inhibition situation.
22687
22688 (allout-write-contents-hook-handler): Rename from
22689 'allout-write-file-hook-handler', and describe how it depends on
22690 write-contents-functions sensitivity to non-nil value to prevent
22691 file write.
22692
22693 (allout-auto-save-hook-handler): Remove. auto-save does not check
22694 this in individual buffers, only in the starting buffer, so this
22695 is not the right way for us to inhibit auto-save in a buffer
22696 according to its condition.
22697
22698 (allout-mode): Use new allout-write-contents-hook-handler, and
22699 only with write-contents-functions. Remove auto-save provisions -
22700 they're implemented elsewhere.
22701
22702 (allout-before-change-handler): If undo is in progress, note that
22703 for attention of allout-post-command-business.
22704
22705 (allout-post-command-business): If the command we're following was
22706 an undo, check for change in the status of encrypted items and
22707 adjust auto-save inhibitions accordingly.
22708
22709 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
22710 according to whether there are or aren't any plain-text topics
22711 pending encryption.
22712
22713 (allout-inhibit-auto-save-info-for-decryption):
22714 Adjust buffer-saved-size and some allout state to inhibit auto-saves
22715 if there are plain-text topics pending encryption.
22716
22717 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
22718 buffer-saved-size and some allout state to not inhibit auto-saves
22719 if there are no longer any plain-text topics pending encryption.
22720
22721 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
22722 No longer provide for exemption of the current topic.
22723
22724 2011-07-04 Juri Linkov <juri@jurta.org>
22725
22726 Add 7z operations to delete and save changed members (bug#8968).
22727 * arc-mode.el (archive-7z-expunge, archive-7z-update):
22728 New defcustoms.
22729 (archive-7z-write-file-member): New function.
22730 (archive-7z-summarize): Fix the number of dashes in the
22731 listing output.
22732
22733 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22734
22735 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
22736 (bug#8958).
22737
22738 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
22739
22740 * bindings.el: Ignore next-buffer and previous-buffer in
22741 minibuffer-local-map.
22742
22743 * font-lock.el (font-lock-builtin-face): Change light background
22744 color to dark slate blue (Bug#6693).
22745
22746 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
22747
22748 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
22749
22750 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22751
22752 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
22753 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22754 Add switch-to-buffer.
22755
22756 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22757
22758 * isearch.el (isearch-search-fun-function): Clarify further the
22759 meaning of the function returned.
22760
22761 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
22762
22763 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
22764
22765 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
22766 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
22767 Use it.
22768 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
22769 `tramp-default-remote-path' does not exist.
22770 (tramp-send-command-and-read): New optional argument NOERROR.
22771 (tramp-open-connection-setup-interactive-shell)
22772 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
22773 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
22774 (tramp-process-sentinel): Flush also process' connection property.
22775 (tramp-sh-handle-start-file-process): Do not set process
22776 sentinel. It is done now ...
22777 (tramp-maybe-open-connection): ... here. (Bug#8929)
22778
22779 2011-07-04 MON KEY <monkey@sandpframing.com>
22780
22781 * play/animate.el (animate-string): Doc fixes and allow changing
22782 the buffer name (bug#5417).
22783
22784 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22785
22786 * play/animate.el (animation-buffer-name): Rename from *animate*.
22787
22788 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
22789
22790 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
22791 This is simpler and helps future-proof the code.
22792 (timer-until): Use time-subtract and float-time.
22793 (timer--time-less-p): Use time-less-p.
22794
22795 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22796
22797 * type-break.el (timep): Use the value of `float-time' to avoid a
22798 byte-compiler warning.
22799
22800 * server.el (server-eval-and-print): Return any result, even nil.
22801
22802 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
22803
22804 * type-break.el: Accept time formats that the builtins accept.
22805 (timep, type-break-time-difference): Accept any format that
22806 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
22807 This is simpler and helps future-proof the code.
22808 (type-break-time-difference): Round rather than ignoring
22809 subseconds components.
22810
22811 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22812
22813 * info.el (Info-apropos-matches): Make non-interactive, since it
22814 doesn't seem to do anything useful as a command (bug#8829).
22815
22816 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
22817
22818 * frame.el (frame-background-mode, frame-set-background-mode):
22819 Move from faces.el.
22820 (frame-default-terminal-background): New function.
22821
22822 * custom.el (custom-push-theme): Don't record faces in `changed'
22823 theme; this doesn't work correctly for per-frame face settings.
22824 (disable-theme): Use face-set-after-frame-default to reset faces.
22825 (custom--frame-color-default): New function.
22826
22827 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22828
22829 * dired.el (dired-flagging-regexp): Remove unused variable
22830 (bug#8769).
22831
22832 2011-03-29 Kevin Ryde <user42@zip.com.au>
22833
22834 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22835 `perl-Test2' extend to match possible "fail #N" rep count
22836 (bug#8377).
22837
22838 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22839
22840 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
22841 `smtpmail-via-smtp' now returns the error instead of nil.
22842
22843 * isearch.el (isearch-search-fun-function): Clarify the doc string
22844 (bug#8101).
22845
22846 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
22847
22848 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
22849 unnecessary spaces (bug#8987).
22850
22851 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22852
22853 * net/network-stream.el (open-network-stream): Use the
22854 :end-of-capability command thoughout.
22855
22856 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
22857
22858 * net/network-stream.el (open-network-stream): Add the
22859 :end-of-capability command parameter, used by pop3.el.
22860
22861 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22862
22863 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
22864
22865 * fringe.el (fringe-query-style): Remove redundant text " (type ?
22866 for list)" (bug#6475).
22867
22868 * files.el (file-expand-wildcards): Ignore non-readable
22869 sub-directories while trying to find matches instead of signaling
22870 an error (bug#6297).
22871
22872 * man.el (Man-reference-regexp): Allow matching possible
22873 word-wrapped references (bug#6289).
22874
22875 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
22876 for consistency with the other vc buffers (bug#6197).
22877 (vc-checkin): Ditto.
22878
22879 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
22880
22881 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
22882
22883 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22884
22885 * custom.el (defcustom): Clarify that :set is only used in the
22886 Customize user interface (bug#6089).
22887
22888 * progmodes/flymake.el (flymake-mode): If the buffer isn't
22889 associated with a file, refuse to run instead of erroring out
22890 (bug#6084).
22891
22892 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
22893 the doc string, since it appears that using `fill-column' always
22894 controls the width (bug#7845).
22895
22896 * simple.el (shell-command-on-region): Say where the error output
22897 went if `shell-command-default-error-buffer' is set (bug#6857).
22898
22899 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
22900
22901 * allout.el (allout-yank-processing): Adjust cursor position for
22902 backwards-deleted space.
22903
22904 (allout-rebullet-heading): Register changes with
22905 allout-exposure-changed-hook, so the modified topic is properly
22906 decorated.
22907
22908 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22909
22910 * minibuffer.el (completion-in-region): Document PREDICATE
22911 (bug#7136).
22912
22913 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
22914 of keyword/argument pairs (bug#6904).
22915
22916 * replace.el (multi-occur):
22917 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
22918
22919 2011-07-02 Drew Adams <drew.adams@oracle.com>
22920
22921 * dired.el (dired-mark-if): Make the message about whether it's
22922 marking or unmarking clearer (bug#8523).
22923
22924 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22925
22926 * disp-table.el (display-table-print-array): New function.
22927 (describe-display-table): Use it to print the vectors more pretty
22928 (Bug#8859).
22929
22930 2011-07-02 Martin Rudalics <rudalics@gmx.at>
22931
22932 * window.el (window-state-get-1): Don't assign clone numbers.
22933 Add clone-of item to list of window parameters.
22934 (window-state-put-2): Don't process clone numbers.
22935 (display-buffer-alist): Fix doc-string.
22936
22937 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
22938
22939 * subr.el (remq): Don't allocate if it's not needed.
22940 (keymap--menu-item-binding, keymap--menu-item-with-binding)
22941 (keymap--merge-bindings): New functions.
22942 (keymap-canonicalize): Use them to refine the canonicalization.
22943 * minibuffer.el (minibuffer-local-completion-map)
22944 (minibuffer-local-must-match-map): Move initialization from C.
22945 (minibuffer-local-filename-completion-map): Move initialization from C;
22946 don't inherit from anything here.
22947 (minibuffer-local-filename-must-match-map): Make obsolete.
22948 (completing-read-default): Use make-composed-keymap to combine
22949 minibuffer-local-filename-completion-map with either
22950 minibuffer-local-must-match-map or
22951 minibuffer-local-filename-completion-map.
22952
22953 2011-07-01 Glenn Morris <rgm@gnu.org>
22954
22955 * type-break.el (type-break-time-sum): Use dolist.
22956
22957 * textmodes/flyspell.el (flyspell-word-search-backward):
22958 Replace CL function.
22959
22960 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22961
22962 * mouse.el (mouse--strip-first-event): New function.
22963 (function-key-map): Use it to map fringe clicks to normal clicks
22964 by default.
22965
22966 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
22967 (vc-bzr-revision-completion-table): Add support for annotate and date.
22968
22969 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
22970 inherit from parent.
22971
22972 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22973
22974 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
22975 (dired-show-file-type): Doc fixup (bug#8818).
22976
22977 * dired.el (dired-mode): Fix up the doc string as suggested by
22978 Drew Adams (bug#8817).
22979
22980 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
22981 cookie, since the manual says that it should be possible to add
22982 this function to `find-file-hook' (bug#8709).
22983
22984 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22985
22986 * progmodes/cfengine.el: Moved all cfengine3.el functionality
22987 here. Noted Ted Zlatanov as the maintainer.
22988 (cfengine-common-settings, cfengine-common-syntax): New functions
22989 to set up common things between `cfengine-mode' and
22990 `cfengine3-mode'.
22991 (cfengine3-mode): New mode.
22992 (cfengine3-defuns cfengine3-defuns-regex
22993 (cfengine3-class-selector-regex cfengine3-category-regex)
22994 (cfengine3-vartypes cfengine3-font-lock-keywords)
22995 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
22996 (cfengine3-indent-line): Add from cfengine3.el.
22997
22998 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
22999
23000 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
23001
23002 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
23003
23004 2011-07-01 Martin Rudalics <rudalics@gmx.at>
23005
23006 * window.el (same-window-buffer-names, same-window-regexps)
23007 (same-window-p, special-display-frame-alist)
23008 (special-display-popup-frame, special-display-function)
23009 (special-display-buffer-names, special-display-regexps)
23010 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
23011 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23012 (split-window-preferred-function, split-height-threshold)
23013 (split-width-threshold, even-window-heights)
23014 (display-buffer-mark-dedicated, window-splittable-p)
23015 (split-window-sensibly, window-safely-shrinkable-p):
23016 Un-obsolete.
23017 (display-buffer): Don't spread args with function specifier
23018 because special-display-popup-frame won't like it.
23019
23020 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
23021
23022 Time-stamp simplifications and fixes.
23023 These improve accuracy slightly, and future-proof the code
23024 against some potential changes to current-time format.
23025
23026 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
23027 by using time-since and float-time.
23028
23029 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
23030 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
23031 + NNN microseconds".
23032
23033 * type-break.el (type-break-time-sum): Rewrite using time-add.
23034
23035 * play/hanoi.el (hanoi-current-time-float): Remove.
23036 All uses replaced by float-time.
23037
23038 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
23039 This yields a more-accurate answer.
23040 (rng-time-to-float): Remove; no longer needed.
23041
23042 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
23043
23044 * calendar/timeclock.el (timeclock-seconds-to-time):
23045 Defalias to seconds-to-time, since they're the same thing.
23046
23047 * emacs-lisp/elp.el (elp-elapsed-time):
23048 * emacs-lisp/benchmark.el (benchmark-elapse):
23049 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
23050
23051 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23052
23053 * window.el (bury-buffer): Don't iconify the only frame.
23054 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
23055 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
23056
23057 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
23058
23059 * eshell/em-smart.el (eshell-smart-display-navigate-list):
23060 Add mouse-yank-primary.
23061
23062 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23063
23064 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
23065
23066 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23067
23068 * emacs-lisp/find-func.el (find-library--load-name): New fun.
23069 (find-library-name): Use it to find relative load names when provided
23070 absolute file name (bug#8803).
23071
23072 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23073
23074 * textmodes/flyspell.el (flyspell-word): Consider words that
23075 differ only in case as potential doublons (bug#5687).
23076
23077 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
23078 Remove two rather uninteresting debugging-like messages to make
23079 debbugs.el more silent.
23080
23081 * comint.el (comint-password-prompt-regexp): Accept "Response" as
23082 a password-like phrase.
23083
23084 2011-06-30 Masatake YAMATO <yamato@redhat.com>
23085
23086 * progmodes/cc-guess.el: New file.
23087
23088 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
23089
23090 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
23091 derived from `c-basic-common-init'.
23092
23093 * progmodes/cc-mode.el (top-level): Require cc-guess.
23094 (c-basic-common-init): Use `cc-choose-style-for-mode'.
23095
23096 2011-06-30 Lawrence Mitchell <wence@gmx.li>
23097
23098 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
23099
23100 2011-06-30 Alan Mackenzie <acm@muc.de>
23101
23102 * progmodes/cc-engine.el (c-guess-continued-construct):
23103 Correct the handling of template-args-cont, particularly for when font
23104 lock is disabled. Name this case as "CASE G".
23105
23106 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
23107
23108 * allout.el (allout-yank-processing): Fix injection of extra space
23109 between bullet and non-whitespace character in first topic when
23110 pasting, ensuring that the actual spacing in the pasted topic
23111 following the bullet char is preserved. This extra space was
23112 causing pasted encrypted topics to get a decrypted status even
23113 when the content was actually still encrypted. Now the decryption
23114 status from before the paste is preserved.
23115
23116 (allout-flag-region): Set all allout overlays so they evaporate
23117 when reduced to zero length (evanescent), to prevent overlay
23118 leakage.
23119
23120 2011-06-30 Glenn Morris <rgm@gnu.org>
23121
23122 * w32-fns.el (w32-charset-info-alist): Declare.
23123
23124 * find-dired.el (find-grep-options): Simplify.
23125
23126 * term/ns-win.el (ns-set-resource): Declare.
23127
23128 * ses.el (row, col): Declare dynamic variables honestly.
23129
23130 * textmodes/reftex-parse.el (index-tags): Declare.
23131
23132 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
23133
23134 * cus-edit.el (customize-push-and-save): New function.
23135
23136 * files.el (hack-local-variables-confirm): Use it.
23137
23138 * custom.el (load-theme): New arg NO-CONFIRM.
23139 Use customize-push-and-save (Bug#8720).
23140 (custom-enabled-themes): Doc fix.
23141
23142 * cus-theme.el (customize-create-theme)
23143 (custom-theme-merge-theme): Callers to load-theme changed.
23144
23145 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23146
23147 * thingatpt.el (thing-at-point-short-url-regexp): Require that
23148 short URLs have at least one dot in them (bug #7614).
23149
23150 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
23151 nil, because using a pty is apparently too slow (bug #895).
23152
23153 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
23154
23155 * mail/sendmail.el (sendmail-query-once): New function.
23156 (sendmail-query-once-function): New variable.
23157
23158 2011-06-29 Glenn Morris <rgm@gnu.org>
23159
23160 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
23161
23162 * ses.el (top-level): Require cl when compiling.
23163 (ses-set-localvars): Fix error statement.
23164 Call it at compile time to silence a storm of warnings.
23165
23166 2011-06-29 Martin Rudalics <rudalics@gmx.at>
23167
23168 * window.el (normalize-live-buffer): Rename to
23169 window-normalize-buffer.
23170 (normalize-live-frame): Rename to window-normalize-frame.
23171 (normalize-any-window): Rename to window-normalize-any-window.
23172 (normalize-live-window): Rename to window-normalize-live-window.
23173 (make-window-atom): Rename to window-make-atom.
23174 (window-resize-reset): Rename to window--resize-reset.
23175 (window-resize-reset-1): Rename to window--resize-reset-1.
23176 (resize-mini-window): Rename to window--resize-mini-window.
23177 (resize-subwindows-skip-p): Rename to
23178 window--resize-subwindows-skip-p.
23179 (resize-subwindows-normal): Rename to
23180 window--resize-subwindows-normal.
23181 (resize-subwindows): Rename to window--resize-subwindows.
23182 (resize-other-windows): Rename to window--resize-siblings.
23183 (resize-this-window): Rename to window--resize-this-window.
23184 (resize-root-window): Rename to window--resize-root-window.
23185 (resize-root-window-vertically): Rename to
23186 window--resize-root-window-vertically.
23187 (normalize-buffer-to-display): Rename to
23188 window-normalize-buffer-to-display.
23189 (normalize-buffer-to-switch-to): Rename to
23190 window-normalize-buffer-to-switch-to.
23191 Correspondingly update all callers of the functions listed
23192 above.
23193 (display-buffer-alist, display-buffer-normalize-arguments)
23194 (display-buffer-normalize-options, display-buffer)
23195 (display-buffer-alist-set): Use "function" instead of
23196 "fun-with-args".
23197
23198 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
23199
23200 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
23201 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
23202 debbugs.gnu.org. Mention acknowledgment email.
23203
23204 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
23205
23206 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
23207 buffer multibyteness, since it shouldn't matter.
23208
23209 2011-06-28 Martin Rudalics <rudalics@gmx.at>
23210
23211 * window.el (display-buffer-in-side-window): Handle dedicated
23212 windows as in display-buffer-reuse-window.
23213 (display-buffer-normalize-alist): Use value of override
23214 specifier.
23215 (display-buffer-normalize-specifiers): Use value of
23216 other-window-means-other-frame specifier.
23217 (display-buffer-alist): Rewrite some texts in widgets.
23218 (display-buffer): Spread arguments when calling function
23219 specified by fun-with-args.
23220
23221 2011-06-28 Deniz Dogan <deniz@dogan.se>
23222
23223 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
23224 Unnest `let'.
23225
23226 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
23227 selectors (Bug#5732).
23228 (css-proprietary-nmstart-re): Use `regexp-opt'.
23229
23230 2011-06-27 Jari Aalto <jari.aalto@cante.net>
23231
23232 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
23233 (eshell-ls-date-format): New defcustom.
23234 (eshell-ls-file): Use it.
23235
23236 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23237
23238 * help-fns.el (describe-variable): Fix message for terminal-local vars.
23239
23240 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
23241
23242 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
23243 (ange-ftp-make-tmp-name): New arg.
23244 (ange-ftp-file-local-copy): Use it.
23245
23246 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
23247
23248 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
23249 no-conversion (Bug#8870).
23250
23251 2011-06-27 Martin Rudalics <rudalics@gmx.at>
23252
23253 * window.el (window-right, window-left, window-child)
23254 (window-child-count, window-last-child)
23255 (window-iso-combination-p, walk-window-tree-1)
23256 (window-atom-check-1, window-tree-1, delete-window)
23257 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
23258 new naming conventions - window-vchild, window-hchild,
23259 window-next and window-prev are now called window-top-child,
23260 window-left-child, window-next-sibling and window-prev-sibling
23261 respectively.
23262 (resize-window-reset): Rename to window-resize-reset.
23263 (resize-window-reset-1): Rename to window-resize-reset-1.
23264 (resize-window): Rename to window-resize.
23265 (window-min-height, window-min-width)
23266 (resize-mini-window, resize-this-window, resize-root-window)
23267 (resize-root-window-vertically, adjust-window-trailing-edge)
23268 (enlarge-window, shrink-window, maximize-window)
23269 (minimize-window, delete-window, quit-restore-window)
23270 (split-window, balance-windows, balance-windows-area-adjust)
23271 (balance-windows-area, window-state-put-2)
23272 (display-buffer-even-window-sizes, display-buffer-set-height)
23273 (display-buffer-set-width, set-window-text-height)
23274 (fit-window-to-buffer): Rename all "resize-window" prefixed
23275 calls to use the "window-resize" prefix convention.
23276 (display-buffer-alist): Fix symbol for label specifier.
23277 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
23278 corresponding specifier.
23279 Reported by Juanma Barranquero <lekktu@gmail.com>.
23280
23281 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23282
23283 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
23284 convention.
23285 (ses-call-printer): Does not pass an empty string to formatter when the
23286 cell is empty to keep from barking printer Calc math-format-value.
23287
23288 2011-06-27 Richard Stallman <rms@gnu.org>
23289
23290 * battery.el (battery-mode-line-limit): New variable.
23291 (battery-update): Handle it.
23292
23293 * mail/rmailmm.el (rmail-mime-process-multipart):
23294 Handle truncated messages.
23295
23296 2011-06-27 Glenn Morris <rgm@gnu.org>
23297
23298 * progmodes/flymake.el (flymake-err-line-patterns):
23299 Allow for column numbers in the ant/javac pattern. (Bug#8866)
23300
23301 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23302
23303 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
23304 (ses--clean-!, ses--clean-_): New functions.
23305 (ses-range): Add configurability of readout order, and conversion
23306 to Calc vector.
23307
23308 * ses.el (ses-repair-cell-reference-all): New function.
23309 (ses-cell-symbol): Set macro as safe, so that it can be used in
23310 formulas.
23311
23312 * ses.el: Update cycle detection algorithm.
23313 (ses-localvars): Add ses--Dijkstra-attempt-nb and
23314 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
23315 (ses-set-localvars): New function.
23316 (ses-make-cell): Add property-list as a cell element.
23317 (ses-cell-property-get-fun, ses-cell-property-get)
23318 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
23319 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
23320 New functions.
23321 (ses-cell-property-set, ses-cell-property-pop)
23322 (ses-cell-property-get-handle): New macro.
23323 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
23324 New aliases, used for code readability.
23325 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
23326 cycle detection.
23327 (ses-self-reference-early-detection): New defcustom.
23328 (ses-formula-references): Robustify against self-referring cells.
23329 (ses-mode): Use ses-set-localvars.
23330 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
23331 before lauching the update processing.
23332 (ses-initialize-Dijkstra-attempt): New function.
23333 (ses-recalculate-cell): Update for cycle detection based on
23334 Dijkstra algorithm.
23335
23336 * ses.el: Fix commenting and indenting convention.
23337
23338 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23339
23340 * bs.el (bs-cycle-next): Complete last change.
23341
23342 2011-06-27 Drew Adams <drew.adams@oracle.com>
23343
23344 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
23345
23346 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
23347
23348 * net/network-stream.el (network-stream-open-starttls):
23349 Don't re-get capabilities unless we've reestablished connection.
23350 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
23351
23352 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
23353 to binary to possibly avoid line encoding issues on Windows (among
23354 other things).
23355
23356 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23357
23358 * net/network-stream.el (open-network-stream): Return an :error
23359 saying what the problem was, if possible.
23360
23361 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
23362 server.
23363
23364 * net/network-stream.el (network-stream-open-starttls): If we
23365 wanted to use STARTTLS, and the server offered it, but we weren't
23366 able to because we had no STARTTLS support, then close the connection.
23367 (open-network-stream): Return an :error element, if present.
23368
23369 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23370
23371 * hl-line.el (hl-line-sticky-flag): Doc fix.
23372 (global-hl-line-sticky-flag): New option (Bug#8323).
23373 (global-hl-line-highlight): Obey it.
23374
23375 * vc/vc.el (vc-revert-show-diff): Default to t.
23376
23377 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
23378
23379 * allout-widgets.el (allout-widgets-post-command-business):
23380 Stop decorating intermediate isearch matches. They're not being
23381 undecorated when an isearch is continued past, and isearch
23382 automatically collapses them. This leads to "widget leaks", where
23383 decorated items accumulate in collapsed areas. Lines with lots of
23384 hidden widgets can slow down cursor travel, substantially.
23385 Too much complicated machinery would be needed to ensure undecoration,
23386 so we're doing without this nicety.
23387
23388 (allout-widgets-tally-string): Don't try to do a hash-table-count
23389 of allout-widgets-tally when it's nil. This eliminates spurious "Error
23390 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
23391 *Messages* when allout-widgets-maintain-tally is t.
23392
23393 2011-06-26 Martin Rudalics <rudalics@gmx.at>
23394
23395 * window.el (display-buffer-normalize-argument): Rename to
23396 display-buffer-normalize-arguments. Handle special meaning of
23397 LABEL argument. Respect special-display-function when popping up
23398 a new frame. Fix code searching for a window showing the buffer
23399 on another frame.
23400 (display-buffer-normalize-specifiers):
23401 Call display-buffer-normalize-arguments.
23402 (display-buffer-in-window): Don't undedicate the window if its
23403 buffer remains the same.
23404 Reported by Drew Adams <drew.adams@oracle.com>.
23405 (display-buffer-alist): Add choice for same-window macro
23406 specfier.
23407 (display-buffer): Mention special meaning of LABEL argument in
23408 doc-string. Fix quoting. Don't pop up a new frame even as
23409 fallback.
23410
23411 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
23412
23413 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
23414 avoid deleting the current window in some cases (bug#8911).
23415
23416 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
23417
23418 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
23419 (Bug#8934)
23420
23421 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23422
23423 * net/network-stream.el (network-stream-open-starttls):
23424 Use built-in TLS support if `gnutls-available-p' is true.
23425 (network-stream-open-tls): Ditto.
23426
23427 2011-06-26 Leo Liu <sdl.web@gmail.com>
23428
23429 * register.el (registerv): New struct.
23430 (registerv-make): New function.
23431 (jump-to-register, describe-register-1, insert-register):
23432 Support the jump-func, print-func and insert-func slot of a registerv
23433 struct. (Bug#8415)
23434
23435 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23436
23437 * vc/vc.el (vc-revert-show-diff): New defcustom.
23438 (vc-diff-internal): New arg specifying diff buffer.
23439 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
23440 reuse an existing *vc-diff* buffer (Bug#8927).
23441
23442 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
23443
23444 2011-06-26 Glenn Morris <rgm@gnu.org>
23445
23446 * progmodes/f90.el (f90-critical-indent): New option.
23447 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
23448 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
23449 (f90-mode): Doc fix.
23450 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
23451 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
23452 (f90-beginning-of-block, f90-next-block, f90-indent-region)
23453 (f90-match-end): Handle block, critical.
23454
23455 2011-06-25 Glenn Morris <rgm@gnu.org>
23456
23457 * calendar/diary-lib.el (diary-included-files): Doc fix.
23458 (diary-include-files): New function, extracted from
23459 diary-include-other-diary-files and diary-mark-included-diary-files.
23460 (diary-include-other-diary-files, diary-mark-included-diary-files):
23461 Just call diary-include-files.
23462 (diary-mark-entries): Reset diary-included-files on first call.
23463
23464 * calendar/diary-lib.el (diary-mark-entries)
23465 (diary-mark-included-diary-files):
23466 Visit included diary-files in temp buffers.
23467
23468 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
23469 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
23470 (f90-start-block-re, f90-imenu-generic-expression)
23471 (f90-looking-at-program-block-start, f90-no-block-limit):
23472 Add support for submodules.
23473
23474 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23475 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
23476
23477 2011-06-25 Eli Zaretskii <eliz@gnu.org>
23478
23479 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
23480 buffer-file-type before setting its value, to avoid disastrous
23481 global effects on decoding files for DOS/Windows systems. (Bug#8780)
23482
23483 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23484
23485 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
23486
23487 * ses.el (ses-unload-function):
23488 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
23489
23490 * proced.el (proced-unload-function):
23491 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
23492
23493 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
23494
23495 * server.el (server-create-window-system-frame): Add parameters arg.
23496 (server-process-filter): Doc fix. Handle frame-parameters.
23497
23498 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23499
23500 Fix bug#8730, bug#8781.
23501
23502 * loadhist.el (unload--set-major-mode): New function.
23503 (unload-feature): Use it.
23504
23505 * progmodes/python.el (python-after-info-look): Add autoload cookie.
23506 (python-unload-function): New function.
23507
23508 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
23509
23510 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
23511
23512 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
23513
23514 * net/browse-url.el (browse-url-firefox-program): Add icecat to
23515 the candidates list.
23516
23517 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
23518
23519 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
23520
23521 2011-06-23 Richard Stallman <rms@gnu.org>
23522
23523 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
23524 (rmail-variables): Set next-error-move-function.
23525 (rmail-what-message): Take argument POS.
23526 (rmail-next-error-move): New function.
23527
23528 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
23529
23530 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
23531 messages for adjacent non-terminals.
23532
23533 2011-06-23 Richard Stallman <rms@gnu.org>
23534
23535 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
23536 (rmail-show-message-1): Preserve buffer modified flag.
23537 (rmail-start-mail): Don't specify use of rmail-mail-return;
23538 that's done by mail-bury now.
23539 (rmail-mail-return): Handle arg NEWBUF.
23540
23541 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
23542
23543 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
23544 SIZE is a number.
23545
23546 2011-06-23 Martin Rudalics <rudalics@gmx.at>
23547
23548 * window.el (get-lru-window, get-mru-window)
23549 (get-largest-window): Never return a minibuffer window.
23550 (display-buffer-pop-up-window): Fix a bug that could lead to
23551 reusing the minibuffer window.
23552 (display-buffer): Pass original specifier argument to
23553 display-buffer-function instead of the normalized one.
23554 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
23555
23556 2011-06-22 Leo Liu <sdl.web@gmail.com>
23557
23558 * minibuffer.el (completing-read-function)
23559 (completing-read-default): Move from minibuf.c.
23560
23561 2011-06-22 Richard Stallman <rms@gnu.org>
23562
23563 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
23564 to Rmail even if not started by a special Rmail command.
23565
23566 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
23567 Copy the buffer currently showing just one message.
23568
23569 2011-06-22 Roland Winkler <winkler@gnu.org>
23570
23571 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
23572 (bibtex-clean-entry): First delete the old key so that a
23573 customized algorithm for generating the new key does not get
23574 confused by the old key.
23575 (bibtex-url): Obey regexp of first step.
23576 (bibtex-search-entries): Do not use add-to-list with local
23577 list-var.
23578
23579 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23580
23581 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
23582 stored a user name, then query for the password first, instead of
23583 waiting for SMTP to give an error message and the trying again.
23584
23585 2011-06-22 Lawrence Mitchell <wence@gmx.li>
23586
23587 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
23588 BUFFER in call-process.
23589
23590 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23591
23592 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
23593 QUIT twice.
23594 (smtpmail-try-auth-methods): Require user name and password from
23595 auth-source.
23596
23597 2011-06-22 Martin Rudalics <rudalics@gmx.at>
23598
23599 * window.el (display-buffer-default-specifiers)
23600 (display-buffer-alist): Remove entries for pop-up-frame-alist.
23601 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
23602 (split-window): Normalize SIDE argument (Bug#8916).
23603
23604 * frame.el (pop-up-frame-alist, pop-up-frame-function)
23605 (special-display-frame-alist, special-display-popup-frame):
23606 Remove duplicate declarations. These are now in window.el.
23607
23608 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
23609
23610 * mail/smtpmail.el (smtpmail-via-smtp):
23611 Set :use-starttls-if-possible so that we always use STARTTLS if the
23612 server supports it. SMTP servers that support STARTTLS commonly
23613 require it.
23614
23615 * net/network-stream.el (network-stream-open-starttls): Support
23616 upgrading to STARTTLS always, even if we don't have built-in support.
23617 (open-network-stream): Add the :always-query-capabilities keyword.
23618
23619 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
23620 upgrades with `open-network-stream', and rely solely on
23621 auth-source for all credentials. Big changes throughout the file,
23622 but in particular:
23623 (smtpmail-auth-credentials): Remove.
23624 (smtpmail-starttls-credentials): Remove.
23625 (smtpmail-via-smtp): Check for servers saying they want AUTH after
23626 MAIL FROM, too.
23627
23628 * net/network-stream.el (network-stream-open-starttls):
23629 Provide support for client certificates both for external and built-in
23630 STARTTLS.
23631 (auth-source): Require.
23632 (open-network-stream): Document the :client-certificate keyword.
23633 (network-stream-certificate): Change cert-cert to cert and
23634 cert-key to key.
23635
23636 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
23637
23638 * net/tramp-cache.el (top): Don't load the persistency file when
23639 "emacs -Q" has been called.
23640
23641 2011-06-21 Tim Harper <timcharper@gmail.com>
23642
23643 * term/ns-win.el (ns-initialize-window-system):
23644 Set application-specific `ApplePressAndHoldEnabled' system
23645 resource to NO as it is not yet supported by the NS port.
23646
23647 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
23648
23649 * misc.el (list-dynamic-libraries--refresh): Compute header here...
23650 (list-dynamic-libraries): ...not here.
23651
23652 2011-06-21 Leo Liu <sdl.web@gmail.com>
23653
23654 * subr.el (sha1): Implement sha1 using secure-hash.
23655
23656 2011-06-21 Martin Rudalics <rudalics@gmx.at>
23657
23658 * window.el (display-buffer-alist): In default value do not
23659 enforce searching a window on any but the selected frame.
23660 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
23661 (display-buffer-select-window): Remove function.
23662 (display-buffer-in-window): When a window on another frame gets
23663 reused, do not select it any more but just raise its frame if
23664 necessary (Bug#8851) and (Bug#8856).
23665 (display-buffer-normalize-options): Handle pop-up-frames related
23666 options more faithfully.
23667 (pop-to-buffer): Don't rely on `display-buffer' selecting the
23668 window if it is on another frame.
23669 (display-buffer-alist, display-buffer-default-specifiers):
23670 Don't make new frame unsplittable by default.
23671 (display-buffer-normalize-argument): Fix doc-string typo and use
23672 'same-frame-other-window instead of 'other-window when associating
23673 with display-buffer-macro-specifiers.
23674
23675 2011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
23676
23677 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
23678 New functions.
23679 (5x5-mode-map, 5x5-mode-menu): Bind them.
23680 (5x5-draw-grid): Tweak the solver's rendering.
23681
23682 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23683
23684 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
23685 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
23686
23687 2011-06-21 Drew Adams <drew.adams@oracle.com>
23688
23689 * menu-bar.el: Use function variable instead of switch-to-buffer.
23690 (menu-bar-select-buffer-function): New variable.
23691 (menu-bar-update-buffers): Use it (bug#8876).
23692
23693 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23694
23695 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
23696 variable's status.
23697
23698 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
23699
23700 * x-dnd.el (x-dnd-version-from-flags)
23701 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
23702 and long as number (Bug#8899).
23703 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
23704
23705 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
23706
23707 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
23708 (completion-try-completion, completion-all-completions): Compute the
23709 metadata argument if it's missing; make it optional (bug#8795).
23710
23711 * wid-edit.el: Use lex-bind and move towards completion-at-point.
23712 (widget-complete): Use new :completion-function property.
23713 (widget-completions-at-point): New function.
23714 (default): Use :completion-function instead of :complete.
23715 (widget-default-completions): Rename from widget-default-complete;
23716 Rewrite.
23717 (widget-string-complete, widget-file-complete, widget-color-complete):
23718 Remove functions.
23719 (file, symbol, function, variable, coding-system, color):
23720 * international/mule-cmds.el (default-input-method, charset)
23721 (language-info-custom-alist):
23722 * cus-edit.el (face): Use new property :completions.
23723
23724 * progmodes/pascal.el (pascal-completions-at-point): New function.
23725 (pascal-mode): Use it.
23726 (pascal-mode-map): Use completion-at-point.
23727 (pascal-toggle-completions): Make obsolete.
23728 (pascal-complete-word, pascal-show-completions):
23729 * progmodes/octave-mod.el (octave-complete-symbol):
23730 Redefine as obsolete alias.
23731 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
23732 Signal absence of completion info for old Octave,
23733 (inferior-octave-complete): Redefine as obsolete alias.
23734 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
23735 (meta-completions-at-point): Rename from meta-complete-symbol and
23736 adapt it for use on completion-at-point-functions.
23737 (meta-common-mode): Use it.
23738 (meta-looking-at-backward, meta-match-buffer): Remove.
23739 (meta-complete-symbol): Redefine as obsolete alias.
23740 (meta-common-mode-map): Use completion-at-point.
23741 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
23742 (makefile-mode-map): Use completion-at-point.
23743 (makefile-completions-at-point): Rename from makefile-complete and
23744 adapt it for use on completion-at-point-functions.
23745 (makefile-mode): Use it.
23746 (makefile-complete): Redefine as obsolete alias.
23747
23748 2011-06-20 Deniz Dogan <deniz@dogan.se>
23749
23750 * net/rcirc.el: Delete trailing whitespaces once and for all.
23751
23752 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
23753
23754 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
23755
23756 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
23757
23758 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
23759
23760 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
23761
23762 2011-06-19 Martin Rudalics <rudalics@gmx.at>
23763
23764 * window.el (display-buffer-other-window-means-other-frame):
23765 Call display-buffer-normalize-alist.
23766 (display-buffer-normalize-specifiers-1): Rename to
23767 display-buffer-normalize-argument. New argument other-frame.
23768 Rewrite.
23769 (display-buffer-normalize-specifiers-2): Rename to
23770 display-buffer-normalize-options.
23771 (display-buffer-normalize-alist-1): New function.
23772 (display-buffer-normalize-specifiers-3): Rename to
23773 display-buffer-normalize-alist.
23774 Call display-buffer-normalize-alist-1.
23775 (display-buffer-normalize-options-inhibit): New variable.
23776 (display-buffer-normalize-specifiers): Rewrite calling
23777 display-buffer-normalize-alist,
23778 display-buffer-normalize-argument, and
23779 display-buffer-normalize-options. Don't call the latter if
23780 display-buffer-normalize-options-inhibit is non-nil.
23781 (frame-auto-delete): New option.
23782 (window-deletable-p): Use frame-auto-delete.
23783 (window-list-no-nils, window-state-ignored-parameters)
23784 (window-state-get-1, window-state-get, window-state-put-list)
23785 (window-state-put-1, window-state-put-2, window-state-put):
23786 New functions.
23787 (display-buffer-normalize-options): Move special-display-p group
23788 after pop-up-frame group (Bug#8851) and (Bug#8856).
23789
23790 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
23791
23792 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
23793 groups (Bug#8776).
23794 (rx-submatch-n): New function.
23795 (rx): Document it.
23796
23797 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
23798 (Bug#8768).
23799
23800 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
23801
23802 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
23803
23804 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
23805 anytime existing face settings are present (Bug#8889).
23806
23807 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
23808 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
23809 Remove unused argument.
23810
23811 2011-06-18 Martin Rudalics <rudalics@gmx.at>
23812
23813 * window.el (display-buffer-default-specifiers):
23814 Remove pop-up-frame. Add pop-up-window-min-height,
23815 pop-up-window-min-width, and another reuse-window specifier
23816 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
23817 (display-buffer-normalize-specifiers-2):
23818 Handle split-height-threshold and split-width-threshold also when
23819 pop-up-windows is unset. Add a reuse-window specifier for the
23820 case popping up a new window fails.
23821 (special-display-popup-frame): Remove double quoting.
23822 (display-buffer-normalize-specifiers-1): Fix thinko.
23823
23824 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
23825
23826 * shell.el (shell-completion-vars): Set pcomplete-termination-string
23827 according to comint-completion-addsuffix.
23828
23829 * pcomplete.el: Convert to lexical binding and fix bug#8819.
23830 (pcomplete-suffix-list): Mark as obsolete.
23831 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
23832 pcomplete-seen in the closure.
23833 (pcomplete-comint-setup): Setup completion-at-point as well.
23834 (pcomplete--entries): New function.
23835 (pcomplete--env-regexp): New var.
23836 (pcomplete-entries): Rewrite to work with partial-completion and
23837 without relying on pcomplete-suffix-list.
23838 (pcomplete-pare-list): Remove, unused.
23839
23840 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23841
23842 * window.el (display-buffer-alist): Set pop-up-window-min-height
23843 and pop-up-window-min-width in default value. Reported by
23844 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
23845 other-window-means-other-frame.
23846 (display-buffer-macro-specifiers): Comment out entry for
23847 other-window specifier.
23848 (display-buffer-other-window-means-other-frame): New function.
23849 (display-buffer-normalize-specifiers-1): New arguments
23850 buffer-name and label. Treat other-window case specially.
23851 (display-buffer-normalize-specifiers-2): Treat other-window case
23852 specially.
23853 (display-buffer-normalize-specifiers-3): New function.
23854 (display-buffer-normalize-specifiers):
23855 Call display-buffer-normalize-specifiers-3.
23856
23857 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23858
23859 * window.el (same-window-p): Fix two typos introduced when
23860 adding with-no-warnings.
23861 (display-buffer-normalize-specifiers-1): Don't check
23862 pop-up-frames for 'unset initialization.
23863 (display-buffer-normalize-specifiers-2): Major rewrite using
23864 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
23865 (pop-up-frames, display-buffer-reuse-frames)
23866 (display-buffer-mark-dedicated): Don't initialize to 'unset.
23867 Suggested by David Engster <deng@randomsample.de>.
23868 (even-window-heights): Initialize to 'unset.
23869 (display-buffer-alist-set): Handle new 'unset initializations.
23870 (display-buffer-macro-specifiers): Don't pop up a new frame in the
23871 other window case.
23872
23873 2011-06-16 Martin Rudalics <rudalics@gmx.at>
23874
23875 * window.el (display-buffer-normalize-specifiers-1):
23876 Respect current value of pop-up-frames for most reasonable values of
23877 second argument of display-buffer (Bug#8865).
23878 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
23879 (switch-to-buffer-other-window-same-frame)
23880 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
23881 Adams (Bug#8875).
23882 (display-buffer): Don't check noninteractive when calling
23883 display-buffer-pop-up-frame.
23884 (display-buffer-pop-up-frame): Never pop up a frame in
23885 noninteractive mode (Bug#8857).
23886 (enlarge-window, shrink-window): Don't report an error when the
23887 window can't be resized as requested (Bug#8862).
23888
23889 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23890
23891 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
23892
23893 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
23894
23895 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
23896
23897 2011-06-15 Alan Mackenzie <acm@muc.de>
23898
23899 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
23900 for declarators, disable knr checking to speed up for normal files.
23901 2: Refactor, replacing a sequence of nested if forms by a cond form.
23902
23903 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
23904
23905 * net/network-stream.el (open-network-stream): Add the keyword
23906 :always-query-capabilities for the case where you want to force a
23907 `plain' network connection, but the protocol still requires the
23908 capabilitiy command (i.e., SMTP and EHLO).
23909
23910 * subr.el (process-live-p): Rename from `process-alive-p' for
23911 consistency with other `-live-p' functions.
23912
23913 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23914
23915 * window.el (same-window-buffer-names, same-window-regexps)
23916 (special-display-frame-alist, special-display-popup-frame)
23917 (special-display-function, special-display-buffer-names)
23918 (special-display-regexps, pop-up-frame-alist)
23919 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
23920 (pop-up-windows, split-window-preferred-function)
23921 (split-height-threshold, split-width-threshold, even-window-heights)
23922 (display-buffer-mark-dedicated): Don't encourage the use of
23923 display-buffer-alist from Elisp code.
23924
23925 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
23926
23927 * progmodes/python.el (python-mode): Derive from prog-mode.
23928 * progmodes/ps-mode.el (ps-mode):
23929 * progmodes/mixal-mode.el (mixal-mode):
23930 * progmodes/cfengine.el (cfengine-mode):
23931 * progmodes/ld-script.el (ld-script-mode): Likewise.
23932
23933 2011-06-15 Martin Rudalics <rudalics@gmx.at>
23934
23935 * window.el (display-buffer-alist): Trim default value to avoid
23936 popping up a new frame (Bug#8857) or reusing an arbitrary window
23937 on another frame.
23938 (display-buffer): Do not fall back on popping up a new frame in
23939 batch mode (Bug#8857).
23940
23941 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
23942
23943 * cus-theme.el (describe-theme-1): Use custom-theme-p.
23944 (custom-theme-summary): New function.
23945 (customize-themes): Use it.
23946
23947 2011-06-13 Glenn Morris <rgm@gnu.org>
23948
23949 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
23950
23951 2011-06-13 Martin Rudalics <rudalics@gmx.at>
23952
23953 * help.el (help-window): Remove variable.
23954 (help-window-point-marker, temp-buffer-max-height)
23955 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
23956 (help-print-return-message): Don't set help-window.
23957 (resize-temp-buffer-window): Rewrite cod eand doc-string.
23958 (help-window-setup-finish): Remove.
23959 (help-window-display-message, help-window-setup)
23960 (with-help-window): Major rewrite based on new
23961 display-buffer-window variable.
23962
23963 * help-mode.el (help-mode-finish): Remove help-window related
23964 code.
23965
23966 * view.el (view-exits-all-viewing-windows): Remove reference to
23967 view-return-to-alist in doc-string.
23968 (view-return-to-alist): Make obsolete.
23969 (view-buffer): Call pop-to-buffer-same-window and remove
23970 undo-window code.
23971 (view-buffer-other-window): Call pop-to-buffer-other-window and
23972 simplify code. Ignore second argument.
23973 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
23974 simplify code. Ignore second argument.
23975 (view-return-to-alist-update): Make obsolete.
23976 (view-mode-enter): Rename second argument to QUIT-RESTORE.
23977 Rewrite using quit-restore window parameters.
23978 (view-mode-exit): Rename second argument to EXIT-ONLY.
23979 Rewrite using quit-restore-window.
23980 (View-exit, View-exit-and-edit, View-leave, View-quit)
23981 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
23982 appropriate arguments.
23983 (view-end-message): Use quit-restore window parameter.
23984
23985 * window.el (display-buffer-function): Rewrite doc-string.
23986 (display-buffer-window, display-buffer-alist): New variables.
23987 (display-buffer-split-specifiers)
23988 (display-buffer-side-specifiers)
23989 (display-buffer-macro-specifiers): New constants.
23990 (display-buffer-even-window-sizes, display-buffer-set-height)
23991 (display-buffer-set-width, display-buffer-select-window)
23992 (display-buffer-in-window, display-buffer-reuse-window)
23993 (display-buffer-split-window-1, display-buffer-split-window)
23994 (display-buffer-split-atom-window, display-buffer-pop-up-window)
23995 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
23996 (display-buffer-in-side-window, normalize-buffer-to-display)
23997 (display-buffer-normalize-specifiers-1)
23998 (display-buffer-normalize-specifiers-2)
23999 (display-buffer-normalize-specifiers, display-buffer-frame):
24000 New functions.
24001 (display-buffer): Major rewrite.
24002 (display-buffer-other-window, display-buffer-other-frame)
24003 (pop-to-buffer, switch-to-buffer-other-window)
24004 (switch-to-buffer-other-frame): Rewrite.
24005 (display-buffer-same-window, display-buffer-same-frame)
24006 (display-buffer-same-frame-other-window)
24007 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
24008 (pop-to-buffer-other-window)
24009 (pop-to-buffer-same-frame-other-window)
24010 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
24011 (switch-to-buffer-other-window-same-frame): New functions.
24012 (same-window-p, special-display-p): Rewrite disabling warnings.
24013 Make obsolete.
24014 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
24015 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
24016 Make obsolete
24017 (same-window-buffer-names, same-window-regexps)
24018 (special-display-frame-alist, special-display-popup-frame)
24019 (special-display-function, special-display-buffer-names)
24020 (special-display-regexps, pop-up-frame-alist)
24021 (pop-up-frame-function, split-window-preferred-function)
24022 (split-height-threshold, split-width-threshold)
24023 (even-window-heights): Make obsolete.
24024
24025 2011-06-12 Glenn Morris <rgm@gnu.org>
24026
24027 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
24028 Misc simplifications.
24029
24030 2011-06-12 Martin Rudalics <rudalics@gmx.at>
24031
24032 * window.el (window-safely-shrinkable-p): Restore function which
24033 was inadvertently removed in change from 2011-06-11. Declare as
24034 obsolete.
24035
24036 * calendar/calendar.el (calendar-generate-window):
24037 Use window-iso-combined-p instead of combination of one-window-p and
24038 window-safely-shrinkable-p.
24039
24040 2011-06-12 Glenn Morris <rgm@gnu.org>
24041
24042 * progmodes/fortran.el (fortran-mode-syntax-table):
24043 * progmodes/f90.el (f90-mode-syntax-table):
24044 Set % to punctuation. (Bug#8820)
24045 (f90-find-tag-default): Remove, no longer needed.
24046
24047 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
24048
24049 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
24050
24051 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
24052
24053 * image.el (image-animated-p): Return animation delay in seconds.
24054 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
24055 (image-animate-timeout): Remove DELAY argument. Don't assume
24056 every subimage has the same delay; get it from image-animated-p.
24057 (image-animate): Caller changed.
24058
24059 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
24060
24061 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
24062 to ignored backtrace functions.
24063
24064 2011-06-11 Glenn Morris <rgm@gnu.org>
24065
24066 * calendar/appt.el (appt-disp-window-function): Doc fix.
24067 (appt-check): Handle overlapping appointments. (Bug#8337)
24068
24069 2011-06-11 Martin Rudalics <rudalics@gmx.at>
24070
24071 * window.el (window-tree-1, window-tree): New functions, moving
24072 the latter to window.el.
24073 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
24074 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
24075 (bw-refresh-edges): Remove.
24076 (balance-windows-1, balance-windows-2): New functions.
24077 (balance-windows): Rewrite in terms of window tree functions,
24078 balance-windows-1 and balance-windows-2.
24079 (bw-adjust-window): Remove.
24080 (balance-windows-area-adjust): New function with functionality of
24081 bw-adjust-window but using resize-window.
24082 (set-window-text-height): Rewrite doc-string.
24083 Use normalize-live-window and resize-window.
24084 (enlarge-window-horizontally, shrink-window-horizontally):
24085 Rename argument to DELTA.
24086 (window-buffer-height): New function.
24087 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
24088 Rewrite using new window resize routines.
24089 (kill-buffer-and-window, mouse-autoselect-window-select):
24090 Use ignore-errors instead of condition-case.
24091 (quit-window): Call delete-frame instead of delete-windows-on
24092 for the only buffer on frame.
24093
24094 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24095
24096 * loadup.el (top-level): Load window before files for the sake
24097 of replace-buffer-in-windows.
24098
24099 * files.el (read-buffer-to-switch)
24100 (switch-to-buffer-other-window)
24101 (switch-to-buffer-other-frame, display-buffer-other-frame):
24102 Move to window.el.
24103
24104 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
24105 (previous-buffer): Move to window.el.
24106
24107 * bindings.el (unbury-buffer): Move to window.el.
24108
24109 * window.el (delete-other-windows-vertically): Move after
24110 definition of delete-other-windows.
24111 (other-window, delete-windows-on, replace-buffer-in-windows):
24112 Move here from window.c.
24113 (record-window-buffer, unrecord-window-buffer)
24114 (set-window-buffer-start-and-point, switch-to-prev-buffer)
24115 (switch-to-next-buffer): New functions.
24116 (get-next-valid-buffer, last-buffer, next-buffer): Move here
24117 from simple.el. Call switch-to-next-buffer.
24118 (previous-buffer): Move here from simple.el.
24119 Call switch-to-prev-buffer.
24120 (bury-buffer): Move here from buffer.c. Switch to previous
24121 buffer when window cannot be deleted.
24122 (unbury-buffer): Move here from bindings.el.
24123 (ctl-x-map): Move binding for other-window from window.c to
24124 here.
24125 (read-buffer-to-switch, switch-to-buffer-other-window)
24126 (switch-to-buffer-other-frame): Move here from files.el.
24127 (normalize-buffer-to-switch-to): New functions.
24128 (switch-to-buffer): Move here from buffer.c.
24129 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
24130
24131 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24132
24133 * window.el (window-min-height, window-min-width): Move here
24134 from window.c. Add defcustoms and rewrite doc-strings.
24135 (resize-mini-window, resize-window): New functions.
24136 (adjust-window-trailing-edge, enlarge-window, shrink-window):
24137 Move here from window.c.
24138 (maximize-window, minimize-window): New functions.
24139 (delete-window, delete-other-windows, split-window): Move here
24140 from window.c.
24141 (window-split-min-size): New function.
24142 (split-window-keep-point): Mention split-window-above-each-other
24143 instead of split-window-vertically.
24144 (split-window-above-each-other, split-window-vertically):
24145 Rename split-window-vertically to split-window-above-each-other
24146 and provide defalias for old definition.
24147 (split-window-side-by-side, split-window-horizontally):
24148 Rename split-window-horizontally to split-window-side-by-side
24149 and provide defalias for the old definition.
24150 (ctl-x-map): Move bindings for delete-window,
24151 delete-other-windows and enlarge-window here from window.c.
24152 Replace bindings for split-window-vertically and
24153 split-window-horizontally by bindings for
24154 split-window-above-each-other and split-window-side-by-side.
24155
24156 * cus-start.el (all): Remove entries for window-min-height and
24157 window-min-width. Add entries for window-splits and
24158 window-nest.
24159
24160 2011-06-09 Glenn Morris <rgm@gnu.org>
24161
24162 * calendar/appt.el (appt-mode-line): New function.
24163 (appt-check, appt-disp-window): Use it.
24164
24165 * files.el (hack-one-local-variable-eval-safep):
24166 Allow minor-modes with explicit +/-1 arguments.
24167
24168 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
24169
24170 * term/xterm.el (xterm): Add defgroup.
24171 (xterm-extra-capabilities): Add defcustom to supply known xterm
24172 capabilities, skip querying them, or query them (default).
24173 (terminal-init-xterm): Use it.
24174 (terminal-init-xterm-modify-other-keys): New function to set up
24175 modifyOtherKeys support to simplify `terminal-init-xterm'.
24176
24177 2011-06-09 Martin Rudalics <rudalics@gmx.at>
24178
24179 * window.el (resize-window-reset, resize-window-reset-1)
24180 (resize-subwindows-skip-p, resize-subwindows-normal)
24181 (resize-subwindows, resize-other-windows, resize-this-window)
24182 (resize-root-window, resize-root-window-vertically)
24183 (window-deletable-p, window-or-subwindow-p)
24184 (frame-root-window-p): New functions.
24185
24186 2011-06-09 Glenn Morris <rgm@gnu.org>
24187
24188 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
24189 (ange-ftp-get-files): Use it.
24190
24191 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
24192
24193 * mail/sendmail.el (mail-recover-1, mail-recover):
24194 * files.el (recover-file, recover-session):
24195 Handle dired-listing-switches not being just a single short option.
24196
24197 2011-06-09 Glenn Morris <rgm@gnu.org>
24198
24199 * calendar/appt.el (appt-display-message, appt-disp-window):
24200 Handle lists of appointments.
24201
24202 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24203
24204 * window.el (one-window-p): Move down in code.
24205 Rewrite doc-string.
24206 (window-current-scroll-bars): Rewrite doc-string.
24207 Normalize live window argument.
24208 (walk-windows, get-window-with-predicate, count-windows):
24209 Rewrite doc-string. Use window-list-1.
24210 (window-in-direction-2, window-in-direction, get-mru-window):
24211 New functions.
24212
24213 2011-06-08 Reuben Thomas <rrt@sc3d.org>
24214
24215 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
24216 Doc fix (Bug#8713).
24217
24218 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
24219
24220 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
24221
24222 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
24223
24224 * loadhist.el (unload-feature-special-hooks):
24225 Add `comint-output-filter-functions'.
24226
24227 2011-06-08 Ivan Kanis <gnu@kanis.fr>
24228
24229 * calendar/appt.el (appt-check): Move some initializations into the let.
24230
24231 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24232
24233 * window.el (window-height): Defalias to window-total-height.
24234 (window-width): Defalias to window-body-width.
24235
24236 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
24237
24238 * image-mode.el (image-toggle-animation): New command.
24239 (image-mode-map): Bind it to RET.
24240 (image-mode): Update message.
24241 (image-toggle-display-image): Avoid a spurious cache flush.
24242 (image-transform-rotation): Doc fix.
24243 (image-transform-properties): Return quickly in the normal case.
24244 (image-animate-loop): Rename from image-animate-max-time.
24245
24246 * image.el (image-animate-max-time): Move to image-mode.el.
24247 (create-animated-image): Remove unnecessary function.
24248 (image-animate): Rename from image-animate-start. New arg.
24249 (image-animate-stop): Remove; just use image-animate-timer.
24250 (image-animate-timer): Use car-safe.
24251 (image-animate-timeout): Rename argument.
24252
24253 2011-06-07 Martin Rudalics <rudalics@gmx.at>
24254
24255 * window.el (get-lru-window, get-largest-window): Move here from
24256 window.c. Rename first argument to ALL-FRAMES.
24257 Rephrase doc-strings.
24258 (get-buffer-window-list): Rewrite using window-list-1.
24259 Rephrase doc-string.
24260 (window-safe-min-height, window-safe-min-width): New constants.
24261 (window-size-ignore, window-min-size, window-min-size-1)
24262 (window-sizable, window-sizable-p, window-size-fixed-1)
24263 (window-size-fixed-p, window-min-delta-1, window-min-delta)
24264 (window-max-delta-1, window-max-delta, window-resizable)
24265 (window-resizable-p, window-total-height, window-total-width)
24266 (window-body-width): New functions.
24267 (window-full-height-p, window-full-width-p): Rewrite using
24268 window-total-size.
24269 (window-body-height): Rewrite using window-body-size.
24270
24271 2011-06-06 Martin Rudalics <rudalics@gmx.at>
24272
24273 * window.el (window-right, window-left, window-child)
24274 (window-child-count, window-last-child, window-any-p)
24275 (normalize-live-buffer, normalize-live-frame)
24276 (normalize-any-window, normalize-live-window)
24277 (window-iso-combination-p, window-iso-combined-p)
24278 (window-iso-combinations)
24279 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
24280 (windows-with-parameter, window-with-parameter)
24281 (window-atom-root, make-window-atom, window-atom-check-1)
24282 (window-atom-check, window-side-check, window-check):
24283 New functions.
24284 (ignore-window-parameters, window-sides, window-sides-vertical)
24285 (window-sides-slots): New variables.
24286 (window-size-fixed): Move down in code. Minor doc-string fix.
24287
24288 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
24289
24290 * comint.el (comint-dynamic-complete-as-filename)
24291 (comint-dynamic-complete-filename): Correctly call
24292 completion-in-region.
24293
24294 2011-06-05 Deniz Dogan <deniz@dogan.se>
24295
24296 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
24297 in last change.
24298
24299 2011-06-05 Deniz Dogan <deniz@dogan.se>
24300
24301 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
24302 (rcirc): Use it to prompt for encryption.
24303
24304 2011-06-05 Roland Winkler <winkler@gnu.org>
24305
24306 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
24307 (bibtex-search-entries): New command bound to C-c C-a.
24308 (bibtex-display-entries): New function.
24309
24310 2011-06-05 Roland Winkler <winkler@gnu.org>
24311
24312 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
24313 (bibtex-insert-kill): After yanking insert newline if necessary.
24314 (bibtex-initialize): Call bibtex-string-files-init only once.
24315 (bibtex-mode): Do not call easy-menu-add.
24316 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
24317 (bibtex-yank): Set arg properly if nil.
24318
24319 2011-06-05 Roland Winkler <winkler@gnu.org>
24320
24321 * textmodes/bibtex.el (bibtex-search-entry-globally):
24322 New variable.
24323 (bibtex-search-entry): Use it.
24324
24325 2011-06-05 Roland Winkler <winkler@gnu.org>
24326
24327 * textmodes/bibtex.el (bibtex-entry-format): New option
24328 sort-fields.
24329 (bibtex-format-entry, bibtex-reformat): Honor this option.
24330 (bibtex-parse-entry): Return fields in proper order.
24331
24332 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
24333
24334 * doc-view.el (doc-view-remove-if): Move computation of result out
24335 of `dolist' to silence misleading lexical-binding warning.
24336
24337 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
24338
24339 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
24340 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
24341
24342 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24343
24344 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
24345 "SunOS 5.10".
24346
24347 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24348
24349 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
24350 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
24351 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
24352 (tramp-parse-putty):
24353 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
24354 (tramp-completion-function-alist-ssh)
24355 (tramp-completion-function-alist-telnet)
24356 (tramp-completion-function-alist-su)
24357 (tramp-completion-function-alist-putty): Set `tramp-autoload'
24358 cookie.
24359
24360 * net/tramp-ftp.el:
24361 * net/tramp-sh.el:
24362 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
24363 load "tramp.el" `tramp-set-completion-function'.
24364
24365 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
24366
24367 * shell.el: Require and use pcomplete.
24368 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
24369 (shell-completion-vars): Set pcomplete-default-completion-function.
24370
24371 2011-06-04 Deniz Dogan <deniz@dogan.se>
24372
24373 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
24374 `memq' (Bug#8799).
24375
24376 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24377
24378 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
24379
24380 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
24381
24382 * bs.el (bs--mark-unmark, bs--nth-wrapper):
24383 * mpc.el (mpc-select-extend, mpc-songpointer-context):
24384 * vc/log-view.el (log-view-beginning-of-defun):
24385 * vc/smerge-mode.el (smerge-apply-resolution-patch)
24386 (smerge-refine-forward, smerge-refine-chopup-region):
24387 Silence warning for unused `dotimes' counter variables.
24388
24389 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24390
24391 * net/tramp.el (tramp-with-progress-reporter): Rename from
24392 with-progress-reporter. Use `declare'.
24393 * net/tramp-smb.el:
24394 * net/tramp-sh.el:
24395 * net/tramp-gvfs.el: Update all uses.
24396
24397 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
24398
24399 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
24400 buffer isn't killed before making it current.
24401
24402 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24403
24404 Silence various byte-compiler warnings.
24405 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
24406 `access-type' and new obsolescence format.
24407 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
24408 new format.
24409 (byte-compile-check-variable): New `access-type' argument.
24410 Only warn if the access-type is obsolete.
24411 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24412 (byte-compile-variable-set): Adjust callers.
24413 * help-fns.el (describe-variable): Adjust to new obsolescence format.
24414 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
24415 setting it as obsolete.
24416 * simple.el (minibuffer-completing-symbol):
24417 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
24418 access as obsolete.
24419 * minibuffer.el (minibuffer-completing-file-name): Don't make it
24420 obsolete yet.
24421 * international/quail.el (quail-mouse-choose-completion): Remove unused
24422 code referring to obsolete var.
24423 (quail-choose-completion-string): Remove.
24424 * server.el (server-clients-with, server-kill-buffer-query-function)
24425 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
24426 * proced.el (proced-send-signal):
24427 * emacs-lisp/lisp.el (lisp-complete-symbol):
24428 Replace completion-annotate-function with completion-extra-properties.
24429
24430 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24431
24432 * simple.el (goto-line): Use read-number.
24433 (overriding-map-is-bound): Remove.
24434 (saved-overriding-map): Change default.
24435 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
24436 Take the map as argument.
24437 (universal-argument, negative-argument, digit-argument): Use it.
24438 (restore-overriding-map): Adjust.
24439 (do-auto-fill): Use fill-forward-paragraph.
24440 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
24441
24442 * minibuffer.el (minibuffer-inactive-mode-map): New var.
24443 (minibuffer-inactive-mode): New major mode.
24444 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
24445 the *Messages* buffer" hack.
24446 (mouse-popup-menubar): Don't burp if the event is a normal key.
24447
24448 Miscellaneous tweaks.
24449 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
24450 lexical scoping as in subr.el's dolist and dotimes.
24451 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
24452 Silence compiler warning.
24453 * thingatpt.el (forward-whitespace): Trivial coding style fix.
24454 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
24455 * international/ccl.el (ccl-compile): Trivial simplification.
24456 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
24457 * emacs-lisp/testcover.el (testcover-end): Remove spurious
24458 `printflag' argument.
24459 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
24460 Purecopy the whole obsolescence data.
24461
24462 2011-06-01 Leo Liu <sdl.web@gmail.com>
24463
24464 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
24465 improve doc-string as suggested by Marco Pessotto
24466 <melmothx@gmail.com>.
24467 (rcirc-print): Fix last change.
24468
24469 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24470
24471 * minibuffer.el (complete-with-action): Return nil for the metadata and
24472 boundaries of non-functional tables.
24473 (completion-table-dynamic): Return nil for the metadata.
24474 (completion-table-with-terminator): Add default case, using
24475 complete-with-action.
24476 (completion--metadata): New function.
24477 (completion-all-sorted-completions, minibuffer-completion-help): Use it
24478 to try and avoid pathological performance problems.
24479 (completion--embedded-envvar-table): Return `category' metadata.
24480
24481 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
24482
24483 * subr.el (process-alive-p): New tiny convenience function.
24484
24485 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24486
24487 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
24488 content but also its previous major mode.
24489
24490 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
24491
24492 * emacs-lisp/debug.el (debug): Restore the previous content of the
24493 *Backtrace* buffer when we exit with C-M-c.
24494
24495 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24496
24497 * minibuffer.el: Add metadata method to completion tables.
24498 (completion-category-overrides): New defcustom.
24499 (completion-metadata, completion--field-metadata)
24500 (completion-metadata-get, completion--styles)
24501 (completion--cycle-threshold): New functions.
24502 (completion-try-completion, completion-all-completions):
24503 Add `metadata' argument to choose completion-styles.
24504 (completion--do-completion): Use metadata to choose cycling.
24505 (completion-all-sorted-completions): Use metadata for sorting.
24506 Remove :completion-cycle-penalty which is not needed any more.
24507 (completion--try-word-completion): Add `metadata' argument.
24508 (minibuffer-completion-help): Check metadata for annotation function
24509 and sorting.
24510 (completion-file-name-table): Return `category' metadata.
24511 (minibuffer-completing-file-name): Make obsolete.
24512 * simple.el (minibuffer-completing-symbol): Make obsolete.
24513 * icomplete.el (icomplete-completions): Pass new `metadata' param to
24514 completion-try-completion.
24515
24516 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
24517
24518 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
24519
24520 2011-05-30 Leo Liu <sdl.web@gmail.com>
24521
24522 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
24523 (rcirc-print): Decode all incoming messages (bug#8744).
24524 (rcirc-decode-coding-system): Allow value nil for automatic coding
24525 system detection.
24526
24527 2011-06-01 Glenn Morris <rgm@gnu.org>
24528
24529 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
24530
24531 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24532
24533 * image.el (image-animate-max-time): Allow nil and t values.
24534 Default to nil.
24535 (create-animated-image): Doc fix.
24536 (image-animate-start): Remove second arg; just use
24537 image-animate-max-time.
24538 (image-animate-timeout): Doc fix. Args changed.
24539
24540 * image-mode.el (image-toggle-display-image): Ensure that the
24541 image spec passed to the animate timer is the same object as in
24542 the buffer's display property (Bug#6981).
24543 (image-transform-properties): Doc fix.
24544
24545 * image.el (image-animate-max-time): Default to nil.
24546
24547 2011-05-29 Martin Rudalics <rudalics@gmx.at>
24548
24549 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
24550 entire buffer list (Bug#8184).
24551
24552 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24553
24554 * image.el (imagemagick-types-inhibit)
24555 (imagemagick-register-types): Doc fix.
24556
24557 2011-05-29 Deniz Dogan <deniz@dogan.se>
24558
24559 * net/rcirc.el (rcirc): Use the user's stored encryption method by
24560 default.
24561
24562 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24563
24564 * select.el: Don't perform clipboard-manager saving in hooks;
24565 leave the hooks empty.
24566
24567 2011-05-28 Leo Liu <sdl.web@gmail.com>
24568
24569 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
24570 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
24571 (occur-edit-mode): New major mode (Bug#8463).
24572 (occur-after-change-function): New function.
24573 (occur-engine): Give Occur tags a read-only property.
24574
24575 2011-05-28 Kevin Ryde <user42@zip.com.au>
24576
24577 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
24578
24579 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24580
24581 * bindings.el (help-echo): Make the initial non-indicator dash
24582 empty on graphical terminals (Bug#7295).
24583
24584 * files.el (auto-mode-alist): Move config rule after the
24585 in-stripping one (Bug#8547).
24586
24587 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
24588
24589 * startup.el (normal-splash-screen): Remove gratuitous mode-line
24590 setting (Bug#8740).
24591
24592 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
24593
24594 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
24595 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
24596 (Bug#8539).
24597
24598 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24599
24600 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
24601
24602 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
24603
24604 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
24605 (hs-hide-block-at-point, hs-find-block-beginning)
24606 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
24607 (Bug#8279).
24608
24609 2011-05-28 Glenn Morris <rgm@gnu.org>
24610
24611 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
24612
24613 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24614
24615 * help-fns.el (describe-function-1): If the function is a derived
24616 major mode, print the parent mode.
24617
24618 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
24619 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
24620
24621 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
24622
24623 * minibuffer.el (completion--capf-wrapper): Check applicability before
24624 returning non-nil for non-exclusive completion data.
24625 * progmodes/etags.el (tags-completion-at-point-function):
24626 * info-look.el (info-lookup-completions-at-point): Mark as
24627 non-exclusive.
24628 (info-complete): Adjust accordingly.
24629
24630 * info-look.el: Convert to lexical-binding and completion-at-point.
24631 (info-lookup-completions-at-point): New function.
24632 (info-complete): Use it and completion-in-region.
24633
24634 2011-05-28 Drew Adams <drew.adams@oracle.com>
24635
24636 * isearch.el: Let M-e start with point at the first mismatched char.
24637 (isearch-fail-pos): New function.
24638 (isearch-edit-string): Use it.
24639
24640 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24641
24642 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24643
24644 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
24645
24646 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
24647 traversal functions for avl-trees.
24648 (avl-tree--stack): New struct.
24649 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
24650 (avl-tree-enter): Add optional `updatefun' arg.
24651 (avl-tree--do-enter): Add optional `updatefun' arg.
24652 Change return value.
24653 (avl-tree-delete): Add optional `test' and `nilflag' args.
24654 (avl-tree--do-delete): Add `test' and `nilflag' args.
24655 Change return value.
24656 (avl-tree-member): Add optional `nilflag'
24657 (avl-tree-member-p): New function.
24658 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
24659 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
24660 (avl-tree-stack-empty-p): New functions.
24661
24662 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
24663 avl-tree--del-balance1 and make it work both ways.
24664 (avl-tree--del-balance2): Remove.
24665 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
24666 make it work both ways.
24667 (avl-tree--enter-balance2): Remove.
24668 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
24669 New macros.
24670 (avl-tree--mapc, avl-tree-map): Add direction argument.
24671
24672 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
24673
24674 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
24675
24676 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
24677
24678 * select.el: Support clipboard managers with built-in function
24679 x-clipboard-manager-save, via delete-frame-functions and
24680 kill-emacs-hook.
24681 (xselect-convert-to-targets): Add MULTIPLE target to list.
24682 (xselect-convert-to-save-targets): New function.
24683
24684 2011-05-27 Kenichi Handa <handa@m17n.org>
24685
24686 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
24687 let-binding rfc2047-encode-encoded-words to nil.
24688
24689 2011-05-27 Glenn Morris <rgm@gnu.org>
24690
24691 * mail/emacsbug.el: Don't require url-util.
24692
24693 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
24694
24695 * files.el (set-auto-mode):
24696 Also respect mode: entries at the end of the file. (Bug#8586)
24697
24698 2011-05-26 Glenn Morris <rgm@gnu.org>
24699
24700 * files.el (hack-local-variables-prop-line, hack-local-variables):
24701 Downcase mode names, as seems to be traditional.
24702 (hack-local-variables, hack-local-variables-apply): Doc fixes.
24703
24704 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
24705 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
24706
24707 2011-05-25 Julien Danjou <julien@danjou.info>
24708
24709 * textmodes/rst.el (rst-define-level-faces): Do not define face
24710 symbol if it is already defined.
24711
24712 2011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
24713
24714 * play/5x5.el (5x5-new-game, 5x5-randomize):
24715 Reset 5x5-solver-output to nil when a new grid is cast.
24716 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
24717 these debugging traces, as defmacro breaks the compiled code.
24718
24719 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24720
24721 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24722
24723 2011-05-24 Leo Liu <sdl.web@gmail.com>
24724
24725 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
24726 (vc-bzr-sha1): Adapt.
24727
24728 * sha1.el: Remove. Function `sha1' is now builtin.
24729
24730 * bindings.el: Provide sha1 feature.
24731
24732 2011-05-24 Kenichi Handa <handa@m17n.org>
24733
24734 * mail/sendmail.el: Require `rfc2047'.
24735 (mail-insert-from-field): Do not perform RFC2047 encoding.
24736 (mail-encode-header): New function.
24737 (sendmail-send-it): Set buffer-file-coding-system of the work
24738 buffer to the return value of select-message-coding-system.
24739 Call mail-encode-header.
24740
24741 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
24742
24743 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
24744
24745 * mail/supercite.el (sc-default-cite-frame):
24746 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
24747
24748 2011-05-24 Glenn Morris <rgm@gnu.org>
24749
24750 * progmodes/python.el (brm-menu): Declare.
24751
24752 * emulation/viper.el (viper-set-hooks): Declare.
24753
24754 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
24755 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
24756 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
24757 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
24758 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
24759 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
24760
24761 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
24762
24763 Add an :exit-function for completion-at-point.
24764
24765 * minibuffer.el (completion--done): New fun.
24766 (completion--do-completion): Use it. New arg `expect-exact'.
24767 (minibuffer-complete, minibuffer-complete-word): Don't output message,
24768 since completion--do-completion does it for us now.
24769 (minibuffer-force-complete): Use completion--done and
24770 completion--replace. Handle sole-completion case with more care.
24771 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
24772 (completion-extra-properties): New var.
24773 (completion-annotate-function): Make obsolete.
24774 (minibuffer-completion-help): Adjust accordingly.
24775 Use completion-list-insert-choice-function.
24776 (completion-at-point, completion-help-at-point):
24777 Bind completion-extra-properties.
24778 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
24779 * simple.el (completion-list-insert-choice-function): New var.
24780 (completion-setup-function): Preserve it.
24781 (choose-completion): Pay attention to it, shuffle the code a bit.
24782 (choose-completion-string): New arg `insert-function'.
24783
24784 * textmodes/bibtex.el: Convert to lexical binding.
24785 (bibtex-mode-map): Use completion-at-point.
24786 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
24787 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
24788 (bibtex-complete): Define as obsolete alias.
24789 (bibtex-complete-internal): Remove.
24790 (bibtex-format-entry): Remove unused sub-group in regexp.
24791 * shell.el (shell--command-completion-data)
24792 (shell-environment-variable-completion):
24793 * pcomplete.el (pcomplete-completions-at-point):
24794 * comint.el (comint--complete-file-name-data): Use :exit-function
24795 instead of completion-table-with-terminator so it also works for
24796 choose-completion.
24797
24798 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24799
24800 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
24801
24802 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
24803 (bug#8710).
24804
24805 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
24806
24807 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
24808
24809 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
24810 customization variable and implement: If non-nil, auto-fill will
24811 be inhibited while on topic's header line.
24812
24813 2011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
24814
24815 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
24816 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
24817 always have a solution in grid size = 5 cases.
24818 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
24819 (5x5-solver-output, 5x5-log-buffer): New vars.
24820 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
24821 Make these variables buffer local to achieve 5x5 multi-session-ness.
24822 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
24823 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
24824 (5x5-solve-suggest): New funs.
24825 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
24826 randomize a grid so that we ensure that there is always a solution.
24827 (5x5-make-random-grid): Allow other movement than flipping.
24828
24829 2011-05-23 Kevin Ryde <user42@zip.com.au>
24830
24831 * emacs-lisp/advice.el (ad-read-advised-function):
24832 Use `function-called-at-point' as the default, if it has
24833 advice and passes PREDICATE.
24834
24835 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24836
24837 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
24838 byte-compile-lambda if it's actually a lambda.
24839
24840 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
24841 Fix function quoting. Use backquote better.
24842
24843 2011-05-22 Yuanle Song <sylecn@gmail.com>
24844
24845 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
24846 matching (Bug#8516).
24847
24848 2011-05-22 Jari Aalto <jari.aalto@cante.net>
24849
24850 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
24851 different face (Bug#8178).
24852
24853 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
24854
24855 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
24856 defface (Bug#8144).
24857
24858 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
24859
24860 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
24861 funcall as well (bug#8712). Warn when performing those conversions.
24862 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
24863
24864 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
24865
24866 2011-05-22 Glenn Morris <rgm@gnu.org>
24867
24868 * files.el (hack-local-variables-prop-line): Small simplifications.
24869 (hack-local-variables, hack-local-variables-prop-line):
24870 If MODE-ONLY, return the mode, rather than just `t'.
24871
24872 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
24873
24874 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
24875
24876 2011-05-21 Glenn Morris <rgm@gnu.org>
24877
24878 * files.el (hack-local-variables-prop-line, hack-local-variables):
24879 If only interested in the mode, don't bother doing the other stuff.
24880
24881 * image-mode.el (image-after-revert-hook):
24882 Redraw all frames on which the image is visible. (Bug#8567)
24883
24884 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
24885
24886 * wid-edit.el (widget-checklist-match-inline):
24887 Fix 2011-04-19 change. (Bug#8649)
24888
24889 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
24890
24891 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
24892 Also allow singlespace after single-letter capitals followed by a dot.
24893
24894 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
24895 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
24896
24897 2011-05-20 Nix <nix@esperi.org.uk>
24898
24899 * files.el (basic-save-buffer-2):
24900 Fix handling of break-hardlink-on-save with non-existent files.
24901
24902 2011-05-19 Deniz Dogan <deniz@dogan.se>
24903
24904 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
24905 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
24906
24907 2011-05-19 Glenn Morris <rgm@gnu.org>
24908
24909 * progmodes/f90.el (f90-type-def-re):
24910 Handle "type, bind(c)". (Bug#8691)
24911
24912 * emacs-lisp/autoload.el (batch-update-autoloads):
24913 Set autoload-excludes by parsing loadup.el rather than Makefiles.
24914
24915 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
24916
24917 * net/tramp.el (tramp-process-actions): Set "first-password-request"
24918 property for the correct connection in case of multihops.
24919
24920 2011-05-18 Glenn Morris <rgm@gnu.org>
24921
24922 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
24923 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
24924
24925 Rationalize calendar handling of day and month abbrev-arrays.
24926 * calendar/calendar.el (calendar-customized-p): New function.
24927 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
24928 (calendar-day-name-array, calendar-month-name-array): Doc fix.
24929 Add :set function.
24930 (calendar-abbrev-length, calendar-day-abbrev-array)
24931 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
24932 (calendar-day-abbrev-array, calendar-month-abbrev-array):
24933 Elements may no longer be nil.
24934 (calendar-day-name, calendar-month-name):
24935 Update for changed nature of abbrev arrays.
24936 * calendar/diary-lib.el (diary-name-pattern):
24937 Update for changed nature of abbrev arrays.
24938 (diary-mark-entries-1): Update calendar-make-alist calls.
24939 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
24940 * calendar/cal-html.el (cal-html-day-abbrev-array):
24941 Simply inherit from calendar-day-abbrev-array.
24942
24943 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
24944
24945 * progmodes/grep.el (grep-mode): Disable default
24946 compilation-directory-matcher setting (bug#8684).
24947
24948 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
24949
24950 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
24951 instead of "head" and "tail". There were problems with SunOS 5.9,
24952 and it performs better.
24953
24954 2011-05-17 Glenn Morris <rgm@gnu.org>
24955
24956 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
24957
24958 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
24959 Replace obsolete function.
24960
24961 * shell.el (pcomplete-parse-arguments-function): Declare.
24962
24963 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
24964 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
24965 (appt-check): Doc fixes.
24966 (appt-disp-window-function, appt-delete-window-function):
24967 Remove needless special case in custom :type.
24968 (appt-display-count): Default to 0, not nil.
24969 (appt-check): Reset appt-display-count to 0, not nil.
24970
24971 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
24972
24973 * progmodes/python.el (python-font-lock-keywords):
24974 Add the Python 3.X keyword "nonlocal" (bug#8639).
24975
24976 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
24977
24978 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
24979
24980 2011-05-16 Kevin Ryde <user42@zip.com.au>
24981
24982 * info-look.el (makefile-automake-mode): New setups, looking in
24983 automake manual, then makefile-mode.
24984 (makefile-mode): Remove automake manual, have it just in
24985 makefile-automake-mode since there's various things different or
24986 not relevant to plain make.
24987 (makefile-mode): Remove "other-modes" non-existent automake-mode,
24988 believe a hypothetical automake-mode would go to makefile-mode,
24989 not the other way around.
24990
24991 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
24992
24993 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
24994 hunk-end tags (Bug#8672).
24995
24996 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
24997 vc-annotate-show-diff-revision-at-line (Bug#8671).
24998
24999 2011-05-14 Glenn Morris <rgm@gnu.org>
25000
25001 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
25002 in the middle of an existing one with multiple authors. (Bug#8645)
25003 (change-log-font-lock-keywords): Also handle multiple author lines
25004 with leading tabs. (Bug#8644)
25005
25006 * calendar/appt.el (appt-check): Rename some local variables.
25007 Some simplification/reordering.
25008
25009 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
25010 (feedmail-sendmail-f-doesnt-sell-me-out)
25011 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25012 (feedmail-debug-sit-for, feedmail-queue-express-hook)
25013 (feedmail-queue-runner-message-sender): Set :version.
25014 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
25015 (bbdb-dwim-net-address, vm-mail): Declare.
25016 (feedmail-binmail-gnulinuxish-template):
25017 Rename from feedmail-binmail-linuxish-template.
25018 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
25019 Use insert-buffer-substring.
25020
25021 2011-05-14 Bill Carpenter <bill@carpenter.org>
25022
25023 * mail/feedmail.el (feedmail-patch-level): Increase.
25024 (feedmail-debug): New custom group.
25025 (feedmail-confirm-outgoing-timeout)
25026 (feedmail-sendmail-f-doesnt-sell-me-out)
25027 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25028 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
25029 (feedmail-sender-line, feedmail-from-line)
25030 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
25031 (feedmail-spray-this-address)
25032 (feedmail-spray-address-fiddle-plex-list)
25033 (feedmail-queue-use-send-time-for-date)
25034 (feedmail-queue-use-send-time-for-message-id)
25035 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
25036 (feedmail-buffer-eating-function):
25037 Doc fixes.
25038 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
25039 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
25040 (feedmail-message-action-scroll-down): New functions.
25041 (feedmail-queue-directory, feedmail-queue-draft-directory):
25042 Use expand-file-name.
25043 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
25044 Remove C-v help entry.
25045 (feedmail-queue-buffer-file-name): New variable.
25046 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
25047 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
25048 (feedmail-message-action-send-strong, feedmail-message-action-edit)
25049 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
25050 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
25051 (feedmail-message-action-toggle-spray)
25052 (feedmail-run-the-queue-no-prompts)
25053 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
25054 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
25055 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
25056 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
25057 (feedmail-envelope-deducer, feedmail-fiddle-from)
25058 (feedmail-fiddle-sender, feedmail-default-date-generator)
25059 (feedmail-fiddle-date, feedmail-fiddle-message-id)
25060 (feedmail-fiddle-spray-address)
25061 (feedmail-fiddle-list-of-spray-fiddle-plexes)
25062 (feedmail-fiddle-list-of-fiddle-plexes)
25063 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
25064 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
25065 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
25066 Change default. Doc fix.
25067 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
25068 (feedmail-binmail-linuxish-template): New constant.
25069 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
25070 Respect feedmail-sendmail-f-doesnt-sell-me-out.
25071 (feedmail-send-it): Add debug call.
25072 Use feedmail-queue-buffer-file-name, and
25073 feedmail-send-it-immediately-wrapper.
25074 (feedmail-message-action-send): Add debug call.
25075 Use feedmail-send-it-immediately-wrapper.
25076 (feedmail-queue-express-to-queue): Add debug call.
25077 Run feedmail-queue-express-hook.
25078 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
25079 (feedmail-message-action-help-blat):
25080 Rename from feedmail-queue-send-edit-prompt-help-first.
25081 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
25082 Check line-endings. Handle errors better.
25083 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
25084 Doc fix. Add debug call.
25085 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
25086 Use feedmail-queue-send-edit-prompt-inner.
25087 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
25088 (feedmail-queue-send-edit-prompt-inner): New function, extracted
25089 from feedmail-queue-send-edit-prompt.
25090 (feedmail-queue-send-edit-prompt-help)
25091 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
25092 (feedmail-tidy-up-slug): Add debug call.
25093 Respect feedmail-queue-slug-suspect-regexp.
25094 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
25095 (feedmail-dump-message-to-queue): Add debug call.
25096 Expand queue-directory.
25097 (feedmail-dump-message-to-queue): Change message slightly.
25098 Use feedmail-say-chatter.
25099 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
25100 (feedmail-send-it-immediately-wrapper): New function.
25101 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
25102 Insert empty string rather than newline. Handle full-frame case.
25103 Use catch/throw. Use feedmail-say-chatter.
25104 (feedmail-fiddle-from): Try mail-host-address.
25105 (feedmail-default-message-id-generator): Doc fix.
25106 Bind system-time-locale. Handle missing end.
25107 (feedmail-fiddle-x-mailer): Add debug call.
25108 Handle feedmail-x-mailer-line being nil.
25109 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
25110 Add debug call. Use buffer-substring-no-properties.
25111 (feedmail-say-debug, feedmail-say-chatter): New functions.
25112 (feedmail-find-eoh): Give an explicit error.
25113
25114 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
25115
25116 * net/newst-treeview.el (newsticker-treeview-face): Change default
25117 family from helvetica to sans.
25118 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
25119 etc/images/newsticker.
25120
25121 * net/newst-reader.el (newsticker-feed-face): Change default
25122 family from helvetica to sans.
25123
25124 * net/newst-plainview.el (newsticker-new-item-face)
25125 (newsticker-old-item-face, newsticker-immortal-item-face)
25126 (newsticker-obsolete-item-face, newsticker-date-face)
25127 (newsticker-statistics-face): Change default family from
25128 helvetica to sans.
25129 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
25130 etc/images/newsticker.
25131
25132 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
25133 (newsticker--process-auto-mark-filter-match): Tell user about
25134 auto-marking.
25135
25136 2011-05-13 Didier Verna <didier@xemacs.org>
25137
25138 Common Lisp indentation improvements on defmethod and lambda-lists.
25139 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
25140 TODO entries.
25141 (lisp-lambda-list-keyword-parameter-indentation)
25142 (lisp-lambda-list-keyword-parameter-alignment)
25143 (lisp-lambda-list-keyword-alignment): New customizable user options.
25144 (lisp-indent-defun-method): Improve docstring.
25145 (extended-loop-p): Fix comment.
25146 (lisp-indent-lambda-list-keywords-regexp): New variable.
25147 (lisp-indent-lambda-list): New function.
25148 (lisp-indent-259): Use it.
25149 (lisp-indent-defmethod): Support for more than one
25150 method qualifier and properly indent methods lambda-lists.
25151 (defgeneric): Provide a missing common-lisp-indent-function property.
25152
25153 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
25154
25155 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
25156 bounds for the empty string (bug#8667).
25157
25158 2011-05-13 Glenn Morris <rgm@gnu.org>
25159
25160 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
25161
25162 * mail/sendmail.el (sendmail-program): Try executable-find first.
25163 (sendmail-send-it): `sendmail-program' cannot be unbound.
25164
25165 * calendar/appt.el (appt-make-list): Simplify.
25166 (appt-time-msg-list): Doc fix.
25167 (appt-check): Change mode-line message at the time of the appointment.
25168
25169 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
25170
25171 * progmodes/ld-script.el (ld-script-keywords)
25172 (ld-script-builtins): Update keywords list.
25173
25174 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25175
25176 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
25177
25178 * shell.el (shell-completion-vars): New function.
25179 (shell-mode):
25180 * simple.el (read-shell-command): Use it.
25181 (blink-matching-open): No need for " [...]" in minibuffer-message.
25182
25183 2011-05-12 Glenn Morris <rgm@gnu.org>
25184
25185 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
25186 (appt-check): Simplify.
25187
25188 2011-05-12 Eli Zaretskii <eliz@gnu.org>
25189
25190 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
25191 literal "/dev/null".
25192
25193 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25194
25195 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
25196 Fix typo.
25197
25198 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
25199
25200 * progmodes/which-func.el (which-function):
25201 Use add-log-current-defun instead of add-log-current-defun-function,
25202 which might not be defined (Bug#8260).
25203
25204 2011-05-12 Glenn Morris <rgm@gnu.org>
25205
25206 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
25207 Let byte-compile-initial-macro-environment always take precedence.
25208
25209 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25210
25211 * net/rcirc.el: Add support for SSL/TLS connections.
25212 (rcirc-server-alist): New field `encryption'.
25213 (rcirc): Check `encryption' settings.
25214 (rcirc-connect): New arg `encryption'. Use open-network-stream.
25215 Merge make-local-variable into `set'.
25216 (rcirc--connection-open-p): New function.
25217 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
25218 the process is not a network process (e.g. running gnutls-cli).
25219 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
25220 Make rcirc-(en|de)code-coding-system local here.
25221 (rcirc-mode): Merge make-local-variable into `set'.
25222 (rcirc-parent-buffer): Make permanent buffer-local.
25223 (rcirc-multiline-minor-mode): Don't do it here.
25224 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
25225 there's no server buffer.
25226
25227 2011-05-11 Glenn Morris <rgm@gnu.org>
25228
25229 * newcomment.el (comment-kill): Prefix "unused" local.
25230
25231 * term/w32console.el (get-screen-color): Declare.
25232
25233 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
25234 Handle symbol elements of byte-compile-initial-macro-environment.
25235
25236 2011-05-10 Leo Liu <sdl.web@gmail.com>
25237
25238 * bookmark.el (bookmark-bmenu-mode-map):
25239 Bind bookmark-bmenu-search to `/'.
25240
25241 * mail/footnote.el: Convert to utf-8 encoding.
25242 (footnote-unicode-string, footnote-unicode-regexp): New variable.
25243 (Footnote-unicode): New function.
25244 (footnote-style-alist): Add unicode style to the list.
25245 (footnote-style): Doc fix.
25246
25247 2011-05-10 Jim Meyering <meyering@redhat.com>
25248
25249 Fix doubled-word typos.
25250 * international/quail.el (quail-insert-kbd-layout): and and -> and
25251 * kermit.el: and and -> and
25252 * net/ldap.el (ldap-search-internal): to to -> to
25253 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
25254 * progmodes/js.el (js-mode): and and -> and
25255 * textmodes/artist.el (artist-move-to-xy): at at -> at
25256 (artist-draw-region-trim-line-endings): if if -> if
25257 And Safetyc -> Safety.
25258 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
25259
25260 2011-05-10 Glenn Morris <rgm@gnu.org>
25261 Stefan Monnier <monnier@iro.umontreal.ca>
25262
25263 * files.el (hack-one-local-variable-eval-safep):
25264 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
25265
25266 2011-05-10 Glenn Morris <rgm@gnu.org>
25267
25268 * calendar/diary-lib.el (diary-list-entries-hook)
25269 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
25270 (diary-nongregorian-marking-hook, diary-list-entries)
25271 (diary-include-other-diary-files, diary-mark-entries)
25272 (diary-mark-included-diary-files): Doc fixes.
25273
25274 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25275
25276 * misc.el: Require tabulated-list.el during compilation.
25277
25278 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25279
25280 * progmodes/compile.el (compilation-start):
25281 Run compilation-filter-hook for the async case too.
25282 (compilation-filter-hook): Doc fix.
25283
25284 2011-05-09 Deniz Dogan <deniz@dogan.se>
25285
25286 * wdired.el: Remove outdated installation comment. Fix usage
25287 comment.
25288
25289 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25290
25291 * misc.el: Implement new command `list-dynamic-libraries'.
25292 (list-dynamic-libraries--loaded-only-p): New variable.
25293 (list-dynamic-libraries--refresh): New function.
25294 (list-dynamic-libraries): New command.
25295
25296 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25297
25298 * progmodes/compile.el (compilation-error-regexp-alist-alist):
25299 Fix the ant regexp to handle end-line and end-column info from jikes.
25300 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
25301 higher priority to avoid clobbering by gnu.
25302
25303 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25304
25305 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
25306 if the face has existing theme settings (Bug#8454).
25307
25308 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
25309
25310 * progmodes/perl-mode.el (perl-imenu-generic-expression):
25311 Only match variables declared via `my' or `our' (Bug#8261).
25312
25313 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
25314 special file names `.' and `..' (Bug#8259).
25315
25316 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25317
25318 * progmodes/grep.el (grep-mode-font-lock-keywords):
25319 Remove buffer-changing entries.
25320 (grep-filter): New function.
25321 (grep-mode): Add it to compilation-filter-hook.
25322
25323 * progmodes/compile.el (compilation-filter-hook)
25324 (compilation-filter-start): New defvars.
25325 (compilation-filter): Call compilation-filter-hook prior to
25326 updating the process mark.
25327
25328 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
25329
25330 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
25331
25332 2011-05-07 Eli Zaretskii <eliz@gnu.org>
25333
25334 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
25335 mailclient-send-it even if window-system is nil. (Bug#8595)
25336
25337 * term/w32console.el (terminal-init-w32console):
25338 Call get-screen-color and use its output to set the frame
25339 background-mode. (Bug#8597)
25340
25341 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
25342
25343 Make bytecomp.el understand that defmethod defines funs (bug#8631).
25344 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
25345 New functions.
25346 (defgeneric, eieio--defmethod): Use them.
25347 (eieio-defgeneric): Remove.
25348 (defmethod): Call defgeneric in a way visible to the byte-compiler.
25349
25350 2011-05-07 Glenn Morris <rgm@gnu.org>
25351
25352 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
25353 Use let rather than let*.
25354 (timeclock-find-discrep): Remove unused local.
25355
25356 * calendar/diary-lib.el (diary-comment-start): Doc fix.
25357
25358 * calendar/appt.el (appt-time-msg-list): Doc fix.
25359
25360 2011-05-06 Noah Friedman <friedman@splode.com>
25361
25362 * apropos.el (apropos-print-doc): Only use
25363 emacs-lisp-docstring-fill-column when it is bound to an integer,
25364 per that variable's documentation.
25365
25366 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
25367
25368 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
25369 and warnings are not silently discarded (e.g. use -d instead of -P).
25370
25371 2011-05-06 Glenn Morris <rgm@gnu.org>
25372
25373 * calendar/appt.el (appt-message-warning-time): Doc fix.
25374 (appt-warning-time-regexp): New option.
25375 (appt-make-list): Respect appt-message-warning-time.
25376
25377 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
25378 New options.
25379 (diary-add-to-list): Strip comments from the displayed string.
25380 (diary-mode): Set comment-start and comment-end.
25381
25382 * vc/diff-mode.el (smerge-refine-subst): Declare.
25383 (diff-refine-hunk): Don't require smerge-mode when compiling.
25384
25385 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
25386
25387 * simple.el (list-processes): Return nil as the docstring says.
25388
25389 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25390
25391 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
25392 to "".
25393 (ange-ftp-write-region, ange-ftp-insert-file-contents)
25394 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
25395 determining of binary transfer. (Bug#7383)
25396
25397 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25398
25399 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25400 Fix port computation bug. (Bug#8618)
25401
25402 2011-05-05 Glenn Morris <rgm@gnu.org>
25403
25404 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
25405
25406 * simple.el (shell-dynamic-complete-functions)
25407 (comint-dynamic-complete-functions): Declare.
25408
25409 * net/network-stream.el (gnutls-negotiate):
25410 * simple.el (tabulated-list-print): Fix declarations.
25411
25412 * progmodes/gud.el (syntax-symbol, syntax-point):
25413 Remove unnecessary and incorrect declarations.
25414
25415 * emacs-lisp/check-declare.el (check-declare-scan):
25416 Handle byte-compile-initial-macro-environment in bytecomp.el.
25417
25418 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
25419
25420 Fix earlier half-done eieio-defmethod change (bug#8338).
25421 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
25422 Streamline and change calling convention.
25423 (defmethod): Adjust accordingly and simplify.
25424 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
25425 new eieio--defmethod.
25426 (slot-boundp): Minor CSE simplification.
25427
25428 2011-05-05 Milan Zamazal <pdm@zamazal.org>
25429
25430 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
25431 (glasses-make-readable): Use glasses-separate-capital-groups.
25432
25433 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
25434
25435 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
25436 (warning-series): Doc fix.
25437 (display-warning): Don't try to create the buffer if we just found it.
25438
25439 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
25440
25441 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
25442 (autoload-find-generated-file): New function.
25443 (generate-file-autoloads): Bind generated-autoload-file to
25444 buffer-file-name.
25445 (update-file-autoloads, update-directory-autoloads):
25446 Use autoload-find-generated-file. If called interactively, prompt for
25447 output file (Bug#7989).
25448 (batch-update-autoloads): Doc fix.
25449
25450 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
25451
25452 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
25453
25454 2011-05-04 Glenn Morris <rgm@gnu.org>
25455
25456 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
25457 function, so it follows changes in calendar-date-style.
25458 (diary-fancy-date-matcher): New function.
25459 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
25460 (diary-fancy-font-lock-fontify-region-function):
25461 Use diary-fancy-date-pattern as a function.
25462
25463 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
25464 non-numbers for `year' etc pseudo-variables. (Bug#8583)
25465
25466 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
25467
25468 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
25469 instead of positional arguments. Allow :keylist and :crlfiles
25470 arguments.
25471 (open-gnutls-stream): Call it.
25472
25473 * net/network-stream.el (network-stream-open-starttls): Adjust to
25474 call `gnutls-negotiate' with :process and :hostname arguments.
25475
25476 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
25477
25478 * minibuffer.el (completion--message): New function.
25479 (completion--do-completion, minibuffer-complete)
25480 (minibuffer-force-complete, minibuffer-complete-word): Use it.
25481 (completion--do-completion): Don't ignore completion-auto-help when in
25482 icomplete-mode.
25483
25484 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
25485 internal encoding (e.g. tibetan zero is not whitespace).
25486 (global-whitespace-mode): Prefer save-current-buffer.
25487 (whitespace-trailing-regexp): Remove useless save-match-data.
25488 (whitespace-empty-at-bob-regexp): Minor simplification.
25489
25490 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
25491
25492 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
25493
25494 2011-05-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
25495
25496 * textmodes/ispell.el (ispell-add-per-file-word-list):
25497 Use `concat' to create string for insertion.
25498
25499 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25500
25501 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
25502 Avoid open-line which runs post-self-insert-hook.
25503 (bibtex-fill-entry): Remove unused `end' var.
25504
25505 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
25506
25507 * textmodes/ispell.el (ispell-add-per-file-word-list):
25508 Protect against `nil' value of `comment-start' (Bug#8579).
25509
25510 2011-05-03 Leo Liu <sdl.web@gmail.com>
25511
25512 * isearch.el (isearch-yank-pop): New command.
25513 (isearch-mode-map): Bind it to `M-y'.
25514 (isearch-forward): Mention it.
25515
25516 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25517
25518 * simple.el (minibuffer-complete-shell-command): Remove.
25519 (minibuffer-local-shell-command-map): Use completion-at-point.
25520 (read-shell-command): Setup completion vars here instead.
25521 (read-expression-map): Bind TAB to symbol completion.
25522
25523 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
25524 error directly rather via storing it into `results'.
25525
25526 2011-05-02 Leo Liu <sdl.web@gmail.com>
25527
25528 * vc/diff.el: Fix description.
25529
25530 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
25531
25532 * server.el (server-eval-at): New function.
25533
25534 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
25535
25536 * net/network-stream.el (open-network-stream): Take a :nowait
25537 parameter and pass it on to `make-network-process'.
25538 (network-stream-open-plain): Ditto.
25539
25540 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
25541
25542 * faces.el (face-spec-set-match-display): Don't match toolkit
25543 options on terminal frames.
25544
25545 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
25546
25547 * progmodes/pascal.el: Use lexical binding.
25548 (pascal-mode-map): Remove author preferences.
25549
25550 * pcomplete.el (pcomplete-std-complete): Don't abuse
25551 completion-at-point.
25552
25553 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25554
25555 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
25556 removing code that has been dead since 1991 or so.
25557
25558 * startup.el (command-line): When warning about "_emacs", use a
25559 delayed warning to allow the user to filter it out.
25560
25561 2011-04-28 Deniz Dogan <deniz@dogan.se>
25562
25563 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
25564 user has not joined.
25565
25566 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25567
25568 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
25569 aren't any completions at point.
25570
25571 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25572
25573 * subr.el (display-delayed-warnings): New function.
25574 (delayed-warnings-hook): New variable.
25575
25576 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25577
25578 * minibuffer.el (completion-at-point, completion-help-at-point):
25579 Don't presume that a given completion-at-point-function will always
25580 use the same calling convention.
25581
25582 * pcomplete.el (pcomplete-completions-at-point):
25583 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
25584 pcomplete-seen is non-nil.
25585 (pcomplete-comint-setup): Also recognize the new comint/shell
25586 completion functions.
25587 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
25588 pcomplete-seen is non-nil.
25589
25590 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
25591
25592 * calendar/icalendar.el (diary-lib): Add require statement.
25593 (icalendar--create-uid): Read out a uid from a text-property on
25594 the first character in the entry. This allows for code to add its
25595 own uid to the entry.
25596 (icalendar--convert-float-to-ical): Add export of
25597 `diary-float'-entries save for those with the optional DAY
25598 argument.
25599
25600 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
25601
25602 * subr.el (shell-quote-argument): Use alternate escaping strategy
25603 when we spot a variable reference in a string.
25604
25605 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25606
25607 * cus-start.el (all): Define customization for debug-on-event.
25608
25609 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25610
25611 * subr.el (shell-quote-argument): Escape correctly under Windows.
25612
25613 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25614
25615 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
25616
25617 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
25618
25619 * net/tramp.el (tramp-process-actions): Add POS argument.
25620 Delete region between POS and (pos).
25621
25622 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25623 Use `nil' position in `tramp-process-actions' call.
25624 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
25625
25626 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
25627 position in `tramp-process-actions' call.
25628
25629 * net/trampver.el: Update release number.
25630
25631 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25632
25633 * custom.el (defcustom): Obey lexical-binding.
25634
25635 Fix octave-inf completion problems reported by Alexander Klimov.
25636 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
25637 Inherit from octave-mode-syntax-table.
25638 (inferior-octave-mode): Set info-lookup-mode.
25639 (inferior-octave-completion-at-point): New function.
25640 (inferior-octave-complete): Use it and completion-in-region.
25641 (inferior-octave-dynamic-complete-functions): Use it as well, and use
25642 comint-filename-completion.
25643 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
25644 symbol elements which shouldn't be word elements.
25645 (octave-font-lock-keywords, octave-beginning-of-defun)
25646 (octave-function-header-regexp): Adjust regexps accordingly.
25647 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
25648
25649 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
25650
25651 * net/gnutls.el (gnutls-errorp): Declare before first use.
25652
25653 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
25654
25655 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
25656 verify-error, and verify-hostname-error parameters. Check whether
25657 default trustfile exists before going to use it. Add missing
25658 argument to gnutls-message-maybe call. Return value.
25659 Reported by Claudio Bley <claudio.bley@gmail.com>.
25660 (open-gnutls-stream): Add usage example.
25661
25662 * net/network-stream.el (network-stream-open-starttls): Give host
25663 parameter to `gnutls-negotiate'.
25664 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
25665 * subr.el (shell-quote-argument): Escape correctly under Windows.
25666
25667 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
25668
25669 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
25670 Use correct match group (bug#8438).
25671
25672 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25673
25674 * emacs-lisp/package.el (package-built-in-p): Fix typo.
25675 (package-menu--generate): New arg specifying packages to show.
25676 (package-menu-refresh, package-menu-execute, list-packages):
25677 Callers changed.
25678 (package-show-package-list): New function, replacing deleted
25679 package--list-packages (renamed because it is non-internal).
25680
25681 * finder.el (finder-list-matches): Use package-show-package-list
25682 instead of deleted package--list-packages.
25683
25684 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
25685 Based on a previous implementation by Juanma Barranquero (Bug#8366).
25686 (vc-annotate-mode-map): Bind it to RET.
25687
25688 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
25689
25690 * progmodes/etags.el (next-file): Don't use set-buffer to change
25691 buffers (Bug#8478).
25692
25693 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25694
25695 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
25696
25697 * apropos.el (apropos-label-face): Avoid variable-pitch face.
25698 (apropos-accumulator): Doc fix.
25699 (apropos-function, apropos-macro, apropos-command)
25700 (apropos-variable, apropos-face, apropos-group, apropos-widget)
25701 (apropos-plist): Add face property.
25702 (apropos-symbols-internal): Fix indentation.
25703 (apropos-print): Simplify help, and recognize apropos-multi-type.
25704 (apropos-print-doc): Use button-type-get to extract the button's
25705 face property. Fill docstring (Bug#8352).
25706
25707 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
25708
25709 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
25710
25711 * play/mpuz.el (mpuz-silent): Doc fix.
25712 (mpuz-mode-map): Use mapc.
25713 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
25714 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
25715 Fix typos in docstrings.
25716
25717 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
25718 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
25719
25720 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
25721
25722 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
25723
25724 * minibuffer.el (completion--do-completion): Avoid the "Next char
25725 not unique" prompt if icomplete-mode is enabled (Bug#5849).
25726
25727 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
25728 mouse-2 into unread-command-events, it is interpreted correctly.
25729
25730 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
25731 (image-toggle-display): Doc fix.
25732
25733 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
25734
25735 * textmodes/page.el (what-page): Use line-number-at-pos to
25736 calculate line number (Bug#6825).
25737
25738 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25739
25740 * eshell/esh-mode.el (find-tag-interactive): Declare function.
25741 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
25742 Pass argument NO-DEFAULT to `find-tag-interactive'.
25743
25744 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25745
25746 Lexical-binding cleanup.
25747
25748 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
25749 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
25750 * progmodes/ada-prj.el (ada-prj-initialize-values)
25751 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
25752 (ada-prj-show-value):
25753 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
25754 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
25755 (antlr-invalidate-context-cache, antlr-options-menu-filter)
25756 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
25757 * progmodes/bug-reference.el (bug-reference-push-button):
25758 * progmodes/fortran.el (fortran-line-length):
25759 * progmodes/glasses.el (glasses-change):
25760 * progmodes/octave-mod.el (octave-fill-paragraph):
25761 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
25762 (python-pdbtrack-grub-for-buffer, python-sentinel):
25763 * progmodes/sql.el (sql-save-connection):
25764 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
25765 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
25766 Mark unused parameters.
25767
25768 * progmodes/compile.el (compilation--flush-directory-cache)
25769 (compilation--flush-parse, compile-internal): Mark unused parameters.
25770 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
25771 (compilation-next-error-function): Remove unused variable `timestamp'.
25772
25773 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
25774 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
25775
25776 * progmodes/dcl-mode.el (dcl-end-of-command):
25777 Remove unused variable `start'.
25778 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
25779 (dcl-option-value-basic, dcl-option-value-offset)
25780 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
25781 Mark unused parameters.
25782 (dcl-save-local-variable): Remove unused variable `val'.
25783 (mode): Declare.
25784
25785 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
25786 Mark unused parameters.
25787 (delphi-ignore-changes): Move before first use.
25788 (delphi-charset-token-at): Remove unused variable `start'.
25789 (delphi-else-start): Remove unused variable `if-count'.
25790 (delphi-comment-block-start, delphi-comment-block-end):
25791 Remove unused variable `kind'.
25792 (delphi-indent-line): Remove unused variable `new-point'.
25793
25794 * progmodes/ebrowse.el (ebrowse-files-list)
25795 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
25796 Mark unused parameters. Don't quote `lambda'.
25797 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
25798 Don't quote `lambda'.
25799 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
25800 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
25801 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
25802 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
25803 Use `ignore-errors'.
25804 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
25805 (ebrowse-view/find-file-and-search-pattern)
25806 (ebrowse-view/find-member-declaration/definition):
25807 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
25808 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
25809 Rename parameter PREFIX-ARG to PREFIX.
25810 (ebrowse-tags-read-name): Remove unused variables `start' and
25811 `member-info'.
25812 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
25813 to `tags-file'.
25814
25815 * progmodes/etags.el (local-find-tag-hook): Declare.
25816 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
25817 Mark unused parameters.
25818
25819 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
25820 (executable-interpret): Mark unused parameter.
25821
25822 * progmodes/flymake.el (flymake-process-sentinel)
25823 (flymake-after-change-function)
25824 (flymake-create-temp-with-folder-structure)
25825 (flymake-get-include-dirs-dot): Mark unused parameters.
25826 (flymake-safe-delete-directory): Remove unused variable `err'.
25827
25828 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
25829 (speedbar-timer-fn, speedbar-line-text)
25830 (speedbar-change-expand-button-char, speedbar-delete-subblock)
25831 (speedbar-center-buffer-smartly): Declare functions.
25832 (gdb-find-watch-expression): Remove unused variable `array'.
25833 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
25834 (gdb-starting): Mark unused parameters.
25835 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
25836 (gdb-table-string): Remove unused variable `res'.
25837 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
25838 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
25839 (gdb-display-buffer): Remove unused variable `cur-size'.
25840
25841 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
25842 allow lexical-binding compilation.
25843 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
25844 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
25845 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
25846 Mark unused parameters.
25847 (gud-gdb-marker-filter): Remove unused variable `match'.
25848 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
25849 lambda expressions and funcall them, instead of using `fset'.
25850
25851 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
25852 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
25853
25854 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
25855 variable `header-beg'; use `let'.
25856
25857 * progmodes/icon.el (indent-icon-exp): Remove unused variables
25858 `restart', `last-sexp' and `at-do'.
25859
25860 * progmodes/js.el (js--debug): Mark unused parameter.
25861 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
25862 (js--splice-into-items): Remove unused variable `item'.
25863 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
25864
25865 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
25866 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
25867 (makefile-complete): Remove unused variable `try'.
25868 (makefile-fill-paragraph, makefile-match-function-end):
25869 Mark unused parameters.
25870
25871 * progmodes/octave-inf.el (inferior-octave-complete):
25872 Remove unused variable `proc'.
25873 (inferior-octave-output-digest): Mark unused parameter.
25874
25875 * progmodes/perl-mode.el (perl-calculate-indent):
25876 Remove unused variable `err'.
25877
25878 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
25879 (prolog-indent-line): Mark unused parameters.
25880 (prolog-indent-line): Remove unused variable `beg'.
25881
25882 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
25883 (reporter-dont-compact-list): Declare.
25884
25885 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
25886 Remove unused variable `char'.
25887 (sh-debug): Mark unused parameter.
25888 (sh-get-indent-info): Remove unused variable `start'.
25889 (sh-calculate-indent): Remove unused variable `var'.
25890
25891 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
25892 (simula-electric-keyword): Remove unused variable `null'.
25893 (simula-search-backward, simula-search-forward): Remove unused
25894 variables `begin' and `end'.
25895
25896 * progmodes/vera-mode.el (vera-guess-basic-syntax):
25897 Remove unused variable `pos'.
25898 (vera-electric-tab, vera-comment-uncomment-region):
25899 Mark unused parameters.
25900 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
25901
25902 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
25903
25904 * emacs-lisp/package.el (package--builtins, package-alist)
25905 (package-load-descriptor, package-built-in-p, package-activate)
25906 (define-package, package-installed-p)
25907 (package-compute-transaction, package-buffer-info)
25908 (package--push): Doc fix. Distinguish more clearly between
25909 version strings and version lists.
25910
25911 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
25912
25913 Lexical-binding cleanup.
25914
25915 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
25916 (5x5-make-mutate-best):
25917 * play/fortune.el (fortune-in-buffer):
25918 * play/gomoku.el (gomoku-init-display):
25919 * play/solitaire.el (solitaire, solitaire-do-check):
25920 * play/tetris.el (tetris-default-update-speed-function):
25921 Mark unused parameters.
25922
25923 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
25924 (bubbles--shift): Remove unused variable `char-org'.
25925 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
25926 (bubbles--show-images): Remove unused variable `char'.
25927
25928 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
25929 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
25930 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
25931 (decipher-analyze-buffer): Use ?\s.
25932 (decipher-make-checkpoint): Remove unused variable `mapping'.
25933
25934 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
25935
25936 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
25937 Remove unused variable `result'; use `let'.
25938
25939 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
25940 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
25941 (gametree-children-shown-p, gametree-compute-reduced-score):
25942 Use `ignore-errors'.
25943
25944 * play/handwrite.el (ps-lpr-switches): Declare.
25945 (handwrite): Remove unused variables `pmin' and `lastp'.
25946
25947 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
25948
25949 * play/landmark.el (landmark-init-display)
25950 (landmark-update-naught-weights): Mark unused parameters.
25951 (landmark-y): Remove unused variable `noise'. Simplify.
25952 (landmark-human-plays): Remove unused variable `score'.
25953
25954 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
25955 (mpuz-try-proposal): Remove unused variable `game'.
25956
25957 * play/zone.el (life-patterns): Declare.
25958
25959 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
25960
25961 * vc/vc.el (ediff-vc-internal): Declare function.
25962
25963 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25964
25965 * shell.el: Use lexical-binding and std completion UI.
25966 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
25967 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
25968 comint-preoutput-filter-functions rather than on
25969 comint-output-filter-functions.
25970 (shell-command-completion, shell--command-completion-data)
25971 (shell-filename-completion, shell-environment-variable-completion)
25972 (shell-c-a-p-replace-by-expanded-directory): New functions.
25973 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
25974 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
25975 (shell-dynamic-complete-environment-variable): Use them.
25976 (shell-dynamic-complete-as-environment-variable)
25977 (shell-dynamic-complete-as-command): Remove.
25978 (shell-match-partial-variable): Match past point.
25979 * comint.el: Clean up use of completion-at-point-functions.
25980 (comint-completion-at-point): New function.
25981 (comint-mode): Use it completion-at-point-functions.
25982 (comint-dynamic-complete): Make it obsolete.
25983 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
25984 (comint-c-a-p-replace-by-expanded-history): New function.
25985 (comint-dynamic-complete-functions)
25986 (comint-replace-by-expanded-history): Use it.
25987 * minibuffer.el (completion-table-with-terminator): Allow dynamic
25988 termination strings. Try harder to avoid second try-completion.
25989 (completion-in-region-mode-map): Disable bindings that don't work yet.
25990
25991 * comint.el: Use lexical-binding. Require CL.
25992 (comint-dynamic-complete-functions): Use comint-filename-completion.
25993 (comint-completion-addsuffix): Tweak custom type.
25994 (comint-filename-completion, comint--common-suffix)
25995 (comint--common-quoted-suffix, comint--table-subvert)
25996 (comint--complete-file-name-data): New functions.
25997 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
25998 (comint-dynamic-list-filename-completions): Use them.
25999 (comint-dynamic-simple-complete): Make obsolete.
26000
26001 * minibuffer.el (completion-in-region-mode):
26002 Keep completion-in-region-mode--predicate global.
26003 (completion-in-region--postch):
26004 Assume completion-in-region-mode--predicate is not null.
26005
26006 * progmodes/flymake.el (flymake-start-syntax-check-process):
26007 Obey `dir'. Simplify.
26008
26009 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
26010 we're in VC after all.
26011
26012 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
26013
26014 * vc/vc.el (vc-diff-build-argument-list-internal)
26015 (vc-version-ediff, vc-ediff): New commands.
26016 (vc-version-diff): Use vc-diff-build-argument-list-internal.
26017
26018 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26019
26020 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
26021 add sanity check.
26022
26023 * obsolete/erc-hecomplete.el: Make obsolete.
26024 * obsolete/: Standardize obsolescence info in the header.
26025
26026 2011-04-20 Glenn Morris <rgm@gnu.org>
26027
26028 * calendar/solar.el (solar-horizontal-coordinates):
26029 Use the longitude argument rather than `calendar-longitude'.
26030 (solar-date-next-longitude): Remove unused locals.
26031
26032 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
26033
26034 * whitespace.el: New version 13.2.1.
26035
26036 2011-04-20 felix <EmacsWiki> (tiny change)
26037
26038 * whitespace.el (global-whitespace-mode): Keep highlight when
26039 switching between major modes on a file.
26040
26041 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
26042
26043 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
26044 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
26045 multi-line comments as well.
26046
26047 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
26048
26049 Lexical-binding cleanup.
26050
26051 * arc-mode.el (archive-mode-revert):
26052 * cmuscheme.el (scheme-interactively-start-process):
26053 * custom.el (custom-initialize-delay):
26054 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
26055 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
26056 * emacs-lock.el (emacs-lock-clear-sentinel):
26057 * ezimage.el (defezimage):
26058 * follow.el (follow-avoid-tail-recenter):
26059 * fringe.el (set-fringe-mode-1):
26060 * generic-x.el (bat-generic-mode-compile):
26061 * help-mode.el (help-info-variable, help-do-xref)
26062 (help-mode-revert-buffer):
26063 * help.el (view-emacs-todo):
26064 * iswitchb.el (iswitchb-completion-help):
26065 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
26066 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
26067 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
26068 * locate.el (locate-update):
26069 * longlines.el (longlines-encode-region)
26070 (longlines-after-change-function):
26071 * outline.el (outline-isearch-open-invisible):
26072 * ps-def.el (declare-function, charset-dimension, char-width)
26073 (encode-char):
26074 * ps-mule.el (ps-mule-plot-string):
26075 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
26076 (recentf-edit-list-select, recentf-edit-list-validate)
26077 (recentf-open-files-action):
26078 * rect.el (delete-whitespace-rectangle-line)
26079 (rectangle-number-line-callback):
26080 * register.el (window-configuration-to-register)
26081 (frame-configuration-to-register):
26082 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
26083 * select.el (xselect-convert-to-string, xselect-convert-to-length)
26084 (xselect-convert-to-targets, xselect-convert-to-delete)
26085 (xselect-convert-to-filename, xselect-convert-to-charpos)
26086 (xselect-convert-to-lineno, xselect-convert-to-colno)
26087 (xselect-convert-to-os, xselect-convert-to-host)
26088 (xselect-convert-to-user, xselect-convert-to-class)
26089 (xselect-convert-to-name, xselect-convert-to-integer)
26090 (xselect-convert-to-atom, xselect-convert-to-identity):
26091 * subr.el (declare, ignore, process-kill-without-query)
26092 (text-clone-maintain):
26093 * terminal.el (te-get-char, te-tic-sentinel):
26094 * tool-bar.el (tool-bar-make-keymap):
26095 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
26096 * type-break.el (type-break-mode, type-break-noninteractive-query):
26097 * view.el (View-back-to-mark):
26098 * wid-browse.el (widget-browse-action, widget-browse-widget)
26099 (widget-browse-widgets, widget-browse-sexp):
26100 * widget.el (define-widget-keywords):
26101 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
26102 Mark unused parameters.
26103
26104 * align.el (align-adjust-col-for-rule): Mark unused parameter.
26105 (align-areas): Remove unused variable `look'.
26106 (align-region): Remove unused variables `real-end' and `pos-list'.
26107
26108 * apropos.el (apropos-score-doc): Remove unused variable `i'.
26109
26110 * bindings.el (mode-line-modified, mode-line-remote):
26111 Mark unused parameters.
26112 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
26113
26114 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
26115 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
26116
26117 * comint.el (comint-history-isearch-pop-state)
26118 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
26119 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
26120 (comint-substitute-in-file-name): Doc fix.
26121
26122 * completion.el (cmpl-statistics-block): Mark unused parameter.
26123 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
26124 (save-completions-to-file, load-completions-from-file):
26125 Remove unused local variable `e'.
26126
26127 * composite.el (compose-chars): Remove unused variable `len'.
26128 (lgstring-insert-glyph): Remove unused variable `g'.
26129 (compose-glyph-string): Remove unused variables `ascent',
26130 `descent', `lbearing' and `rbearing'.
26131 (compose-glyph-string-relative): Remove unused variables
26132 `lbearing', `rbearing' and `wadjust'.
26133 (compose-gstring-for-graphic): Remove unused variables `header',
26134 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
26135 (compose-gstring-for-terminal): Remove unused variables `header'
26136 and `nchars'. Use `let', not `let*'.
26137
26138 * cus-edit.el (Custom-set, Custom-save, custom-reset)
26139 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
26140 (Custom-buffer-done, custom-buffer-create-internal)
26141 (custom-browse-visibility-action, custom-browse-group-tag-action)
26142 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
26143 (widget-magic-mouse-down-action, custom-toggle-parent)
26144 (custom-add-parent-links, custom-toggle-hide-variable)
26145 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
26146 (custom-toggle-hide-face, face, hook, custom-group-link-action)
26147 (custom-face-menu-create, custom-variable-menu-create, get)
26148 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
26149 (custom-reset-standard-save-and-update): Remove unused variable `value'.
26150 (customize-apropos): Remove unused variable `tests'.
26151 (custom-group-value-create): Remove unused variable `hidden-p'.
26152 (sort-fold-case): Declare.
26153
26154 * cus-theme.el (custom-reset-standard-faces-list)
26155 (custom-reset-standard-variables-list): Declare.
26156 (customize-create-theme, custom-theme-revert, custom-theme-write)
26157 (custom-theme-choose-mode, customize-themes, custom-theme-save):
26158 Mark unused parameters.
26159
26160 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
26161
26162 * delim-col.el (delimit-columns-max): Move defvar before first use.
26163
26164 * descr-text.el (describe-char-categories): Don't quote `lambda'.
26165 (describe-char): Don't quote `lambda'. Mark unused parameter.
26166
26167 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
26168 (auto-insert): Declare.
26169 (desktop-restore-file-buffer): Rename desktop-* parameters;
26170 mark unused ones.
26171 (desktop-create-buffer): Rename desktop-* parameters and bind them.
26172 (desktop-buffer): Rename desktop-* parameters.
26173
26174 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
26175 (dframe-reposition-frame-xemacs, dframe-help-echo)
26176 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
26177 Mark unused parameters.
26178
26179 * dired-aux.el (backup-extract-version-start, overwrite-query)
26180 (overwrite-backup-query, rename-regexp-query)
26181 (rename-non-directory-query): Declare.
26182 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
26183 (dired-add-entry): Remove unused variable `orig-file-name'.
26184 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
26185 Use parameter PRESERVE-TIME instead of accessing dynamic variable
26186 `dired-copy-preserve-time' directly.
26187 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
26188 (dired-insert-subdir-newpos): Rename unused variable `pos'.
26189
26190 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
26191 (dired-virtual-revert, dired-make-relative-symlink):
26192 Mark unused parameters.
26193 (manual-program): Declare.
26194 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
26195 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
26196 wrapped in `with-no-warnings' to avoid replacing one warning by another.
26197
26198 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
26199
26200 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
26201
26202 * echistory.el (electric-history-in-progress, Helper-return-blurb):
26203 Declare.
26204
26205 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
26206
26207 * electric.el (Electric-command-loop): Rename parameter
26208 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
26209
26210 * expand.el (expand-in-literal): Remove unused variable `here'.
26211
26212 * facemenu.el (facemenu-add-new-color):
26213 Remove unused variable `docstring'.
26214
26215 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
26216 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
26217 (face-attr-construct): Mark unused parameter. Doc fix.
26218 (read-color): Remove unused variable `hex-string'.
26219
26220 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
26221 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
26222 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
26223 (display-buffer-other-frame): Remove unused variable `old-window'.
26224 (kill-buffer-hook): Declare.
26225 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
26226 Mark unused parameters.
26227 (after-find-file): Pass 1 to `auto-save-mode', not t.
26228
26229 * files-x.el (auto-insert): Declare.
26230 (modify-file-local-variable-prop-line): Remove unused variable `val'.
26231
26232 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
26233 variable `buf'. Mark unused parameter.
26234 (find-lisp-insert-directory): Mark unused parameter.
26235
26236 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
26237 (format-encode-region): Remove unused variables `cur-buf' and `result'.
26238 (format-common-tail): Remove, unused.
26239 (format-deannotate-region): Remove unused variable `loc'.
26240 (format-annotate-region): Remove unused variable `p'.
26241 (format-annotate-single-property-change): Remove unused variables
26242 `default' and `tail'.
26243
26244 * forms.el (read-file-filter): Declare.
26245 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
26246
26247 * frame.el (frame-creation-function-alist): Mark unused parameter.
26248 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
26249
26250 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
26251 Remove unused parameters.
26252 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
26253 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
26254
26255 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
26256 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
26257 (hfy-prepare-tag-map): Mark unused parameters.
26258 (htmlfontify-buffer): Use `called-interactively-p'.
26259
26260 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
26261 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
26262 (ibuffer-do-occur): Mark unused parameters.
26263 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
26264 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
26265
26266 * ibuffer.el: Don't quote `lambda'.
26267 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
26268 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
26269 Mark unused parameters.
26270
26271 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
26272 (ido-completing-read): Mark unused parameters.
26273 (ido-copy-current-word): Mark unused parameters;
26274 remove unused variable `name'.
26275 (ido-sort-merged-list): Remove unused parameter `dirs'.
26276
26277 * ielm.el (ielm-input-sender): Mark unused parameter.
26278 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
26279 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
26280 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
26281 `ielm-string' as a dynamic variable accessible from the IELM prompt.
26282 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
26283
26284 * image-dired.el (image-dired-display-thumbs): Remove unused
26285 variables `curr-file' and `count'.
26286 (image-dired-remove-tag): Remove unused variable `start'.
26287 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
26288 variable `curr-file'
26289 (image-dired-rotate-original): Remove unused variable `temp-file'.
26290 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
26291 Remove unused variable `file'.
26292 (image-dired-gallery-generate): Remove unused variable `curr'.
26293 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
26294
26295 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
26296
26297 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
26298
26299 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
26300
26301 * isearch.el (minibuffer-history-symbol): Declare.
26302 (isearch-edit-string): Remove unused variable `err'.
26303 (isearch-message-prefix, isearch-message-suffix):
26304 Mark unused parameters.
26305
26306 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
26307
26308 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
26309
26310 * makesum.el (double-column): Remove unused variable `cnt'.
26311
26312 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
26313 (ido-ignore-item-temp-list): Declare.
26314
26315 * mouse-drag.el (mouse-drag-throw): Remove unused variables
26316 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
26317 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
26318 (mouse-drag-drag): Remove unused variables `mouse-delta' and
26319 `mouse-col-delta'.
26320
26321 * mouse-sel.el (mouse-extend-internal):
26322 Remove unused variable `orig-window-frame'.
26323
26324 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
26325 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
26326 Move declarations before first use.
26327 (pcomplete-opt): Mark unused parameters; doc fix.
26328
26329 * proced.el (proced-revert): Mark unused parameter.
26330 (proced-send-signal): Remove unused variable `err'.
26331
26332 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
26333 Rename parameter PREFIX-ARG to ARG.
26334 (ps-basic-plot-string, ps-basic-plot-whitespace):
26335 Mark unused parameters.
26336
26337 * replace.el (replace-count): Define.
26338 (occur-revert-function): Mark unused parameters.
26339 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
26340 (isearch-case-fold-search, isearch-string): Declare.
26341 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
26342 bind `case-fold-search'. Remove unused variables `beg' and `end',
26343 and simplify.
26344 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
26345 COUNT and bind `replace-count'.
26346 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
26347 to COUNT.
26348
26349 * savehist.el (print-readably, print-string-length): Declare.
26350
26351 * shadowfile.el (shadow-expand-cluster-in-file-name):
26352 Remove unused variable `cluster'.
26353 (shadow-copy-file): Remove unused variable `i'.
26354 (shadow-noquery, shadow-clusters, shadow-site-cluster)
26355 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
26356 (shadow-define-literal-group, shadow-define-regexp-group)
26357 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
26358
26359 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
26360 (shell): Use `called-interactively-p'.
26361 (shell-directory-tracker): Remove unused variable `chdir-failure'.
26362
26363 * simple.el (compilation-context-lines, comint-file-name-quote-list)
26364 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
26365 (delete-backward-char): Remove unused variable `ocol'.
26366 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
26367 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
26368 (event-apply-hyper-modifier, event-apply-shift-modifier)
26369 (event-apply-control-modifier, event-apply-meta-modifier):
26370 Mark unused parameters.
26371 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
26372 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
26373
26374 * speedbar.el (speedbar-ignored-directory-expressions)
26375 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
26376 (speedbar-find-file, speedbar-dir-follow)
26377 (speedbar-directory-buttons-follow, speedbar-tag-find)
26378 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
26379 (speedbar-buffers-line-directory, speedbar-buffer-click):
26380 Mark unused parameters.
26381 (speedbar-tag-file): Remove unused variable `mode'.
26382 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
26383
26384 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
26385
26386 * talk.el (talk): Remove unused variable `display'.
26387
26388 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
26389 (tar-write-region-annotate): Mark unused parameter.
26390
26391 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
26392 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
26393 Declare them, wrapped in `with-no-warnings' to avoid replacing one
26394 warning by another.
26395
26396 * time-stamp.el (time-stamp-string-preprocess):
26397 Remove unused variable `require-padding'.
26398
26399 * tree-widget.el (widget-glyph-enable): Declare.
26400 (tree-widget-action): Mark unused parameter.
26401
26402 * w32-fns.el (x-get-selection): Mark unused parameter.
26403 (autoload-make-program, generated-autoload-file): Declare.
26404
26405 * wdired.el (wdired-revert): Mark unused parameters.
26406 (wdired-xcase-word): Remove unused variable `err'.
26407
26408 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
26409 (whitespace-help-scroll): Remove unused variable `data-help'.
26410
26411 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
26412 (widget-image-insert, widget-after-change, default)
26413 (widget-default-format-handler, widget-default-notify)
26414 (widget-default-prompt-value, widget-info-link-action)
26415 (widget-url-link-action, widget-function-link-action)
26416 (widget-variable-link-action, widget-file-link-action)
26417 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
26418 (widget-field-prompt-internal, widget-field-action, widget-field-match)
26419 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
26420 (widget-insert-button-action, widget-delete-button-action, visibility)
26421 (widget-documentation-link-action, widget-documentation-string-action)
26422 (widget-const-prompt-value, widget-regexp-match, symbol)
26423 (widget-coding-system-prompt-value)
26424 (widget-key-sequence-value-to-external, sexp)
26425 (widget-sexp-value-to-internal, character, vector, cons)
26426 (widget-choice-prompt-value, widget-boolean-prompt-value)
26427 (widget-color--choose-action): Mark unused parameters.
26428 (widget-item-match-inline, widget-choice-match-inline)
26429 (widget-checklist-match, widget-checklist-match-inline)
26430 (widget-group-match): Rename parameter VALUES to VALS.
26431 (widget-field-value-set): Remove unused variable `size'.
26432 (widget-color-action): Remove unused variables `value' and `start'.
26433
26434 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
26435 variable `dir'. Doc fix.
26436 (windmove-find-other-window): Don't pass it.
26437
26438 * window.el (count-windows): Mark unused parameter.
26439 (bw-adjust-window): Remove unused variable `err'.
26440
26441 * woman.el (woman-file-name): Remove unused variable `default'.
26442 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
26443 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
26444 (global-font-lock-mode): Declare.
26445 (woman-decode-region): Mark unused parameter.
26446 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
26447
26448 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
26449 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
26450 (x-dnd-handle-moz-url): Remove unused variable `title'.
26451 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
26452
26453 * xml.el (xml-parse-tag, xml-parse-attlist):
26454 Remove unused variable `pos'.
26455
26456 2011-04-19 Glenn Morris <rgm@gnu.org>
26457
26458 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
26459 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
26460 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
26461 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
26462 * calendar/cal-html.el (cal-html-insert-minical):
26463 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
26464 (calendar-mark-date-pattern):
26465 Prefix "unused" locals.
26466
26467 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
26468 optional argument `style'.
26469
26470 * calendar/appt.el (appt-make-list):
26471 * calendar/cal-china.el (calendar-chinese-date-string):
26472 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
26473 (diary-hebrew-yahrzeit):
26474 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
26475 * calendar/calendar.el (calendar-generate-window):
26476 * calendar/time-date.el (time-to-days):
26477 Remove unused local variables.
26478
26479 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
26480
26481 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
26482 glyphless-char-display table.
26483 (tabulated-list-glyphless-char-display): New var.
26484
26485 2011-04-18 Sam Steingold <sds@gnu.org>
26486
26487 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
26488 to acknowledgments.
26489
26490 2011-04-17 Glenn Morris <rgm@gnu.org>
26491
26492 * calendar/diary-lib.el (diary-sexp-entry):
26493 * calendar/holidays.el (holiday-sexp):
26494 Set debug-on-error rather than the removed stack-trace-on-error.
26495
26496 2011-04-16 Glenn Morris <rgm@gnu.org>
26497
26498 * progmodes/f90.el: Use lexical-binding.
26499 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
26500
26501 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26502
26503 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
26504 (mail-mode): Setup mailalias completion here instead.
26505 * mail/mailalias.el: Use lexical-binding.
26506 (pattern, mailalias-done): Declare dynamic.
26507 (mail-completion-at-point-function): New function, from mail-complete.
26508 (mail-complete): Use it.
26509 (mail-completion-expand): New function.
26510 (mail-get-names): Use it.
26511 (mail-directory, mail-directory-process, mail-directory-stream):
26512 Don't use `pattern' for lexically bound arg.
26513
26514 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
26515
26516 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
26517 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
26518 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
26519
26520 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
26521 (byte-save-window-excursion, byte-temp-output-buffer-setup)
26522 (byte-interactive-p): Define them again, for use when inlining
26523 old code.
26524
26525 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
26526
26527 * loadup.el: Use `string-to-number', not `string-to-int'.
26528
26529 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26530
26531 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
26532 gud-gdb-complete-command.
26533 (gud-gdb-completions): New function, from gud-gdb-complete-command.
26534 (gud-gdb-completion-at-point): New function.
26535 (gud-gdb-completions): Remove.
26536
26537 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
26538
26539 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
26540 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
26541 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
26542 whether `executable-find' is bound.
26543
26544 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
26545
26546 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
26547
26548 * minibuffer.el (completion-in-region-mode-predicate)
26549 (completion-in-region-mode--predicate): New vars.
26550 (completion-in-region, completion-in-region--postch)
26551 (completion-in-region-mode): Use them.
26552 (completion--capf-wrapper): Also return the hook function.
26553 (completion-at-point, completion-help-at-point):
26554 Adjust and provide a predicate.
26555
26556 Preserve arg names for advice of subr and lexical functions (bug#8457).
26557 * help-fns.el (help-function-arglist): Consolidate the subr and
26558 new-byte-code cases. Add argument `preserve-names' to extract names
26559 from the docstring when needed.
26560 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
26561 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
26562 (ad-arglist): Use help-function-arglist's new arg.
26563 (ad-definition-type): Use cond.
26564
26565 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
26566
26567 * autorevert.el (auto-revert-handler):
26568 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
26569 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
26570 Don't quote lambda.
26571
26572 * image-mode.el (image-transform-set-scale):
26573 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
26574
26575 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
26576
26577 * net/network-stream.el (network-stream-open-starttls): Only do
26578 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
26579 Upgrades via gnutls-cli are too slow to be done opportunistically.
26580
26581 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
26582
26583 * dframe.el (dframe-current-frame): Remove spurious quote.
26584
26585 2011-04-12 Glenn Morris <rgm@gnu.org>
26586
26587 * calendar/cal-tex.el (cal-tex-end-document):
26588 Try to automatically use latin1 input if needed.
26589
26590 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
26591 Don't try to cons a mark onto an empty element.
26592
26593 2011-04-11 Leo Liu <sdl.web@gmail.com>
26594
26595 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
26596 buffers.
26597 (ido-kill-buffer-at-head): Support killing virtual buffers.
26598
26599 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
26600
26601 * minibuffer.el (completion-show-inline-help): New var.
26602 (completion--do-completion, minibuffer-complete)
26603 (minibuffer-force-complete, minibuffer-complete-word):
26604 Inhibit minibuffer messages if completion-show-inline-help is nil.
26605
26606 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
26607 to avoid interference from inline help (Bug#5849).
26608
26609 2011-04-10 Leo Liu <sdl.web@gmail.com>
26610
26611 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
26612 Fix typo.
26613
26614 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
26615
26616 * image-mode.el (image-toggle-display-image): Signal an error if
26617 not in Image mode.
26618 (image-transform-mode, image-transform-resize)
26619 (image-transform-set-rotation): Doc fix.
26620 (image-transform-set-resize): Delete.
26621 (image-transform-set-scale, image-transform-fit-to-height)
26622 (image-transform-fit-to-width): Handle image-toggle-display-image
26623 and image-transform-resize directly.
26624
26625 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
26626
26627 * doc-view.el (doc-view-fit-width-to-window)
26628 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
26629 New functions for fitting the shown image to the Emacs window size.
26630 (doc-view-mode-map): Add bindings for the new functions.
26631
26632 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
26633
26634 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
26635 Fix typo in docstring.
26636
26637 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26638
26639 * files.el (file-size-human-readable): Produce one digit after
26640 decimal, like "ls -lh" does.
26641
26642 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
26643 the file size representation.
26644
26645 * simple.el (list-processes): If async subprocesses are not
26646 available, error out with a clear error message.
26647
26648 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
26649
26650 * help.el (help-form-show): New function, to be called from C.
26651 Put help-form output in a buffer named differently than *Help*.
26652
26653 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26654
26655 * files.el (file-size-human-readable): New function.
26656
26657 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
26658 computing the representation inline. Don't require `cl'.
26659
26660 2011-04-08 Glenn Morris <rgm@gnu.org>
26661
26662 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
26663
26664 * net/browse-url.el (browse-url-firefox):
26665 Test system-type, not system-configuration.
26666
26667 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
26668 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
26669 Use log-edit-empty-buffer-p. (Bug#7598)
26670
26671 * net/rlogin.el (rlogin-process-connection-type): Simplify.
26672 (rlogin-mode-map): Initialize in the defvar.
26673 (rlogin): Use ignore-errors.
26674
26675 * replace.el (occur-mode-map): Some fixes for menu items.
26676
26677 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
26678
26679 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
26680
26681 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26682
26683 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
26684 issuing unused warnings.
26685
26686 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
26687 macro directly.
26688
26689 * simple.el: Lisp reimplement of list-processes. Based on an
26690 earlier reimplementation by Leo Liu, but using tabulated-list.el.
26691 (process-menu-mode): New major mode.
26692 (list-processes--refresh, list-processes):
26693 (process-menu-visit-buffer): New functions.
26694
26695 * files.el (save-buffers-kill-emacs): Don't assume any return
26696 value of list-processes, which is undocumented anyway.
26697
26698 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26699
26700 * emacs-lisp/tabulated-list.el: New file.
26701
26702 * emacs-lisp/package.el: Use Tabulated List mode.
26703 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
26704 (package-menu-mode): Derive from tabulated-list-mode. Set up the
26705 table format using Tabulated List mode variables.
26706 (package--push): New macro, replacing package-list-maybe-add.
26707 (package-menu--generate): Use package--push. Renamed from
26708 package--generate-package-list.
26709 (package-menu-refresh, list-packages): Use it.
26710 (package-menu--print-info): Rename from package-print-package.
26711 Return insertion data instead of inserting it directly.
26712 (package-menu-describe-package, package-menu-execute):
26713 Use tabulated-list-get-id.
26714 (package-menu-mark-delete, package-menu-mark-install)
26715 (package-menu-mark-unmark, package-menu-backup-unmark)
26716 (package-menu-mark-obsolete-for-deletion):
26717 Use tabulated-list-put-tag.
26718 (package--list-packages, package-menu-revert)
26719 (package-menu-get-package, package-menu-get-version)
26720 (package-menu-sort-by-column): Functions deleted.
26721 (package-menu-package-list, package-menu-sort-key): Vars deleted.
26722 (package-menu--status-predicate, package-menu--version-predicate)
26723 (package-menu--name-predicate)
26724 (package-menu--description-predicate): Handle arguments in the
26725 Tabulated List format.
26726 (package-list-packages-no-fetch): Call list-packages.
26727
26728 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
26729
26730 * files.el (after-find-file-from-revert-buffer): Remove variable.
26731 (after-find-file): Don't bind it.
26732 (revert-buffer-in-progress-p): New variable.
26733 (revert-buffer): Bind it.
26734 Pass nil for `after-find-file-from-revert-buffer'.
26735
26736 * saveplace.el (save-place-find-file-hook): Use new variable
26737 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
26738
26739 2011-04-06 Glenn Morris <rgm@gnu.org>
26740
26741 * Makefile.in (AUTOGEN_VCS): New variable.
26742 (autoloads): Use $AUTOGEN_VCS.
26743
26744 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
26745 * calendar/calendar.el (calendar-mode-map):
26746 Check for toolkit scroll bars. (Bug#8305)
26747
26748 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26749
26750 * minibuffer.el (completion-in-region--postch)
26751 (completion-in-region-mode): Remove unnecessary messages.
26752
26753 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
26754
26755 * font-lock.el (font-lock-refresh-defaults):
26756 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
26757 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
26758
26759 * info.el (Info-directory-list, Info-read-node-name-2)
26760 (Info-split-parameter-string): Doc fixes.
26761 (Info-virtual-nodes): Reflow docstring.
26762 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
26763 (Info-apropos-toc-nodes, info-finder, Info-get-token)
26764 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
26765 Fix typos in docstrings.
26766 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
26767 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
26768 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
26769 (Info-restore-desktop-buffer): Mark unused parameters.
26770 (Info-directory-find-file, Info-directory-find-node)
26771 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
26772 (Info-virtual-index-find-node, Info-apropos-find-file)
26773 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
26774 Mark unused parameters; fix typos in docstrings.
26775 (Info-virtual-index): Remove unused local variable `nodename'.
26776
26777 2011-04-05 Deniz Dogan <deniz@dogan.se>
26778
26779 * net/rcirc.el: Update my e-mail address.
26780 (rcirc-mode-map): Remove M-o binding.
26781
26782 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26783
26784 * startup.el (command-line): Save the cursor's theme-face
26785 directly, instead of using face-override-spec.
26786
26787 * custom.el (load-theme): Minor optimization in assigning faces.
26788
26789 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26790
26791 * help-fns.el (describe-variable): Complete all variables having
26792 documentation, including keywords.
26793 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
26794
26795 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26796
26797 Convert to lexical-binding.
26798
26799 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
26800 (bs--get-marked-string, bs--get-modified-string)
26801 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
26802 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
26803 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
26804
26805 * ehelp.el (electric-help-execute-extended)
26806 (electric-help-ctrl-x-prefix):
26807 * hexl.el (hexl-revert-buffer-function):
26808 * linum.el (linum-after-change, linum-after-scroll):
26809 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
26810
26811 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
26812
26813 2011-04-04 Daiki Ueno <ueno@unixuser.org>
26814
26815 * epa-dired.el:
26816 * epa-mail.el:
26817 * epa-hook.el:
26818 * epa-file.el:
26819 * epa.el:
26820 * epg.el: Use lexical binding.
26821
26822 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
26823
26824 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
26825
26826 * textmodes/flyspell.el (flyspell-word): Recognize default
26827 dictionary case for flyspell-mark-duplications-exceptions.
26828 Use regexp matching for languages.
26829 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
26830 default dictionary (Bug#7926).
26831
26832 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
26833
26834 * emacs-lisp/package.el (package--with-work-buffer):
26835 Recognize https URLs.
26836
26837 * net/network-stream.el: Move from gnus/proto-stream.el.
26838 Change prefix to network-stream throughout.
26839 (open-protocol-stream): Merge into open-network-stream, leaving
26840 open-protocol-stream as an alias. Handle nil BUFFER args.
26841
26842 * subr.el (open-network-stream): Move to net/network-stream.el.
26843
26844 2011-04-02 Glenn Morris <rgm@gnu.org>
26845
26846 * find-dired.el (find-exec-terminator): New option.
26847 (find-ls-option): Test for -ls support.
26848 (find-ls-subdir-switches): Test for -b in find-ls-option.
26849 (find-dired, find-grep-dired): Doc fixes.
26850 (find-dired): Use find-exec-terminator.
26851
26852 * find-dired.el (find-ls-option, find-ls-subdir-switches)
26853 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
26854 (find-name-arg): Remove purecopy.
26855
26856 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
26857 (grep-compute-defaults): Check for `-exec COMMAND +' support.
26858 Set grep-find-use-xargs, grep-find-command, and grep-find-template
26859 accordingly. Don't add the null-device if not needed.
26860
26861 * files.el (save-some-buffers): Doc fix.
26862
26863 2011-04-02 Eli Zaretskii <eliz@gnu.org>
26864
26865 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
26866
26867 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
26868
26869 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
26870 Use `dolist' rather than `mapcar'.
26871
26872 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
26873
26874 Add lexical binding.
26875
26876 * subr.el (apply-partially): Use new closures rather than CL.
26877 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
26878 (dolist, dotimes): Use slightly different expansion for lexical code.
26879 (functionp): Move to C.
26880 (letrec): New macro.
26881 (with-wrapper-hook): Use it and apply-partially instead of CL.
26882 (eval-after-load): Preserve lexical-binding.
26883 (save-window-excursion, with-output-to-temp-buffer): Turn them
26884 into macros.
26885
26886 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
26887
26888 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
26889 than the arglist.
26890 (help-add-fundoc-usage): Don't add `Not documented'.
26891 (help-function-arglist): Handle closures, subroutines, and new
26892 byte-code-functions.
26893 (help-make-usage): Remove leading underscores.
26894 (describe-function-1): Handle closures.
26895 (describe-variable): Use special-variable-p for completion.
26896
26897 * files.el (lexical-binding): Declare safe.
26898
26899 * emacs-lisp/pcase.el: Don't use destructuring-bind.
26900 (pcase--memoize): Rename from pcase-memoize. Change weakness.
26901 (pcase): Add `let' pattern.
26902 Change memoization so it actually works.
26903 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
26904 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
26905 <let>: New case.
26906
26907 * emacs-lisp/macroexp.el: Use lexical binding.
26908 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
26909 Don't convert ' to #' without checking that it's indeed quoting
26910 a lambda.
26911
26912 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
26913 Use eval-sexp-add-defvars.
26914 (eval-sexp-add-defvars): New fun.
26915
26916 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
26917
26918 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
26919 Don't autoload.
26920 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
26921 than the internal `byte-compile-lambda'.
26922 (defmethod): Don't hide code under quotes.
26923 (eieio-defmethod): New `code' argument.
26924
26925 * emacs-lisp/eieio-comp.el: Remove.
26926
26927 * emacs-lisp/edebug.el (edebug-eval-defun)
26928 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
26929 (edebug-toggle): Avoid `eval'.
26930
26931 * emacs-lisp/disass.el (disassemble-internal): Handle new
26932 `closure' objects.
26933 (disassemble-1): Handle new byte codes.
26934
26935 * emacs-lisp/cl.el (pushnew): Silence warning.
26936
26937 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
26938 (cl-byte-compile-throw): Remove.
26939 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
26940
26941 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
26942 closures.
26943
26944 * emacs-lisp/cconv.el: New file.
26945
26946 * emacs-lisp/bytecomp.el: Use lexical binding instead of
26947 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
26948 (byte-compile-initial-macro-environment):
26949 Handle declare-function here.
26950 (byte-compile--lexical-environment): New var.
26951 (byte-stack-ref, byte-stack-set, byte-discardN)
26952 (byte-discardN-preserve-tos): New lap codes.
26953 (byte-interactive-p): Don't use any more.
26954 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
26955 New macros.
26956 (byte-compile-lapcode): Use them and handle new lap codes.
26957 (byte-compile-obsolete): Remove.
26958 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
26959 (byte-compile-arglist-warn): Check late def of inlinable funs.
26960 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
26961 since they should have been expanded by now.
26962 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
26963 (byte-compile-from-buffer): Remove unused second arg.
26964 (byte-compile-preprocess): New function.
26965 (byte-compile-toplevel-file-form): New function to distinguish
26966 file-form calls from outside from file-form calls from hunk-handlers.
26967 (byte-compile-file-form): Simplify.
26968 (byte-compile-file-form-defsubst): Remove.
26969 (byte-compile-file-form-defmumble): Simplify now that
26970 byte-compile-lambda always returns a byte-code-function.
26971 (byte-compile): Preprocess.
26972 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
26973 Remove, not used any more.
26974 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
26975 (byte-compile-make-args-desc): New funs.
26976 (byte-compile-lambda): Handle lexical functions. Always return
26977 a byte-code-function.
26978 (byte-compile-reserved-constants): New var, to make up room for
26979 closed-over variables.
26980 (byte-compile-constants-vector): Obey it.
26981 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
26982 (byte-compile-macroexpand-declare-function): New function.
26983 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
26984 byte-code-functions.
26985 (byte-compile-form): Check obsolescence here.
26986 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
26987 (byte-compile-variable-ref): Remove.
26988 (byte-compile-dynamic-variable-op): New fun.
26989 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
26990 (byte-compile-variable-set): New funs.
26991 (byte-compile-discard): Add 2 args.
26992 (byte-compile-stack-ref, byte-compile-stack-set)
26993 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
26994 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
26995 macroexpand-all instead.
26996 (byte-compile-quote-form): Remove.
26997 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
26998 (byte-compile-bind, byte-compile-unbind): New funs.
26999 (byte-compile-let): Handle let* and lexical binding.
27000 (byte-compile-let*): Remove.
27001 (byte-compile-catch, byte-compile-unwind-protect)
27002 (byte-compile-track-mouse, byte-compile-condition-case):
27003 Handle a new :fun-body form, used for lexical scoping.
27004 (byte-compile-save-window-excursion)
27005 (byte-compile-with-output-to-temp-buffer): Remove.
27006 (byte-compile-defun): Simplify.
27007 (byte-compile-stack-adjustment): New fun.
27008 (byte-compile-out): Use it.
27009 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
27010
27011 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
27012 handler any more.
27013
27014 * emacs-lisp/byte-opt.el: Use lexical binding.
27015 (byte-inline-lapcode): Remove (to bytecomp).
27016 (byte-compile-inline-expand): Pay attention to inlining to/from
27017 lexically bound code.
27018 (byte-compile-unfold-lambda): Don't handle byte-code-functions
27019 any more.
27020 (byte-optimize-form-code-walker): Don't handle save-window-excursion
27021 any more and don't call compiler-macros.
27022 (byte-compile-splice-in-already-compiled-code): Remove.
27023 (byte-code): Don't inline any more.
27024 (disassemble-offset): Receive `bytes' as argument rather than via
27025 dynamic scoping.
27026 (byte-compile-tag-number): Declare before first use.
27027 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
27028 `return' even if make-spliceable.
27029 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
27030 obsolete interactive-p.
27031 (byte-optimize-lapcode): Optimize new lap-codes.
27032 Don't trip up on new form of `byte-constant' lap code.
27033
27034 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
27035
27036 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
27037
27038 * custom.el (custom-initialize-default, custom-declare-variable):
27039 Use `defvar'.
27040
27041 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
27042 New variables.
27043 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
27044 (COMPILE_FIRST): Add macroexp and cconv.
27045 * makefile.w32-in: Mirror changes in Makefile.in.
27046
27047 * vc/cvs-status.el:
27048 * vc/diff-mode.el:
27049 * vc/log-edit.el:
27050 * vc/log-view.el:
27051 * vc/smerge-mode.el:
27052 * textmodes/bibtex-style.el:
27053 * textmodes/css-mode.el:
27054 * startup.el:
27055 * uniquify.el:
27056 * minibuffer.el:
27057 * newcomment.el:
27058 * reveal.el:
27059 * server.el:
27060 * mpc.el:
27061 * emacs-lisp/smie.el:
27062 * doc-view.el:
27063 * dired.el:
27064 * abbrev.el: Use lexical binding.
27065
27066 2011-04-01 Eli Zaretskii <eliz@gnu.org>
27067
27068 * info.el (info-display-manual): New function.
27069
27070 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
27071
27072 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
27073
27074 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
27075
27076 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
27077 an entry for that server in rcirc-authinfo. (Bug#8385)
27078
27079 2011-03-31 Glenn Morris <rgm@gnu.org>
27080
27081 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
27082
27083 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
27084
27085 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
27086
27087 * progmodes/python.el (python-default-interpreter)
27088 (python-python-command-args, python-jython-command-args)
27089 (python-which-shell, python-which-args, python-which-bufname)
27090 (python-file-queue, python-comint-output-filter-function)
27091 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
27092 variables and functions.
27093
27094 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
27095
27096 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
27097 (completion-in-region-mode): New minor mode.
27098 (completion-in-region): Use it.
27099 (completion-in-region--data, completion-in-region-mode-map): New vars.
27100 (completion-in-region--postch): New function.
27101 (completion--capf-misbehave-funs, completion--capf-safe-funs):
27102 New vars.
27103 (completion--capf-wrapper): New function.
27104 (completion-at-point): Use it to track well-behavedness of
27105 hook functions.
27106 (completion-help-at-point): New command.
27107
27108 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
27109
27110 * vc/add-log.el (add-change-log-entry): Don't use whitespace
27111 syntax class to search for whitespace on a single line
27112 (Message-ID: <4D938140.4030905@redhat.com>).
27113
27114 2011-03-30 Leo Liu <sdl.web@gmail.com>
27115
27116 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
27117 New commands.
27118 (edit-abbrevs-map): Bind them here.
27119 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
27120
27121 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
27122
27123 * allout.el (allout-hide-by-annotation, allout-flag-region):
27124 Reduce possibility of overlay leakage by making them volatile.
27125
27126 * allout-widgets.el (allout-widgets-tally): Define as nil so the
27127 hash is not shared between buffers. Mode initialization is
27128 responsible for giving it a useful starting value.
27129 (allout-item-span): Reduce possibility of overlay leakage by
27130 making them volatile.
27131 (allout-widgets-count-buttons-in-region): Add diagnostic function
27132 for tracking down button overlay leaks.
27133
27134 2011-03-29 Leo Liu <sdl.web@gmail.com>
27135
27136 * ido.el (ido-read-internal): Use the default history var
27137 minibuffer-history if no HISTORY is specified.
27138
27139 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
27140
27141 * net/imap.el (imap-shell-open, imap-process-connection-type):
27142 Use imap-process-connection-type for 'shell' streams as well as
27143 Kerberos, SSL, other subprocesses.
27144
27145 2011-03-28 Leo Liu <sdl.web@gmail.com>
27146
27147 * abbrev.el (abbrev-table-empty-p): New function.
27148 (prepare-abbrev-list-buffer): Place empty abbrev tables after
27149 nonempty ones. (Bug#5937)
27150
27151 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
27152
27153 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
27154
27155 2011-03-27 Leo Liu <sdl.web@gmail.com>
27156
27157 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
27158 for foreground and background colors.
27159 (ansi-color-make-color-map): Adapt.
27160
27161 2011-03-25 Leo Liu <sdl.web@gmail.com>
27162
27163 * midnight.el (midnight-time-float): Remove. Note it calculates
27164 the microsecond component incorrectly and seconds-to-time does the
27165 same job.
27166 Remove redundant (require 'timer).
27167
27168 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
27169 (ido-completions): Remove unused arguments. (Bug#8329)
27170
27171 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
27172
27173 * minibuffer.el (completion--flush-all-sorted-completions):
27174 Remove itself from hook.
27175 (completion-at-point): Let the functions perform the completion
27176 immediately and return nil or t.
27177 * comint.el (comint-dynamic-complete-functions): Now identical to
27178 completion-at-point-functions.
27179 (comint-dynamic-list-input-ring): Remove unused var `index'.
27180 (comint--match-partial-filename, comint--unquote&expand-filename):
27181 New funs, split from comint-match-partial-filename.
27182 (comint-dynamic-complete): Use completion-at-point.
27183 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
27184
27185 2011-03-24 Drew Adams <drew.adams@oracle.com>
27186
27187 * thingatpt.el: Support `defun'.
27188
27189 2011-03-23 Leo Liu <sdl.web@gmail.com>
27190
27191 * abbrevlist.el: Move to obsolete/abbrevlist.el.
27192
27193 * help-mode.el (help-mode-finish): Tweak regexp.
27194
27195 2011-03-23 Glenn Morris <rgm@gnu.org>
27196
27197 * eshell/esh-opt.el (eshell-eval-using-options):
27198 Do not bind unused local variable `eshell-option-stub'.
27199
27200 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
27201
27202 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27203
27204 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
27205 keymap variable in `with-no-warnings' to avoid a warning when the
27206 keymap has been already `defconst'ed.
27207
27208 2011-03-22 Leo Liu <sdl.web@gmail.com>
27209
27210 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
27211 encode all chars in abbrevs; otherwise use emacs-mule or
27212 utf-8-emacs. (Bug#8308)
27213
27214 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27215
27216 * simple.el (backward-delete-char-untabify):
27217 Avoid warning about using `delete-backward-char'.
27218
27219 * image.el (image-type-file-name-regexps): Make it variable.
27220 `imagemagick-register-types' modifies it, and the user may want
27221 to add new extensions for known image types.
27222 (imagemagick-register-types): Throw error if not using ImageMagick.
27223
27224 2011-03-22 Leo Liu <sdl.web@gmail.com>
27225
27226 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
27227 located before rcirc-prompt-end-marker.
27228 (rcirc-complete): Error if point is not after rcirc prompt.
27229 Handle the case when table is nil.
27230 (rcirc-user-authenticated): Define to fix compiler warning.
27231
27232 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
27233
27234 * custom.el (custom--inhibit-theme-enable): Make it affect only
27235 custom-theme-set-variables and custom-theme-set-faces.
27236 (provide-theme): Ignore custom--inhibit-theme-enable.
27237 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
27238 (custom-enabling-themes): Delete variable.
27239 (enable-theme): Accept only loaded themes as arguments.
27240 Ignore the special custom-enabled-themes variable.
27241 (custom-enabled-themes): Forbid themes from setting this.
27242 Eliminate use of custom-enabling-themes.
27243 (custom-push-theme): Quote "changed" custom var entry.
27244
27245 2011-03-21 Leo Liu <sdl.web@gmail.com>
27246
27247 * ido.el (ido-read-internal): Add ido-selected to history instead
27248 of user input.
27249
27250 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
27251
27252 * subr.el (deferred-action-list, deferred-action-function):
27253 Mark obsolete.
27254
27255 2011-03-21 Leo Liu <sdl.web@gmail.com>
27256
27257 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
27258 change on 2011-02-13 (bug#8309).
27259
27260 * minibuffer.el (read-file-name-function): Change default value.
27261 (read-file-name--defaults): Rename from read-file-name-defaults.
27262 (read-file-name-default): Rename from read-file-name.
27263 (read-file-name): Call read-file-name-function.
27264
27265 2011-03-21 Glenn Morris <rgm@gnu.org>
27266
27267 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
27268 Doc fixes.
27269
27270 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
27271
27272 * cus-theme.el: Add missing provide statement.
27273 (customize-create-theme): Extract theme value correctly.
27274 (custom-theme-visit-theme): Autoload.
27275 (customize-create-theme): Prompt before inserting default faces.
27276
27277 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
27278
27279 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
27280 units and musical notes.
27281
27282 2011-03-20 Leo Liu <sdl.web@gmail.com>
27283
27284 * ido.el (ido-read-internal): Use completing-read-default.
27285 (ido-completing-read): Fix compatibility with completing-read.
27286
27287 2011-03-20 Christian Ohler <ohler@gnu.org>
27288
27289 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
27290 (ert-delete-all-tests): Use `called-interactively-p' rather than
27291 `interactive-p'.
27292 (ert--make-xrefs-region): Respect END.
27293
27294 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27295
27296 * dired-aux.el (dired-create-directory): Signal an error if the
27297 directory already exists (Bug#8246).
27298
27299 * facemenu.el (list-colors-display): Call list-faces-display
27300 inside with-help-window.
27301 (list-colors-print): Use display property to align the final
27302 column, instead of checking window-width.
27303
27304 2011-03-19 Eli Zaretskii <eliz@gnu.org>
27305
27306 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
27307 windows-nt systems.
27308 (emerge-protect-metachars): Quote correctly for ms-dos and
27309 windows-nt systems.
27310
27311 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
27312
27313 * info.el (info-initialize): Replace all uses of `:' with
27314 path-separator for compatibility with non-Unix systems.
27315 Cache quoting of path-separator. (Bug#8258)
27316
27317 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
27318
27319 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
27320 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
27321 (mouse-avoidance-mode): Fix typos in docstrings.
27322
27323 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27324
27325 * startup.el (package-subdirectory-regexp): Move from package.el.
27326 Omit \\` and \\', and let callers add them.
27327
27328 * emacs-lisp/package.el (package-strip-version)
27329 (package-load-all-descriptors): Add \\` and \\' to
27330 package-subdirectory-regexp before using it.
27331 (package-untar-buffer): New arg DIR; ensure that file untars only
27332 into this expected directory. Remove superfluous delete-region.
27333 (package-unpack): Caller changed.
27334 (package-tar-file-info): Use package-subdirectory-regexp.
27335
27336 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
27337
27338 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
27339 diff-mode-shared-map (bug#8284).
27340 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
27341
27342 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
27343
27344 * calendar/time-date.el (format-seconds): Use assoc instead of
27345 assoc-string, since assoc-string doesn't exist in XEmacs.
27346
27347 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
27348
27349 * custom.el (custom-known-themes): Reflow docstring.
27350 (custom-theme-load-path): Fix typo in docstring.
27351 (load-theme): Fix typo in error message.
27352 (custom-available-themes, custom-variable-theme-value):
27353 Use `let', not `let*'.
27354
27355 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
27356
27357 * calc/README: Mention inclusion of musical notes.
27358
27359 * calc/calc-units.el (calc-lu-quant): Rename from
27360 `calc-logunits-quantity'.
27361 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
27362 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
27363 (calc-db): Rename from `calc-dblevel'.
27364 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
27365 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
27366 (calc-np): Rename from `calc-nplevel'.
27367 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
27368 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
27369 (calc-lu-plus): Rename from `calc-logunits-add'.
27370 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
27371 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
27372 (calc-lu-minus): Rename from `calc-logunits-sub'.
27373 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
27374 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
27375 (calc-lu-times): Rename from `calc-logunits-mul'.
27376 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
27377 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
27378 (calc-lu-divide): Rename from `calc-logunits-div'.
27379 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
27380 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
27381
27382 * calc/calc-ext.el (calc-init-extensions): Update the names of the
27383 functions being autoloaded.
27384
27385 * calc/calc.el (calc-lu-power-reference): Rename from
27386 `calc-logunits-power-reference'.
27387 (calc-lu-field-reference): Rename from
27388 `calc-logunits-field-reference'.
27389
27390 * calc/calc-help.el (calc-l-prefix-help):
27391 Mention musical note functions.
27392
27393 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
27394
27395 * minibuffer.el (completion-all-sorted-completions):
27396 Use :completion-cycle-penalty text property if present.
27397
27398 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
27399
27400 * allout.el (allout-yank-processing): Adjust for new rebulleting
27401 regime so bullet being yanked is used without prompting the user
27402 for a choice.
27403
27404 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27405
27406 * startup.el (command-line): Warn the user that _emacs is deprecated.
27407
27408 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27409
27410 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
27411 (delphi-verbose, delphi-comment-face, delphi-string-face)
27412 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
27413 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
27414 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
27415 (delphi-new-comment-line, delphi-font-lock-defaults)
27416 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
27417 Fix typos in docstrings.
27418
27419 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
27420
27421 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
27422 Invert the roles of character and string values for INSTEAD, so a
27423 string is used for the more common case of a defaulting prompt.
27424
27425 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27426
27427 * progmodes/ruby-mode.el (ruby-backward-sexp):
27428 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
27429 * play/gamegrid.el (gamegrid-make-face):
27430 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
27431 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
27432 * notifications.el (notifications-notify):
27433 * net/xesam.el (xesam-search-engines):
27434 * net/quickurl.el (quickurl-list-insert):
27435 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
27436
27437 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
27438
27439 * startup.el (command-line): Update package subdirectory regexp.
27440
27441 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27442
27443 * allout.el (allout-abbreviate-flattened-numbering)
27444 (allout-mode-deactivate-hook): Fix up obsolescence "date".
27445
27446 * subr.el (read-char-choice): Only show the cursor after the prompt,
27447 not after the answer.
27448
27449 2011-03-15 Kevin Ryde <user42@zip.com.au>
27450
27451 * help-fns.el (variable-at-point): Skip leading quotes, if any
27452 (bug#8253).
27453
27454 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27455
27456 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
27457 warning message.
27458
27459 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
27460
27461 * shell.el (shell): When called interactively, offer to change the
27462 shell file name on remote hosts.
27463
27464 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
27465
27466 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
27467 integration for LDAP parameters. The host, base, user or binddn,
27468 and secret tokens can be specified in a netrc file, for instance.
27469 This is optional because an `auth-source' parameter must be
27470 specified in the search attributes.
27471
27472 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
27473
27474 * help.el (describe-mode): Link to the mode's definition (bug#8185).
27475
27476 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27477
27478 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
27479 into declaration. Remove redundant and harmful binding.
27480
27481 2011-03-12 Eli Zaretskii <eliz@gnu.org>
27482
27483 * files.el (file-ownership-preserved-p): Pass `integer' as an
27484 explicit 2nd argument to `file-attributes'. If the file's owner
27485 is the Administrators group on Windows, and the current user is
27486 Administrator, consider that a match.
27487
27488 * server.el (server-ensure-safe-dir): Consider server directory
27489 safe on MS-Windows if its owner is the Administrators group while
27490 the current Emacs user is Administrator. Use `=' to compare
27491 numerical UIDs, since they could be integers or floats.
27492
27493 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
27494
27495 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
27496
27497 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
27498
27499 Sync with Tramp 2.2.1.
27500
27501 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
27502
27503 * net/trampver.el: Update release number.
27504
27505 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27506
27507 * progmodes/compile.el (compilation--previous-directory): Fix up
27508 various nil/dead-marker mismatches (bug#8014).
27509 (compilation-directory-properties, compilation-error-properties):
27510 Don't call it at a position past the one we're about to change.
27511
27512 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
27513 Disable obsolescence warnings in the file that declares it.
27514
27515 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
27516
27517 * allout-widgets.el (allout-widgets-tally):
27518 Initialize allout-widgets-tally as a hash table rather than nil to
27519 prevent mode-line redisplay warnings. Also, clarify the module
27520 description and fix a comment typo.
27521
27522 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
27523
27524 * help-fns.el (describe-variable): Don't complete keywords.
27525 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
27526
27527 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
27528
27529 * emacs-lisp/package.el (package-version-join): Impose a standard
27530 string representation for pre/alpha/beta version lists.
27531 (package-unpack-single): Standardize the directory name by passing
27532 it through package-version-join.
27533 (package-strip-rcs-id): Accept any version string that does not
27534 signal an error in version-to-list.
27535
27536 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
27537
27538 * simple.el (delete-trailing-whitespace): Return nil for the
27539 benefit of `write-file-functions'.
27540
27541 2011-03-10 Glenn Morris <rgm@gnu.org>
27542
27543 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
27544
27545 * vc/vc-git.el (vc-git-program): New option.
27546 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
27547 (vc-git--call): Use it.
27548
27549 * eshell/esh-util.el (eshell-condition-case): Doc fix.
27550
27551 * cus-edit.el (Custom-newline): If no button at point, look
27552 for a subgroup button at start-of-line. (Bug#2298)
27553
27554 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
27555
27556 2011-03-10 Julien Danjou <julien@danjou.info>
27557
27558 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
27559 `cursor-type' is nil.
27560
27561 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
27562
27563 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
27564
27565 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
27566
27567 * allout.el: Change so yank of distinctive-bullet items
27568 preserves the existing header prefix, rebulleting it if necessary,
27569 rather than replacing it. This is necessary for proper operation
27570 of cooperative addons like allout-widgets.
27571 (allout-make-topic-prefix, allout-rebullet-heading):
27572 Change SOLICIT arg to INSTEAD, and interpret additionally a string
27573 value as alternate bullet to be used, instead of prompting the user
27574 for a bullet character.
27575
27576 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
27577
27578 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
27579 Do not use `tramp-file-name-port', because this returns also
27580 `tramp-default-port'.
27581
27582 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
27583
27584 * net/rcirc.el (rcirc-handler-001): Remove useless
27585 with-rcirc-process-buffer.
27586 (rcirc-check-auth-status): Swap arguments to string-match.
27587
27588 2011-03-09 Glenn Morris <rgm@gnu.org>
27589
27590 * shell.el (shell-mode):
27591 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
27592
27593 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
27594 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
27595
27596 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27597
27598 * emacs-lisp/package.el (package-refresh-contents)
27599 (package-menu-execute): Use condition-case-no-debug.
27600
27601 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
27602
27603 * simple.el (shell-command-to-string): Use `process-file'.
27604
27605 * emacs-lisp/package.el (package-tar-file-info): Handle also
27606 remote files.
27607
27608 * emacs-lisp/package-x.el (package-upload-buffer-internal):
27609 Use `equal' for upload base check.
27610
27611 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
27612
27613 * textmodes/texinfo.el (texinfo-environments):
27614 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
27615
27616 2011-03-08 Glenn Morris <rgm@gnu.org>
27617
27618 * cus-start.el (cursor-in-non-selected-windows):
27619 Fix :set quoting oddness. (Bug#8192)
27620
27621 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
27622 in some setf expressions. (Bug#2159)
27623
27624 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27625
27626 * custom.el (custom-available-themes): Return themes in
27627 alphabetical order.
27628
27629 See ChangeLog.15 for earlier changes.
27630
27631 ;; Local Variables:
27632 ;; coding: utf-8
27633 ;; End:
27634
27635 Copyright (C) 2011-2013 Free Software Foundation, Inc.
27636
27637 This file is part of GNU Emacs.
27638
27639 GNU Emacs is free software: you can redistribute it and/or modify
27640 it under the terms of the GNU General Public License as published by
27641 the Free Software Foundation, either version 3 of the License, or
27642 (at your option) any later version.
27643
27644 GNU Emacs is distributed in the hope that it will be useful,
27645 but WITHOUT ANY WARRANTY; without even the implied warranty of
27646 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27647 GNU General Public License for more details.
27648
27649 You should have received a copy of the GNU General Public License
27650 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.